@openocean.finance/wallet 1.5.18 → 1.5.19

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
@@ -356,6 +356,17 @@ var chainObj = {
356
356
  "https://alpha-rpc.scroll.io/l2"
357
357
  ],
358
358
  compiler: 'EVM'
359
+ },
360
+ "base": {
361
+ chainName: "Base",
362
+ chainId: 8453,
363
+ blockExplorerUrl: "https://basescan.org/tx/",
364
+ nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
365
+ popularToken: [],
366
+ rpcUrls: [
367
+ "https://developer-access-mainnet.base.org"
368
+ ],
369
+ compiler: 'EVM'
359
370
  }
360
371
  };
361
372
  var Chains = /** @class */ (function () {
@@ -84,6 +84,7 @@ var Coin98 = /** @class */ (function (_super) {
84
84
  types_1.EnumChains.OKEX,
85
85
  types_1.EnumChains.Aurora,
86
86
  types_1.EnumChains.Scroll,
87
+ types_1.EnumChains.Base,
87
88
  ];
88
89
  _this.type = types_1.EnumWalletType.Extension;
89
90
  _this.sdk = null;
@@ -83,6 +83,7 @@ var CoinbaseWallet = /** @class */ (function (_super) {
83
83
  types_1.EnumChains.Metis,
84
84
  types_1.EnumChains.Telos,
85
85
  types_1.EnumChains.Scroll,
86
+ types_1.EnumChains.Base,
86
87
  ];
87
88
  _this.type = types_1.EnumWalletType.Extension;
88
89
  _this.sdk = null;
@@ -84,6 +84,7 @@ var ImTokenWallet = /** @class */ (function (_super) {
84
84
  types_1.EnumChains.Linea,
85
85
  types_1.EnumChains.PolygonzkEVM,
86
86
  types_1.EnumChains.Scroll,
87
+ types_1.EnumChains.Base,
87
88
  ];
88
89
  _this.type = types_1.EnumWalletType.Mobile;
89
90
  _this.sdk = null;
@@ -100,6 +100,7 @@ var MetaMask = /** @class */ (function (_super) {
100
100
  types_1.EnumChains.PolygonzkEVM,
101
101
  types_1.EnumChains.Telos,
102
102
  types_1.EnumChains.Scroll,
103
+ types_1.EnumChains.Base,
103
104
  ];
104
105
  _this.type = types_1.EnumWalletType.Extension;
105
106
  _this.sdk = null;
@@ -85,6 +85,7 @@ var OKXWallet = /** @class */ (function (_super) {
85
85
  types_1.EnumChains.XDai,
86
86
  types_1.EnumChains.Moonriver,
87
87
  types_1.EnumChains.Scroll,
88
+ types_1.EnumChains.Base,
88
89
  ];
89
90
  _this.type = types_1.EnumWalletType.Extension;
90
91
  _this.sdk = null;
@@ -94,6 +94,7 @@ var SafePalWallet = /** @class */ (function (_super) {
94
94
  types_1.EnumChains.Linea,
95
95
  types_1.EnumChains.PolygonzkEVM,
96
96
  types_1.EnumChains.Scroll,
97
+ types_1.EnumChains.Base,
97
98
  ];
98
99
  _this.type = types_1.EnumWalletType.Extension;
99
100
  _this.sdk = null;
@@ -94,6 +94,7 @@ var TrustWallet = /** @class */ (function (_super) {
94
94
  types_1.EnumChains.Linea,
95
95
  types_1.EnumChains.PolygonzkEVM,
96
96
  types_1.EnumChains.Scroll,
97
+ types_1.EnumChains.Base,
97
98
  ];
98
99
  _this.type = types_1.EnumWalletType.Extension;
99
100
  _this.sdk = null;
package/lib/types.d.ts CHANGED
@@ -46,7 +46,8 @@ export declare enum EnumChains {
46
46
  Linea = "linea",
47
47
  Starknet = "starknet",
48
48
  Telos = "telos",
49
- Scroll = "scroll"
49
+ Scroll = "scroll",
50
+ Base = "base"
50
51
  }
51
52
  export declare enum EnumWalletType {
52
53
  Extension = "Extension",
package/lib/types.js CHANGED
@@ -47,6 +47,7 @@ var EnumChains;
47
47
  EnumChains["Starknet"] = "starknet";
48
48
  EnumChains["Telos"] = "telos";
49
49
  EnumChains["Scroll"] = "scroll";
50
+ EnumChains["Base"] = "base";
50
51
  })(EnumChains = exports.EnumChains || (exports.EnumChains = {}));
51
52
  var EnumWalletType;
52
53
  (function (EnumWalletType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.5.18",
3
+ "version": "1.5.19",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {