From 8e1fed39656942968ecebbaa00df6e8f18015ab4 Mon Sep 17 00:00:00 2001 From: Reza Rahemtola Date: Fri, 30 Aug 2024 18:47:08 +0900 Subject: [PATCH] feat: WalletConnect support --- .env.example | 3 + README.md | 2 +- package-lock.json | 631 ++++++++++++-------------- package.json | 9 +- public/icons.svg | 78 ++++ src/components/AccountButton.vue | 39 +- src/config/wagmi.ts | 14 +- src/utils/aleph-persistent-storage.ts | 33 +- 8 files changed, 445 insertions(+), 364 deletions(-) diff --git a/.env.example b/.env.example index fb1e341..a4e18da 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,5 @@ # Use the testnet in development # ALEPH_API_URL=https://api.twentysix.testnet.network + +# WalletConnect +WALLET_CONNECT_PROJECT_ID= diff --git a/README.md b/README.md index 046a40c..5d57db3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Libertai UI (libertai-ui) +# LibertAI UI (libertai-ui) A UI for decentralized AI diff --git a/package-lock.json b/package-lock.json index 52aa93e..5929cd7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,9 @@ "version": "0.0.1", "license": "MIT", "dependencies": { - "@aleph-sdk/client": "^1.0.6", - "@aleph-sdk/ethereum": "^1.0.3", - "@aleph-sdk/message": "^1.0.7", + "@aleph-sdk/base": "^1.1.0", + "@aleph-sdk/client": "^1.1.0", + "@aleph-sdk/message": "^1.1.0", "@libertai/libertai-js": "0.0.10-beta", "@quasar/extras": "^1.16.12", "@tanstack/vue-query": "^5.51.21", @@ -21,6 +21,7 @@ "dompurify": "^3.1.6", "dotenv": "^16.4.5", "eciesjs": "^0.4.7", + "ethers": "^5.7.2", "filesize": "^10.1.4", "highlight.js": "^11.10.0", "langchain": "^0.2.13", @@ -67,70 +68,107 @@ "yarn": "please-use-npm" } }, - "node_modules/@adraffy/ens-normalize": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz", - "integrity": "sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==", - "license": "MIT" + "../aleph-sdk-ts/packages/core": { + "name": "@aleph-sdk/core", + "version": "1.0.4", + "license": "MIT", + "peer": true }, - "node_modules/@aleph-sdk/account": { + "../aleph-sdk-ts/packages/ethereum": { + "name": "@aleph-sdk/ethereum", "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@aleph-sdk/account/-/account-1.0.3.tgz", - "integrity": "sha512-LVeY3bJ5pg1JxQpnIB7f1Dz4TVN1SuJeI4dFKJy/71r6foF1zUxzWt+dbedc1zhOspjlgf5oU6gsXZrkzUGLhQ==", "license": "MIT", "peer": true, + "dependencies": { + "bip39": "^3.1.0", + "eciesjs": "^0.4.6" + }, "peerDependencies": { - "@aleph-sdk/core": "^1.x.x" + "@aleph-sdk/account": "^1.x.x", + "@aleph-sdk/core": "^1.x.x", + "@aleph-sdk/evm": "^1.x.x", + "ethers": "^5.x.x" } }, - "node_modules/@aleph-sdk/client": { - "version": "1.0.6", + "../aleph-sdk-ts/packages/evm": { + "name": "@aleph-sdk/evm", + "version": "1.0.4", "license": "MIT", + "peer": true, + "dependencies": { + "@metamask/eth-sig-util": "^7.0.1", + "ethereumjs-util": "^7.1.5" + }, + "devDependencies": { + "ethers": "^5.x.x" + }, "peerDependencies": { "@aleph-sdk/account": "^1.x.x", "@aleph-sdk/core": "^1.x.x", - "@aleph-sdk/message": "^1.x.x" + "ethers": "^5.x.x" } }, - "node_modules/@aleph-sdk/core": { + "node_modules/@adraffy/ens-normalize": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz", + "integrity": "sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==", + "license": "MIT" + }, + "node_modules/@aleph-sdk/account": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@aleph-sdk/core/-/core-1.0.3.tgz", - "integrity": "sha512-+enhpR4U7jcEvKDRPuaQo2+Qxw2L0ZEDGLtDsKiwpBqYaNHkreCtTpD0gZy+eNulpFYLifv5q8FE6m+Hvvc9OA==", + "resolved": "https://registry.npmjs.org/@aleph-sdk/account/-/account-1.0.3.tgz", + "integrity": "sha512-LVeY3bJ5pg1JxQpnIB7f1Dz4TVN1SuJeI4dFKJy/71r6foF1zUxzWt+dbedc1zhOspjlgf5oU6gsXZrkzUGLhQ==", "license": "MIT", - "peer": true + "peer": true, + "peerDependencies": { + "@aleph-sdk/core": "^1.x.x" + } }, - "node_modules/@aleph-sdk/ethereum": { - "version": "1.0.3", + "node_modules/@aleph-sdk/base": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@aleph-sdk/base/-/base-1.1.0.tgz", + "integrity": "sha512-J1iYO1UX+e4+Veu+/awm61y87qns9+YYDaBL2knVyNA2x+XEhqb3uU+qmJ1fVMmPh/3aZGTc7NpZlvIMhIc1Yg==", "license": "MIT", "dependencies": { - "bip39": "^3.1.0", - "eciesjs": "^0.4.6" + "eciesjs": "^0.4.6", + "sha.js": "^2.4.11" }, "peerDependencies": { "@aleph-sdk/account": "^1.x.x", - "@aleph-sdk/core": "^1.x.x", - "@aleph-sdk/evm": "^1.x.x", + "@aleph-sdk/core": "^1.0.4", + "@aleph-sdk/ethereum": "^1.x.x", + "@aleph-sdk/evm": "^1.0.4", + "avalanche": "^3.15.3", "ethers": "^5.x.x" } }, - "node_modules/@aleph-sdk/evm": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@aleph-sdk/evm/-/evm-1.0.3.tgz", - "integrity": "sha512-JaCsuRszxrZy+PGTE9svXst1+RkCbiAIYHtA5HNwD+Ow35NixjqxaxcqlK4UnRSYvIs/2y16YuN8+69jnSg+qw==", + "node_modules/@aleph-sdk/client": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@aleph-sdk/client/-/client-1.1.0.tgz", + "integrity": "sha512-Qaks7Oe+9o4gUXJdWAesByzcsPQIDtP8n5OXdrAhk00ZiTKW9o/o7ZtvHdGREDBE2se0zWh+nTesNuj/u4D+Aw==", "license": "MIT", - "peer": true, - "dependencies": { - "@metamask/eth-sig-util": "^7.0.1", - "ethereumjs-util": "^7.1.5" - }, "peerDependencies": { "@aleph-sdk/account": "^1.x.x", "@aleph-sdk/core": "^1.x.x", - "ethers": "^5.x.x" + "@aleph-sdk/message": "^1.x.x" } }, + "node_modules/@aleph-sdk/core": { + "resolved": "../aleph-sdk-ts/packages/core", + "link": true + }, + "node_modules/@aleph-sdk/ethereum": { + "resolved": "../aleph-sdk-ts/packages/ethereum", + "link": true + }, + "node_modules/@aleph-sdk/evm": { + "resolved": "../aleph-sdk-ts/packages/evm", + "link": true + }, "node_modules/@aleph-sdk/message": { - "version": "1.0.7", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@aleph-sdk/message/-/message-1.1.0.tgz", + "integrity": "sha512-Kiu1bXH6D7i6NveNd3pWglche1H7pP/Wr1QnM1pTJaHZ2ZRf0nrXOJl8z7ZNEf8nGbDeiZDOYGiUFcNSe3OZxw==", "license": "MIT", "dependencies": { "axios": "^1.5.1", @@ -139,7 +177,8 @@ }, "peerDependencies": { "@aleph-sdk/account": "^1.x.x", - "@aleph-sdk/core": "^1.x.x" + "@aleph-sdk/core": "^1.x.x", + "@aleph-sdk/evm": "^1.x.x" } }, "node_modules/@alloc/quick-lru": { @@ -2626,7 +2665,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/address": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", @@ -2654,7 +2692,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bignumber": "^5.7.0", "@ethersproject/bytes": "^5.7.0", @@ -2680,7 +2717,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abstract-provider": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", @@ -2704,7 +2740,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bignumber": "^5.7.0", "@ethersproject/bytes": "^5.7.0", @@ -2728,7 +2763,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0" } @@ -2748,7 +2782,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/properties": "^5.7.0" @@ -2769,7 +2802,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0", @@ -2780,8 +2812,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@ethersproject/bytes": { "version": "5.7.0", @@ -2798,7 +2829,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/logger": "^5.7.0" } @@ -2818,7 +2848,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bignumber": "^5.7.0" } @@ -2838,7 +2867,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/abstract-provider": "^5.7.0", @@ -2867,7 +2895,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/address": "^5.7.0", @@ -2895,7 +2922,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/basex": "^5.7.0", @@ -2926,7 +2952,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/address": "^5.7.0", @@ -2958,7 +2983,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "js-sha3": "0.8.0" @@ -2978,8 +3002,7 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@ethersproject/networks": { "version": "5.7.1", @@ -2996,7 +3019,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/logger": "^5.7.0" } @@ -3016,7 +3038,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0" @@ -3037,7 +3058,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/logger": "^5.7.0" } @@ -3057,7 +3077,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abstract-provider": "^5.7.0", "@ethersproject/abstract-signer": "^5.7.0", @@ -3086,7 +3105,6 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", "license": "MIT", - "peer": true, "engines": { "node": ">=8.3.0" }, @@ -3118,7 +3136,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0" @@ -3139,7 +3156,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0" @@ -3160,7 +3176,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0", @@ -3182,7 +3197,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0", @@ -3196,15 +3210,13 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@ethersproject/signing-key/node_modules/elliptic": { "version": "6.5.4", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", "license": "MIT", - "peer": true, "dependencies": { "bn.js": "^4.11.9", "brorand": "^1.1.0", @@ -3219,8 +3231,7 @@ "version": "4.12.0", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@ethersproject/solidity": { "version": "5.7.0", @@ -3237,7 +3248,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bignumber": "^5.7.0", "@ethersproject/bytes": "^5.7.0", @@ -3262,7 +3272,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/constants": "^5.7.0", @@ -3284,7 +3293,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/address": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", @@ -3312,7 +3320,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bignumber": "^5.7.0", "@ethersproject/constants": "^5.7.0", @@ -3334,7 +3341,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abstract-provider": "^5.7.0", "@ethersproject/abstract-signer": "^5.7.0", @@ -3368,7 +3374,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/base64": "^5.7.0", "@ethersproject/bytes": "^5.7.0", @@ -3392,7 +3397,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/hash": "^5.7.0", @@ -3745,55 +3749,6 @@ "@lit-labs/ssr-dom-shim": "^1.0.0" } }, - "node_modules/@metamask/abi-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@metamask/abi-utils/-/abi-utils-2.0.4.tgz", - "integrity": "sha512-StnIgUB75x7a7AgUhiaUZDpCsqGp7VkNnZh2XivXkJ6mPkE83U8ARGQj5MbRis7VJY8BC5V1AbB1fjdh0hupPQ==", - "license": "(Apache-2.0 AND MIT)", - "peer": true, - "dependencies": { - "@metamask/superstruct": "^3.1.0", - "@metamask/utils": "^9.0.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@metamask/abi-utils/node_modules/@metamask/utils": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-9.1.0.tgz", - "integrity": "sha512-g2REf+xSt0OZfMoNNdC4+/Yy8eP3KUqvIArel54XRFKPoXbHI6+YjFfrLtfykWBjffOp7DTfIc3Kvk5TLfuiyg==", - "license": "ISC", - "peer": true, - "dependencies": { - "@ethereumjs/tx": "^4.2.0", - "@metamask/superstruct": "^3.1.0", - "@noble/hashes": "^1.3.1", - "@scure/base": "^1.1.3", - "@types/debug": "^4.1.7", - "debug": "^4.3.4", - "pony-cause": "^2.1.10", - "semver": "^7.5.4", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@metamask/abi-utils/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "peer": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@metamask/eth-json-rpc-provider": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@metamask/eth-json-rpc-provider/-/eth-json-rpc-provider-1.0.1.tgz", @@ -3870,59 +3825,6 @@ "uuid": "dist/bin/uuid" } }, - "node_modules/@metamask/eth-sig-util": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@metamask/eth-sig-util/-/eth-sig-util-7.0.3.tgz", - "integrity": "sha512-PAtGnOkYvh90k2lEZldq/FK7GTLF6WxE+2bV85PoA3pqlJnmJCAY62tuvxHSwnVngSKlc4mcNvjnUg2eYO6JGg==", - "license": "ISC", - "peer": true, - "dependencies": { - "@ethereumjs/util": "^8.1.0", - "@metamask/abi-utils": "^2.0.4", - "@metamask/utils": "^9.0.0", - "@scure/base": "~1.1.3", - "ethereum-cryptography": "^2.1.2", - "tweetnacl": "^1.0.3" - }, - "engines": { - "node": "^16.20 || ^18.16 || >=20" - } - }, - "node_modules/@metamask/eth-sig-util/node_modules/@metamask/utils": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-9.1.0.tgz", - "integrity": "sha512-g2REf+xSt0OZfMoNNdC4+/Yy8eP3KUqvIArel54XRFKPoXbHI6+YjFfrLtfykWBjffOp7DTfIc3Kvk5TLfuiyg==", - "license": "ISC", - "peer": true, - "dependencies": { - "@ethereumjs/tx": "^4.2.0", - "@metamask/superstruct": "^3.1.0", - "@noble/hashes": "^1.3.1", - "@scure/base": "^1.1.3", - "@types/debug": "^4.1.7", - "debug": "^4.3.4", - "pony-cause": "^2.1.10", - "semver": "^7.5.4", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@metamask/eth-sig-util/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "peer": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@metamask/json-rpc-engine": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@metamask/json-rpc-engine/-/json-rpc-engine-8.0.2.tgz", @@ -5872,16 +5774,6 @@ } } }, - "node_modules/@types/bn.js": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.5.tgz", - "integrity": "sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A==", - "license": "MIT", - "peer": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/body-parser": { "version": "1.19.5", "dev": true, @@ -6057,16 +5949,6 @@ "@types/node": "*" } }, - "node_modules/@types/pbkdf2": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.2.tgz", - "integrity": "sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==", - "license": "MIT", - "peer": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/qs": { "version": "6.9.15", "dev": true, @@ -7342,8 +7224,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/agentkeepalive": { "version": "4.5.0", @@ -7644,7 +7525,6 @@ }, "node_modules/asn1.js": { "version": "4.10.1", - "dev": true, "license": "MIT", "dependencies": { "bn.js": "^4.0.0", @@ -7770,6 +7650,119 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/avalanche": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/avalanche/-/avalanche-3.16.0.tgz", + "integrity": "sha512-Xy37+SvtUetBwdZ9Ic7nKXokPdPscdeeoa0RtXXvS/80RKRnhI3f7atKTk6XpGZ//X64s0DsT8IoM/Pn/KdZjg==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "BSD-3-Clause", + "peer": true, + "dependencies": { + "assert": "2.0.0", + "axios": "0.27.2", + "bech32": "2.0.0", + "bip39": "3.0.4", + "bn.js": "5.2.1", + "buffer": "6.0.3", + "create-hash": "1.2.0", + "crypto-browserify": "3.12.0", + "elliptic": "6.5.4", + "ethers": "5.7.2", + "hdkey": "2.0.1", + "isomorphic-ws": "5.0.0", + "randombytes": "^2.1.0", + "store2": "2.14.2", + "stream-browserify": "3.0.0", + "ws": "8.8.1", + "xss": "1.0.14" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/avalanche/node_modules/assert": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", + "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", + "license": "MIT", + "peer": true, + "dependencies": { + "es6-object-assign": "^1.1.0", + "is-nan": "^1.2.1", + "object-is": "^1.0.1", + "util": "^0.12.0" + } + }, + "node_modules/avalanche/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "node_modules/avalanche/node_modules/bech32": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", + "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==", + "license": "MIT", + "peer": true + }, + "node_modules/avalanche/node_modules/bn.js": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", + "license": "MIT", + "peer": true + }, + "node_modules/avalanche/node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/avalanche/node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "license": "MIT", + "peer": true + }, + "node_modules/avalanche/node_modules/ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/axios": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.3.tgz", @@ -7889,8 +7882,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/binary-extensions": { "version": "2.3.0", @@ -7909,12 +7901,25 @@ "license": "CC0-1.0" }, "node_modules/bip39": { - "version": "3.1.0", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz", + "integrity": "sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw==", "license": "ISC", + "peer": true, "dependencies": { - "@noble/hashes": "^1.2.0" + "@types/node": "11.11.6", + "create-hash": "^1.1.0", + "pbkdf2": "^3.0.9", + "randombytes": "^2.0.1" } }, + "node_modules/bip39/node_modules/@types/node": { + "version": "11.11.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz", + "integrity": "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==", + "license": "MIT", + "peer": true + }, "node_modules/bl": { "version": "4.1.0", "license": "MIT", @@ -7946,13 +7951,6 @@ "ieee754": "^1.1.13" } }, - "node_modules/blakejs": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz", - "integrity": "sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==", - "license": "MIT", - "peer": true - }, "node_modules/bn.js": { "version": "4.12.0", "license": "MIT" @@ -8048,7 +8046,6 @@ }, "node_modules/browserify-cipher": { "version": "1.0.1", - "dev": true, "license": "MIT", "dependencies": { "browserify-aes": "^1.0.4", @@ -8058,7 +8055,6 @@ }, "node_modules/browserify-des": { "version": "1.0.2", - "dev": true, "license": "MIT", "dependencies": { "cipher-base": "^1.0.1", @@ -8069,7 +8065,6 @@ }, "node_modules/browserify-rsa": { "version": "4.1.0", - "dev": true, "license": "MIT", "dependencies": { "bn.js": "^5.0.0", @@ -8078,12 +8073,10 @@ }, "node_modules/browserify-rsa/node_modules/bn.js": { "version": "5.2.1", - "dev": true, "license": "MIT" }, "node_modules/browserify-sign": { "version": "4.2.3", - "dev": true, "license": "ISC", "dependencies": { "bn.js": "^5.2.1", @@ -8103,12 +8096,10 @@ }, "node_modules/browserify-sign/node_modules/bn.js": { "version": "5.2.1", - "dev": true, "license": "MIT" }, "node_modules/browserify-sign/node_modules/readable-stream": { "version": "2.3.8", - "dev": true, "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", @@ -8122,12 +8113,10 @@ }, "node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer": { "version": "5.1.2", - "dev": true, "license": "MIT" }, "node_modules/browserify-sign/node_modules/string_decoder": { "version": "1.1.1", - "dev": true, "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" @@ -8135,7 +8124,6 @@ }, "node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer": { "version": "5.1.2", - "dev": true, "license": "MIT" }, "node_modules/browserify-zlib": { @@ -9161,7 +9149,6 @@ }, "node_modules/create-ecdh": { "version": "4.0.4", - "dev": true, "license": "MIT", "dependencies": { "bn.js": "^4.1.0", @@ -9231,7 +9218,6 @@ }, "node_modules/crypto-browserify": { "version": "3.12.0", - "dev": true, "license": "MIT", "dependencies": { "browserify-cipher": "^1.0.0", @@ -9261,6 +9247,13 @@ "node": ">=4" } }, + "node_modules/cssfilter": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz", + "integrity": "sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==", + "license": "MIT", + "peer": true + }, "node_modules/csstype": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", @@ -9380,7 +9373,6 @@ }, "node_modules/define-properties": { "version": "1.2.1", - "dev": true, "license": "MIT", "dependencies": { "define-data-property": "^1.0.1", @@ -9423,7 +9415,6 @@ }, "node_modules/des.js": { "version": "1.1.0", - "dev": true, "license": "MIT", "dependencies": { "inherits": "^2.0.1", @@ -9469,7 +9460,6 @@ }, "node_modules/diffie-hellman": { "version": "5.0.3", - "dev": true, "license": "MIT", "dependencies": { "bn.js": "^4.1.0", @@ -9748,6 +9738,13 @@ "node": ">= 0.4" } }, + "node_modules/es6-object-assign": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", + "integrity": "sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==", + "license": "MIT", + "peer": true + }, "node_modules/esbuild": { "version": "0.14.51", "dev": true, @@ -10125,77 +10122,6 @@ "@scure/bip39": "1.3.0" } }, - "node_modules/ethereumjs-util": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz", - "integrity": "sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg==", - "license": "MPL-2.0", - "peer": true, - "dependencies": { - "@types/bn.js": "^5.1.0", - "bn.js": "^5.1.2", - "create-hash": "^1.1.2", - "ethereum-cryptography": "^0.1.3", - "rlp": "^2.2.4" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/ethereumjs-util/node_modules/bn.js": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", - "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", - "license": "MIT", - "peer": true - }, - "node_modules/ethereumjs-util/node_modules/ethereum-cryptography": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", - "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==", - "license": "MIT", - "peer": true, - "dependencies": { - "@types/pbkdf2": "^3.0.0", - "@types/secp256k1": "^4.0.1", - "blakejs": "^1.1.0", - "browserify-aes": "^1.2.0", - "bs58check": "^2.1.2", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "hash.js": "^1.1.7", - "keccak": "^3.0.0", - "pbkdf2": "^3.0.17", - "randombytes": "^2.1.0", - "safe-buffer": "^5.1.2", - "scrypt-js": "^3.0.0", - "secp256k1": "^4.0.1", - "setimmediate": "^1.0.5" - } - }, - "node_modules/ethereumjs-util/node_modules/node-addon-api": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", - "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==", - "license": "MIT", - "peer": true - }, - "node_modules/ethereumjs-util/node_modules/secp256k1": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", - "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", - "hasInstallScript": true, - "license": "MIT", - "peer": true, - "dependencies": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/ethers": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", @@ -10211,7 +10137,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@ethersproject/abi": "5.7.0", "@ethersproject/abstract-provider": "5.7.0", @@ -11075,7 +11000,6 @@ }, "node_modules/hash-base": { "version": "3.0.4", - "dev": true, "license": "MIT", "dependencies": { "inherits": "^2.0.1", @@ -11103,6 +11027,41 @@ "node": ">= 0.4" } }, + "node_modules/hdkey": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hdkey/-/hdkey-2.0.1.tgz", + "integrity": "sha512-c+tl9PHG9/XkGgG0tD7CJpRVaE0jfZizDNmnErUAKQ4EjQSOcOUcV3EN9ZEZS8pZ4usaeiiK0H7stzuzna8feA==", + "license": "MIT", + "peer": true, + "dependencies": { + "bs58check": "^2.1.2", + "safe-buffer": "^5.1.1", + "secp256k1": "^4.0.0" + } + }, + "node_modules/hdkey/node_modules/node-addon-api": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", + "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==", + "license": "MIT", + "peer": true + }, + "node_modules/hdkey/node_modules/secp256k1": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", + "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", + "hasInstallScript": true, + "license": "MIT", + "peer": true, + "dependencies": { + "elliptic": "^6.5.4", + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -11590,7 +11549,6 @@ }, "node_modules/is-nan": { "version": "1.3.2", - "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.0", @@ -12003,8 +11961,7 @@ "version": "0.8.0", "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/js-tiktoken": { "version": "1.0.12", @@ -13528,7 +13485,6 @@ }, "node_modules/miller-rabin": { "version": "4.0.1", - "dev": true, "license": "MIT", "dependencies": { "bn.js": "^4.0.0", @@ -14122,7 +14078,6 @@ }, "node_modules/object-is": { "version": "1.1.6", - "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.7", @@ -14137,7 +14092,6 @@ }, "node_modules/object-keys": { "version": "1.1.1", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -14441,7 +14395,6 @@ }, "node_modules/parse-asn1": { "version": "5.1.7", - "dev": true, "license": "ISC", "dependencies": { "asn1.js": "^4.10.1", @@ -15028,7 +14981,6 @@ }, "node_modules/public-encrypt": { "version": "4.0.3", - "dev": true, "license": "MIT", "dependencies": { "bn.js": "^4.1.0", @@ -15322,7 +15274,6 @@ }, "node_modules/randomfill": { "version": "1.0.4", - "dev": true, "license": "MIT", "dependencies": { "randombytes": "^2.0.5", @@ -15807,26 +15758,6 @@ "node": ">=4" } }, - "node_modules/rlp": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.7.tgz", - "integrity": "sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==", - "license": "MPL-2.0", - "peer": true, - "dependencies": { - "bn.js": "^5.2.0" - }, - "bin": { - "rlp": "bin/rlp" - } - }, - "node_modules/rlp/node_modules/bn.js": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", - "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==", - "license": "MIT", - "peer": true - }, "node_modules/rollup": { "version": "3.29.4", "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", @@ -15979,8 +15910,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/secp256k1": { "version": "5.0.0", @@ -16389,6 +16319,13 @@ "integrity": "sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==", "license": "MIT" }, + "node_modules/store2": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/store2/-/store2-2.14.2.tgz", + "integrity": "sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==", + "license": "(MIT OR GPL-3.0)", + "peer": true + }, "node_modules/stream": { "version": "0.0.3", "license": "MIT", @@ -16398,7 +16335,6 @@ }, "node_modules/stream-browserify": { "version": "3.0.0", - "dev": true, "license": "MIT", "dependencies": { "inherits": "~2.0.4", @@ -16966,13 +16902,6 @@ "dev": true, "license": "MIT" }, - "node_modules/tweetnacl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", - "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==", - "license": "Unlicense", - "peer": true - }, "node_modules/type-check": { "version": "0.4.0", "dev": true, @@ -18335,6 +18264,30 @@ "node": ">=0.4.0" } }, + "node_modules/xss": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.14.tgz", + "integrity": "sha512-og7TEJhXvn1a7kzZGQ7ETjdQVS2UfZyTlsEdDOqvQF7GoxNfY+0YLCzBy1kPdsDDx4QuNAonQPddpsn6Xl/7sw==", + "license": "MIT", + "peer": true, + "dependencies": { + "commander": "^2.20.3", + "cssfilter": "0.0.10" + }, + "bin": { + "xss": "bin/xss" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/xss/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "license": "MIT", + "peer": true + }, "node_modules/xtend": { "version": "4.0.2", "license": "MIT", diff --git a/package.json b/package.json index 7f5eee9..8a6e02b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "libertai-ui", "version": "0.0.1", "description": "A UI for decentralized AI", - "productName": "Libertai UI", + "productName": "LibertAI UI", "author": "LibertAI Team", "contributors": [ "David Amelekh ", @@ -24,9 +24,9 @@ "build": "quasar build" }, "dependencies": { - "@aleph-sdk/client": "^1.0.6", - "@aleph-sdk/ethereum": "^1.0.3", - "@aleph-sdk/message": "^1.0.7", + "@aleph-sdk/base": "^1.1.0", + "@aleph-sdk/client": "^1.1.0", + "@aleph-sdk/message": "^1.1.0", "@libertai/libertai-js": "0.0.10-beta", "@quasar/extras": "^1.16.12", "@tanstack/vue-query": "^5.51.21", @@ -36,6 +36,7 @@ "dompurify": "^3.1.6", "dotenv": "^16.4.5", "eciesjs": "^0.4.7", + "ethers": "^5.7.2", "filesize": "^10.1.4", "highlight.js": "^11.10.0", "langchain": "^0.2.13", diff --git a/public/icons.svg b/public/icons.svg index 0984cf1..edd0203 100644 --- a/public/icons.svg +++ b/public/icons.svg @@ -129,4 +129,82 @@ d="M4.29128 10L0.896987 1.27183C0.660757 0.664364 1.2531 0.0834234 1.83906 0.289923L1.93141 0.329184L19.9314 9.32913C20.4497 9.58833 20.4821 10.2978 20.0286 10.6132L19.9314 10.6708L1.93141 19.6708C1.34843 19.9623 0.715117 19.4263 0.866457 18.8237L0.896987 18.7281L4.29128 10ZM2.99976 2.5404L5.60875 9.24943L12.2364 9.25003C12.6161 9.25003 12.9299 9.53213 12.9795 9.89823L12.9864 10C12.9864 10.3797 12.7042 10.6935 12.3381 10.7431L12.2364 10.75L5.60875 10.7494L2.99976 17.4596L17.919 10L2.99976 2.5404Z" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/AccountButton.vue b/src/components/AccountButton.vue index 1b0f7fe..13c53e2 100644 --- a/src/components/AccountButton.vue +++ b/src/components/AccountButton.vue @@ -1,17 +1,19 @@