diff --git a/package-lock.json b/package-lock.json
index 25de117..afaa71d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,7 +8,7 @@
"name": "test_ui",
"version": "0.1.0",
"dependencies": {
- "@certusone/wormhole-sdk": "^0.9.4",
+ "@certusone/wormhole-sdk": "^0.9.8",
"@injectivelabs/sdk-ts": "^1.0.211",
"@injectivelabs/ts-types": "^1.0.14",
"@injectivelabs/tx-ts": "^1.0.43",
@@ -2099,13 +2099,16 @@
}
},
"node_modules/@certusone/wormhole-sdk": {
- "version": "0.9.4",
- "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.9.4.tgz",
- "integrity": "sha512-p0hSZYP1Hm4M0j27d9RbO56GDIaZzkECEHAtnC8pRRDY37yJu1e4n8u8CZ7gPvdPCJ8qslOTjtg0E/Iv7AaViQ==",
+ "version": "0.9.8",
+ "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.9.8.tgz",
+ "integrity": "sha512-Ck93es/4TxsYTVcFxEOQumXlxJm10AHMuDdUzwg+wNGYXLKlHEksrWdEUoeJ0o1HIEnIAT33g0q/bmCq8rlWzg==",
"dependencies": {
"@certusone/wormhole-sdk-proto-web": "0.0.6",
"@certusone/wormhole-sdk-wasm": "^0.0.1",
- "@injectivelabs/sdk-ts": "^1.0.211",
+ "@coral-xyz/borsh": "0.2.6",
+ "@injectivelabs/networks": "^1.0.52",
+ "@injectivelabs/sdk-ts": "1.0.289",
+ "@injectivelabs/utils": "1.0.45",
"@project-serum/anchor": "^0.25.0",
"@solana/spl-token": "^0.3.5",
"@solana/web3.js": "^1.66.2",
@@ -2116,6 +2119,7 @@
"axios": "^0.24.0",
"bech32": "^2.0.0",
"binary-parser": "^2.2.1",
+ "bs58": "^4.0.1",
"elliptic": "^6.5.4",
"js-base64": "^3.6.1",
"near-api-js": "^1.0.0"
@@ -2184,6 +2188,30 @@
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.10.tgz",
"integrity": "sha512-juG3RWMBOqcOuXC643OAdSA525V44cVgGV6dUDuiFtss+8Fk5x1hI93Rsld43VeJVIeqlP9I7Fn9/qaVqoEAuQ=="
},
+ "node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/utils": {
+ "version": "1.0.45",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.0.45.tgz",
+ "integrity": "sha512-ndmsKAMrQVbwh6BU5HMbuZQilfpMZVNwwO8m8OjQtvUm0lQ0HyEkugJd20HwcX2K3k+fSq/OlVy0F9gab8Cp6Q==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/ts-types": "^1.0.18",
+ "axios": "^0.21.1",
+ "bignumber.js": "^9.0.1",
+ "link-module-alias": "^1.2.0",
+ "shx": "^0.3.2",
+ "snakecase-keys": "^5.1.2",
+ "store2": "^2.12.0"
+ }
+ },
+ "node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/utils/node_modules/axios": {
+ "version": "0.21.4",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
+ "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
+ "dependencies": {
+ "follow-redirects": "^1.14.0"
+ }
+ },
"node_modules/@certusone/wormhole-sdk/node_modules/@project-serum/anchor": {
"version": "0.25.0",
"resolved": "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.25.0.tgz",
@@ -2238,6 +2266,14 @@
"resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz",
"integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg=="
},
+ "node_modules/@certusone/wormhole-sdk/node_modules/bignumber.js": {
+ "version": "9.1.1",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz",
+ "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==",
+ "engines": {
+ "node": "*"
+ }
+ },
"node_modules/@certusone/wormhole-sdk/node_modules/borsh": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz",
@@ -2404,6 +2440,21 @@
"ieee754": "^1.1.13"
}
},
+ "node_modules/@coral-xyz/borsh": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/@coral-xyz/borsh/-/borsh-0.2.6.tgz",
+ "integrity": "sha512-y6nmHw1bFcJib7sMHsQPpC8r47xhqDZVvhUdna7NUPzpSbOZG6f46N21+aXsQ2w/tG8Ggls488J/ZmwbgVmyjg==",
+ "dependencies": {
+ "bn.js": "^5.1.2",
+ "buffer-layout": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@solana/web3.js": "^1.2.0"
+ }
+ },
"node_modules/@cosmjs/amino": {
"version": "0.29.1",
"license": "Apache-2.0",
@@ -5407,12 +5458,13 @@
}
},
"node_modules/@injectivelabs/exceptions": {
- "version": "1.0.25",
+ "version": "1.0.32",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/exceptions/-/exceptions-1.0.32.tgz",
+ "integrity": "sha512-g+7UIoVL6v5OIdRrJSWLoyfHYIpey3BpWwxeUpFwXyRBkzalHPkVyYnmx1twOJd6lZyhfZWG0k9M5PcJBsrDIw==",
"hasInstallScript": true,
- "license": "MIT",
"dependencies": {
"@improbable-eng/grpc-web": "^0.15.0",
- "@injectivelabs/ts-types": "^1.0.14",
+ "@injectivelabs/ts-types": "^1.0.18",
"http-status-codes": "^2.2.0",
"link-module-alias": "^1.2.0",
"shx": "^0.3.2"
@@ -5429,8 +5481,9 @@
}
},
"node_modules/@injectivelabs/indexer-api": {
- "version": "1.0.31",
- "license": "MIT",
+ "version": "1.0.32-rc",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/indexer-api/-/indexer-api-1.0.32-rc.tgz",
+ "integrity": "sha512-LNU4lZMhVXN4b9w72SAcVIesyD9We3Oq466KHDOd2S9asnNjO6EuQ4EtA2l4qiIvIat9Gh9/VZOfSXguTlVp8g==",
"dependencies": {
"@improbable-eng/grpc-web": "^0.14.0",
"google-protobuf": "^3.14.0"
@@ -5438,7 +5491,8 @@
},
"node_modules/@injectivelabs/indexer-api/node_modules/@improbable-eng/grpc-web": {
"version": "0.14.1",
- "license": "Apache-2.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.14.1.tgz",
+ "integrity": "sha512-XaIYuunepPxoiGVLLHmlnVminUGzBTnXr8Wv7khzmLWbNw4TCwJKX09GSMJlKhu/TRk6gms0ySFxewaETSBqgw==",
"dependencies": {
"browser-headers": "^0.4.1"
},
@@ -5447,20 +5501,43 @@
}
},
"node_modules/@injectivelabs/networks": {
- "version": "1.0.37",
+ "version": "1.0.54",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.0.54.tgz",
+ "integrity": "sha512-3EfyRlLsPzkljxt481WbvZ7oDtvkOYy4akq4LXLF6pqXsaBHowaaeZri2IjZmBYVP/xw1XIUJuPupoqcV2bjMg==",
"hasInstallScript": true,
- "license": "MIT",
"dependencies": {
- "@injectivelabs/exceptions": "^1.0.25",
- "@injectivelabs/utils": "^1.0.31",
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/ts-types": "^1.0.18",
+ "@injectivelabs/utils": "^1.0.47",
"link-module-alias": "^1.2.0",
"shx": "^0.3.2"
}
},
+ "node_modules/@injectivelabs/ninja-api": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/ninja-api/-/ninja-api-1.0.11.tgz",
+ "integrity": "sha512-idNPJMTBgTgfq7epsuOKCjoNTCqRWsGzZvt88H81UjrrsRZpLwpnfCHNc/aTE6VR19RZ27gk9CwI9vH/j4kq9w==",
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.14.0",
+ "google-protobuf": "^3.14.0"
+ }
+ },
+ "node_modules/@injectivelabs/ninja-api/node_modules/@improbable-eng/grpc-web": {
+ "version": "0.14.1",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.14.1.tgz",
+ "integrity": "sha512-XaIYuunepPxoiGVLLHmlnVminUGzBTnXr8Wv7khzmLWbNw4TCwJKX09GSMJlKhu/TRk6gms0ySFxewaETSBqgw==",
+ "dependencies": {
+ "browser-headers": "^0.4.1"
+ },
+ "peerDependencies": {
+ "google-protobuf": "^3.14.0"
+ }
+ },
"node_modules/@injectivelabs/sdk-ts": {
- "version": "1.0.211",
+ "version": "1.0.289",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/sdk-ts/-/sdk-ts-1.0.289.tgz",
+ "integrity": "sha512-O1cTY50hnowiSkBCmafomFcWlhsuXvb7f8oXXvBscPiT0talPLwm2iASQ8FKu1xspKwU5s6VTkTGL4Bk8XAzTQ==",
"hasInstallScript": true,
- "license": "MIT",
"dependencies": {
"@apollo/client": "^3.5.8",
"@cosmjs/amino": "^0.29.0",
@@ -5470,13 +5547,14 @@
"@improbable-eng/grpc-web": "^0.15.0",
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"@improbable-eng/grpc-web-react-native-transport": "^0.15.0",
- "@injectivelabs/chain-api": "1.8.2-no-tse",
- "@injectivelabs/exceptions": "^1.0.25",
- "@injectivelabs/indexer-api": "1.0.31",
- "@injectivelabs/networks": "^1.0.37",
- "@injectivelabs/token-metadata": "^1.0.51",
- "@injectivelabs/ts-types": "^1.0.14",
- "@injectivelabs/utils": "^1.0.31",
+ "@injectivelabs/chain-api": "1.8.3",
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/indexer-api": "1.0.32-rc",
+ "@injectivelabs/networks": "^1.0.52",
+ "@injectivelabs/ninja-api": "^1.0.10",
+ "@injectivelabs/token-metadata": "^1.0.77",
+ "@injectivelabs/ts-types": "^1.0.18",
+ "@injectivelabs/utils": "^1.0.45",
"@metamask/eth-sig-util": "^4.0.1",
"@types/google-protobuf": "^3.15.5",
"axios": "^0.27.2",
@@ -5579,6 +5657,26 @@
"google-protobuf": "^3.14.0"
}
},
+ "node_modules/@injectivelabs/sdk-ts/node_modules/@injectivelabs/chain-api": {
+ "version": "1.8.3",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/chain-api/-/chain-api-1.8.3.tgz",
+ "integrity": "sha512-BIg87F9BTA5njxtvOkEOIHl/gpmsqnFpHJm1SrN6IHUsW97/Zj3jXdYOy9p4WCfgxC2VZC/5IOPnwyrLwSyCWg==",
+ "dependencies": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "google-protobuf": "^3.13.0"
+ }
+ },
+ "node_modules/@injectivelabs/sdk-ts/node_modules/@injectivelabs/chain-api/node_modules/@improbable-eng/grpc-web": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.13.0.tgz",
+ "integrity": "sha512-vaxxT+Qwb7GPqDQrBV4vAAfH0HywgOLw6xGIKXd9Q8hcV63CQhmS3p4+pZ9/wVvt4Ph3ZDK9fdC983b9aGMUFg==",
+ "dependencies": {
+ "browser-headers": "^0.4.0"
+ },
+ "peerDependencies": {
+ "google-protobuf": "^3.2.0"
+ }
+ },
"node_modules/@injectivelabs/sdk-ts/node_modules/@types/bn.js": {
"version": "5.1.1",
"license": "MIT",
@@ -5678,12 +5776,13 @@
}
},
"node_modules/@injectivelabs/token-metadata": {
- "version": "1.0.51",
+ "version": "1.0.90",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/token-metadata/-/token-metadata-1.0.90.tgz",
+ "integrity": "sha512-m7hTPdLXWL/RHkbElr593D9to9ux8Lu/A0p6TD/p39ADdAPCm9nLXLYY+gwRSmRt6fcMnPYBvr6y4kEdkfL9zA==",
"hasInstallScript": true,
- "license": "MIT",
"dependencies": {
- "@injectivelabs/networks": "^1.0.37",
- "@injectivelabs/ts-types": "^1.0.14",
+ "@injectivelabs/networks": "^1.0.54",
+ "@injectivelabs/ts-types": "^1.0.18",
"@types/lodash.values": "^4.3.6",
"copyfiles": "^2.4.1",
"jsonschema": "^1.4.0",
@@ -5694,9 +5793,10 @@
}
},
"node_modules/@injectivelabs/ts-types": {
- "version": "1.0.14",
+ "version": "1.0.18",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.0.18.tgz",
+ "integrity": "sha512-fffgHjSmssLXBiI6Z/K7JuBOKTnsDm3h6ysQ5KRasmSY3NDuMCAQ5URForvdOQ38SKvhMquxQus5a+tZIWnHfg==",
"hasInstallScript": true,
- "license": "MIT",
"dependencies": {
"link-module-alias": "^1.2.0",
"shx": "^0.3.2"
@@ -5844,12 +5944,13 @@
}
},
"node_modules/@injectivelabs/utils": {
- "version": "1.0.31",
+ "version": "1.0.47",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.0.47.tgz",
+ "integrity": "sha512-UDbqFDwn1KU+0M1pIr5UR4wTyXuU/NiakcizKiBFstlLdZkqzX3imklwFx7XV7IJ7xZt5EbyCxf7VLj6h/MfCA==",
"hasInstallScript": true,
- "license": "MIT",
"dependencies": {
- "@injectivelabs/exceptions": "^1.0.25",
- "@injectivelabs/ts-types": "^1.0.14",
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/ts-types": "^1.0.18",
"axios": "^0.21.1",
"bignumber.js": "^9.0.1",
"link-module-alias": "^1.2.0",
@@ -49670,13 +49771,16 @@
}
},
"@certusone/wormhole-sdk": {
- "version": "0.9.4",
- "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.9.4.tgz",
- "integrity": "sha512-p0hSZYP1Hm4M0j27d9RbO56GDIaZzkECEHAtnC8pRRDY37yJu1e4n8u8CZ7gPvdPCJ8qslOTjtg0E/Iv7AaViQ==",
+ "version": "0.9.8",
+ "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.9.8.tgz",
+ "integrity": "sha512-Ck93es/4TxsYTVcFxEOQumXlxJm10AHMuDdUzwg+wNGYXLKlHEksrWdEUoeJ0o1HIEnIAT33g0q/bmCq8rlWzg==",
"requires": {
"@certusone/wormhole-sdk-proto-web": "0.0.6",
"@certusone/wormhole-sdk-wasm": "^0.0.1",
- "@injectivelabs/sdk-ts": "^1.0.211",
+ "@coral-xyz/borsh": "0.2.6",
+ "@injectivelabs/networks": "^1.0.52",
+ "@injectivelabs/sdk-ts": "1.0.289",
+ "@injectivelabs/utils": "1.0.45",
"@project-serum/anchor": "^0.25.0",
"@solana/spl-token": "^0.3.5",
"@solana/web3.js": "^1.66.2",
@@ -49687,11 +49791,37 @@
"axios": "^0.24.0",
"bech32": "^2.0.0",
"binary-parser": "^2.2.1",
+ "bs58": "^4.0.1",
"elliptic": "^6.5.4",
"js-base64": "^3.6.1",
"near-api-js": "^1.0.0"
},
"dependencies": {
+ "@injectivelabs/utils": {
+ "version": "1.0.45",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.0.45.tgz",
+ "integrity": "sha512-ndmsKAMrQVbwh6BU5HMbuZQilfpMZVNwwO8m8OjQtvUm0lQ0HyEkugJd20HwcX2K3k+fSq/OlVy0F9gab8Cp6Q==",
+ "requires": {
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/ts-types": "^1.0.18",
+ "axios": "^0.21.1",
+ "bignumber.js": "^9.0.1",
+ "link-module-alias": "^1.2.0",
+ "shx": "^0.3.2",
+ "snakecase-keys": "^5.1.2",
+ "store2": "^2.12.0"
+ },
+ "dependencies": {
+ "axios": {
+ "version": "0.21.4",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
+ "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
+ "requires": {
+ "follow-redirects": "^1.14.0"
+ }
+ }
+ }
+ },
"@project-serum/anchor": {
"version": "0.25.0",
"resolved": "https://registry.npmjs.org/@project-serum/anchor/-/anchor-0.25.0.tgz",
@@ -49737,6 +49867,11 @@
"resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz",
"integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg=="
},
+ "bignumber.js": {
+ "version": "9.1.1",
+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz",
+ "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig=="
+ },
"borsh": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz",
@@ -49926,6 +50061,15 @@
}
}
},
+ "@coral-xyz/borsh": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/@coral-xyz/borsh/-/borsh-0.2.6.tgz",
+ "integrity": "sha512-y6nmHw1bFcJib7sMHsQPpC8r47xhqDZVvhUdna7NUPzpSbOZG6f46N21+aXsQ2w/tG8Ggls488J/ZmwbgVmyjg==",
+ "requires": {
+ "bn.js": "^5.1.2",
+ "buffer-layout": "^1.2.0"
+ }
+ },
"@cosmjs/amino": {
"version": "0.29.1",
"requires": {
@@ -52038,10 +52182,12 @@
}
},
"@injectivelabs/exceptions": {
- "version": "1.0.25",
+ "version": "1.0.32",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/exceptions/-/exceptions-1.0.32.tgz",
+ "integrity": "sha512-g+7UIoVL6v5OIdRrJSWLoyfHYIpey3BpWwxeUpFwXyRBkzalHPkVyYnmx1twOJd6lZyhfZWG0k9M5PcJBsrDIw==",
"requires": {
"@improbable-eng/grpc-web": "^0.15.0",
- "@injectivelabs/ts-types": "^1.0.14",
+ "@injectivelabs/ts-types": "^1.0.18",
"http-status-codes": "^2.2.0",
"link-module-alias": "^1.2.0",
"shx": "^0.3.2"
@@ -52056,7 +52202,9 @@
}
},
"@injectivelabs/indexer-api": {
- "version": "1.0.31",
+ "version": "1.0.32-rc",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/indexer-api/-/indexer-api-1.0.32-rc.tgz",
+ "integrity": "sha512-LNU4lZMhVXN4b9w72SAcVIesyD9We3Oq466KHDOd2S9asnNjO6EuQ4EtA2l4qiIvIat9Gh9/VZOfSXguTlVp8g==",
"requires": {
"@improbable-eng/grpc-web": "^0.14.0",
"google-protobuf": "^3.14.0"
@@ -52064,6 +52212,8 @@
"dependencies": {
"@improbable-eng/grpc-web": {
"version": "0.14.1",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.14.1.tgz",
+ "integrity": "sha512-XaIYuunepPxoiGVLLHmlnVminUGzBTnXr8Wv7khzmLWbNw4TCwJKX09GSMJlKhu/TRk6gms0ySFxewaETSBqgw==",
"requires": {
"browser-headers": "^0.4.1"
}
@@ -52071,16 +52221,40 @@
}
},
"@injectivelabs/networks": {
- "version": "1.0.37",
+ "version": "1.0.54",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.0.54.tgz",
+ "integrity": "sha512-3EfyRlLsPzkljxt481WbvZ7oDtvkOYy4akq4LXLF6pqXsaBHowaaeZri2IjZmBYVP/xw1XIUJuPupoqcV2bjMg==",
"requires": {
- "@injectivelabs/exceptions": "^1.0.25",
- "@injectivelabs/utils": "^1.0.31",
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/ts-types": "^1.0.18",
+ "@injectivelabs/utils": "^1.0.47",
"link-module-alias": "^1.2.0",
"shx": "^0.3.2"
}
},
+ "@injectivelabs/ninja-api": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/ninja-api/-/ninja-api-1.0.11.tgz",
+ "integrity": "sha512-idNPJMTBgTgfq7epsuOKCjoNTCqRWsGzZvt88H81UjrrsRZpLwpnfCHNc/aTE6VR19RZ27gk9CwI9vH/j4kq9w==",
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.14.0",
+ "google-protobuf": "^3.14.0"
+ },
+ "dependencies": {
+ "@improbable-eng/grpc-web": {
+ "version": "0.14.1",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.14.1.tgz",
+ "integrity": "sha512-XaIYuunepPxoiGVLLHmlnVminUGzBTnXr8Wv7khzmLWbNw4TCwJKX09GSMJlKhu/TRk6gms0ySFxewaETSBqgw==",
+ "requires": {
+ "browser-headers": "^0.4.1"
+ }
+ }
+ }
+ },
"@injectivelabs/sdk-ts": {
- "version": "1.0.211",
+ "version": "1.0.289",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/sdk-ts/-/sdk-ts-1.0.289.tgz",
+ "integrity": "sha512-O1cTY50hnowiSkBCmafomFcWlhsuXvb7f8oXXvBscPiT0talPLwm2iASQ8FKu1xspKwU5s6VTkTGL4Bk8XAzTQ==",
"requires": {
"@apollo/client": "^3.5.8",
"@cosmjs/amino": "^0.29.0",
@@ -52090,13 +52264,14 @@
"@improbable-eng/grpc-web": "^0.15.0",
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"@improbable-eng/grpc-web-react-native-transport": "^0.15.0",
- "@injectivelabs/chain-api": "1.8.2-no-tse",
- "@injectivelabs/exceptions": "^1.0.25",
- "@injectivelabs/indexer-api": "1.0.31",
- "@injectivelabs/networks": "^1.0.37",
- "@injectivelabs/token-metadata": "^1.0.51",
- "@injectivelabs/ts-types": "^1.0.14",
- "@injectivelabs/utils": "^1.0.31",
+ "@injectivelabs/chain-api": "1.8.3",
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/indexer-api": "1.0.32-rc",
+ "@injectivelabs/networks": "^1.0.52",
+ "@injectivelabs/ninja-api": "^1.0.10",
+ "@injectivelabs/token-metadata": "^1.0.77",
+ "@injectivelabs/ts-types": "^1.0.18",
+ "@injectivelabs/utils": "^1.0.45",
"@metamask/eth-sig-util": "^4.0.1",
"@types/google-protobuf": "^3.15.5",
"axios": "^0.27.2",
@@ -52151,6 +52326,25 @@
"browser-headers": "^0.4.1"
}
},
+ "@injectivelabs/chain-api": {
+ "version": "1.8.3",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/chain-api/-/chain-api-1.8.3.tgz",
+ "integrity": "sha512-BIg87F9BTA5njxtvOkEOIHl/gpmsqnFpHJm1SrN6IHUsW97/Zj3jXdYOy9p4WCfgxC2VZC/5IOPnwyrLwSyCWg==",
+ "requires": {
+ "@improbable-eng/grpc-web": "^0.13.0",
+ "google-protobuf": "^3.13.0"
+ },
+ "dependencies": {
+ "@improbable-eng/grpc-web": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.13.0.tgz",
+ "integrity": "sha512-vaxxT+Qwb7GPqDQrBV4vAAfH0HywgOLw6xGIKXd9Q8hcV63CQhmS3p4+pZ9/wVvt4Ph3ZDK9fdC983b9aGMUFg==",
+ "requires": {
+ "browser-headers": "^0.4.0"
+ }
+ }
+ }
+ },
"@types/bn.js": {
"version": "5.1.1",
"requires": {
@@ -52218,10 +52412,12 @@
}
},
"@injectivelabs/token-metadata": {
- "version": "1.0.51",
+ "version": "1.0.90",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/token-metadata/-/token-metadata-1.0.90.tgz",
+ "integrity": "sha512-m7hTPdLXWL/RHkbElr593D9to9ux8Lu/A0p6TD/p39ADdAPCm9nLXLYY+gwRSmRt6fcMnPYBvr6y4kEdkfL9zA==",
"requires": {
- "@injectivelabs/networks": "^1.0.37",
- "@injectivelabs/ts-types": "^1.0.14",
+ "@injectivelabs/networks": "^1.0.54",
+ "@injectivelabs/ts-types": "^1.0.18",
"@types/lodash.values": "^4.3.6",
"copyfiles": "^2.4.1",
"jsonschema": "^1.4.0",
@@ -52232,7 +52428,9 @@
}
},
"@injectivelabs/ts-types": {
- "version": "1.0.14",
+ "version": "1.0.18",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.0.18.tgz",
+ "integrity": "sha512-fffgHjSmssLXBiI6Z/K7JuBOKTnsDm3h6ysQ5KRasmSY3NDuMCAQ5URForvdOQ38SKvhMquxQus5a+tZIWnHfg==",
"requires": {
"link-module-alias": "^1.2.0",
"shx": "^0.3.2"
@@ -52361,10 +52559,12 @@
}
},
"@injectivelabs/utils": {
- "version": "1.0.31",
+ "version": "1.0.47",
+ "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.0.47.tgz",
+ "integrity": "sha512-UDbqFDwn1KU+0M1pIr5UR4wTyXuU/NiakcizKiBFstlLdZkqzX3imklwFx7XV7IJ7xZt5EbyCxf7VLj6h/MfCA==",
"requires": {
- "@injectivelabs/exceptions": "^1.0.25",
- "@injectivelabs/ts-types": "^1.0.14",
+ "@injectivelabs/exceptions": "^1.0.32",
+ "@injectivelabs/ts-types": "^1.0.18",
"axios": "^0.21.1",
"bignumber.js": "^9.0.1",
"link-module-alias": "^1.2.0",
diff --git a/package.json b/package.json
index 1112ee1..8325ccd 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
- "@certusone/wormhole-sdk": "^0.9.4",
+ "@certusone/wormhole-sdk": "^0.9.8",
"@injectivelabs/sdk-ts": "^1.0.211",
"@injectivelabs/ts-types": "^1.0.14",
"@injectivelabs/tx-ts": "^1.0.43",
diff --git a/src/components/InjectiveConnectWalletDialog.tsx b/src/components/InjectiveConnectWalletDialog.tsx
index b0f8ae0..f5de013 100644
--- a/src/components/InjectiveConnectWalletDialog.tsx
+++ b/src/components/InjectiveConnectWalletDialog.tsx
@@ -14,7 +14,7 @@ import { Wallet } from "@injectivelabs/wallet-ts";
import { useCallback } from "react";
import {
InjectiveWalletInfo,
- SUPPORTED_WALLETS,
+ getSupportedWallets,
useInjectiveContext,
} from "../contexts/InjectiveWalletContext";
@@ -78,27 +78,27 @@ const InjectiveConnectWalletDialog = ({
const { connect } = useInjectiveContext();
const classes = useStyles();
- const installedWallets = SUPPORTED_WALLETS.filter(
- (walletInfo) => walletInfo.isInstalled
- ).map((walletInfo) => (
-
- ));
+ const installedWallets = getSupportedWallets()
+ .filter((walletInfo) => walletInfo.isInstalled)
+ .map((walletInfo) => (
+
+ ));
- const undetectedWallets = SUPPORTED_WALLETS.filter(
- (walletInfo) => !walletInfo.isInstalled
- ).map((walletInfo) => (
-
- ));
+ const undetectedWallets = getSupportedWallets()
+ .filter((walletInfo) => !walletInfo.isInstalled)
+ .map((walletInfo) => (
+
+ ));
return (