fix: make bn.js into a regular dependency (#1876)

Since `AbstractInt` is exposing `toBn(): BN` which uses `bn.js` types,
projects using polkadot are forced to install `@types/bn.js` on their own,
otherwise they get compilation errors
This commit is contained in:
Jeremías Díaz
2020-02-17 07:09:30 +01:00
committed by GitHub
parent 6a828eb11a
commit 5df22835f6
+1 -1
View File
@@ -37,6 +37,7 @@
"@polkadot/metadata": "^1.3.0-beta.4",
"@polkadot/util": "^2.3.1",
"@polkadot/util-crypto": "^2.3.1",
"@types/bn.js": "^4.11.6",
"bn.js": "^5.1.1",
"memoizee": "^0.4.14",
"rxjs": "^6.5.4",
@@ -45,7 +46,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^2.3.1",
"@types/bn.js": "^4.11.6",
"@types/memoizee": "^0.4.3",
"@types/yargs": "^15.0.3"
}