Allow indexOf to work with Codec eq (#699)

* Allow indexOf to work with Codec eq

* Convert to type before check

* Swap compare (in case of empty/invalid values)
This commit is contained in:
Jaco Greeff
2019-02-15 10:52:00 +01:00
committed by GitHub
parent 2c80e90f90
commit 15b22dab1c
9 changed files with 53 additions and 26 deletions
+3 -3
View File
@@ -30,10 +30,10 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.2.0",
"@polkadot/keyring": "^0.34.9",
"@polkadot/keyring": "^0.34.10",
"@polkadot/storage": "^0.43.3",
"@polkadot/util": "^0.34.9",
"@polkadot/util-crypto": "^0.34.9",
"@polkadot/util": "^0.34.10",
"@polkadot/util-crypto": "^0.34.10",
"@types/nock": "^9.3.0",
"eventemitter3": "^3.1.0",
"isomorphic-fetch": "^2.2.1",