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

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

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