Skip to content

Commit cb0114c

Browse files
authored
Update to 1.31.2 (#252)
1 parent dd16318 commit cb0114c

File tree

3 files changed

+48
-53
lines changed

3 files changed

+48
-53
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"author": "",
1919
"license": "GPL-3.0-or-later",
2020
"dependencies": {
21-
"@polkadot/api": "^1.31.1",
21+
"@polkadot/api": "^1.31.2",
2222
"@polkadot/util-crypto": "^3.4.1",
2323
"@substrate/calc": "file:./calc/pkg",
2424
"body-parser": "^1.19.0",

src/main.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ async function main() {
3838
const api = await ApiPromise.create({
3939
provider: new WsProvider(config.WS_URL),
4040
types: {
41-
Announcement: {
42-
real: 'AccountId',
43-
callHash: 'Hash',
44-
height: 'BlockNumber',
45-
},
4641
...config.CUSTOM_TYPES,
4742
},
4843
});

yarn.lock

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -503,35 +503,35 @@
503503
"@nodelib/fs.scandir" "2.1.3"
504504
fastq "^1.6.0"
505505

506-
"@polkadot/api-derive@1.31.1":
507-
version "1.31.1"
508-
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-1.31.1.tgz#a02ad5bfdc9064d1a63dafd9c1738b7e1c022216"
509-
integrity sha512-6cMqPb914CXf/QMXhQpuLCSwy4UPX6hKuNe+w93LUoNPXR86vdsgExyuOEEA/s6T1BSHPTbqsTfpPSRUv/DApA==
506+
"@polkadot/api-derive@1.31.2":
507+
version "1.31.2"
508+
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-1.31.2.tgz#730788a5b7862a284bbe7c32cc9beac11fa4bf95"
509+
integrity sha512-j33elEBZpY7/ucsBRYdUxeWHID8vlvPKm7k9dWgaH8txYuzms0SFfkMHyECgo15SL+RTNhu/VxzSRWryk6dvTA==
510510
dependencies:
511511
"@babel/runtime" "^7.11.2"
512-
"@polkadot/api" "1.31.1"
513-
"@polkadot/rpc-core" "1.31.1"
514-
"@polkadot/rpc-provider" "1.31.1"
515-
"@polkadot/types" "1.31.1"
512+
"@polkadot/api" "1.31.2"
513+
"@polkadot/rpc-core" "1.31.2"
514+
"@polkadot/rpc-provider" "1.31.2"
515+
"@polkadot/types" "1.31.2"
516516
"@polkadot/util" "^3.4.1"
517517
"@polkadot/util-crypto" "^3.4.1"
518518
bn.js "^5.1.3"
519519
memoizee "^0.4.14"
520520
rxjs "^6.6.2"
521521

522-
"@polkadot/api@1.31.1", "@polkadot/api@^1.31.1":
523-
version "1.31.1"
524-
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-1.31.1.tgz#bba04a221d224d9037a50e5d892cacd6cb4d982d"
525-
integrity sha512-By6IS5Y2PNSQLfq4a7i3Tp2TUV0vSLzI1U/MBiE3bCIPl5XBj7pH6Ko0Unxx2XFHpBJ35CTzM2q/Gag7i7imKQ==
522+
"@polkadot/api@1.31.2", "@polkadot/api@^1.31.2":
523+
version "1.31.2"
524+
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-1.31.2.tgz#82be98ee346dd279059151ec4e24f5d3ad36806c"
525+
integrity sha512-5nMraRQYFt+xeInQi5i7c00fwOiSeZgU3Y1LJWz+z+Vnxep7xzjVBMLgBi4fe7g2eWKUYB79ApFNV8r2thsQZg==
526526
dependencies:
527527
"@babel/runtime" "^7.11.2"
528-
"@polkadot/api-derive" "1.31.1"
528+
"@polkadot/api-derive" "1.31.2"
529529
"@polkadot/keyring" "^3.4.1"
530-
"@polkadot/metadata" "1.31.1"
531-
"@polkadot/rpc-core" "1.31.1"
532-
"@polkadot/rpc-provider" "1.31.1"
533-
"@polkadot/types" "1.31.1"
534-
"@polkadot/types-known" "1.31.1"
530+
"@polkadot/metadata" "1.31.2"
531+
"@polkadot/rpc-core" "1.31.2"
532+
"@polkadot/rpc-provider" "1.31.2"
533+
"@polkadot/types" "1.31.2"
534+
"@polkadot/types-known" "1.31.2"
535535
"@polkadot/util" "^3.4.1"
536536
"@polkadot/util-crypto" "^3.4.1"
537537
bn.js "^5.1.3"
@@ -547,63 +547,63 @@
547547
"@polkadot/util" "3.4.1"
548548
"@polkadot/util-crypto" "3.4.1"
549549

550-
"@polkadot/metadata@1.31.1":
551-
version "1.31.1"
552-
resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-1.31.1.tgz#1539777b5a5d62a06d9ef70f28901d525aa12e57"
553-
integrity sha512-pzsxRerriU/jA36JUv4YSL1XpYoA01wPsYxMXO+Q0Z2RSaZPf/AmZHzJ4/cA39EjR6LhAoUQroOclJaFgT2C6Q==
550+
"@polkadot/metadata@1.31.2":
551+
version "1.31.2"
552+
resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-1.31.2.tgz#48aec4dca64fe424422dd131221daf03f055c042"
553+
integrity sha512-UAcZLxh6QFwhF2Ccmax6LUYa99NntBZrAe8oUN92UJlHbtAutd5sq322P+liG2EHfyhUZs5T5v8jLD79pMTjdA==
554554
dependencies:
555555
"@babel/runtime" "^7.11.2"
556-
"@polkadot/types" "1.31.1"
557-
"@polkadot/types-known" "1.31.1"
556+
"@polkadot/types" "1.31.2"
557+
"@polkadot/types-known" "1.31.2"
558558
"@polkadot/util" "^3.4.1"
559559
"@polkadot/util-crypto" "^3.4.1"
560560
bn.js "^5.1.3"
561561

562-
"@polkadot/rpc-core@1.31.1":
563-
version "1.31.1"
564-
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-1.31.1.tgz#a3c6be98185d95ca1b3e478c0125814406c0fcd5"
565-
integrity sha512-m4ZBsLtYukflL03P6IO6B1qFqce3wBP5xxWh2n5ig3/CA+673xa0aXh0rYPQVU4J0sEZT3ktKwZW/MKmBC7J3A==
562+
"@polkadot/rpc-core@1.31.2":
563+
version "1.31.2"
564+
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-1.31.2.tgz#fbec66771b846f0e93fd5b05138fb0dc99476e42"
565+
integrity sha512-amFN0UtxB94TnXVuL9oBSQDFheCrxUN6C/lmVlOBqnWj6ZA1RDAuPPJBNIjhSxNlGmJxS2yIexaCVKgF8kS8Cg==
566566
dependencies:
567567
"@babel/runtime" "^7.11.2"
568-
"@polkadot/metadata" "1.31.1"
569-
"@polkadot/rpc-provider" "1.31.1"
570-
"@polkadot/types" "1.31.1"
568+
"@polkadot/metadata" "1.31.2"
569+
"@polkadot/rpc-provider" "1.31.2"
570+
"@polkadot/types" "1.31.2"
571571
"@polkadot/util" "^3.4.1"
572572
memoizee "^0.4.14"
573573
rxjs "^6.6.2"
574574

575-
"@polkadot/rpc-provider@1.31.1":
576-
version "1.31.1"
577-
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-1.31.1.tgz#d292ed906afe1812f7ff2ad2dd956c6cec7c57b3"
578-
integrity sha512-bh49hQx9W8e8UDOzAZm/tXEfSOWclEYdrCDDehMWBckVPvE5G5uQNTlJzumLY6bW5CE19UbVs/7sxo51Y6jghQ==
575+
"@polkadot/rpc-provider@1.31.2":
576+
version "1.31.2"
577+
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-1.31.2.tgz#282513287b0fac71ab6446e639636d158de7f525"
578+
integrity sha512-vqS1lsk/BBGSuklGKJhJxduKXOyXjc/kZzPWmmH8B92Zh59LqlzoJ8a4gQIjDr0CFjeJZbaaL1yRhE6qwaEe2A==
579579
dependencies:
580580
"@babel/runtime" "^7.11.2"
581-
"@polkadot/metadata" "1.31.1"
582-
"@polkadot/types" "1.31.1"
581+
"@polkadot/metadata" "1.31.2"
582+
"@polkadot/types" "1.31.2"
583583
"@polkadot/util" "^3.4.1"
584584
"@polkadot/util-crypto" "^3.4.1"
585585
bn.js "^5.1.3"
586586
eventemitter3 "^4.0.6"
587587
isomorphic-fetch "^2.2.1"
588588
websocket "^1.0.31"
589589

590-
"@polkadot/types-known@1.31.1":
591-
version "1.31.1"
592-
resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-1.31.1.tgz#cc8923aa9bd880b2e71e855c24e52f521f564bef"
593-
integrity sha512-XunXiPsq3nm5TABLIEAeLsSdY234dkXJcAUAK3ZwZQFtBc17+BjZrXQTtgUbG8rAQIDz1hWT12NWsPQTiLFWww==
590+
"@polkadot/types-known@1.31.2":
591+
version "1.31.2"
592+
resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-1.31.2.tgz#39ff4442e9ea9f3f9232e9ef9bbc3d2cd348cb0b"
593+
integrity sha512-sA9IEwYNCsN+Z4eZklxOluJA5OBN2eGNvLz0uUQ6TFvqbi9Z8Mba+h+RZU1iFO6+yq2U7ECvdWzET6RN7zv+oQ==
594594
dependencies:
595595
"@babel/runtime" "^7.11.2"
596-
"@polkadot/types" "1.31.1"
596+
"@polkadot/types" "1.31.2"
597597
"@polkadot/util" "^3.4.1"
598598
bn.js "^5.1.3"
599599

600-
"@polkadot/types@1.31.1":
601-
version "1.31.1"
602-
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-1.31.1.tgz#227de8250ca21c9f0ef2b1c94b6c6162aa449a10"
603-
integrity sha512-dOHo7NOHjr3w03RjY2uMA8EbisIKx4aIs54aPPoefm9EYO4A1oWb6edUZ6PyrclDLR9easaFWMgYo/GER4wIrA==
600+
"@polkadot/types@1.31.2":
601+
version "1.31.2"
602+
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-1.31.2.tgz#5aa9f2fb366aa7af308d82a471240465d43b0333"
603+
integrity sha512-eJsWdMzBlkYYrowR7tl9LYvGW3Za05esDQPxPxc1z2kkwzU2IoX2qijhUb6J9ViESY/h0jWFyEbV/1mBn4uupg==
604604
dependencies:
605605
"@babel/runtime" "^7.11.2"
606-
"@polkadot/metadata" "1.31.1"
606+
"@polkadot/metadata" "1.31.2"
607607
"@polkadot/util" "^3.4.1"
608608
"@polkadot/util-crypto" "^3.4.1"
609609
"@types/bn.js" "^4.11.6"

0 commit comments

Comments
 (0)