@openocean.finance/wallet 1.10.12 → 1.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -224,11 +224,13 @@ function link(reqConnectWalletVo, chain) {
|
|
|
224
224
|
}
|
|
225
225
|
function linkAddOrSwitch(wallet, chain) {
|
|
226
226
|
return __awaiter(this, void 0, void 0, function () {
|
|
227
|
-
var _a, currentProvider, utilsEht, chainId, rpcUrls, blockExplorerUrl, nativeCurrency, chainName, params, address, address, switchError_1, address, address, error_1, message;
|
|
227
|
+
var _a, currentProvider, utilsEht, sddf, chainId, rpcUrls, blockExplorerUrl, nativeCurrency, chainName, params, address, address, switchError_1, address, address, error_1, message;
|
|
228
228
|
return __generator(this, function (_b) {
|
|
229
229
|
switch (_b.label) {
|
|
230
230
|
case 0:
|
|
231
231
|
_a = wallet.sdk || {}, currentProvider = _a.currentProvider, utilsEht = _a.utils;
|
|
232
|
+
sddf = wallet.sdk;
|
|
233
|
+
debugger;
|
|
232
234
|
chainId = chain.chainId + '';
|
|
233
235
|
if (!chain) return [3 /*break*/, 23];
|
|
234
236
|
rpcUrls = chain.rpcUrls, blockExplorerUrl = chain.blockExplorerUrl, nativeCurrency = chain.nativeCurrency, chainName = chain.chainName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openocean.finance/wallet",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.13",
|
|
4
4
|
"description": "A multi-chain wallets manager",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@onflow/fcl": "^0.0.71",
|
|
57
57
|
"@ont-dev/ontology-dapi": "^0.5.7",
|
|
58
58
|
"@project-serum/sol-wallet-adapter": "0.2.0",
|
|
59
|
-
"@reown/appkit": "1.3
|
|
60
|
-
"@reown/appkit-adapter-wagmi": "1.3
|
|
59
|
+
"@reown/appkit": "^1.5.3",
|
|
60
|
+
"@reown/appkit-adapter-wagmi": "^1.5.3",
|
|
61
61
|
"@siddomains/sidjs": "^0.1.22",
|
|
62
62
|
"@solana/web3.js": "^1.91.0",
|
|
63
63
|
"@terra-money/terra.js": "3.1.10",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"starknet": "^4.22.0",
|
|
73
73
|
"viem": "2.21.44",
|
|
74
74
|
"wagmi": "2.12.30",
|
|
75
|
-
"web3": "^1.
|
|
75
|
+
"web3": "^1.10.4",
|
|
76
76
|
"web3-ledgerhq-frame-connector": "^1.1.0"
|
|
77
77
|
},
|
|
78
78
|
"eslintConfig": {
|