From 3c27905c911317b11b4f584d129b18423d80cb8c Mon Sep 17 00:00:00 2001 From: yuli-ferna <35125931+yuli-ferna@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:59:34 -0400 Subject: [PATCH] Bugfix: Failed Redeem Process, AVAX to Algorand (#449) * #199 - re factor js to tsx files * #199 - add sei support * #199 - fix typing issues * run prettier, update package-lock.json * update package-lock.json * fix build issues * bump LTS node version * change install command * add @babel/plugin-proposal-private-property-in-object dev * set 10gb as memory limit * add thread-loader * #199 - add mainnet settings * tmp commit * add fee calculation function for sei * bump version * update calculate fee logic * update base fee and rpc * update package-lock.json * fix * fix sui, and remove change on emitter addres sei * run prettier * update logic to manage automatic redeem on sei * fix 404 request for empty-relayer-config.json * fix redeem * update packages * change verwsion of prettier * format * bump version --------- Co-authored-by: Sebastian Scatularo --- package-lock.json | 442 +++++++++++++++-------------- package.json | 36 +-- src/components/Transfer/Redeem.tsx | 1 - src/hooks/useHandleTransfer.tsx | 1 - 4 files changed, 253 insertions(+), 227 deletions(-) diff --git a/package-lock.json b/package-lock.json index edeb9ffb0..23afa9ed6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "@xlabs/portal-bridge-ui", - "version": "0.1.83", + "version": "0.1.84", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@xlabs/portal-bridge-ui", - "version": "0.1.83", + "version": "0.1.84", "hasInstallScript": true, "dependencies": { - "@certusone/wormhole-sdk": "^0.9.24", - "@injectivelabs/sdk-ts": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/wallet-ts": "^1.12.1", + "@certusone/wormhole-sdk": "^0.10.4", + "@injectivelabs/sdk-ts": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/wallet-ts": "^1.14.0", "@manahippo/aptos-wallet-adapter": "^1.0.2", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.11.2", @@ -42,22 +42,22 @@ "@terra-money/wallet-provider": "^3.9.4", "@types/react-dom": "^17.0.20", "@walletconnect/web3-provider": "^1.7.8", - "@xlabs-libs/wallet-aggregator-algorand": "0.0.1-alpha.16", - "@xlabs-libs/wallet-aggregator-aptos": "^0.0.1-alpha.9", - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.15", - "@xlabs-libs/wallet-aggregator-evm": "0.0.1-alpha.27", - "@xlabs-libs/wallet-aggregator-injective": "^0.0.1-alpha.12", - "@xlabs-libs/wallet-aggregator-near": "^0.0.1-alpha.5", - "@xlabs-libs/wallet-aggregator-react": "0.0.1-alpha.12", + "@xlabs-libs/wallet-aggregator-algorand": "0.0.1-alpha.26", + "@xlabs-libs/wallet-aggregator-aptos": "^0.0.1-alpha.12", + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17", + "@xlabs-libs/wallet-aggregator-evm": "0.0.1-alpha.32", + "@xlabs-libs/wallet-aggregator-injective": "^0.0.1-alpha.14", + "@xlabs-libs/wallet-aggregator-near": "^0.0.1-alpha.7", + "@xlabs-libs/wallet-aggregator-react": "0.0.1-alpha.14", "@xlabs-libs/wallet-aggregator-sei": "0.0.1-alpha.10", - "@xlabs-libs/wallet-aggregator-solana": "^0.0.1-alpha.11", - "@xlabs-libs/wallet-aggregator-sui": "^0.0.1-alpha.4", - "@xlabs-libs/wallet-aggregator-terra": "^0.0.1-alpha.5", - "@xlabs-libs/wallet-aggregator-xpla": "^0.0.1-alpha.5", + "@xlabs-libs/wallet-aggregator-solana": "^0.0.1-alpha.13", + "@xlabs-libs/wallet-aggregator-sui": "^0.0.1-alpha.8", + "@xlabs-libs/wallet-aggregator-terra": "^0.0.1-alpha.7", + "@xlabs-libs/wallet-aggregator-xpla": "^0.0.1-alpha.7", "@xpla/wallet-provider": "^0.3.4", "@xpla/xpla.js": "^0.2.1", "alchemy-sdk": "2.8.0", - "algosdk": "^2.5.0", + "algosdk": "^2.6.0", "aptos": "1.5.0", "axios": "^0.21.1", "bech32": "^1.1.4", @@ -105,7 +105,7 @@ "lint-staged": "^13.2.3", "os-browserify": "^0.3.0", "path-browserify": "^1.0.1", - "prettier": "^3.0.3", + "prettier": "^3.0.2", "process": "^0.11.10", "punycode": "^2.1.1", "querystring-es3": "^0.2.1", @@ -2600,9 +2600,9 @@ } }, "node_modules/@certusone/wormhole-sdk": { - "version": "0.9.24", - "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.9.24.tgz", - "integrity": "sha512-O2Ejd2fCP0uhM0ysQyXzuzZMBpMpySQN6fcJlL/Xk1LCVJQLPQtNfRK4oR04tYAnEJBVsAzoNYiX8dPSw+eNJQ==", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.10.4.tgz", + "integrity": "sha512-F0K9x+fvDL4SYsWJBOMs/2KaWvJ6r6bJrlqJyNQooeF+50Rm7qZ8Se/ox1VKkc6CjpTqDG/WLqUkL1vdoNREPA==", "dependencies": { "@certusone/wormhole-sdk-proto-web": "0.0.6", "@certusone/wormhole-sdk-wasm": "^0.0.1", @@ -3838,6 +3838,11 @@ "web3-utils": "^1.0.0-beta.31" } }, + "node_modules/@ensdomains/ens-validation": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ensdomains/ens-validation/-/ens-validation-0.1.0.tgz", + "integrity": "sha512-rbDh2K6GfqXvBcJUISaTTYEt3f079WA4ohTE5Lh4/8EaaPAk/9vk3EisMUQV2UVxeFIZQEEyRCIOmRTpqN0W7A==" + }, "node_modules/@ensdomains/ensjs": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@ensdomains/ensjs/-/ensjs-2.1.0.tgz", @@ -3854,6 +3859,11 @@ "js-sha3": "^0.8.0" } }, + "node_modules/@ensdomains/eth-ens-namehash": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/@ensdomains/eth-ens-namehash/-/eth-ens-namehash-2.0.15.tgz", + "integrity": "sha512-JRDFP6+Hczb1E0/HhIg0PONgBYasfGfDheujmfxaZaAv/NAH4jE6Kf48WbqfRZdxt4IZI3jl3Ri7sZ1nP09lgw==" + }, "node_modules/@ensdomains/resolver": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/@ensdomains/resolver/-/resolver-0.2.4.tgz", @@ -4993,13 +5003,13 @@ } }, "node_modules/@injectivelabs/exceptions": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/exceptions/-/exceptions-1.12.1.tgz", - "integrity": "sha512-aYmKgw8JzO3GoWFPrPurMOaPokmdh2/v2DW23mb3a51L40NZl5yDUaRilmzCWg+xtwmpWaWANBCgvcEpqtqxNw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/exceptions/-/exceptions-1.14.0.tgz", + "integrity": "sha512-mBko+41wfbyhTIFYGACXQXA0KsxolBj9H7DmnWPWqieCaiuUQTYRy/xJ3gaPxDGrkz2tvU9q6if9o2xkEinh3g==", "hasInstallScript": true, "dependencies": { "@injectivelabs/grpc-web": "^0.0.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/ts-types": "^1.14.0", "http-status-codes": "^2.2.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" @@ -5044,9 +5054,9 @@ } }, "node_modules/@injectivelabs/mito-proto-ts": { - "version": "1.0.43", - "resolved": "https://registry.npmjs.org/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.0.43.tgz", - "integrity": "sha512-w2FRECf0KmqhyID6iwKoQj366mSy1URjoWlf3sueM2s4xXee/J2fzYT4JOjt1wK8taLQ/gbIWP8FMTtUvh/+2w==", + "version": "1.0.46", + "resolved": "https://registry.npmjs.org/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.0.46.tgz", + "integrity": "sha512-K1g5udssQd4pDNzMteUQiI3PLHsuBhCKT6wli2h05ImB0NFQcGbLQlk3lpzsdfE9Usx2hCmZiQNUfUouRrTBpQ==", "dependencies": { "@injectivelabs/grpc-web": "^0.0.1", "google-protobuf": "^3.14.0", @@ -5069,29 +5079,31 @@ } }, "node_modules/@injectivelabs/sdk-ts": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/sdk-ts/-/sdk-ts-1.12.1.tgz", - "integrity": "sha512-OEbFb4W5D5tvC+sRkmb/+kbhD8hJ8GS8XiJPBV2k8DoNHmm+nHfHao/8sMTuvHDm2S+vZu3RrV7IBMRgZC64rw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/sdk-ts/-/sdk-ts-1.14.0.tgz", + "integrity": "sha512-ZsK2E8FxdGzdsBU2wyE5EU+NOvkiz9xZ7scNL86rLUU3d/Ip8vmCo1IFn7it1Y77aG4c6bfuHU9R7ACcFs3lrA==", "hasInstallScript": true, "dependencies": { "@apollo/client": "^3.5.8", "@cosmjs/amino": "^0.30.1", "@cosmjs/proto-signing": "^0.30.1", "@cosmjs/stargate": "^0.30.1", + "@ensdomains/ens-validation": "^0.1.0", + "@ensdomains/eth-ens-namehash": "^2.0.15", "@ethersproject/bytes": "^5.7.0", "@injectivelabs/core-proto-ts": "^0.0.18", "@injectivelabs/dmm-proto-ts": "1.0.16", - "@injectivelabs/exceptions": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.9", - "@injectivelabs/mito-proto-ts": "1.0.43", - "@injectivelabs/networks": "^1.12.1", - "@injectivelabs/test-utils": "^1.12.1", - "@injectivelabs/token-metadata": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/mito-proto-ts": "1.0.46", + "@injectivelabs/networks": "^1.14.0", + "@injectivelabs/test-utils": "^1.14.0", + "@injectivelabs/token-metadata": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "@metamask/eth-sig-util": "^4.0.0", "axios": "^0.27.2", "bech32": "^2.0.0", @@ -5114,26 +5126,26 @@ } }, "node_modules/@injectivelabs/sdk-ts/node_modules/@injectivelabs/networks": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.12.1.tgz", - "integrity": "sha512-X1njEOynG6CPRfQe1k/bvPSuCGCICRu98oIgNpRh4/qx4N168hPaWx0Te3d9WXx2bgkelGrk8x/VFS4NdWrIYg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.14.0.tgz", + "integrity": "sha512-i1RzBUDSK/gGU6OCRr/oMcYXiBvNU0S6fMffxHXkRdZBv1VxD55bGwMmTfq1p2DaDCQGBc8VukSRmVOxmPtRyw==", "hasInstallScript": true, "dependencies": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" } }, "node_modules/@injectivelabs/sdk-ts/node_modules/@injectivelabs/utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.12.1.tgz", - "integrity": "sha512-BAug0w+WipBDLv5FO3ANTSmL3dNd61T0P6bp9mW5gZ0VKs4Jc5Uybv7lE5IUOWR2+nk8I90O45qpF4DbP/BnEg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.14.0.tgz", + "integrity": "sha512-KzyuhrA5cZ845QC++2uxLd/rgf8/WlXYJbAqcM4XixFgx0ZKLxGauUrxNV3aUAqnV4QHKOfonRx6BYHCizEByQ==", "hasInstallScript": true, "dependencies": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", @@ -5166,9 +5178,9 @@ "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" }, "node_modules/@injectivelabs/test-utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/test-utils/-/test-utils-1.12.1.tgz", - "integrity": "sha512-1d7ZFtbSmM19+wgxKqxdK3NUAcQM0z2FrjRB7qDKR3K1KfrRRXQ3zRIRCojQ2yAL5lJblRy7xaSoSWiMH+CCIA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/test-utils/-/test-utils-1.14.0.tgz", + "integrity": "sha512-BeJ1W12rouZdbMrt91ufRBHz4WHOuJNEiDelBT78W/sYQd70EprLQcjkxNtDoW9NXt6wJvGrgwD8fBUzVD7XJw==", "hasInstallScript": true, "dependencies": { "axios": "^0.21.1", @@ -5180,15 +5192,15 @@ } }, "node_modules/@injectivelabs/token-metadata": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/token-metadata/-/token-metadata-1.12.1.tgz", - "integrity": "sha512-i5pJ3M2alxL9jM1RWgkVGwPcvkUmJCNxwfA7rZ8+PPNUwmPzckwuHy+6EYMLpuXy10ft6eskoDwd4/1CRgamFg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/token-metadata/-/token-metadata-1.14.0.tgz", + "integrity": "sha512-NJ4Xz4eakHXqNP6bTQzrmhX6FttahZWb1pJQC/xm2gTpecPhtzdUSdSw3hKCBUZPVQhUsN8OkI0QYY7iE8woTA==", "hasInstallScript": true, "dependencies": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/networks": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/networks": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "@types/lodash.values": "^4.3.6", "copyfiles": "^2.4.1", "jsonschema": "^1.4.0", @@ -5199,26 +5211,26 @@ } }, "node_modules/@injectivelabs/token-metadata/node_modules/@injectivelabs/networks": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.12.1.tgz", - "integrity": "sha512-X1njEOynG6CPRfQe1k/bvPSuCGCICRu98oIgNpRh4/qx4N168hPaWx0Te3d9WXx2bgkelGrk8x/VFS4NdWrIYg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.14.0.tgz", + "integrity": "sha512-i1RzBUDSK/gGU6OCRr/oMcYXiBvNU0S6fMffxHXkRdZBv1VxD55bGwMmTfq1p2DaDCQGBc8VukSRmVOxmPtRyw==", "hasInstallScript": true, "dependencies": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" } }, "node_modules/@injectivelabs/token-metadata/node_modules/@injectivelabs/utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.12.1.tgz", - "integrity": "sha512-BAug0w+WipBDLv5FO3ANTSmL3dNd61T0P6bp9mW5gZ0VKs4Jc5Uybv7lE5IUOWR2+nk8I90O45qpF4DbP/BnEg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.14.0.tgz", + "integrity": "sha512-KzyuhrA5cZ845QC++2uxLd/rgf8/WlXYJbAqcM4XixFgx0ZKLxGauUrxNV3aUAqnV4QHKOfonRx6BYHCizEByQ==", "hasInstallScript": true, "dependencies": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", @@ -5229,9 +5241,9 @@ } }, "node_modules/@injectivelabs/ts-types": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.12.1.tgz", - "integrity": "sha512-Bj/GtZLG8VPfANckzPHA8YWgdoq9acX6eOyqNTs9f1R+wA18SYjqoihS8zEexRfUzgxZSPaYEXCSMaawEZTIQQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.14.0.tgz", + "integrity": "sha512-cXBAWGaKcP9qWB90GuwdKSOUEj0IQB3jGpeYHS0VWi2PgXi+m2+CWDP3B9qcCpDmEP6ERItZ8Qhbt+Px8dRfSQ==", "hasInstallScript": true, "dependencies": { "link-module-alias": "^1.2.0", @@ -5256,9 +5268,9 @@ } }, "node_modules/@injectivelabs/wallet-ts": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/wallet-ts/-/wallet-ts-1.12.1.tgz", - "integrity": "sha512-GrDN+m0dQILPxehKD+Bjf40H30G2YaFovv1t/IUyR/58svhdPAFbZzmFgBLkF3iUvsSITAy/lkyDFCv4XNMQqg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/wallet-ts/-/wallet-ts-1.14.0.tgz", + "integrity": "sha512-Nl7IOxxd3AzBSRT/X6/2FvpJW2ETJmVemPNz6OPKIWrZgWhTlqU2Y3c66FL4Ft1gmYkadRskOdsrWwj1Gg8D8w==", "hasInstallScript": true, "dependencies": { "@cosmjs/launchpad": "0.27.1", @@ -5267,11 +5279,11 @@ "@cosmostation/extension-client": "^0.1.15", "@ethereumjs/common": "^3.1.1", "@ethereumjs/tx": "^4.1.1", - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/networks": "^1.12.1", - "@injectivelabs/sdk-ts": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/networks": "^1.14.0", + "@injectivelabs/sdk-ts": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "@keplr-wallet/cosmos": "^0.11.58", "@keplr-wallet/types": "^0.11.58", "@ledgerhq/hw-app-eth": "6.33.2", @@ -5294,26 +5306,26 @@ } }, "node_modules/@injectivelabs/wallet-ts/node_modules/@injectivelabs/networks": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.12.1.tgz", - "integrity": "sha512-X1njEOynG6CPRfQe1k/bvPSuCGCICRu98oIgNpRh4/qx4N168hPaWx0Te3d9WXx2bgkelGrk8x/VFS4NdWrIYg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.14.0.tgz", + "integrity": "sha512-i1RzBUDSK/gGU6OCRr/oMcYXiBvNU0S6fMffxHXkRdZBv1VxD55bGwMmTfq1p2DaDCQGBc8VukSRmVOxmPtRyw==", "hasInstallScript": true, "dependencies": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" } }, "node_modules/@injectivelabs/wallet-ts/node_modules/@injectivelabs/utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.12.1.tgz", - "integrity": "sha512-BAug0w+WipBDLv5FO3ANTSmL3dNd61T0P6bp9mW5gZ0VKs4Jc5Uybv7lE5IUOWR2+nk8I90O45qpF4DbP/BnEg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.14.0.tgz", + "integrity": "sha512-KzyuhrA5cZ845QC++2uxLd/rgf8/WlXYJbAqcM4XixFgx0ZKLxGauUrxNV3aUAqnV4QHKOfonRx6BYHCizEByQ==", "hasInstallScript": true, "dependencies": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", @@ -7836,9 +7848,9 @@ "integrity": "sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==" }, "node_modules/@perawallet/connect": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@perawallet/connect/-/connect-1.3.1.tgz", - "integrity": "sha512-392Hi/Oqgb05AvBFCJLcoideZ9zEboqIGBjMllG/qn+TMjKyJi1bwdqHTL7sOvzeOjq1ULJJ/0NN0y5+wdIcOQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@perawallet/connect/-/connect-1.3.3.tgz", + "integrity": "sha512-m2PL3CX8TUH3Y65T22yv4+9mes7hxjsie8AbZHRFe8uR5LLgWk1kyQHM8/KSsM52v7YUcG8G1IlsFgzsW+36xA==", "dependencies": { "@evanhahn/lottie-web-light": "5.8.1", "@walletconnect/client": "^1.8.0", @@ -17472,9 +17484,9 @@ } }, "node_modules/@xlabs-libs/wallet-aggregator-algorand": { - "version": "0.0.1-alpha.16", - "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-algorand/-/wallet-aggregator-algorand-0.0.1-alpha.16.tgz", - "integrity": "sha512-uGvL/+U8JtBRDl33awNfTNi8NQ8MnLmgJgypgh2qNhyoOkoilg/kr+9WKXdJoZP5jqy1SHpip749klL4gLv6uA==", + "version": "0.0.1-alpha.26", + "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-algorand/-/wallet-aggregator-algorand-0.0.1-alpha.26.tgz", + "integrity": "sha512-UBN+jaByrDBIzpzk9HJStST/cUnnDiBjL3DxiMU/DVcZWx4nsM+lCMAP7f+Oo58QRvB6eWzdaYojn6CP0Fvpfw==", "dependencies": { "@blockshake/defly-connect": "^1.1.1", "@ledgerhq/hw-app-algorand": "^6.27.12", @@ -17482,9 +17494,9 @@ "@ledgerhq/hw-transport-web-ble": "^6.27.12", "@ledgerhq/hw-transport-webhid": "^6.27.12", "@ledgerhq/hw-transport-webusb": "^6.27.12", - "@perawallet/connect": "^1.1.0", + "@perawallet/connect": "^1.3.2", "@randlabs/myalgo-connect": "^1.4.0", - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.14", + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17", "algosdk": "^1.24.0" } }, @@ -17531,15 +17543,17 @@ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==" }, "node_modules/@xlabs-libs/wallet-aggregator-evm": { - "version": "0.0.1-alpha.27", - "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-evm/-/wallet-aggregator-evm-0.0.1-alpha.27.tgz", - "integrity": "sha512-lgth7AA0GjF3V/rCVsNeRoQ+qP+fe6whxP7M+NDSOiKSvpq+fpGwM9HcU9dxqIM3rRNjZV7+hISPJ5KSdXwB9g==", + "version": "0.0.1-alpha.32", + "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-evm/-/wallet-aggregator-evm-0.0.1-alpha.32.tgz", + "integrity": "sha512-F5Igy/36RzmzmDLkOLMzc0fW+vbxyW8eXM6Op4SWvvaSkJnTSiNWYyNKa7n4Ec6gb6EGsJhTTSDF/GgmBeyUxA==", "dependencies": { + "@ethersproject/abi": "^5.7.0", "@ethersproject/abstract-provider": "^5.7.0", "@ethersproject/bytes": "^5.7.0", + "@ethersproject/providers": "^5.7.2", "@wagmi/core": "^0.10.8", "@web3modal/standalone": "^2.2.1", - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.13", + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17", "ethers": "^5.7.2", "versions": "^10.4.1", "web3-provider-engine": "^16.0.4" @@ -17995,11 +18009,11 @@ } }, "node_modules/@xlabs-libs/wallet-aggregator-react": { - "version": "0.0.1-alpha.12", - "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-react/-/wallet-aggregator-react-0.0.1-alpha.12.tgz", - "integrity": "sha512-6AKJ3Y+VIUPJP1vgBtD1awOerJuCGJkDZYEKwTxUrFk/eiQ+ur59HJCQ4hFVk/5HyowjTyHnaiNlCRYR4hZH7g==", + "version": "0.0.1-alpha.14", + "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-react/-/wallet-aggregator-react-0.0.1-alpha.14.tgz", + "integrity": "sha512-TygiD3fJWVscwXHMAPDjmxc0uPkRp14JFsHxE6i6VWDPO93iWzRW2xPwxbpqLeswhhGV+LfFZl4pmHPBVJjC2Q==", "dependencies": { - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.15" + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17" } }, "node_modules/@xlabs-libs/wallet-aggregator-sei": { @@ -18853,9 +18867,9 @@ } }, "node_modules/algosdk": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/algosdk/-/algosdk-2.5.0.tgz", - "integrity": "sha512-MlbPjjx4utq5sETOE0okF7/Lz0fgoBtRJRvSbRu3GnoybLTq/n6To2ojDAjJMqi+qMDyUBE9fWu+8jdSvozavA==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/algosdk/-/algosdk-2.6.0.tgz", + "integrity": "sha512-xYSb2xPG4nLPlJvqjA4ebR0s++YrjZK1+UfaEV84u2HkIwuRhEUmryDPcAuLIfTp3eyY99v/FduOK02K2Hnu8Q==", "dependencies": { "algo-msgpack-with-bigint": "^2.1.1", "buffer": "^6.0.3", @@ -18869,7 +18883,7 @@ "vlq": "^2.0.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" } }, "node_modules/algosdk/node_modules/cross-fetch": { @@ -55980,9 +55994,9 @@ } }, "@certusone/wormhole-sdk": { - "version": "0.9.24", - "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.9.24.tgz", - "integrity": "sha512-O2Ejd2fCP0uhM0ysQyXzuzZMBpMpySQN6fcJlL/Xk1LCVJQLPQtNfRK4oR04tYAnEJBVsAzoNYiX8dPSw+eNJQ==", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.10.4.tgz", + "integrity": "sha512-F0K9x+fvDL4SYsWJBOMs/2KaWvJ6r6bJrlqJyNQooeF+50Rm7qZ8Se/ox1VKkc6CjpTqDG/WLqUkL1vdoNREPA==", "requires": { "@certusone/wormhole-sdk-proto-web": "0.0.6", "@certusone/wormhole-sdk-wasm": "^0.0.1", @@ -57004,6 +57018,11 @@ "web3-utils": "^1.0.0-beta.31" } }, + "@ensdomains/ens-validation": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ensdomains/ens-validation/-/ens-validation-0.1.0.tgz", + "integrity": "sha512-rbDh2K6GfqXvBcJUISaTTYEt3f079WA4ohTE5Lh4/8EaaPAk/9vk3EisMUQV2UVxeFIZQEEyRCIOmRTpqN0W7A==" + }, "@ensdomains/ensjs": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@ensdomains/ensjs/-/ensjs-2.1.0.tgz", @@ -57020,6 +57039,11 @@ "js-sha3": "^0.8.0" } }, + "@ensdomains/eth-ens-namehash": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/@ensdomains/eth-ens-namehash/-/eth-ens-namehash-2.0.15.tgz", + "integrity": "sha512-JRDFP6+Hczb1E0/HhIg0PONgBYasfGfDheujmfxaZaAv/NAH4jE6Kf48WbqfRZdxt4IZI3jl3Ri7sZ1nP09lgw==" + }, "@ensdomains/resolver": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/@ensdomains/resolver/-/resolver-0.2.4.tgz", @@ -57763,12 +57787,12 @@ } }, "@injectivelabs/exceptions": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/exceptions/-/exceptions-1.12.1.tgz", - "integrity": "sha512-aYmKgw8JzO3GoWFPrPurMOaPokmdh2/v2DW23mb3a51L40NZl5yDUaRilmzCWg+xtwmpWaWANBCgvcEpqtqxNw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/exceptions/-/exceptions-1.14.0.tgz", + "integrity": "sha512-mBko+41wfbyhTIFYGACXQXA0KsxolBj9H7DmnWPWqieCaiuUQTYRy/xJ3gaPxDGrkz2tvU9q6if9o2xkEinh3g==", "requires": { "@injectivelabs/grpc-web": "^0.0.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/ts-types": "^1.14.0", "http-status-codes": "^2.2.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" @@ -57806,9 +57830,9 @@ } }, "@injectivelabs/mito-proto-ts": { - "version": "1.0.43", - "resolved": "https://registry.npmjs.org/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.0.43.tgz", - "integrity": "sha512-w2FRECf0KmqhyID6iwKoQj366mSy1URjoWlf3sueM2s4xXee/J2fzYT4JOjt1wK8taLQ/gbIWP8FMTtUvh/+2w==", + "version": "1.0.46", + "resolved": "https://registry.npmjs.org/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.0.46.tgz", + "integrity": "sha512-K1g5udssQd4pDNzMteUQiI3PLHsuBhCKT6wli2h05ImB0NFQcGbLQlk3lpzsdfE9Usx2hCmZiQNUfUouRrTBpQ==", "requires": { "@injectivelabs/grpc-web": "^0.0.1", "google-protobuf": "^3.14.0", @@ -57830,28 +57854,30 @@ } }, "@injectivelabs/sdk-ts": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/sdk-ts/-/sdk-ts-1.12.1.tgz", - "integrity": "sha512-OEbFb4W5D5tvC+sRkmb/+kbhD8hJ8GS8XiJPBV2k8DoNHmm+nHfHao/8sMTuvHDm2S+vZu3RrV7IBMRgZC64rw==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/sdk-ts/-/sdk-ts-1.14.0.tgz", + "integrity": "sha512-ZsK2E8FxdGzdsBU2wyE5EU+NOvkiz9xZ7scNL86rLUU3d/Ip8vmCo1IFn7it1Y77aG4c6bfuHU9R7ACcFs3lrA==", "requires": { "@apollo/client": "^3.5.8", "@cosmjs/amino": "^0.30.1", "@cosmjs/proto-signing": "^0.30.1", "@cosmjs/stargate": "^0.30.1", + "@ensdomains/ens-validation": "^0.1.0", + "@ensdomains/eth-ens-namehash": "^2.0.15", "@ethersproject/bytes": "^5.7.0", "@injectivelabs/core-proto-ts": "^0.0.18", "@injectivelabs/dmm-proto-ts": "1.0.16", - "@injectivelabs/exceptions": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.9", - "@injectivelabs/mito-proto-ts": "1.0.43", - "@injectivelabs/networks": "^1.12.1", - "@injectivelabs/test-utils": "^1.12.1", - "@injectivelabs/token-metadata": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/mito-proto-ts": "1.0.46", + "@injectivelabs/networks": "^1.14.0", + "@injectivelabs/test-utils": "^1.14.0", + "@injectivelabs/token-metadata": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "@metamask/eth-sig-util": "^4.0.0", "axios": "^0.27.2", "bech32": "^2.0.0", @@ -57874,24 +57900,24 @@ }, "dependencies": { "@injectivelabs/networks": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.12.1.tgz", - "integrity": "sha512-X1njEOynG6CPRfQe1k/bvPSuCGCICRu98oIgNpRh4/qx4N168hPaWx0Te3d9WXx2bgkelGrk8x/VFS4NdWrIYg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.14.0.tgz", + "integrity": "sha512-i1RzBUDSK/gGU6OCRr/oMcYXiBvNU0S6fMffxHXkRdZBv1VxD55bGwMmTfq1p2DaDCQGBc8VukSRmVOxmPtRyw==", "requires": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" } }, "@injectivelabs/utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.12.1.tgz", - "integrity": "sha512-BAug0w+WipBDLv5FO3ANTSmL3dNd61T0P6bp9mW5gZ0VKs4Jc5Uybv7lE5IUOWR2+nk8I90O45qpF4DbP/BnEg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.14.0.tgz", + "integrity": "sha512-KzyuhrA5cZ845QC++2uxLd/rgf8/WlXYJbAqcM4XixFgx0ZKLxGauUrxNV3aUAqnV4QHKOfonRx6BYHCizEByQ==", "requires": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", @@ -57928,9 +57954,9 @@ } }, "@injectivelabs/test-utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/test-utils/-/test-utils-1.12.1.tgz", - "integrity": "sha512-1d7ZFtbSmM19+wgxKqxdK3NUAcQM0z2FrjRB7qDKR3K1KfrRRXQ3zRIRCojQ2yAL5lJblRy7xaSoSWiMH+CCIA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/test-utils/-/test-utils-1.14.0.tgz", + "integrity": "sha512-BeJ1W12rouZdbMrt91ufRBHz4WHOuJNEiDelBT78W/sYQd70EprLQcjkxNtDoW9NXt6wJvGrgwD8fBUzVD7XJw==", "requires": { "axios": "^0.21.1", "bignumber.js": "^9.0.1", @@ -57941,14 +57967,14 @@ } }, "@injectivelabs/token-metadata": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/token-metadata/-/token-metadata-1.12.1.tgz", - "integrity": "sha512-i5pJ3M2alxL9jM1RWgkVGwPcvkUmJCNxwfA7rZ8+PPNUwmPzckwuHy+6EYMLpuXy10ft6eskoDwd4/1CRgamFg==", - "requires": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/networks": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/token-metadata/-/token-metadata-1.14.0.tgz", + "integrity": "sha512-NJ4Xz4eakHXqNP6bTQzrmhX6FttahZWb1pJQC/xm2gTpecPhtzdUSdSw3hKCBUZPVQhUsN8OkI0QYY7iE8woTA==", + "requires": { + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/networks": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "@types/lodash.values": "^4.3.6", "copyfiles": "^2.4.1", "jsonschema": "^1.4.0", @@ -57959,24 +57985,24 @@ }, "dependencies": { "@injectivelabs/networks": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.12.1.tgz", - "integrity": "sha512-X1njEOynG6CPRfQe1k/bvPSuCGCICRu98oIgNpRh4/qx4N168hPaWx0Te3d9WXx2bgkelGrk8x/VFS4NdWrIYg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.14.0.tgz", + "integrity": "sha512-i1RzBUDSK/gGU6OCRr/oMcYXiBvNU0S6fMffxHXkRdZBv1VxD55bGwMmTfq1p2DaDCQGBc8VukSRmVOxmPtRyw==", "requires": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" } }, "@injectivelabs/utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.12.1.tgz", - "integrity": "sha512-BAug0w+WipBDLv5FO3ANTSmL3dNd61T0P6bp9mW5gZ0VKs4Jc5Uybv7lE5IUOWR2+nk8I90O45qpF4DbP/BnEg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.14.0.tgz", + "integrity": "sha512-KzyuhrA5cZ845QC++2uxLd/rgf8/WlXYJbAqcM4XixFgx0ZKLxGauUrxNV3aUAqnV4QHKOfonRx6BYHCizEByQ==", "requires": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", @@ -57989,9 +58015,9 @@ } }, "@injectivelabs/ts-types": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.12.1.tgz", - "integrity": "sha512-Bj/GtZLG8VPfANckzPHA8YWgdoq9acX6eOyqNTs9f1R+wA18SYjqoihS8zEexRfUzgxZSPaYEXCSMaawEZTIQQ==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.14.0.tgz", + "integrity": "sha512-cXBAWGaKcP9qWB90GuwdKSOUEj0IQB3jGpeYHS0VWi2PgXi+m2+CWDP3B9qcCpDmEP6ERItZ8Qhbt+Px8dRfSQ==", "requires": { "link-module-alias": "^1.2.0", "shx": "^0.3.2" @@ -58014,9 +58040,9 @@ } }, "@injectivelabs/wallet-ts": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/wallet-ts/-/wallet-ts-1.12.1.tgz", - "integrity": "sha512-GrDN+m0dQILPxehKD+Bjf40H30G2YaFovv1t/IUyR/58svhdPAFbZzmFgBLkF3iUvsSITAy/lkyDFCv4XNMQqg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/wallet-ts/-/wallet-ts-1.14.0.tgz", + "integrity": "sha512-Nl7IOxxd3AzBSRT/X6/2FvpJW2ETJmVemPNz6OPKIWrZgWhTlqU2Y3c66FL4Ft1gmYkadRskOdsrWwj1Gg8D8w==", "requires": { "@cosmjs/launchpad": "0.27.1", "@cosmjs/proto-signing": "0.30.1", @@ -58024,11 +58050,11 @@ "@cosmostation/extension-client": "^0.1.15", "@ethereumjs/common": "^3.1.1", "@ethereumjs/tx": "^4.1.1", - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/networks": "^1.12.1", - "@injectivelabs/sdk-ts": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/networks": "^1.14.0", + "@injectivelabs/sdk-ts": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "@keplr-wallet/cosmos": "^0.11.58", "@keplr-wallet/types": "^0.11.58", "@ledgerhq/hw-app-eth": "6.33.2", @@ -58051,24 +58077,24 @@ }, "dependencies": { "@injectivelabs/networks": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.12.1.tgz", - "integrity": "sha512-X1njEOynG6CPRfQe1k/bvPSuCGCICRu98oIgNpRh4/qx4N168hPaWx0Te3d9WXx2bgkelGrk8x/VFS4NdWrIYg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.14.0.tgz", + "integrity": "sha512-i1RzBUDSK/gGU6OCRr/oMcYXiBvNU0S6fMffxHXkRdZBv1VxD55bGwMmTfq1p2DaDCQGBc8VukSRmVOxmPtRyw==", "requires": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/utils": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/utils": "^1.14.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" } }, "@injectivelabs/utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.12.1.tgz", - "integrity": "sha512-BAug0w+WipBDLv5FO3ANTSmL3dNd61T0P6bp9mW5gZ0VKs4Jc5Uybv7lE5IUOWR2+nk8I90O45qpF4DbP/BnEg==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.14.0.tgz", + "integrity": "sha512-KzyuhrA5cZ845QC++2uxLd/rgf8/WlXYJbAqcM4XixFgx0ZKLxGauUrxNV3aUAqnV4QHKOfonRx6BYHCizEByQ==", "requires": { - "@injectivelabs/exceptions": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", + "@injectivelabs/exceptions": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", @@ -60213,9 +60239,9 @@ "integrity": "sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==" }, "@perawallet/connect": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@perawallet/connect/-/connect-1.3.1.tgz", - "integrity": "sha512-392Hi/Oqgb05AvBFCJLcoideZ9zEboqIGBjMllG/qn+TMjKyJi1bwdqHTL7sOvzeOjq1ULJJ/0NN0y5+wdIcOQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@perawallet/connect/-/connect-1.3.3.tgz", + "integrity": "sha512-m2PL3CX8TUH3Y65T22yv4+9mes7hxjsie8AbZHRFe8uR5LLgWk1kyQHM8/KSsM52v7YUcG8G1IlsFgzsW+36xA==", "requires": { "@evanhahn/lottie-web-light": "5.8.1", "@walletconnect/client": "^1.8.0", @@ -68134,9 +68160,9 @@ } }, "@xlabs-libs/wallet-aggregator-algorand": { - "version": "0.0.1-alpha.16", - "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-algorand/-/wallet-aggregator-algorand-0.0.1-alpha.16.tgz", - "integrity": "sha512-uGvL/+U8JtBRDl33awNfTNi8NQ8MnLmgJgypgh2qNhyoOkoilg/kr+9WKXdJoZP5jqy1SHpip749klL4gLv6uA==", + "version": "0.0.1-alpha.26", + "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-algorand/-/wallet-aggregator-algorand-0.0.1-alpha.26.tgz", + "integrity": "sha512-UBN+jaByrDBIzpzk9HJStST/cUnnDiBjL3DxiMU/DVcZWx4nsM+lCMAP7f+Oo58QRvB6eWzdaYojn6CP0Fvpfw==", "requires": { "@blockshake/defly-connect": "^1.1.1", "@ledgerhq/hw-app-algorand": "^6.27.12", @@ -68144,9 +68170,9 @@ "@ledgerhq/hw-transport-web-ble": "^6.27.12", "@ledgerhq/hw-transport-webhid": "^6.27.12", "@ledgerhq/hw-transport-webusb": "^6.27.12", - "@perawallet/connect": "^1.1.0", + "@perawallet/connect": "^1.3.2", "@randlabs/myalgo-connect": "^1.4.0", - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.14", + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17", "algosdk": "^1.24.0" }, "dependencies": { @@ -68194,15 +68220,17 @@ } }, "@xlabs-libs/wallet-aggregator-evm": { - "version": "0.0.1-alpha.27", - "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-evm/-/wallet-aggregator-evm-0.0.1-alpha.27.tgz", - "integrity": "sha512-lgth7AA0GjF3V/rCVsNeRoQ+qP+fe6whxP7M+NDSOiKSvpq+fpGwM9HcU9dxqIM3rRNjZV7+hISPJ5KSdXwB9g==", + "version": "0.0.1-alpha.32", + "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-evm/-/wallet-aggregator-evm-0.0.1-alpha.32.tgz", + "integrity": "sha512-F5Igy/36RzmzmDLkOLMzc0fW+vbxyW8eXM6Op4SWvvaSkJnTSiNWYyNKa7n4Ec6gb6EGsJhTTSDF/GgmBeyUxA==", "requires": { + "@ethersproject/abi": "^5.7.0", "@ethersproject/abstract-provider": "^5.7.0", "@ethersproject/bytes": "^5.7.0", + "@ethersproject/providers": "^5.7.2", "@wagmi/core": "^0.10.8", "@web3modal/standalone": "^2.2.1", - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.13", + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17", "ethers": "^5.7.2", "versions": "^10.4.1", "web3-provider-engine": "^16.0.4" @@ -68659,11 +68687,11 @@ } }, "@xlabs-libs/wallet-aggregator-react": { - "version": "0.0.1-alpha.12", - "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-react/-/wallet-aggregator-react-0.0.1-alpha.12.tgz", - "integrity": "sha512-6AKJ3Y+VIUPJP1vgBtD1awOerJuCGJkDZYEKwTxUrFk/eiQ+ur59HJCQ4hFVk/5HyowjTyHnaiNlCRYR4hZH7g==", + "version": "0.0.1-alpha.14", + "resolved": "https://registry.npmjs.org/@xlabs-libs/wallet-aggregator-react/-/wallet-aggregator-react-0.0.1-alpha.14.tgz", + "integrity": "sha512-TygiD3fJWVscwXHMAPDjmxc0uPkRp14JFsHxE6i6VWDPO93iWzRW2xPwxbpqLeswhhGV+LfFZl4pmHPBVJjC2Q==", "requires": { - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.15" + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17" } }, "@xlabs-libs/wallet-aggregator-sei": { @@ -69416,9 +69444,9 @@ "integrity": "sha512-F1tGh056XczEaEAqu7s+hlZUDWwOBT70Eq0lfMpBP2YguSQVyxRbprLq5rELXKQOyOaixTWYhMeMQMzP0U5FoQ==" }, "algosdk": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/algosdk/-/algosdk-2.5.0.tgz", - "integrity": "sha512-MlbPjjx4utq5sETOE0okF7/Lz0fgoBtRJRvSbRu3GnoybLTq/n6To2ojDAjJMqi+qMDyUBE9fWu+8jdSvozavA==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/algosdk/-/algosdk-2.6.0.tgz", + "integrity": "sha512-xYSb2xPG4nLPlJvqjA4ebR0s++YrjZK1+UfaEV84u2HkIwuRhEUmryDPcAuLIfTp3eyY99v/FduOK02K2Hnu8Q==", "requires": { "algo-msgpack-with-bigint": "^2.1.1", "buffer": "^6.0.3", diff --git a/package.json b/package.json index 1a0c97faf..6a887d2d2 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "@xlabs/portal-bridge-ui", - "version": "0.1.83", + "version": "0.1.84", "private": true, "dependencies": { - "@certusone/wormhole-sdk": "^0.9.24", - "@injectivelabs/sdk-ts": "^1.12.1", - "@injectivelabs/ts-types": "^1.12.1", - "@injectivelabs/wallet-ts": "^1.12.1", + "@certusone/wormhole-sdk": "^0.10.4", + "@injectivelabs/sdk-ts": "^1.14.0", + "@injectivelabs/ts-types": "^1.14.0", + "@injectivelabs/wallet-ts": "^1.14.0", "@manahippo/aptos-wallet-adapter": "^1.0.2", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.11.2", @@ -36,22 +36,22 @@ "@terra-money/wallet-provider": "^3.9.4", "@types/react-dom": "^17.0.20", "@walletconnect/web3-provider": "^1.7.8", - "@xlabs-libs/wallet-aggregator-algorand": "0.0.1-alpha.16", - "@xlabs-libs/wallet-aggregator-aptos": "^0.0.1-alpha.9", - "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.15", - "@xlabs-libs/wallet-aggregator-evm": "0.0.1-alpha.27", - "@xlabs-libs/wallet-aggregator-injective": "^0.0.1-alpha.12", - "@xlabs-libs/wallet-aggregator-near": "^0.0.1-alpha.5", - "@xlabs-libs/wallet-aggregator-react": "0.0.1-alpha.12", + "@xlabs-libs/wallet-aggregator-algorand": "0.0.1-alpha.26", + "@xlabs-libs/wallet-aggregator-aptos": "^0.0.1-alpha.12", + "@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17", + "@xlabs-libs/wallet-aggregator-evm": "0.0.1-alpha.32", + "@xlabs-libs/wallet-aggregator-injective": "^0.0.1-alpha.14", + "@xlabs-libs/wallet-aggregator-near": "^0.0.1-alpha.7", + "@xlabs-libs/wallet-aggregator-react": "0.0.1-alpha.14", "@xlabs-libs/wallet-aggregator-sei": "0.0.1-alpha.10", - "@xlabs-libs/wallet-aggregator-solana": "^0.0.1-alpha.11", - "@xlabs-libs/wallet-aggregator-sui": "^0.0.1-alpha.4", - "@xlabs-libs/wallet-aggregator-terra": "^0.0.1-alpha.5", - "@xlabs-libs/wallet-aggregator-xpla": "^0.0.1-alpha.5", + "@xlabs-libs/wallet-aggregator-solana": "^0.0.1-alpha.13", + "@xlabs-libs/wallet-aggregator-sui": "^0.0.1-alpha.8", + "@xlabs-libs/wallet-aggregator-terra": "^0.0.1-alpha.7", + "@xlabs-libs/wallet-aggregator-xpla": "^0.0.1-alpha.7", "@xpla/wallet-provider": "^0.3.4", "@xpla/xpla.js": "^0.2.1", "alchemy-sdk": "2.8.0", - "algosdk": "^2.5.0", + "algosdk": "^2.6.0", "aptos": "1.5.0", "axios": "^0.21.1", "bech32": "^1.1.4", @@ -127,7 +127,7 @@ "lint-staged": "^13.2.3", "os-browserify": "^0.3.0", "path-browserify": "^1.0.1", - "prettier": "^3.0.3", + "prettier": "^3.0.2", "process": "^0.11.10", "punycode": "^2.1.1", "querystring-es3": "^0.2.1", diff --git a/src/components/Transfer/Redeem.tsx b/src/components/Transfer/Redeem.tsx index 3cab70d16..633d3ec73 100644 --- a/src/components/Transfer/Redeem.tsx +++ b/src/components/Transfer/Redeem.tsx @@ -158,7 +158,6 @@ function Redeem() { targetChain === CHAIN_ID_ACALA || targetChain === CHAIN_ID_KARURA; const targetAsset = useSelector(selectTransferTargetAsset); const isRecovery = useSelector(selectTransferIsRecovery); - const classes = useStyles(); const dispatch = useDispatch(); const { isReady, statusMessage } = useIsWalletReady(targetChain); diff --git a/src/hooks/useHandleTransfer.tsx b/src/hooks/useHandleTransfer.tsx index d8ab86229..48123be17 100644 --- a/src/hooks/useHandleTransfer.tsx +++ b/src/hooks/useHandleTransfer.tsx @@ -919,7 +919,6 @@ async function sei( throw new Error("Sequence not found"); } const emitterAddress = await getEmitterAddressTerra(tokenBridgeAddress); - await fetchSignedVAA( CHAIN_ID_SEI, emitterAddress,