@openocean.finance/wallet 1.5.23 → 1.5.24

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
@@ -367,6 +367,28 @@ var chainObj = {
367
367
  "https://developer-access-mainnet.base.org"
368
368
  ],
369
369
  compiler: 'EVM'
370
+ },
371
+ "opBNB": {
372
+ chainName: "opBNB",
373
+ chainId: 204,
374
+ blockExplorerUrl: "https://mainnet.opbnbscan.com/tx/",
375
+ nativeCurrency: { name: "BNB", symbol: "BNB", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
376
+ popularToken: [],
377
+ rpcUrls: [
378
+ "https://opbnb-mainnet-rpc.bnbchain.org "
379
+ ],
380
+ compiler: 'EVM'
381
+ },
382
+ "mantle": {
383
+ chainName: "Mantle",
384
+ chainId: 5000,
385
+ blockExplorerUrl: "https://explorer.mantle.xyz/tx/",
386
+ nativeCurrency: { name: "MNT", symbol: "MNT", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
387
+ popularToken: [],
388
+ rpcUrls: [
389
+ "https://mantle.publicnode.com"
390
+ ],
391
+ compiler: 'EVM'
370
392
  }
371
393
  };
372
394
  var Chains = /** @class */ (function () {
@@ -85,6 +85,8 @@ var Coin98 = /** @class */ (function (_super) {
85
85
  types_1.EnumChains.Aurora,
86
86
  types_1.EnumChains.Scroll,
87
87
  types_1.EnumChains.Base,
88
+ types_1.EnumChains.OpBNB,
89
+ types_1.EnumChains.Mantle,
88
90
  ];
89
91
  _this.type = types_1.EnumWalletType.Extension;
90
92
  _this.sdk = null;
@@ -84,6 +84,8 @@ var CoinbaseWallet = /** @class */ (function (_super) {
84
84
  types_1.EnumChains.Telos,
85
85
  types_1.EnumChains.Scroll,
86
86
  types_1.EnumChains.Base,
87
+ types_1.EnumChains.OpBNB,
88
+ types_1.EnumChains.Mantle,
87
89
  ];
88
90
  _this.type = types_1.EnumWalletType.Extension;
89
91
  _this.sdk = null;
@@ -85,6 +85,8 @@ var ImTokenWallet = /** @class */ (function (_super) {
85
85
  types_1.EnumChains.PolygonzkEVM,
86
86
  types_1.EnumChains.Scroll,
87
87
  types_1.EnumChains.Base,
88
+ types_1.EnumChains.OpBNB,
89
+ types_1.EnumChains.Mantle,
88
90
  ];
89
91
  _this.type = types_1.EnumWalletType.Mobile;
90
92
  _this.sdk = null;
@@ -101,6 +101,8 @@ var MetaMask = /** @class */ (function (_super) {
101
101
  types_1.EnumChains.Telos,
102
102
  types_1.EnumChains.Scroll,
103
103
  types_1.EnumChains.Base,
104
+ types_1.EnumChains.OpBNB,
105
+ types_1.EnumChains.Mantle,
104
106
  ];
105
107
  _this.type = types_1.EnumWalletType.Extension;
106
108
  _this.sdk = null;
@@ -86,6 +86,8 @@ var OKXWallet = /** @class */ (function (_super) {
86
86
  types_1.EnumChains.Moonriver,
87
87
  types_1.EnumChains.Scroll,
88
88
  types_1.EnumChains.Base,
89
+ types_1.EnumChains.OpBNB,
90
+ types_1.EnumChains.Mantle,
89
91
  ];
90
92
  _this.type = types_1.EnumWalletType.Extension;
91
93
  _this.sdk = null;
@@ -95,6 +95,8 @@ var SafePalWallet = /** @class */ (function (_super) {
95
95
  types_1.EnumChains.PolygonzkEVM,
96
96
  types_1.EnumChains.Scroll,
97
97
  types_1.EnumChains.Base,
98
+ types_1.EnumChains.OpBNB,
99
+ types_1.EnumChains.Mantle,
98
100
  ];
99
101
  _this.type = types_1.EnumWalletType.Extension;
100
102
  _this.sdk = null;
@@ -95,6 +95,8 @@ var TrustWallet = /** @class */ (function (_super) {
95
95
  types_1.EnumChains.PolygonzkEVM,
96
96
  types_1.EnumChains.Scroll,
97
97
  types_1.EnumChains.Base,
98
+ types_1.EnumChains.OpBNB,
99
+ types_1.EnumChains.Mantle,
98
100
  ];
99
101
  _this.type = types_1.EnumWalletType.Extension;
100
102
  _this.sdk = null;
package/lib/types.d.ts CHANGED
@@ -47,7 +47,9 @@ export declare enum EnumChains {
47
47
  Starknet = "starknet",
48
48
  Telos = "telos",
49
49
  Scroll = "scroll",
50
- Base = "base"
50
+ Base = "base",
51
+ OpBNB = "opBNB",
52
+ Mantle = "mantle"
51
53
  }
52
54
  export declare enum EnumWalletType {
53
55
  Extension = "Extension",
package/lib/types.js CHANGED
@@ -48,6 +48,8 @@ var EnumChains;
48
48
  EnumChains["Telos"] = "telos";
49
49
  EnumChains["Scroll"] = "scroll";
50
50
  EnumChains["Base"] = "base";
51
+ EnumChains["OpBNB"] = "opBNB";
52
+ EnumChains["Mantle"] = "mantle";
51
53
  })(EnumChains = exports.EnumChains || (exports.EnumChains = {}));
52
54
  var EnumWalletType;
53
55
  (function (EnumWalletType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.5.23",
3
+ "version": "1.5.24",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {