Skip to content

Commit

Permalink
re-add the bn.js pckg
Browse files Browse the repository at this point in the history
  • Loading branch information
netbonus committed Oct 22, 2024
1 parent 47e677d commit cd7dd1d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"bech32": "^2.0.0",
"bignumber.js": "^9.1.2",
"bitwise": "^2.2.1",
"bn.js": "^5.2.1",
"borc": "^3.0.0",
"bs58check": "^4.0.0",
"buffer": "^6.0.3",
Expand All @@ -71,6 +72,7 @@
},
"devDependencies": {
"@chainsafe/bls-keystore": "^3.1.0",
"@eslint/js": "^9.13.0",
"@noble/bls12-381": "^1.4.0",
"@solana/web3.js": "^1.95.4",
"@terra-money/terra.js": "^3.1.10",
Expand All @@ -79,7 +81,6 @@
"@types/node": "^22.7.8",
"@types/readline-sync": "^1.4.8",
"@types/seedrandom": "^3.0.8",
"@eslint/js": "^9.13.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"acorn": ">=8.13.0",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default defineConfig({
'@ethereumjs/tx',
'@ethersproject/abi',
'@metamask/eth-sig-util',
'bn.js',
],
output: {
globals: {
Expand All @@ -25,6 +26,7 @@ export default defineConfig({
'@ethereumjs/tx': 'EthereumjsTx',
'@ethersproject/abi': 'EthersprojectAbi',
'@metamask/eth-sig-util': 'MetamaskEthSigUtil',
'bn.js': 'BN',
},
},
},
Expand Down

0 comments on commit cd7dd1d

Please sign in to comment.