chore: required node engine update
This commit is contained in:
@@ -64,6 +64,7 @@ PRs are welcome! :-) Also, feel free to submit [issues](https://github.com/redst
|
||||
In case of creating a PR - please use [semantic commit messages](https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716).
|
||||
|
||||
### Installation and import
|
||||
SDK requires node.js version 16.5+.
|
||||
|
||||
#### Using npm
|
||||
`npm install redstone-smartweave`
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"types": "./lib/types/index.d.ts",
|
||||
"sideEffects": false,
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16.5"
|
||||
},
|
||||
"scripts": {
|
||||
"build:cjs": "tsc -b tsconfig.json && tsc-alias -p tsconfig.json",
|
||||
@@ -61,7 +61,7 @@
|
||||
"lodash": "^4.17.21",
|
||||
"redstone-isomorphic": "^1.0.2",
|
||||
"tslog": "^3.2.2",
|
||||
"undici": "^4.12.1"
|
||||
"undici": "^4.12.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cheerio": "^0.22.30",
|
||||
|
||||
@@ -12,8 +12,8 @@ import { TsLogFactory } from '../src/logging/node/TsLogFactory';
|
||||
|
||||
const logger = LoggerFactory.INST.create('Contract');
|
||||
|
||||
LoggerFactory.use(new TsLogFactory());
|
||||
LoggerFactory.INST.logLevel('error');
|
||||
//LoggerFactory.use(new TsLogFactory());
|
||||
//LoggerFactory.INST.logLevel('error');
|
||||
LoggerFactory.INST.logLevel('info', 'Contract');
|
||||
LoggerFactory.INST.logLevel('debug', 'RedstoneGatewayInteractionsLoader');
|
||||
LoggerFactory.INST.logLevel('error', 'DefaultStateEvaluator');
|
||||
@@ -30,7 +30,7 @@ async function main() {
|
||||
|
||||
const smartweave = SmartWeaveNodeFactory.memCachedBased(arweave)
|
||||
.setInteractionsLoader(
|
||||
new RedstoneGatewayInteractionsLoader('https://gateway.redstone.finance', { notCorrupted: true })
|
||||
new RedstoneGatewayInteractionsLoader('https://gateway.redstone.finance/', { notCorrupted: true })
|
||||
)
|
||||
.setDefinitionLoader(
|
||||
new RedstoneGatewayContractDefinitionLoader('https://gateway.redstone.finance', arweave, new MemCache())
|
||||
|
||||
18
yarn.lock
18
yarn.lock
@@ -5662,10 +5662,12 @@ rechoir@0.7.0:
|
||||
dependencies:
|
||||
resolve "^1.9.0"
|
||||
|
||||
redstone-isomorphic@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/redstone-isomorphic/-/redstone-isomorphic-1.0.0.tgz#1be8e5e68aaacfe19d4f87153dbc4083dcf38a4d"
|
||||
integrity sha512-F0/hDePYr0SWTzjB1+A6oI64jlsR5Z3bKvHDQ4zYaf++f/MzdgF37CmXeOINt4GJQ60hVBuQBHgpXlo/M4NcsA==
|
||||
redstone-isomorphic@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/redstone-isomorphic/-/redstone-isomorphic-1.0.2.tgz#d1cfccca24c860212d3a3d8d76103da0e9445a24"
|
||||
integrity sha512-UK4oxxJmb4nowAM3p47CNwkiKFA0Ewn1i7LMU8ix7fdCefSNoMetar3LATyBYoCdGSNJKa8tLLvbnWfSfwwO5w==
|
||||
dependencies:
|
||||
undici "^4.12.2"
|
||||
|
||||
regexpp@^3.1.0:
|
||||
version "3.2.0"
|
||||
@@ -6656,10 +6658,10 @@ underscore@>=1.3.1:
|
||||
resolved "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz"
|
||||
integrity sha512-ekY1NhRzq0B08g4bGuX4wd2jZx5GnKz6mKSqFL4nqBlfyMGiG10gDFhDTMEfYmDL6Jy0FUIZp7wiRB+0BP7J2g==
|
||||
|
||||
undici@^4.12.1:
|
||||
version "4.12.1"
|
||||
resolved "https://registry.npmjs.org/undici/-/undici-4.12.1.tgz"
|
||||
integrity sha512-MSfap7YiQJqTPP12C11PFRs9raZuVicDbwsZHTjB0a8+SsCqt7KdUis54f373yf7ZFhJzAkGJLaKm0202OIxHg==
|
||||
undici@^4.12.2:
|
||||
version "4.13.0"
|
||||
resolved "https://registry.yarnpkg.com/undici/-/undici-4.13.0.tgz#7d10fe150c3241a6b3b0eba80eff59c9fb40f359"
|
||||
integrity sha512-8lk8S/f2V0VUNGf2scU2b+KI2JSzEQLdCyRNRF3XmHu+5jectlSDaPSBCXAHFaUlt1rzngzOBVDgJS9/Gue/KA==
|
||||
|
||||
universalify@^0.1.2:
|
||||
version "0.1.2"
|
||||
|
||||
Reference in New Issue
Block a user