Skip to content

Commit 9006419

Browse files
committed
build: fix esm import
1 parent 1776022 commit 9006419

File tree

2 files changed

+458
-461
lines changed

2 files changed

+458
-461
lines changed

package.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/index.js",
77
"types": "./dist/index.d.ts",
8-
"exports": {
9-
"require": "./dist/cjs/index.js",
10-
"import": "./dist/index.js"
11-
},
128
"scripts": {
139
"watch": "tsc -w -p ./tsconfig.json",
1410
"build": "yarn clean && tsc --project ./tsconfig.json && tsc --project ./tsconfig.cjs.json",
@@ -78,24 +74,24 @@
7874
"url": "https://github.com/lifinance/sdk/issues"
7975
},
8076
"dependencies": {
81-
"@ethersproject/abi": "^5.6.4",
82-
"@ethersproject/contracts": "^5.6.2",
77+
"@ethersproject/abi": "^5.7.0",
78+
"@ethersproject/contracts": "^5.7.0",
8379
"@lifi/types": "^1.5.1",
8480
"axios": "^0.27.2",
8581
"bignumber.js": "^9.1.0",
8682
"eth-rpc-errors": "^4.0.3",
87-
"ethers": "^5.6.9"
83+
"ethers": "^5.7.0"
8884
},
8985
"devDependencies": {
9086
"@commitlint/cli": "^17.0.3",
9187
"@commitlint/config-conventional": "^17.0.3",
9288
"@types/bip39": "^3.0.0",
9389
"@types/chai": "^4.3.3",
9490
"@types/hdkey": "^2.0.0",
95-
"@types/jest": "^28.1.7",
91+
"@types/jest": "^28.1.8",
9692
"@types/websocket": "^1.0.4",
97-
"@typescript-eslint/eslint-plugin": "^5.33.1",
98-
"@typescript-eslint/parser": "^5.33.1",
93+
"@typescript-eslint/eslint-plugin": "^5.34.0",
94+
"@typescript-eslint/parser": "^5.34.0",
9995
"eslint": "^8.22.0",
10096
"eslint-config-prettier": "^8.3.0",
10197
"eslint-plugin-prettier": "^4.2.1",

0 commit comments

Comments
 (0)