Skip to content

Commit b463ec5

Browse files
committed
revert to older polkadot-js/api version to resolve issue #6
1 parent 2a49605 commit b463ec5

File tree

2 files changed

+92
-104
lines changed

2 files changed

+92
-104
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dev": "concurrently --kill-others-on-fail \"DEBUG=app yarn server\" \"yarn client\""
1818
},
1919
"dependencies": {
20-
"@polkadot/api": "^1.21.1",
20+
"@polkadot/api": "=1.8.1",
2121
"@truffle/hdwallet-provider": "^1.0.36",
2222
"bn.js": "^5.1.2",
2323
"body-parser": "^1.19.0",

yarn.lock

+91-103
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
resolve "^1.8.1"
3030
semver "^5.5.1"
3131

32-
"@babel/runtime@^7.10.3", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.8.7":
32+
"@babel/runtime@^7.10.3", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
3333
version "7.10.3"
3434
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.3.tgz#670d002655a7c366540c67f6fd3342cd09500364"
3535
integrity sha512-RzGO0RLSdokm9Ipe/YD+7ww8X2Ro79qiXZF3HU9ljrM+qnJmH1Vqth+hbiQZy761LnMJTMitHDuKVYTk3k4dLw==
@@ -168,121 +168,109 @@
168168
"@ethersproject/rlp" "^5.0.0"
169169
"@ethersproject/signing-key" "^5.0.0"
170170

171-
"@polkadot/api-derive@1.21.1":
172-
version "1.21.1"
173-
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-1.21.1.tgz#b68c4e46f8a02371c3b325744088e07b594d9f63"
174-
integrity sha512-f0fNZOWIZMBmX3aqX3seVIyV4RnPeerFgIi2i1ZBRLYGJQ/VghwfVl2H0ooGUCOhe99Vp6AkKcr7KyEoSBoEPw==
175-
dependencies:
176-
"@babel/runtime" "^7.10.3"
177-
"@polkadot/api" "1.21.1"
178-
"@polkadot/rpc-core" "1.21.1"
179-
"@polkadot/rpc-provider" "1.21.1"
180-
"@polkadot/types" "1.21.1"
181-
"@polkadot/util" "^2.15.1"
182-
"@polkadot/util-crypto" "^2.15.1"
183-
bn.js "^5.1.2"
171+
"@polkadot/api-derive@1.8.1":
172+
version "1.8.1"
173+
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-1.8.1.tgz#0253e23c922a3a94c19de64f6c64904e3cc11648"
174+
integrity sha512-/eDtnfdfiEcm28s6IKYHw0i1Y8ZBONAKuuP7NQWKehQD6JkPBBtEheTTjl1r3sPQMP+bSD/rFU+G4kB4Ly2RhA==
175+
dependencies:
176+
"@babel/runtime" "^7.9.2"
177+
"@polkadot/api" "1.8.1"
178+
"@polkadot/rpc-core" "1.8.1"
179+
"@polkadot/rpc-provider" "1.8.1"
180+
"@polkadot/types" "1.8.1"
181+
"@polkadot/util" "^2.6.2"
182+
"@polkadot/util-crypto" "^2.6.2"
183+
bn.js "^5.1.1"
184184
memoizee "^0.4.14"
185-
rxjs "^6.5.5"
185+
rxjs "^6.5.4"
186186

187-
"@polkadot/api@1.21.1", "@polkadot/api@^1.21.1":
188-
version "1.21.1"
189-
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-1.21.1.tgz#35b171a948c0c83996950936d52a0a23d0350fd0"
190-
integrity sha512-wR3dOoTzEVoxb8y2/mWs0MMxMnbIKQ+6ZfCStmHkc6pMNfkTnFTl72dm2qTXcBGwJr9Ack8qY0Rvs8yN9Xh41A==
191-
dependencies:
192-
"@babel/runtime" "^7.10.3"
193-
"@polkadot/api-derive" "1.21.1"
194-
"@polkadot/keyring" "^2.15.1"
195-
"@polkadot/metadata" "1.21.1"
196-
"@polkadot/rpc-core" "1.21.1"
197-
"@polkadot/rpc-provider" "1.21.1"
198-
"@polkadot/types" "1.21.1"
199-
"@polkadot/types-known" "1.21.1"
200-
"@polkadot/util" "^2.15.1"
201-
"@polkadot/util-crypto" "^2.15.1"
202-
bn.js "^5.1.2"
203-
eventemitter3 "^4.0.4"
204-
rxjs "^6.5.5"
187+
"@polkadot/api@1.8.1", "@polkadot/api@=1.8.1":
188+
version "1.8.1"
189+
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-1.8.1.tgz#a8341ddcacbe60c1236e46bdb0246c971f7f4485"
190+
integrity sha512-3x+7Q/Gsol/UnWsA/dqbvysQ4nZ0ffmCrUJiTu6U7JrVP+a8PLrGU4asr+aqtSvY861iHfZjv8xmSqIiGjRuUw==
191+
dependencies:
192+
"@babel/runtime" "^7.9.2"
193+
"@polkadot/api-derive" "1.8.1"
194+
"@polkadot/keyring" "^2.6.2"
195+
"@polkadot/metadata" "1.8.1"
196+
"@polkadot/rpc-core" "1.8.1"
197+
"@polkadot/rpc-provider" "1.8.1"
198+
"@polkadot/types" "1.8.1"
199+
"@polkadot/util" "^2.6.2"
200+
"@polkadot/util-crypto" "^2.6.2"
201+
bn.js "^5.1.1"
202+
eventemitter3 "^4.0.0"
203+
rxjs "^6.5.4"
205204

206-
"@polkadot/keyring@^2.15.1":
207-
version "2.15.1"
208-
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-2.15.1.tgz#4683683efa77dbb9e78bb1046cef98cc0f27565d"
209-
integrity sha512-yLxwJdrEHZedaxxue+0mWQLCc+5qAmLA59cEnv2x38wDITzLCNIECTpVPgKGkUOXKkokNIG6Tmd232Ip7OBdwg==
205+
"@polkadot/keyring@^2.6.2":
206+
version "2.16.1"
207+
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-2.16.1.tgz#6d245b09b92b5aea372352345bbf6a8ea82e9079"
208+
integrity sha512-fJYTDniBLWMbHSfzByGjsr63OwTyZaMw2n99b8OhD/WDAqAvCI8unnBNgGhfly4z6DMRkMxPhUH4VH2iNWqFhA==
210209
dependencies:
211210
"@babel/runtime" "^7.10.3"
212-
"@polkadot/util" "2.15.1"
213-
"@polkadot/util-crypto" "2.15.1"
211+
"@polkadot/util" "2.16.1"
212+
"@polkadot/util-crypto" "2.16.1"
214213

215-
"@polkadot/metadata@1.21.1":
216-
version "1.21.1"
217-
resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-1.21.1.tgz#82780f2fabfdf5da9d8acc9b85e11d04350c47ab"
218-
integrity sha512-pSYpskRZu7/Vn1dDdv6G+fuOfeYCm97Nkv8BmWkkxuO6oiAorNOnjba5DrjMTz7ivVEOJxYDChYZrY3qZpPS5A==
214+
"@polkadot/metadata@1.8.1":
215+
version "1.8.1"
216+
resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-1.8.1.tgz#879a3f011fcd78765e6560eefc6ce1124d94c02a"
217+
integrity sha512-mVCcEU9U9r8jGFWPYyxwwiZlFFZK2LgDLzKDexkJqfB2HmgeEVxIBBGFdrclYb1yeNlojKq2ge7P4V4Zr5ShJQ==
219218
dependencies:
220-
"@babel/runtime" "^7.10.3"
221-
"@polkadot/types" "1.21.1"
222-
"@polkadot/types-known" "1.21.1"
223-
"@polkadot/util" "^2.15.1"
224-
"@polkadot/util-crypto" "^2.15.1"
225-
bn.js "^5.1.2"
219+
"@babel/runtime" "^7.9.2"
220+
"@polkadot/types" "1.8.1"
221+
"@polkadot/util" "^2.6.2"
222+
"@polkadot/util-crypto" "^2.6.2"
223+
bn.js "^5.1.1"
226224

227-
"@polkadot/rpc-core@1.21.1":
228-
version "1.21.1"
229-
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-1.21.1.tgz#1255227395c6b27dcf9cea6fe99d5f992914ed65"
230-
integrity sha512-fItWRGJ0B6u1oGLH0IgvUPVeBI2AUsfmwtchXoCpw+mlVUExb9rZoI0pGhkTC1ptDr/fuNicF3NS79weWoo0xQ==
231-
dependencies:
232-
"@babel/runtime" "^7.10.3"
233-
"@polkadot/metadata" "1.21.1"
234-
"@polkadot/rpc-provider" "1.21.1"
235-
"@polkadot/types" "1.21.1"
236-
"@polkadot/util" "^2.15.1"
225+
"@polkadot/rpc-core@1.8.1":
226+
version "1.8.1"
227+
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-1.8.1.tgz#be1c9393e8a4509fcd12e6ea1c54e5c686125a96"
228+
integrity sha512-eepA2xLhtNfdtKgv9c2k8rMmFMjmrFqtTjy12APuqCY8qBk4q32X5gXYmioV76Ie8PaMq4bkBF6fYiXa08qxDw==
229+
dependencies:
230+
"@babel/runtime" "^7.9.2"
231+
"@polkadot/metadata" "1.8.1"
232+
"@polkadot/rpc-provider" "1.8.1"
233+
"@polkadot/types" "1.8.1"
234+
"@polkadot/util" "^2.6.2"
237235
memoizee "^0.4.14"
238-
rxjs "^6.5.5"
236+
rxjs "^6.5.4"
239237

240-
"@polkadot/rpc-provider@1.21.1":
241-
version "1.21.1"
242-
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-1.21.1.tgz#60354eca890a2af30236297169e4b8ae85c6eba0"
243-
integrity sha512-yz/t1Beduzz3fR1xa+JlNJKEMvKIQdN4vpuGCJDQyfKrd+jGn5gV3irg2VaT23guiXEhPC1f+NP0hlOBW7bIsA==
244-
dependencies:
245-
"@babel/runtime" "^7.10.3"
246-
"@polkadot/metadata" "1.21.1"
247-
"@polkadot/types" "1.21.1"
248-
"@polkadot/util" "^2.15.1"
249-
"@polkadot/util-crypto" "^2.15.1"
250-
bn.js "^5.1.2"
251-
eventemitter3 "^4.0.4"
238+
"@polkadot/rpc-provider@1.8.1":
239+
version "1.8.1"
240+
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-1.8.1.tgz#66b4894658081cb8c701cacb2a11f1532bd49e44"
241+
integrity sha512-zkwehn1dgXZvwWppS/W7BdU6SZ1WxGkxXBtLEcEzSY43WxPcwpXm0iWy9JkWzVJ28xGenFjk4ngLquNBzL1hSw==
242+
dependencies:
243+
"@babel/runtime" "^7.9.2"
244+
"@polkadot/metadata" "1.8.1"
245+
"@polkadot/types" "1.8.1"
246+
"@polkadot/util" "^2.6.2"
247+
"@polkadot/util-crypto" "^2.6.2"
248+
bn.js "^5.1.1"
249+
eventemitter3 "^4.0.0"
252250
isomorphic-fetch "^2.2.1"
253251
websocket "^1.0.31"
254252

255-
"@polkadot/types-known@1.21.1":
256-
version "1.21.1"
257-
resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-1.21.1.tgz#500a96cce0b41a944f69be45c96e4e7f3e965507"
258-
integrity sha512-ZAdZ/kXDz3YG1uYkocbSXWB1z/gjI8JRiDFEhcwqjCRU1+retokpZ786QuXG0JBaU74FES4ZTs+maqYjS4jcBw==
259-
dependencies:
260-
"@babel/runtime" "^7.10.3"
261-
"@polkadot/types" "1.21.1"
262-
"@polkadot/util" "^2.15.1"
263-
bn.js "^5.1.2"
264-
265-
"@polkadot/types@1.21.1":
266-
version "1.21.1"
267-
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-1.21.1.tgz#2c72cb5a7305abf97e5531b9bcd3f040f05aa4e1"
268-
integrity sha512-mzRxufZHBsVwxD4KC1mERV4zsvwGdw7anNSr/+q/LT7tHKlQNQLnITlUXgZh7NgvD6MOeCw68QW/iSel1YXsKg==
253+
"@polkadot/types@1.8.1":
254+
version "1.8.1"
255+
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-1.8.1.tgz#1ff499653aefbcc6ff852c830b74e9a31ac12806"
256+
integrity sha512-UVyrNhW8khUw7nDNOdEdZNJvG4Nlq1wBOTmmOFnpihBY95jVtk63jUjcb8CjR5/kJgpAIYumZ3XupZ8BgN1KPw==
269257
dependencies:
270-
"@babel/runtime" "^7.10.3"
271-
"@polkadot/metadata" "1.21.1"
272-
"@polkadot/util" "^2.15.1"
273-
"@polkadot/util-crypto" "^2.15.1"
258+
"@babel/runtime" "^7.9.2"
259+
"@polkadot/metadata" "1.8.1"
260+
"@polkadot/util" "^2.6.2"
261+
"@polkadot/util-crypto" "^2.6.2"
274262
"@types/bn.js" "^4.11.6"
275-
bn.js "^5.1.2"
263+
bn.js "^5.1.1"
276264
memoizee "^0.4.14"
277-
rxjs "^6.5.5"
265+
rxjs "^6.5.4"
278266

279-
"@polkadot/util-crypto@2.15.1", "@polkadot/util-crypto@^2.15.1":
280-
version "2.15.1"
281-
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-2.15.1.tgz#36cb6bbcb663eda38ab0cb12ef26160cbdb4d866"
282-
integrity sha512-JrL/KsiYvFZ1QirMx/8bZNQtNyJ5OKJWo/60OD5XD7dIVQSpbDAG77PStGhtPGB1wnrb/HCNRM0xjSQm6Kdb0w==
267+
"@polkadot/util-crypto@2.16.1", "@polkadot/util-crypto@^2.6.2":
268+
version "2.16.1"
269+
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-2.16.1.tgz#b25992d62a3681772f178cf7d7938e702a622525"
270+
integrity sha512-qLN861RB+9dbM8InZGveyaCkfjLd7HpIGFGVsxOLTA9XboBgLMaAB+Vs82RtT461q2xcf2UkjclFlokFqf0jtg==
283271
dependencies:
284272
"@babel/runtime" "^7.10.3"
285-
"@polkadot/util" "2.15.1"
273+
"@polkadot/util" "2.16.1"
286274
"@polkadot/wasm-crypto" "^1.2.1"
287275
base-x "^3.0.8"
288276
bip39 "^3.0.2"
@@ -295,10 +283,10 @@
295283
tweetnacl "^1.0.3"
296284
xxhashjs "^0.2.2"
297285

298-
"@polkadot/util@2.15.1", "@polkadot/util@^2.15.1":
299-
version "2.15.1"
300-
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-2.15.1.tgz#77348345a38e19938b937106ebd8e8a6ac8be5a6"
301-
integrity sha512-sFN/29rV5KqcJ+61U1WuctDb6vLCiTU9U7SK6KLo+6nwvqufp0NQmqyQZl2CrAuffk1xmzCSwpUUylP0xtv1DA==
286+
"@polkadot/util@2.16.1", "@polkadot/util@^2.6.2":
287+
version "2.16.1"
288+
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-2.16.1.tgz#6575ab777ccea0cfc89649e3339e310c93e1b267"
289+
integrity sha512-QxLTBqb9oIg1cgEKz92B+yWkuqro8a68PifuT6xBaYAIJCE0NFkO3uzWjt7fqrd4mRyRWy4iXR2BHeAr+U7iFg==
302290
dependencies:
303291
"@babel/runtime" "^7.10.3"
304292
"@types/bn.js" "^4.11.6"
@@ -2425,7 +2413,7 @@ eventemitter3@3.1.2:
24252413
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
24262414
integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==
24272415

2428-
eventemitter3@^4.0.0, eventemitter3@^4.0.4:
2416+
eventemitter3@^4.0.0:
24292417
version "4.0.4"
24302418
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384"
24312419
integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==
@@ -4250,7 +4238,7 @@ rustbn.js@~0.2.0:
42504238
resolved "https://registry.yarnpkg.com/rustbn.js/-/rustbn.js-0.2.0.tgz#8082cb886e707155fd1cb6f23bd591ab8d55d0ca"
42514239
integrity sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA==
42524240

4253-
rxjs@^6.5.2, rxjs@^6.5.5:
4241+
rxjs@^6.5.2, rxjs@^6.5.4:
42544242
version "6.5.5"
42554243
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec"
42564244
integrity sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ==

0 commit comments

Comments
 (0)