Use ES2022 to follow ethers.js

This commit is contained in:
Tornado Contrib 2024-10-16 07:38:49 +00:00
parent aaa6e0d9f4
commit ece511f424
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
5 changed files with 347 additions and 347 deletions

342
dist/index.js vendored

File diff suppressed because it is too large Load Diff

342
dist/index.mjs vendored

File diff suppressed because it is too large Load Diff

@ -20,7 +20,7 @@ const config = [
include: /\.[jt]sx?$/, include: /\.[jt]sx?$/,
minify: false, minify: false,
sourceMap: true, sourceMap: true,
target: 'es2015', target: 'es2022',
}), }),
nodeResolve(), nodeResolve(),
commonjs() commonjs()
@ -40,7 +40,7 @@ const config = [
include: /\.[jt]sx?$/, include: /\.[jt]sx?$/,
minify: false, minify: false,
sourceMap: true, sourceMap: true,
target: 'es2015', target: 'es2022',
}), }),
nodeResolve() nodeResolve()
], ],

@ -1,6 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "es2020", "target": "es2022",
"module": "commonjs", "module": "commonjs",
"esModuleInterop": true, "esModuleInterop": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2015", "target": "es2022",
"lib": ["es5", "es6", "es2021", "esnext"], "lib": ["es5", "es6", "es2021", "es2022", "esnext"],
"module": "commonjs", "module": "commonjs",
"outDir": "./dist", "outDir": "./dist",
"rootDir": "./typechain-types", "rootDir": "./typechain-types",