diff --git a/packages/core/package.json b/packages/core/package.json index 040a30f0..e96101f3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-core", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -29,9 +29,9 @@ "build-version-info": "node ./scripts/buildVersionInfo.js" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-events": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-events": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", "events": "^3.3.0", "lodash": "^4.17.21", "ms": "^2.1.3" diff --git a/packages/desktop/desktop-bridge-injected/package.json b/packages/desktop/desktop-bridge-injected/package.json index 0abb9db9..cd71d530 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -34,7 +34,7 @@ "electron": "^17.2.0" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17" + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18" } } diff --git a/packages/empty/package.json b/packages/empty/package.json index 00df457c..a23d4ac5 100644 --- a/packages/empty/package.json +++ b/packages/empty/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-empty", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/errors/package.json b/packages/errors/package.json index 400006c3..c1f9399b 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-errors", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/events/package.json b/packages/events/package.json index 5210eb2f..73292567 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-events", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/example/package.json b/packages/example/package.json index 5347c3f1..072e7db1 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-example", - "version": "1.1.17", + "version": "1.1.18", "private": true, "scripts": { "postinstall": "patch-package", @@ -17,16 +17,16 @@ "@metamask/onboarding": "^1.0.1", "@mysten/wallet-adapter-all-wallets": "^0.3.3", "@mysten/wallet-adapter-react": "^8.0.1", - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/onekey-aptos-provider": "1.1.17", - "@onekeyfe/onekey-cardano-provider": "1.1.17", - "@onekeyfe/onekey-conflux-provider": "1.1.17", - "@onekeyfe/onekey-cosmos-provider": "1.1.17", - "@onekeyfe/onekey-near-provider": "1.1.17", - "@onekeyfe/onekey-solana-provider": "1.1.17", - "@onekeyfe/onekey-sui-provider": "1.1.17", - "@onekeyfe/onekey-tron-provider": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/onekey-aptos-provider": "1.1.18", + "@onekeyfe/onekey-cardano-provider": "1.1.18", + "@onekeyfe/onekey-conflux-provider": "1.1.18", + "@onekeyfe/onekey-cosmos-provider": "1.1.18", + "@onekeyfe/onekey-near-provider": "1.1.18", + "@onekeyfe/onekey-solana-provider": "1.1.18", + "@onekeyfe/onekey-sui-provider": "1.1.18", + "@onekeyfe/onekey-tron-provider": "1.1.18", "@solana/web3.js": "^1.41.3", "@starcoin/starcoin": "^2.1.6", "@starcoin/starmask-onboarding": "^1.0.0", diff --git a/packages/extension/extension-bridge-hosted/package.json b/packages/extension/extension-bridge-hosted/package.json index f29a6126..27f1784d 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,7 +28,7 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17" + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18" } } diff --git a/packages/extension/extension-bridge-injected/package.json b/packages/extension/extension-bridge-injected/package.json index 0c70366d..aa8c960c 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,7 +28,7 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17" + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18" } } diff --git a/packages/injected/package.json b/packages/injected/package.json index 47fb1f76..ec509f6a 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-injected", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -42,12 +42,12 @@ "electron": "*" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/desktop-bridge-injected": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", - "@onekeyfe/inpage-providers-hub": "1.1.17", - "@onekeyfe/native-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/desktop-bridge-injected": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", + "@onekeyfe/inpage-providers-hub": "1.1.18", + "@onekeyfe/native-bridge-injected": "1.1.18", "buffer": "^6.0.3" } } diff --git a/packages/native/native-bridge-injected/package.json b/packages/native/native-bridge-injected/package.json index 222ee904..3c818201 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,7 +28,7 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17" + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18" } } diff --git a/packages/providers/inpage-providers-hub/package.json b/packages/providers/inpage-providers-hub/package.json index 9b30a245..ffc8d8c6 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,18 +28,18 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/onekey-aptos-provider": "1.1.17", - "@onekeyfe/onekey-cardano-provider": "1.1.17", - "@onekeyfe/onekey-conflux-provider": "1.1.17", - "@onekeyfe/onekey-cosmos-provider": "1.1.17", - "@onekeyfe/onekey-eth-provider": "1.1.17", - "@onekeyfe/onekey-private-provider": "1.1.17", - "@onekeyfe/onekey-solana-provider": "1.1.17", - "@onekeyfe/onekey-starcoin-provider": "1.1.17", - "@onekeyfe/onekey-sui-provider": "1.1.17", - "@onekeyfe/onekey-tron-provider": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/onekey-aptos-provider": "1.1.18", + "@onekeyfe/onekey-cardano-provider": "1.1.18", + "@onekeyfe/onekey-conflux-provider": "1.1.18", + "@onekeyfe/onekey-cosmos-provider": "1.1.18", + "@onekeyfe/onekey-eth-provider": "1.1.18", + "@onekeyfe/onekey-private-provider": "1.1.18", + "@onekeyfe/onekey-solana-provider": "1.1.18", + "@onekeyfe/onekey-starcoin-provider": "1.1.18", + "@onekeyfe/onekey-sui-provider": "1.1.18", + "@onekeyfe/onekey-tron-provider": "1.1.18", "web3": "^1.7.3" } } diff --git a/packages/providers/inpage-providers-hub/src/injectWeb3Provider.ts b/packages/providers/inpage-providers-hub/src/injectWeb3Provider.ts index 55466d3f..555b93b1 100644 --- a/packages/providers/inpage-providers-hub/src/injectWeb3Provider.ts +++ b/packages/providers/inpage-providers-hub/src/injectWeb3Provider.ts @@ -38,6 +38,7 @@ export type IWindowOneKeyHub = { disableExt?: boolean; platform: string; version: string; + walletSwitchConfig: { enable: string[]; disable: [] }; platformEnv: { isExtension: boolean; isDesktop: boolean; @@ -46,6 +47,25 @@ export type IWindowOneKeyHub = { }; }; +function checkWalletSwitchEnable(property: string) { + try { + const walletInfoLocalStr = localStorage.getItem(WALLET_INFO_LOACAL_KEY); + const walletInfoLocal = walletInfoLocalStr ? JSON.parse(walletInfoLocalStr) : null; + if (walletInfoLocal && walletInfoLocal.walletSwitchConfig) { + const { enable, disable } = walletInfoLocal.walletSwitchConfig; + const enableList: string[] = enable || []; + const disableList: string[] = disable || []; + return ( + (enableList.includes(property) && !disableList.includes(property)) || + (!enableList.includes(property) && !disableList.includes(property)) + ); + } + } catch (e) { + console.error(e); + } + return true; +} + function checkEnableDefineProperty(property: string) { if (property === '$onekey') return false; try { @@ -59,6 +79,7 @@ function checkEnableDefineProperty(property: string) { } function defineWindowProperty(property: string, provider: unknown) { + if (!checkWalletSwitchEnable(property)) return; const enable = checkEnableDefineProperty(property); const proxyProvider = new Proxy(provider as object, { defineProperty(target, property, attributes) { @@ -153,17 +174,6 @@ function injectWeb3Provider(): unknown { defineWindowProperty('$onekey', $onekey); - try { - const walletInfoLocalStr = localStorage.getItem(WALLET_INFO_LOACAL_KEY); - const walletInfoLocal = walletInfoLocalStr ? JSON.parse(walletInfoLocalStr) : null; - if (walletInfoLocal && walletInfoLocal.platformEnv.isExtension && walletInfoLocal.disableExt) { - // disable onekey ext stop inject - return; - } - } catch (e) { - console.error(e); - } - const martianProxy = new Proxy(martian, { get: (target, property, ...args) => { if (property === 'aptosProviderType') { diff --git a/packages/providers/onekey-aptos-provider/package.json b/packages/providers/onekey-aptos-provider/package.json index b4f9815c..b324619d 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,10 +28,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "aptos": "^1.3.17", "eth-rpc-errors": "^4.0.3" } diff --git a/packages/providers/onekey-cardano-provider/package.json b/packages/providers/onekey-cardano-provider/package.json index a6aec080..7b021417 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider", "cardano" @@ -29,10 +29,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", - "@onekeyfe/onekey-cardano-provider": "1.1.17" + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", + "@onekeyfe/onekey-cardano-provider": "1.1.18" } } diff --git a/packages/providers/onekey-conflux-provider/package.json b/packages/providers/onekey-conflux-provider/package.json index 4a5732d9..9cf9c357 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17" + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18" } } diff --git a/packages/providers/onekey-cosmos-provider/package.json b/packages/providers/onekey-cosmos-provider/package.json index d12f6f5c..db1a060e 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@noble/hashes": "^1.1.4", - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "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 30d0b8b6..db8cd4bc 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,10 +28,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "eth-rpc-errors": "^4.0.3" } } diff --git a/packages/providers/onekey-near-provider/package.json b/packages/providers/onekey-near-provider/package.json index 5383b903..a4616415 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -35,10 +35,10 @@ "near-api-js": "^0.44.2" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "borsh": "^0.6.0", "depd": "^2.0.0", "tweetnacl": "^1.0.3" diff --git a/packages/providers/onekey-private-provider/package.json b/packages/providers/onekey-private-provider/package.json index 042c375a..fb0d34f0 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,9 +28,9 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17" + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18" } } diff --git a/packages/providers/onekey-solana-provider/package.json b/packages/providers/onekey-solana-provider/package.json index 8d4de239..02c54955 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider", "solona" @@ -29,10 +29,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "@solana/web3.js": "^1.41.3", "bs58": "^5.0.0" }, diff --git a/packages/providers/onekey-starcoin-provider/package.json b/packages/providers/onekey-starcoin-provider/package.json index a3a2db60..ac5ce206 100644 --- a/packages/providers/onekey-starcoin-provider/package.json +++ b/packages/providers/onekey-starcoin-provider/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-starcoin-provider", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,10 +28,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "eth-rpc-errors": "^4.0.3" } } diff --git a/packages/providers/onekey-sui-provider/package.json b/packages/providers/onekey-sui-provider/package.json index a75a910c..a5c49860 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -29,10 +29,10 @@ }, "dependencies": { "@mysten/wallet-standard": "^0.2.3", - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "eth-rpc-errors": "^4.0.3", "mitt": "^3.0.0" } diff --git a/packages/providers/onekey-tron-provider/package.json b/packages/providers/onekey-tron-provider/package.json index 4831e48a..78406838 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": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -28,10 +28,10 @@ "start": "tsc --watch" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-errors": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", - "@onekeyfe/extension-bridge-injected": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-errors": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", + "@onekeyfe/extension-bridge-injected": "1.1.18", "querystring": "^0.2.1", "tronweb": "^4.4.0" } diff --git a/packages/types/package.json b/packages/types/package.json index e7be5ee5..cac3eb64 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/cross-inpage-provider-types", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], diff --git a/packages/webview/package.json b/packages/webview/package.json index 981c190d..46a71351 100644 --- a/packages/webview/package.json +++ b/packages/webview/package.json @@ -1,6 +1,6 @@ { "name": "@onekeyfe/onekey-cross-webview", - "version": "1.1.17", + "version": "1.1.18", "keywords": [ "cross-inpage-provider" ], @@ -34,8 +34,8 @@ "electron": "^17.2.0" }, "dependencies": { - "@onekeyfe/cross-inpage-provider-core": "1.1.17", - "@onekeyfe/cross-inpage-provider-types": "1.1.17", + "@onekeyfe/cross-inpage-provider-core": "1.1.18", + "@onekeyfe/cross-inpage-provider-types": "1.1.18", "react-native-webview": "^11.17.2" } }