diff --git a/packages/core/package.json b/packages/core/package.json index acc66286..e9b469e9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-core", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -29,9 +29,9 @@ "build-version-info": "node ./scripts/buildVersionInfo.js" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-events": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-events": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", "events": "^3.3.0", "lodash-es": "^4.17.21", "ms": "^2.1.3" diff --git a/packages/core/src/versionInfo.ts b/packages/core/src/versionInfo.ts index ca6d9227..f3ec4bcc 100644 --- a/packages/core/src/versionInfo.ts +++ b/packages/core/src/versionInfo.ts @@ -1,5 +1,5 @@ -const version = '2.2.1'; +const version = '2.2.2'; const versionBuild = '2020-0101-1'; export default { diff --git a/packages/desktop/desktop-bridge-injected/package.json b/packages/desktop/desktop-bridge-injected/package.json index f5ee3422..e1422e58 100644 --- a/packages/desktop/desktop-bridge-injected/package.json +++ b/packages/desktop/desktop-bridge-injected/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/desktop-bridge-injected", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -34,7 +34,7 @@ "electron": "^17.2.0" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2" } } diff --git a/packages/empty/package.json b/packages/empty/package.json index 0839896f..bf5847a6 100644 --- a/packages/empty/package.json +++ b/packages/empty/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-empty", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/errors/package.json b/packages/errors/package.json index ee2eadab..a3791929 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-errors", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/events/package.json b/packages/events/package.json index e8f3a7de..b9b18cc3 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-events", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/example/package.json b/packages/example/package.json index f8c26928..13d2e265 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-example", - "version": "2.2.1", + "version": "2.2.2", "private": true, "scripts": { "postinstall": "patch-package", @@ -28,17 +28,17 @@ "@metamask/onboarding": "^1.0.1", "@mizuwallet-sdk/core": "^1.4.0", "@mysten/dapp-kit": "0.13.2", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/onekey-aptos-provider": "2.2.1", - "@onekeyfe/onekey-cardano-provider": "2.2.1", - "@onekeyfe/onekey-conflux-provider": "2.2.1", - "@onekeyfe/onekey-cosmos-provider": "2.2.1", - "@onekeyfe/onekey-near-provider": "2.2.1", - "@onekeyfe/onekey-solana-provider": "2.2.1", - "@onekeyfe/onekey-sui-provider": "2.2.1", - "@onekeyfe/onekey-tron-provider": "2.2.1", - "@onekeyfe/onekey-webln-provider": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/onekey-aptos-provider": "2.2.2", + "@onekeyfe/onekey-cardano-provider": "2.2.2", + "@onekeyfe/onekey-conflux-provider": "2.2.2", + "@onekeyfe/onekey-cosmos-provider": "2.2.2", + "@onekeyfe/onekey-near-provider": "2.2.2", + "@onekeyfe/onekey-solana-provider": "2.2.2", + "@onekeyfe/onekey-sui-provider": "2.2.2", + "@onekeyfe/onekey-tron-provider": "2.2.2", + "@onekeyfe/onekey-webln-provider": "2.2.2", "@polkadot/api": "^9.11.3", "@polkadot/extension-dapp": "^0.47.5", "@radix-ui/react-checkbox": "^1.1.2", diff --git a/packages/example/yarn.lock b/packages/example/yarn.lock index d7bca944..c1431021 100644 --- a/packages/example/yarn.lock +++ b/packages/example/yarn.lock @@ -28,11 +28,6 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@adraffy/ens-normalize@1.10.1": - version "1.10.1" - resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069" - integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw== - "@alephium/get-extension-wallet@^1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@alephium/get-extension-wallet/-/get-extension-wallet-1.4.0.tgz#c14ecf759afa72da4c7664627a32f0c006adb36d" @@ -1055,13 +1050,6 @@ dependencies: regenerator-runtime "^0.14.0" -"@babel/runtime@^7.25.0", "@babel/runtime@^7.4.5": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.0.tgz#8600c2f595f277c60815256418b85356a65173c1" - integrity sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw== - dependencies: - regenerator-runtime "^0.14.0" - "@babel/runtime@^7.9.2": version "7.20.0" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.0.tgz#824a9ef325ffde6f78056059db3168c08785e24a" @@ -2811,13 +2799,6 @@ dependencies: bs58 "^5.0.0" -"@mysten/bcs@0.7.4": - version "0.7.4" - resolved "https://registry.yarnpkg.com/@mysten/bcs/-/bcs-0.7.4.tgz#1e32ec3d1fa68a0ed98323e604a741728927e421" - integrity sha512-6DKzM4L10Au3Og5EJRBqJZmXWZ7hS/clVjbVUH4sA0aFtS3AZo2xc+r5fUFfdJbaWZUxVaDiQ8BNiEZWkAnEOw== - dependencies: - bs58 "^5.0.0" - "@mysten/dapp-kit@0.13.2": version "0.13.2" resolved "https://registry.yarnpkg.com/@mysten/dapp-kit/-/dapp-kit-0.13.2.tgz#6093af2650399a442bca649720a9c094b6ef3ae1" @@ -2835,22 +2816,6 @@ clsx "^2.0.0" zustand "^4.4.1" -"@mysten/sui.js@0.41.2": - version "0.41.2" - resolved "https://registry.yarnpkg.com/@mysten/sui.js/-/sui.js-0.41.2.tgz#0ef09ce8777f254c1a25f4108fb55c4755a60943" - integrity sha512-00Kkk4don9H9iRWBqXfRC4wUPY0hqAvmzxhwaYZIHj9Tmb71Nx51zLLFsxeA7dlR6cJFaXFMbZkt6WR2vP8WLQ== - dependencies: - "@mysten/bcs" "0.7.4" - "@noble/curves" "^1.1.0" - "@noble/hashes" "^1.3.1" - "@open-rpc/client-js" "^1.8.1" - "@scure/bip32" "^1.3.1" - "@scure/bip39" "^1.2.1" - "@suchipi/femver" "^1.0.0" - events "^3.3.0" - superstruct "^1.0.3" - tweetnacl "^1.0.3" - "@mysten/sui.js@0.54.1": version "0.54.1" resolved "https://registry.yarnpkg.com/@mysten/sui.js/-/sui.js-0.54.1.tgz#27b6724dd30e0e81d50b47437cb206d0cec25f8b" @@ -2877,14 +2842,6 @@ "@mysten/sui.js" "0.54.1" "@wallet-standard/core" "1.0.3" -"@mysten/wallet-standard@^0.7.2": - version "0.7.2" - resolved "https://registry.yarnpkg.com/@mysten/wallet-standard/-/wallet-standard-0.7.2.tgz#8e2019214f59e69a897a0b30cef4dea30be091fb" - integrity sha512-uePMPtQcSRX+ZQ44DO4U65QxFXVa9tB/cPnEGqe+YOn76hzR2Al4wQQciex/Y1EZK7GYATAzrFLzNSIJYE7QSA== - dependencies: - "@mysten/sui.js" "0.41.2" - "@wallet-standard/core" "1.0.3" - "@mysten/zksend@0.8.2": version "0.8.2" resolved "https://registry.yarnpkg.com/@mysten/zksend/-/zksend-0.8.2.tgz#0ac3fcea8c15abb671dbfc28d38f2ddada7a74c2" @@ -2966,13 +2923,6 @@ jsbi "^3.1.5" sha.js "^2.4.11" -"@noble/curves@1.2.0", "@noble/curves@^1.1.0", "@noble/curves@~1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" - integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== - dependencies: - "@noble/hashes" "1.3.2" - "@noble/curves@1.3.0", "@noble/curves@~1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" @@ -2980,6 +2930,13 @@ dependencies: "@noble/hashes" "1.3.3" +"@noble/curves@^1.1.0", "@noble/curves@~1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" + integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== + dependencies: + "@noble/hashes" "1.3.2" + "@noble/curves@^1.3.0", "@noble/curves@^1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.0.tgz#f05771ef64da724997f69ee1261b2417a49522d6" @@ -2987,7 +2944,7 @@ dependencies: "@noble/hashes" "1.4.0" -"@noble/curves@^1.4.2", "@noble/curves@~1.7.0": +"@noble/curves@~1.7.0": version "1.7.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" integrity sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw== @@ -3024,16 +2981,16 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== -"@noble/hashes@^1.3.0", "@noble/hashes@~1.6.0": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" - integrity sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w== - "@noble/hashes@~1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== +"@noble/hashes@~1.6.0": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" + integrity sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w== + "@noble/secp256k1@1.7.1", "@noble/secp256k1@^1.7.1": version "1.7.1" resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" @@ -3060,154 +3017,6 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@onekeyfe/cross-inpage-provider-core@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-core/-/cross-inpage-provider-core-2.1.21.tgz#9c1bf094007daa764723a653148a9e1a7bfc5b55" - integrity sha512-2vR79vRZ1IFZgk/kbwBSFtqv0FKUEBGz1zhrf8IhNBFDirwAU35O7O4cpwUiAnigFkLx3wmm1N5yOZ6RfiSm4g== - dependencies: - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-events" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - events "^3.3.0" - lodash-es "^4.17.21" - ms "^2.1.3" - -"@onekeyfe/cross-inpage-provider-errors@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-errors/-/cross-inpage-provider-errors-2.1.21.tgz#40da4518a72ef481108263acbcd4b047ab0cc8b2" - integrity sha512-FZwoMq7x1omp/K5IFIjeAIk20Bwdv7kzdDEAoDcf2Yjp5zuV36nAM9VyWOS0bPW3mbtfU2gRh3nSueraZrUoYg== - dependencies: - fast-safe-stringify "^2.0.6" - -"@onekeyfe/cross-inpage-provider-events@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-events/-/cross-inpage-provider-events-2.1.21.tgz#d90c297cd17ae26e198719ef9e3bceb0e463e6d6" - integrity sha512-pUVbP1cYfjRQMsaN5PEO2rr9xuxo1Xq51sZn/vEWHPA9DsBVPPmDD5XtbbIfVcXjuuFxhbnnkv+mBwP+QRkkzA== - -"@onekeyfe/cross-inpage-provider-types@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/cross-inpage-provider-types/-/cross-inpage-provider-types-2.1.21.tgz#df09aa4d53eb70e528584b04942fb19f5018b0f6" - integrity sha512-YQPvFwqJpoCH18lV1s6pDsq4RHGaUHbgOOF9rIe4q1oocCi/G0egyclJ/dl3Z8aU70Xf11RFJWdveNc1FapR9w== - -"@onekeyfe/extension-bridge-injected@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/extension-bridge-injected/-/extension-bridge-injected-2.1.21.tgz#bd28dc646d497868edda0c567819760e125592cd" - integrity sha512-Awsj7mE2HU5I36PNXT/SuO2fT/GSKD/zYLIQJRP23mWMAn/S4iP9bpBFzSW6glI9OPFBskVnIEMPp53iaqB4IQ== - dependencies: - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - -"@onekeyfe/onekey-aptos-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-aptos-provider/-/onekey-aptos-provider-2.1.21.tgz#7d325fdb4bf2840da069a44aff45a9a1da09b15d" - integrity sha512-PJrItQHK9TgE4yA70VmXzfcbjgqZP+PvTVzCRVnu3pWtpX5CzoO6xXrntXJRABueL7YJlBQdkfHETz2pOIyL8Q== - dependencies: - "@aptos-labs/wallet-standard" "^0.2.0" - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - "@wallet-standard/core" "1.0.3" - eth-rpc-errors "^4.0.3" - -"@onekeyfe/onekey-cardano-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-cardano-provider/-/onekey-cardano-provider-2.1.21.tgz#2f74ee5dfd6aa9abb0c743e72c2f1ed5525669da" - integrity sha512-pTwS5no4QR2HdxIKqsaZUyq87f5ndnJUa8IQTvyKNzioj0Tuwlr6ThI7Rl7+17ax2l2e5OvVFV+5YrO6aQ9pdA== - dependencies: - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - -"@onekeyfe/onekey-conflux-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-conflux-provider/-/onekey-conflux-provider-2.1.21.tgz#419c097fd147b8e5d98bc0a04b952cc07f6b5ea2" - integrity sha512-AgioE3WJbyr7MN7yNBpVccPtiJLSUNwfcim8pP3NzrnFvbtMLXloL7AV9fal0PmrJ1hLqhtbLRayg68YwiePMg== - dependencies: - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - -"@onekeyfe/onekey-cosmos-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-cosmos-provider/-/onekey-cosmos-provider-2.1.21.tgz#89cea7370e71d07563dea1d2b28cf96b3fbc21b3" - integrity sha512-HRN3XhBpaLS33FBjLF3OiCjFPuqg5OgK2WyoSD957lTf+ZZjmq0funBrWlPCrzswUxbXzDm7BB3BMqZBbh2PGg== - dependencies: - "@noble/hashes" "^1.3.0" - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - eth-rpc-errors "^4.0.3" - long "^5.2.1" - mitt "^3.0.0" - -"@onekeyfe/onekey-near-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-near-provider/-/onekey-near-provider-2.1.21.tgz#f395d59c7b5d9a3e4982e9f50bf5122d356d2cf6" - integrity sha512-8VegHJGKhRsKiSEuVlci9VK5ncAQOjXdX4Ed65RZuxVRBDqSM15vpIKKdDEAGmfF9Uazah36C5heqa/bK0xfuQ== - dependencies: - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - borsh "^0.6.0" - depd "^2.0.0" - tweetnacl "^1.0.3" - -"@onekeyfe/onekey-solana-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-solana-provider/-/onekey-solana-provider-2.1.21.tgz#bc3a6177bc9f58c9d71bb89b3fa99f67d7dee163" - integrity sha512-3UhvUon52IewjItRPjVQkzpgDqn/J9WOoEgSQLc1/9QHH5O9Wt+u6CHi8vv2SgO0I7iweKv8mMYcRmp7jcJKpw== - dependencies: - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - "@solana/wallet-standard-features" "^1.1.0" - "@solana/web3.js" "^1.41.3" - "@wallet-standard/base" "^1.0.1" - bs58 "^5.0.0" - -"@onekeyfe/onekey-sui-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-sui-provider/-/onekey-sui-provider-2.1.21.tgz#569257c16a526844e80dc1bcfa64b817a5bb11ef" - integrity sha512-96Hn5xU5zkykZCAkQwXghLeJxA9SNrZKMirblKwOCmcZLOWd4h+HVc9sLtFt+1k4n5njDlGuDuasTBs2FjFQ0A== - dependencies: - "@mysten/wallet-standard" "^0.7.2" - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - eth-rpc-errors "^4.0.3" - mitt "^3.0.0" - -"@onekeyfe/onekey-tron-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-tron-provider/-/onekey-tron-provider-2.1.21.tgz#23deee681fda4ef114c7d77724b8142faa5ca72b" - integrity sha512-TDAeHDaprH3m5OZcwpmoCmCQueQJasvBbjTgCXv3D5nJOWR2mDpUjJMdKFhwdIV0C5OoPLMBeY3ow2ZIBTGMZg== - dependencies: - "@noble/secp256k1" "1.7.1" - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - querystring "^0.2.1" - sunweb "^1.0.7" - tronweb "^5.3.2" - -"@onekeyfe/onekey-webln-provider@2.1.21": - version "2.1.21" - resolved "https://registry.yarnpkg.com/@onekeyfe/onekey-webln-provider/-/onekey-webln-provider-2.1.21.tgz#d44c4e23ac470b2d2ce17eaf295546cf20740545" - integrity sha512-BCN+y8/KmpTbO19o41umQn7vcL/ttynIyGfwBy6m3QfKEVHg9inclcst8TvsPyEB2NWqKVsubcmsFQiAPAUKAw== - dependencies: - "@onekeyfe/cross-inpage-provider-core" "2.1.21" - "@onekeyfe/cross-inpage-provider-errors" "2.1.21" - "@onekeyfe/cross-inpage-provider-types" "2.1.21" - "@onekeyfe/extension-bridge-injected" "2.1.21" - "@open-draft/deferred-promise@^2.2.0": version "2.2.0" resolved "https://registry.yarnpkg.com/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz#4a822d10f6f0e316be4d67b4d4f8c9a124b073bd" @@ -5818,27 +5627,6 @@ rpc-websockets "^7.11.0" superstruct "^0.14.2" -"@solana/web3.js@^1.41.3": - version "1.95.8" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.95.8.tgz#2d49abda23f7a79a3cc499ab6680f7be11786ee1" - integrity sha512-sBHzNh7dHMrmNS5xPD1d0Xa2QffW/RXaxu/OysRXBfwTp+LYqGGmMtCYYwrHPrN5rjAmJCsQRNAwv4FM0t3B6g== - dependencies: - "@babel/runtime" "^7.25.0" - "@noble/curves" "^1.4.2" - "@noble/hashes" "^1.4.0" - "@solana/buffer-layout" "^4.0.1" - agentkeepalive "^4.5.0" - bigint-buffer "^1.1.5" - bn.js "^5.2.1" - borsh "^0.7.0" - bs58 "^4.0.1" - buffer "6.0.3" - fast-stable-stringify "^1.0.0" - jayson "^4.1.1" - node-fetch "^2.7.0" - rpc-websockets "^9.0.2" - superstruct "^2.0.2" - "@solflare-wallet/metamask-sdk@^1.0.2": version "1.0.3" resolved "https://registry.yarnpkg.com/@solflare-wallet/metamask-sdk/-/metamask-sdk-1.0.3.tgz#3baaa22de2c86515e6ba6025285cd1f5d74b04e5" @@ -6112,13 +5900,6 @@ dependencies: tslib "^2.4.0" -"@swc/helpers@^0.5.11": - version "0.5.15" - resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.15.tgz#79efab344c5819ecf83a43f3f9f811fc84b516d7" - integrity sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g== - dependencies: - tslib "^2.8.0" - "@szmarczak/http-timer@^4.0.5": version "4.0.6" resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" @@ -6575,11 +6356,6 @@ varuint-bitcoin "^1.1.2" wif "^4.0.0" -"@tronweb3/google-protobuf@^3.21.2": - version "3.21.2" - resolved "https://registry.yarnpkg.com/@tronweb3/google-protobuf/-/google-protobuf-3.21.2.tgz#0964cf83ed7826d31c3cb4e4ecf07655681631c9" - integrity sha512-IVcT2GfWX3K6tHUVhs14NP5uzKhQt4KeDya1g9ACxuZsUzsaoGUIGzceK2Ltu7xp1YV94AaHOf4yxLAivlvEkQ== - "@types/bn.js@^4.11.3": version "4.11.6" resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" @@ -6757,13 +6533,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.18.tgz#3b4fed5cfb58010e3a2be4b6e74615e4847f1074" integrity sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA== -"@types/node@22.7.5": - version "22.7.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" - integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== - dependencies: - undici-types "~6.19.2" - "@types/node@>=13.7.0": version "20.12.12" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.12.tgz#7cbecdf902085cec634fdb362172dfe12b8f2050" @@ -6901,13 +6670,6 @@ dependencies: "@types/node" "*" -"@types/ws@^8.2.2": - version "8.5.13" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.13.tgz#6414c280875e2691d0d1e080b05addbf5cb91e20" - integrity sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA== - dependencies: - "@types/node" "*" - "@types/yargs-parser@*": version "21.0.3" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" @@ -7576,11 +7338,6 @@ aes-js@3.0.0: resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== -aes-js@4.0.0-beta.5: - version "4.0.0-beta.5" - resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-4.0.0-beta.5.tgz#8d2452c52adedebc3a3e28465d858c11ca315873" - integrity sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q== - agent-base@6, agent-base@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" @@ -8012,15 +7769,6 @@ axios@^1.6.0: form-data "^4.0.0" proxy-from-env "^1.1.0" -axios@^1.6.2: - version "1.7.9" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.9.tgz#d7d071380c132a24accda1b2cfc1535b79ec650a" - integrity sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - axios@^1.6.7: version "1.7.7" resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" @@ -8114,14 +7862,6 @@ babel-plugin-transform-flow-enums@^0.0.2: dependencies: "@babel/plugin-syntax-flow" "^7.12.1" -babel-runtime@^6.26.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" - integrity sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g== - dependencies: - core-js "^2.4.0" - regenerator-runtime "^0.11.0" - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -9178,11 +8918,6 @@ core-js-compat@^3.36.1: dependencies: browserslist "^4.23.0" -core-js@^2.4.0: - version "2.6.12" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" - integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== - core-util-is@~1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" @@ -10455,19 +10190,6 @@ ethers@5.7.2: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" -ethers@^6.6.0: - version "6.13.4" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.13.4.tgz#bd3e1c3dc1e7dc8ce10f9ffb4ee40967a651b53c" - integrity sha512-21YtnZVg4/zKkCQPjrDj38B1r4nQvTZLopUGMLQ1ePU2zV/joCfDC3t3iKQjWRzjjjbzR+mdAIoikeBRNkdllA== - dependencies: - "@adraffy/ens-normalize" "1.10.1" - "@noble/curves" "1.2.0" - "@noble/hashes" "1.3.2" - "@types/node" "22.7.5" - aes-js "4.0.0-beta.5" - tslib "2.7.0" - ws "8.17.1" - ethjs-util@0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/ethjs-util/-/ethjs-util-0.1.6.tgz#f308b62f185f9fe6237132fb2a9818866a5cd536" @@ -10486,11 +10208,6 @@ event-target-shim@^5.0.0, event-target-shim@^5.0.1: resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== -eventemitter3@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" - integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== - eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -11554,11 +11271,6 @@ inherits@=2.0.1: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" integrity sha512-8nWq2nLTAwd02jTqJExUYFSD/fKq6VH9Y/oG2accc/kdI0V98Bag8d5a4gi3XHz73rDWa2PvTtvcWYquKqSENA== -injectpromise@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/injectpromise/-/injectpromise-1.0.0.tgz#c621f7df2bbfc1164d714f1fb229adec2079da39" - integrity sha512-qNq5wy4qX4uWHcVFOEU+RqZkoVG65FhvGkyDWbuBxILMjK6A1LFf5A1mgXZkD4nRx5FCorD81X/XvPKp/zVfPA== - int64-buffer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/int64-buffer/-/int64-buffer-1.0.1.tgz#c78d841b444cadf036cd04f8683696c740f15dca" @@ -12073,24 +11785,6 @@ jayson@^4.1.0: uuid "^8.3.2" ws "^7.4.5" -jayson@^4.1.1: - version "4.1.3" - resolved "https://registry.yarnpkg.com/jayson/-/jayson-4.1.3.tgz#db9be2e4287d9fef4fc05b5fe367abe792c2eee8" - integrity sha512-LtXh5aYZodBZ9Fc3j6f2w+MTNcnxteMOrb+QgIouguGOulWi0lieEkOUg+HkjjFs0DGoWDds6bi4E9hpNFLulQ== - dependencies: - "@types/connect" "^3.4.33" - "@types/node" "^12.12.54" - "@types/ws" "^7.4.4" - JSONStream "^1.3.5" - commander "^2.20.3" - delay "^5.0.0" - es6-promisify "^5.0.0" - eyes "^0.1.8" - isomorphic-ws "^4.0.1" - json-stringify-safe "^5.0.1" - uuid "^8.3.2" - ws "^7.5.10" - jest-environment-node@^29.6.3: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" @@ -12747,7 +12441,7 @@ long@^4.0.0: resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== -long@^5.0.0, long@^5.2.1, long@^5.2.3: +long@^5.0.0, long@^5.2.3: version "5.2.3" resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== @@ -13158,7 +12852,7 @@ minimist@^1.2.0, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.1.tgz#f7f85aff59aa22f110b20e27692465cf3bf89481" integrity sha512-UZ7eQ+h8ywIRAW1hIEl2AqdwzJucU/Kp59+8kkZeSvafXhZjul247BvIJjEVFVeON6d7lM46XX1HXCduKAS8VA== -mitt@^3.0.0, mitt@^3.0.1: +mitt@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/mitt/-/mitt-3.0.1.tgz#ea36cf0cc30403601ae074c8f77b7092cdab36d1" integrity sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw== @@ -13227,7 +12921,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.3: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -14429,11 +14123,6 @@ query-string@7.1.3: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" -querystring-es3@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA== - querystring@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.1.tgz#40d77615bb09d16902a85c3e38aa8b5ed761c2dd" @@ -14842,11 +14531,6 @@ regenerate@^1.4.2: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== -regenerator-runtime@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" - integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== - regenerator-runtime@^0.13.10: version "0.13.10" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" @@ -15109,22 +14793,6 @@ rpc-websockets@^7.11.0: bufferutil "^4.0.1" utf-8-validate "^5.0.2" -rpc-websockets@^9.0.2: - version "9.0.4" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-9.0.4.tgz#9d8ee82533b5d1e13d9ded729e3e38d0d8fa083f" - integrity sha512-yWZWN0M+bivtoNLnaDbtny4XchdAIF5Q4g/ZsC5UC61Ckbp0QczwO8fg44rV3uYmY4WHd+EZQbn90W1d8ojzqQ== - dependencies: - "@swc/helpers" "^0.5.11" - "@types/uuid" "^8.3.4" - "@types/ws" "^8.2.2" - buffer "^6.0.3" - eventemitter3 "^5.0.1" - uuid "^8.3.2" - ws "^8.5.0" - optionalDependencies: - bufferutil "^4.0.1" - utf-8-validate "^5.0.2" - rtcpeerconnection-shim@^1.2.15: version "1.2.15" resolved "https://registry.yarnpkg.com/rtcpeerconnection-shim/-/rtcpeerconnection-shim-1.2.15.tgz#e7cc189a81b435324c4949aa3dfb51888684b243" @@ -15715,7 +15383,7 @@ strict-uri-encode@^2.0.0: resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== -"string-width-cjs@npm:string-width@^4.2.0": +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -15733,15 +15401,6 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -15851,7 +15510,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -15865,13 +15524,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -15978,15 +15630,6 @@ sudo-prompt@^9.0.0: resolved "https://registry.yarnpkg.com/sudo-prompt/-/sudo-prompt-9.2.1.tgz#77efb84309c9ca489527a4e749f287e6bdd52afd" integrity sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw== -sunweb@^1.0.7: - version "1.1.0" - resolved "https://registry.yarnpkg.com/sunweb/-/sunweb-1.1.0.tgz#7d00dbd610f9fd7d3380f71ae1fa03dabd882094" - integrity sha512-RoQHMAE3EMM04/y9XHDOhmnf4prhes2yYsRMi5mYANSHohpPvLl+v5I7xD0M5f5W6dMz2eSY7b0NsIyfH/1V/g== - dependencies: - "@babel/runtime" "^7.4.5" - babel-runtime "^6.26.0" - injectpromise "^1.0.0" - superagent@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/superagent/-/superagent-6.1.0.tgz#09f08807bc41108ef164cfb4be293cebd480f4a6" @@ -16019,11 +15662,6 @@ superstruct@^1.0.3: resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-1.0.3.tgz#de626a5b49c6641ff4d37da3c7598e7a87697046" integrity sha512-8iTn3oSS8nRGn+C2pgXSKPI3jmpm6FExNazNpjvqS6ZUJQCej3PUXEKM8NjHBOs54ExM+LPW/FBRhymrdcCiSg== -superstruct@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-2.0.2.tgz#3f6d32fbdc11c357deff127d591a39b996300c54" - integrity sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A== - supports-color@^5.3.0, supports-color@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -16269,25 +15907,6 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -tronweb@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/tronweb/-/tronweb-5.3.2.tgz#393b0fa0290e2c5aa7a3b3b82956f53ca65a764f" - integrity sha512-iPcIjMCxb6H7FXMntAj47F3L+7jSideyQ7ZOvRj9MeZBh46SHevMrDDR57HzakUa/tT8VvlPFHtqFK4hzTLkXw== - dependencies: - "@babel/runtime" "^7.0.0" - "@ethersproject/abi" "^5.7.0" - "@tronweb3/google-protobuf" "^3.21.2" - axios "^1.6.2" - bignumber.js "^9.0.1" - ethereum-cryptography "^2.0.0" - ethers "^6.6.0" - eventemitter3 "^3.1.0" - injectpromise "^1.0.0" - lodash "^4.17.21" - querystring-es3 "^0.2.1" - semver "^5.6.0" - validator "^13.7.0" - ts-api-utils@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" @@ -16318,11 +15937,6 @@ tslib@1.14.1, tslib@^1.11.0, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@2.7.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" - integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== - tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.6.1, tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" @@ -16338,11 +15952,6 @@ tslib@^2.4.0, tslib@^2.5.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== -tslib@^2.8.0: - version "2.8.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" - integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== - tweetnacl-util@^0.15.0, tweetnacl-util@^0.15.1: version "0.15.1" resolved "https://registry.yarnpkg.com/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz#b80fcdb5c97bcc508be18c44a4be50f022eea00b" @@ -16743,11 +16352,6 @@ valibot@^0.25.0: resolved "https://registry.yarnpkg.com/valibot/-/valibot-0.25.0.tgz#bdbb3a6e910f983b5a65b56b2bff24dfd09064ca" integrity sha512-cmD0ca15oyAbT75iYLNW6uU6doAeIwYfOshpXka/E1Bx4frzbkrgb7gvkI7K0YK/DVOksei4FfxWfRoBP3NFTg== -validator@^13.7.0: - version "13.12.0" - resolved "https://registry.yarnpkg.com/validator/-/validator-13.12.0.tgz#7d78e76ba85504da3fee4fd1922b385914d4b35f" - integrity sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg== - valtio@1.10.5: version "1.10.5" resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.5.tgz#7852125e3b774b522827d96bd9c76d285c518678" @@ -16997,7 +16601,7 @@ wif@^4.0.0: dependencies: bs58check "^3.0.1" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -17024,15 +16628,6 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" @@ -17066,11 +16661,6 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@8.17.1: - version "8.17.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" - integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== - ws@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" @@ -17083,7 +16673,7 @@ ws@^7, ws@^7.2.0, ws@^7.4.5, ws@^7.5.1: resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== -ws@^7.0.0, ws@^7.5.10: +ws@^7.0.0: version "7.5.10" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.10.tgz#58b5c20dc281633f6c19113f39b349bd8bd558d9" integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ== diff --git a/packages/extension/extension-bridge-hosted/package.json b/packages/extension/extension-bridge-hosted/package.json index 2ae50d7a..5c62e489 100644 --- a/packages/extension/extension-bridge-hosted/package.json +++ b/packages/extension/extension-bridge-hosted/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/extension-bridge-hosted", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,8 +28,8 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", "uuid": "^8.3.2" }, "devDependencies": { diff --git a/packages/extension/extension-bridge-injected/package.json b/packages/extension/extension-bridge-injected/package.json index 905bd93b..8357d31e 100644 --- a/packages/extension/extension-bridge-injected/package.json +++ b/packages/extension/extension-bridge-injected/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/extension-bridge-injected", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,7 +28,7 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2" } } diff --git a/packages/injected/package.json b/packages/injected/package.json index 21f39ed2..b5961999 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-injected", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -42,12 +42,12 @@ "electron": "*" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/desktop-bridge-injected": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", - "@onekeyfe/inpage-providers-hub": "2.2.1", - "@onekeyfe/native-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/desktop-bridge-injected": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", + "@onekeyfe/inpage-providers-hub": "2.2.2", + "@onekeyfe/native-bridge-injected": "2.2.2", "buffer": "^6.0.3", "crypto-browserify": "^3.12.0" } diff --git a/packages/native/native-bridge-injected/package.json b/packages/native/native-bridge-injected/package.json index bf7a3d12..a7289b14 100644 --- a/packages/native/native-bridge-injected/package.json +++ b/packages/native/native-bridge-injected/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/native-bridge-injected", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,7 +28,7 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2" } } diff --git a/packages/providers/inpage-providers-hub/package.json b/packages/providers/inpage-providers-hub/package.json index 20435dba..e0a573d3 100644 --- a/packages/providers/inpage-providers-hub/package.json +++ b/packages/providers/inpage-providers-hub/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/inpage-providers-hub", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -30,26 +30,26 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/onekey-algo-provider": "2.2.1", - "@onekeyfe/onekey-alph-provider": "2.2.1", - "@onekeyfe/onekey-aptos-provider": "2.2.1", - "@onekeyfe/onekey-bfc-provider": "2.2.1", - "@onekeyfe/onekey-btc-provider": "2.2.1", - "@onekeyfe/onekey-cardano-provider": "2.2.1", - "@onekeyfe/onekey-conflux-provider": "2.2.1", - "@onekeyfe/onekey-cosmos-provider": "2.2.1", - "@onekeyfe/onekey-eth-provider": "2.2.1", - "@onekeyfe/onekey-nostr-provider": "2.2.1", - "@onekeyfe/onekey-polkadot-provider": "2.2.1", - "@onekeyfe/onekey-private-provider": "2.2.1", - "@onekeyfe/onekey-scdo-provider": "2.2.1", - "@onekeyfe/onekey-solana-provider": "2.2.1", - "@onekeyfe/onekey-sui-provider": "2.2.1", - "@onekeyfe/onekey-ton-provider": "2.2.1", - "@onekeyfe/onekey-tron-provider": "2.2.1", - "@onekeyfe/onekey-webln-provider": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/onekey-algo-provider": "2.2.2", + "@onekeyfe/onekey-alph-provider": "2.2.2", + "@onekeyfe/onekey-aptos-provider": "2.2.2", + "@onekeyfe/onekey-bfc-provider": "2.2.2", + "@onekeyfe/onekey-btc-provider": "2.2.2", + "@onekeyfe/onekey-cardano-provider": "2.2.2", + "@onekeyfe/onekey-conflux-provider": "2.2.2", + "@onekeyfe/onekey-cosmos-provider": "2.2.2", + "@onekeyfe/onekey-eth-provider": "2.2.2", + "@onekeyfe/onekey-nostr-provider": "2.2.2", + "@onekeyfe/onekey-polkadot-provider": "2.2.2", + "@onekeyfe/onekey-private-provider": "2.2.2", + "@onekeyfe/onekey-scdo-provider": "2.2.2", + "@onekeyfe/onekey-solana-provider": "2.2.2", + "@onekeyfe/onekey-sui-provider": "2.2.2", + "@onekeyfe/onekey-ton-provider": "2.2.2", + "@onekeyfe/onekey-tron-provider": "2.2.2", + "@onekeyfe/onekey-webln-provider": "2.2.2", "preact": "^10.25.1", "web3": "^1.7.3" }, diff --git a/packages/providers/inpage-providers-hub/src/floatingButton/index.tsx b/packages/providers/inpage-providers-hub/src/floatingButton/index.tsx index c66eb1bb..05f94d4a 100644 --- a/packages/providers/inpage-providers-hub/src/floatingButton/index.tsx +++ b/packages/providers/inpage-providers-hub/src/floatingButton/index.tsx @@ -1,9 +1,6 @@ import { render } from 'preact'; import { useEffect, useMemo, useCallback, useRef, useState } from 'preact/hooks'; -import { - IHostSecurity, - EHostSecurityLevel, -} from './type' +import { IHostSecurity, EHostSecurityLevel } from './type'; import { Logo } from './images'; let isInjected = false; @@ -28,16 +25,16 @@ interface i18nText { canBeReEnabledInSettings: string; } -let i18n: i18nText = {} as i18nText +let i18n: i18nText = {} as i18nText; const logoStyle = { - width: '28px', - height: '28px', + width: '24px', + height: '24px', }; const textStyle = { color: 'rgba(0, 0, 0, 0.61)', - fontSize: '13px', + fontSize: '14px', marginLeft: '8px', }; @@ -48,16 +45,10 @@ const removeIcon = () => { isInjected = false; } -const useOutsideClick = ( - ref: { current?: HTMLDivElement | null }, - callback: () => void, -) => { +const useOutsideClick = (ref: { current?: HTMLDivElement | null }, callback: () => void) => { useEffect(() => { const handleClickOutside = (event: MouseEvent) => { - if ( - ref.current && - !ref.current.contains(event.target as HTMLElement) - ) { + if (ref.current && !ref.current.contains(event.target as HTMLElement)) { callback(); } }; @@ -71,29 +62,29 @@ function CloseDialog({ onClose }: { onClose: () => void }) { const dialogRef = useRef(null); useOutsideClick(dialogRef, onClose); const handleDisable = useCallback(() => { - void (globalThis as unknown as { - $onekey: { - $private: { - request: ( - arg: { method: string; } - ) => Promise - } + void ( + globalThis as unknown as { + $onekey: { + $private: { + request: (arg: { method: string }) => Promise; + }; + }; } - }).$onekey.$private.request({ + ).$onekey.$private.request({ method: 'wallet_disableFloatingButton', }); removeIcon(); }, []) const handleHideOnSite = useCallback(() => { - void (globalThis as unknown as { - $onekey: { - $private: { - request: ( - arg: { method: string; params: { url: string } } - ) => Promise - } + void ( + globalThis as unknown as { + $onekey: { + $private: { + request: (arg: { method: string; params: { url: string } }) => Promise; + }; + }; } - }).$onekey.$private.request({ + ).$onekey.$private.request({ method: 'wallet_hideFloatingButtonOnSite', params: { url: window.location.origin }, }); @@ -102,46 +93,71 @@ function CloseDialog({ onClose }: { onClose: () => void }) { return (
- {i18n.hideOnThisSite} + + + +
{i18n.hideOnThisSite}
- {i18n.disable} + + + + +
{i18n.disable}
+
{i18n.canBeReEnabledInSettings} @@ -169,10 +185,8 @@ function IconButton({ style={{ display: 'flex', alignItems: 'center', - width: '184px', position: 'relative', cursor: 'pointer', - padding: '8px', }} onMouseEnter={() => { if (isExpanded || isShowCloseDialog) { @@ -189,18 +203,22 @@ function IconButton({ onClick(); }} > - - {!dataLoaded && ( - - {isExpanded ? i18n.fetchingDAppInfo : ''} - - )} +
+ + {!dataLoaded && {isExpanded ? i18n.fetchingDAppInfo : ''}} +
{ event.stopPropagation(); @@ -208,18 +226,12 @@ function IconButton({ showCloseDialog(); }} > - +
@@ -227,29 +239,21 @@ function IconButton({ ); } -function SecurityInfoRow({ - title, - children, -}: { - title: string; - children: any; -}) { +function SecurityInfoRow({ title, children }: { title: string; children: any }) { return (
{title} @@ -259,11 +263,7 @@ function SecurityInfoRow({ ); } -function SecurityRiskDetectionRow({ - securityInfo, -}: { - securityInfo: IHostSecurity; -}) { +function SecurityRiskDetectionRow({ securityInfo }: { securityInfo: IHostSecurity }) { const { securityElement, securityStatus } = useMemo(() => { const security = securityInfo?.checkSources @@ -279,22 +279,24 @@ function SecurityRiskDetectionRow({ style={{ color: 'rgba(0, 0, 0, 0.88)', fontWeight: '500', - fontSize: '11.2px', + fontSize: '12px', + lineHeight: '16px', }} > {i18n.verifiedSite} @@ -318,7 +320,8 @@ function SecurityRiskDetectionRow({ style={{ color: 'rgba(0, 0, 0, 0.88)', fontWeight: '500', - fontSize: '11.2px', + fontSize: '12px', + lineHeight: '16px', }} > {i18n.maliciousSiteWarning} @@ -345,9 +348,7 @@ function SecurityRiskDetectionRow({ const mediumSecurity = securityInfo?.checkSources - .filter((item) => - EHostSecurityLevel.Medium == item.riskLevel, - ) + .filter((item) => EHostSecurityLevel.Medium == item.riskLevel) .map((item) => item.name) .join(' & ') || ''; if (mediumSecurity) { @@ -359,7 +360,8 @@ function SecurityRiskDetectionRow({ style={{ color: 'rgba(0, 0, 0, 0.88)', fontWeight: '500', - fontSize: '11.2px', + fontSize: '12px', + lineHeight: '16px', }} > {i18n.suspectedMaliciousBehavior} @@ -390,7 +392,8 @@ function SecurityRiskDetectionRow({ style={{ color: 'rgba(0, 0, 0, 0.88)', fontWeight: '500', - fontSize: '11.2px', + fontSize: '12px', + lineHeight: '16px', }} > {i18n.unknown} @@ -417,7 +420,6 @@ function SecurityInfo({ securityInfo, onClose, showCloseDialog, - }: { securityInfo: IHostSecurity; onClose: () => void; @@ -431,26 +433,22 @@ function SecurityInfo({ style={{ display: 'flex', flexDirection: 'column', - width: '234px', - borderTopLeftRadius: '12px', - borderBottomLeftRadius: '12px', - paddingTop: '8px', }} >
) : (
{ onClose(); setTimeout(() => { showCloseDialog(); - }, 200) + }, 200); }} > - +
-
- {securityInfo?.dapp?.origins.length ? ( - -
- {securityInfo?.dapp?.origins.map((item) => ( - - ))} -
-
- ) : null} - - {securityInfo?.dapp?.origins.length ? ( - - - {securityInfo.updatedAt} - - - ) : null} +
+ {securityInfo?.dapp?.origins.length ? ( + +
+ {securityInfo?.dapp?.origins.map((item) => ( + + ))} +
+
+ ) : null} + + {securityInfo?.dapp?.origins.length ? ( + + + {securityInfo.updatedAt} + + + ) : null} +
Powered by OneKey @@ -637,21 +624,25 @@ function App() { const [showCloseDialog, setIsShowCloseDialog] = useState(false); const handleShowCloseDialog = useCallback(() => { - setIsShowCloseDialog(true) - }, []) + setIsShowCloseDialog(true); + }, []); const handleClick = useCallback(async () => { setIsExpanded(!isExpanded); setIsShowSecurityInfo(true); if (!securityInfo) { - const result = await (window as unknown as { - $onekey: { - $private: { - request: (arg: { method: string; params: { url: string } }) => - Promise<{ securityInfo: IHostSecurity }> - } + const result = await ( + window as unknown as { + $onekey: { + $private: { + request: (arg: { + method: string; + params: { url: string }; + }) => Promise<{ securityInfo: IHostSecurity }>; + }; + }; } - }).$onekey.$private.request({ + ).$onekey.$private.request({ method: 'wallet_detectRiskLevel', params: { url: window.location.origin }, }); @@ -659,39 +650,25 @@ function App() { } }, [isExpanded, securityInfo]); - const borderStyle = useMemo( - () => - isExpanded - ? { - borderTopLeftRadius: '12px', - borderBottomLeftRadius: '12px', - borderTopRightRadius: '0px', - borderBottomRightRadius: '0px', - } - : { - boxShadow: '0px 8.57px 17.14px 0px rgba(0, 0, 0, 0.09)', - transition: 'transform 0.3s ease-in-out', - borderRadius: '100px', - }, - [isExpanded], - ); - return (
{showSecurityInfo && securityInfo ? ( @@ -724,22 +701,24 @@ function App() { } async function injectIcon() { - const { isShow, i18n: i18nResponse } = await (globalThis as unknown as { - $onekey: { - $private: { - request: ( - arg: { method: string; params: { url: string } } - ) => Promise<{ - isShow: boolean, - i18n: i18nText - }> + const { isShow, i18n: i18nResponse } = await ( + globalThis as unknown as { + $onekey: { + $private: { + request: ( + arg: { method: string; params: { url: string } } + ) => Promise<{ + isShow: boolean, + i18n: i18nText + }> + } } } - }).$onekey.$private.request({ + ).$onekey.$private.request({ method: 'wallet_isShowFloatingButton', params: { url: window.location.origin }, }); - i18n = i18nResponse + i18n = i18nResponse; if (!isShow) { return; } diff --git a/packages/providers/onekey-algo-provider/package.json b/packages/providers/onekey-algo-provider/package.json index eb7bd276..5a717b8e 100644 --- a/packages/providers/onekey-algo-provider/package.json +++ b/packages/providers/onekey-algo-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-algo-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-alph-provider/package.json b/packages/providers/onekey-alph-provider/package.json index aecef714..bb7c030c 100644 --- a/packages/providers/onekey-alph-provider/package.json +++ b/packages/providers/onekey-alph-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-alph-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -31,9 +31,9 @@ "@alephium/get-extension-wallet": "^1.5.2", "@alephium/walletconnect-provider": "^1.5.2", "@alephium/web3": "^1.5.2", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-aptos-provider/package.json b/packages/providers/onekey-aptos-provider/package.json index be29f2cf..fad6c1bc 100644 --- a/packages/providers/onekey-aptos-provider/package.json +++ b/packages/providers/onekey-aptos-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-aptos-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@aptos-labs/wallet-standard": "^0.2.0", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "@wallet-standard/core": "1.0.3", "eth-rpc-errors": "^4.0.3" }, diff --git a/packages/providers/onekey-bfc-provider/package.json b/packages/providers/onekey-bfc-provider/package.json index bd90ff73..aa5d81da 100644 --- a/packages/providers/onekey-bfc-provider/package.json +++ b/packages/providers/onekey-bfc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-bfc-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@benfen/bfc.js": "0.2.7", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "eth-rpc-errors": "^4.0.3", "mitt": "^3.0.0" }, diff --git a/packages/providers/onekey-btc-provider/package.json b/packages/providers/onekey-btc-provider/package.json index 111c5db1..801f1c96 100644 --- a/packages/providers/onekey-btc-provider/package.json +++ b/packages/providers/onekey-btc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-btc-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-cardano-provider/package.json b/packages/providers/onekey-cardano-provider/package.json index cf9d6a44..692b436c 100644 --- a/packages/providers/onekey-cardano-provider/package.json +++ b/packages/providers/onekey-cardano-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-cardano-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider", "cardano" @@ -29,9 +29,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-conflux-provider/package.json b/packages/providers/onekey-conflux-provider/package.json index 01e529fd..4155a676 100644 --- a/packages/providers/onekey-conflux-provider/package.json +++ b/packages/providers/onekey-conflux-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-conflux-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-cosmos-provider/package.json b/packages/providers/onekey-cosmos-provider/package.json index 9faef570..24f511b0 100644 --- a/packages/providers/onekey-cosmos-provider/package.json +++ b/packages/providers/onekey-cosmos-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-cosmos-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@noble/hashes": "^1.3.0", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "eth-rpc-errors": "^4.0.3", "long": "^5.2.1", "mitt": "^3.0.0" diff --git a/packages/providers/onekey-eth-provider/package.json b/packages/providers/onekey-eth-provider/package.json index 96fd2a8c..1756dbb2 100644 --- a/packages/providers/onekey-eth-provider/package.json +++ b/packages/providers/onekey-eth-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-eth-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,10 +28,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "eth-rpc-errors": "^4.0.3", "uuid": "^8.3.2" }, diff --git a/packages/providers/onekey-near-provider/package.json b/packages/providers/onekey-near-provider/package.json index 3f249a58..db531a34 100644 --- a/packages/providers/onekey-near-provider/package.json +++ b/packages/providers/onekey-near-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-near-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -35,10 +35,10 @@ "near-api-js": "^0.44.2" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "borsh": "^0.6.0", "depd": "^2.0.0", "tweetnacl": "^1.0.3" diff --git a/packages/providers/onekey-nostr-provider/package.json b/packages/providers/onekey-nostr-provider/package.json index b5f95b4c..c1945d48 100644 --- a/packages/providers/onekey-nostr-provider/package.json +++ b/packages/providers/onekey-nostr-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-nostr-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-polkadot-provider/package.json b/packages/providers/onekey-polkadot-provider/package.json index b176a782..6f4d18f3 100644 --- a/packages/providers/onekey-polkadot-provider/package.json +++ b/packages/providers/onekey-polkadot-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-polkadot-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@noble/hashes": "^1.3.0", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "@polkadot/extension-inject": "^0.46.3", "eth-rpc-errors": "^4.0.3", "long": "^5.2.1", diff --git a/packages/providers/onekey-private-provider/package.json b/packages/providers/onekey-private-provider/package.json index 6f3b1f42..95df2fe2 100644 --- a/packages/providers/onekey-private-provider/package.json +++ b/packages/providers/onekey-private-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-private-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-scdo-provider/package.json b/packages/providers/onekey-scdo-provider/package.json index ea3bbf5c..f24cceeb 100644 --- a/packages/providers/onekey-scdo-provider/package.json +++ b/packages/providers/onekey-scdo-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-scdo-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/providers/onekey-solana-provider/package.json b/packages/providers/onekey-solana-provider/package.json index df26b6a7..22bbe6fb 100644 --- a/packages/providers/onekey-solana-provider/package.json +++ b/packages/providers/onekey-solana-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-solana-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider", "solona" @@ -29,10 +29,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "@solana/wallet-standard-features": "^1.1.0", "@solana/web3.js": "^1.41.3", "@wallet-standard/base": "^1.0.1", diff --git a/packages/providers/onekey-sui-provider/package.json b/packages/providers/onekey-sui-provider/package.json index a8600d4f..c5308407 100644 --- a/packages/providers/onekey-sui-provider/package.json +++ b/packages/providers/onekey-sui-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-sui-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@mysten/wallet-standard": "^0.7.2", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "eth-rpc-errors": "^4.0.3", "mitt": "^3.0.0" } diff --git a/packages/providers/onekey-ton-provider/package.json b/packages/providers/onekey-ton-provider/package.json index 3f004f0f..eefc2187 100644 --- a/packages/providers/onekey-ton-provider/package.json +++ b/packages/providers/onekey-ton-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-ton-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,10 +28,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "@tonconnect/protocol": "^2.2.6" } } diff --git a/packages/providers/onekey-tron-provider/package.json b/packages/providers/onekey-tron-provider/package.json index 1d815e1e..9321ed6a 100644 --- a/packages/providers/onekey-tron-provider/package.json +++ b/packages/providers/onekey-tron-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-tron-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@noble/secp256k1": "1.7.1", - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1", + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2", "querystring": "^0.2.1", "sunweb": "^1.0.7", "tronweb": "^5.3.2" diff --git a/packages/providers/onekey-webln-provider/package.json b/packages/providers/onekey-webln-provider/package.json index a9c84ee3..c9e2b185 100644 --- a/packages/providers/onekey-webln-provider/package.json +++ b/packages/providers/onekey-webln-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-webln-provider", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-errors": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1", - "@onekeyfe/extension-bridge-injected": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-errors": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2", + "@onekeyfe/extension-bridge-injected": "2.2.2" } } diff --git a/packages/types/package.json b/packages/types/package.json index 725e4bce..48b89e49 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-types", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/webview/package.json b/packages/webview/package.json index d5bb20a7..55d8286c 100644 --- a/packages/webview/package.json +++ b/packages/webview/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-cross-webview", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "cross-inpage-provider" ], @@ -36,7 +36,7 @@ "react-native-webview": "^11.17.2" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "2.2.1", - "@onekeyfe/cross-inpage-provider-types": "2.2.1" + "@onekeyfe/cross-inpage-provider-core": "2.2.2", + "@onekeyfe/cross-inpage-provider-types": "2.2.2" } }