From 9f7e78969c30a85c7bb095881b530c4907635936 Mon Sep 17 00:00:00 2001 From: Ben Kremer Date: Thu, 17 Mar 2022 14:19:00 +0100 Subject: [PATCH] chore(wallet-v2): adds `solana-wallet` --- wallets/react-wallet-v2/package.json | 25 +++++++++++++------------ wallets/react-wallet-v2/yarn.lock | 15 ++++++++++++--- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/wallets/react-wallet-v2/package.json b/wallets/react-wallet-v2/package.json index b102e17..bfa4ecc 100644 --- a/wallets/react-wallet-v2/package.json +++ b/wallets/react-wallet-v2/package.json @@ -8,29 +8,30 @@ "lint": "next lint" }, "dependencies": { + "@cosmjs/amino": "0.27.1", + "@cosmjs/encoding": "0.27.1", + "@cosmjs/proto-signing": "0.27.1", + "@json-rpc-tools/utils": "1.7.6", + "@nextui-org/react": "1.0.2-beta.4", + "@solana/web3.js": "1.36.0", "@walletconnect/client": "experimental", "@walletconnect/utils": "experimental", - "@json-rpc-tools/utils": "1.7.6", - "@solana/web3.js": "1.36.0", - "@nextui-org/react": "1.0.2-beta.4", + "bs58": "5.0.0", + "ethers": "5.6.0", + "framer-motion": "6.2.8", "mnemonic-keyring": "1.4.0", "next": "12.1.0", "react": "17.0.2", + "react-code-blocks": "0.0.9-0", "react-dom": "17.0.2", "react-qr-reader-es6": "2.2.1-2", - "framer-motion": "6.2.8", - "ethers": "5.6.0", - "bs58": "5.0.0", - "valtio": "1.3.1", - "react-code-blocks": "0.0.9-0", - "@cosmjs/proto-signing": "0.27.1", - "@cosmjs/encoding": "0.27.1", - "@cosmjs/amino": "0.27.1" + "solana-wallet": "1.0.1", + "valtio": "1.3.1" }, "devDependencies": { - "@walletconnect/types": "experimental", "@types/node": "17.0.21", "@types/react": "17.0.40", + "@walletconnect/types": "experimental", "eslint": "8.11.0", "eslint-config-next": "12.1.0", "eslint-config-prettier": "8.5.0", diff --git a/wallets/react-wallet-v2/yarn.lock b/wallets/react-wallet-v2/yarn.lock index b9b8e5d..c8ebae0 100644 --- a/wallets/react-wallet-v2/yarn.lock +++ b/wallets/react-wallet-v2/yarn.lock @@ -877,7 +877,7 @@ dependencies: buffer "~6.0.3" -"@solana/web3.js@1.36.0": +"@solana/web3.js@1.36.0", "@solana/web3.js@^1.35.1": version "1.36.0" resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.36.0.tgz#79d7d5217b49b80139f4de68953adc5b9a9a264f" integrity sha512-RNT1451iRR7TyW7EJKMCrH/0OXawIe4zVm0DWQASwXlR/u1jmW6FrmH0lujIh7cGTlfOVbH+2ZU9AVUPLBFzwA== @@ -1529,7 +1529,7 @@ brorand@^1.1.0: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= -bs58@5.0.0: +bs58@5.0.0, bs58@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/bs58/-/bs58-5.0.0.tgz#865575b4d13c09ea2a84622df6c8cbeb54ffc279" integrity sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ== @@ -3853,6 +3853,15 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +solana-wallet@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/solana-wallet/-/solana-wallet-1.0.1.tgz#4e1bfebbb99640105ed42abd1445baab4f6e0b57" + integrity sha512-rkYu9gwayAdVMhWGdZSz6a+IaOJXs3TNtYXWuSQsdMJUndkQ+puy7cB9/u5pwZTjqzxtd1DN9cbAFKFH5648xQ== + dependencies: + "@solana/web3.js" "^1.35.1" + bs58 "^5.0.0" + tweetnacl "^1.0.3" + sonic-boom@^1.0.2: version "1.4.1" resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-1.4.1.tgz#d35d6a74076624f12e6f917ade7b9d75e918f53e" @@ -4140,7 +4149,7 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" -tweetnacl@^1.0.0: +tweetnacl@^1.0.0, tweetnacl@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==