@openocean.finance/wallet 1.9.10 → 1.9.11

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.
package/lib/Chains.js CHANGED
@@ -187,7 +187,7 @@ var chainObj = {
187
187
  "cronos": {
188
188
  chainName: "Cronos Mainnet",
189
189
  chainId: 25,
190
- blockExplorerUrl: "https://cronos.org/explorer",
190
+ blockExplorerUrl: "https://cronos.org/explorer/tx/",
191
191
  nativeCurrency: {
192
192
  name: "CRO",
193
193
  symbol: "CRO",
@@ -297,7 +297,7 @@ var chainObj = {
297
297
  "celo": {
298
298
  chainName: "Celo Mainnet",
299
299
  chainId: 42220,
300
- blockExplorerUrl: "https://explorer.celo.org/tx/",
300
+ blockExplorerUrl: "https://explorer.celo.org/mainnet/tx/",
301
301
  // 此处不设置地址,原因是celo没有存在正常意义上的native token
302
302
  nativeCurrency: { name: "CELO", symbol: "CELO", decimals: 18, address: "" },
303
303
  popularToken: [],
Binary file
package/lib/types.js CHANGED
@@ -61,14 +61,14 @@ var EnumChains;
61
61
  EnumChains["Sei"] = "sei";
62
62
  EnumChains["Btc"] = "btc";
63
63
  EnumChains["ArbitrumSepolia"] = "arbitrum_sepolia";
64
- })(EnumChains = exports.EnumChains || (exports.EnumChains = {}));
64
+ })(EnumChains || (exports.EnumChains = EnumChains = {}));
65
65
  var EnumWalletType;
66
66
  (function (EnumWalletType) {
67
67
  EnumWalletType["Extension"] = "Extension";
68
68
  EnumWalletType["WalletConnect"] = "WalletConnect";
69
69
  EnumWalletType["Web"] = "Web";
70
70
  EnumWalletType["Mobile"] = "Mobile";
71
- })(EnumWalletType = exports.EnumWalletType || (exports.EnumWalletType = {}));
71
+ })(EnumWalletType || (exports.EnumWalletType = EnumWalletType = {}));
72
72
  var EnumWalletName;
73
73
  (function (EnumWalletName) {
74
74
  EnumWalletName["NearWallet"] = "NearWallet";
@@ -124,7 +124,7 @@ var EnumWalletName;
124
124
  EnumWalletName["CompassWallet"] = "Compass Wallet";
125
125
  EnumWalletName["OKXBtcWallet"] = "OKX Wallet";
126
126
  EnumWalletName["UnisatWallet"] = "Unisat Wallet";
127
- })(EnumWalletName = exports.EnumWalletName || (exports.EnumWalletName = {}));
127
+ })(EnumWalletName || (exports.EnumWalletName = EnumWalletName = {}));
128
128
  var EnumErrors;
129
129
  (function (EnumErrors) {
130
130
  EnumErrors["NotMetamask"] = "40001";
@@ -175,4 +175,4 @@ var EnumErrors;
175
175
  EnumErrors["NotCompassWallet"] = "40048";
176
176
  EnumErrors["NotOkxBtxWallet"] = "40049";
177
177
  EnumErrors["NotUnisatWallet"] = "40050";
178
- })(EnumErrors = exports.EnumErrors || (exports.EnumErrors = {}));
178
+ })(EnumErrors || (exports.EnumErrors = EnumErrors = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.9.10",
3
+ "version": "1.9.11",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {