@openocean.finance/wallet 0.4.56 → 0.4.58

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.
@@ -71,7 +71,7 @@ var CoinbaseWallet = /** @class */ (function (_super) {
71
71
  var _this = _super !== null && _super.apply(this, arguments) || this;
72
72
  _this.name = types_1.EnumWalletName.CoinbaseWallet;
73
73
  _this.icon = coinbase_svg_1.default;
74
- _this.supportChains = [types_1.EnumChains.ETH, types_1.EnumChains.BSC, types_1.EnumChains.Polygon, types_1.EnumChains.XDai, types_1.EnumChains.Fantom, types_1.EnumChains.Avalanche, types_1.EnumChains.Arbitrum, types_1.EnumChains.Optimism];
74
+ _this.supportChains = [types_1.EnumChains.ETH, types_1.EnumChains.BSC, types_1.EnumChains.Polygon, types_1.EnumChains.XDai, types_1.EnumChains.Fantom, types_1.EnumChains.Avalanche, types_1.EnumChains.Arbitrum, types_1.EnumChains.Optimism, types_1.EnumChains.Metis];
75
75
  _this.type = types_1.EnumWalletType.Extension;
76
76
  _this.sdk = null;
77
77
  _this.installUrl = "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad";
@@ -88,8 +88,9 @@ var GnosisSafeWallet = /** @class */ (function (_super) {
88
88
  switch (_a.label) {
89
89
  case 0:
90
90
  opts = {
91
- allowedDomains: [/gnosis-safe.io/],
92
- debug: true
91
+ // allowedDomains: [/gnosis-safe.io/],
92
+ allowedDomains: [/gnosis-safe.io$/, /app.safe.global$/],
93
+ debug: false
93
94
  };
94
95
  sdk = new safe_apps_sdk_1.default(opts);
95
96
  return [4 /*yield*/, sdk.safe.getInfo()];
@@ -90,7 +90,8 @@ var MetaMask = /** @class */ (function (_super) {
90
90
  types_1.EnumChains.Aurora,
91
91
  types_1.EnumChains.Cronos,
92
92
  types_1.EnumChains.Harmony,
93
- types_1.EnumChains.ONTEVM
93
+ types_1.EnumChains.ONTEVM,
94
+ types_1.EnumChains.Metis
94
95
  ];
95
96
  _this.type = types_1.EnumWalletType.Extension;
96
97
  _this.sdk = null;
@@ -85,7 +85,8 @@ var SafePalWallet = /** @class */ (function (_super) {
85
85
  types_1.EnumChains.Boba,
86
86
  types_1.EnumChains.Moonriver,
87
87
  types_1.EnumChains.Cronos,
88
- types_1.EnumChains.Harmony
88
+ types_1.EnumChains.Harmony,
89
+ types_1.EnumChains.Metis
89
90
  ];
90
91
  _this.type = types_1.EnumWalletType.Extension;
91
92
  _this.sdk = null;
@@ -85,7 +85,8 @@ var TrustWallet = /** @class */ (function (_super) {
85
85
  types_1.EnumChains.Boba,
86
86
  types_1.EnumChains.Moonriver,
87
87
  types_1.EnumChains.Cronos,
88
- types_1.EnumChains.Harmony
88
+ types_1.EnumChains.Harmony,
89
+ types_1.EnumChains.Metis
89
90
  ];
90
91
  _this.type = types_1.EnumWalletType.Extension;
91
92
  _this.sdk = null;
@@ -98,7 +98,8 @@ var WalletConnect = /** @class */ (function (_super) {
98
98
  types_1.EnumChains.Moonriver,
99
99
  types_1.EnumChains.Aurora,
100
100
  types_1.EnumChains.Cronos,
101
- types_1.EnumChains.Harmony
101
+ types_1.EnumChains.Harmony,
102
+ types_1.EnumChains.Metis
102
103
  ];
103
104
  _this.type = types_1.EnumWalletType.WalletConnect;
104
105
  _this.sdk = null;
package/lib/types.d.ts CHANGED
@@ -36,7 +36,8 @@ export declare enum EnumChains {
36
36
  Cosmos = "cosmos",
37
37
  Osmosis = "osmosis",
38
38
  Flow = "flow",
39
- Aptos = "aptos"
39
+ Aptos = "aptos",
40
+ Metis = "metis"
40
41
  }
41
42
  export declare enum EnumWalletType {
42
43
  Extension = "Extension",
package/lib/types.js CHANGED
@@ -37,6 +37,7 @@ var EnumChains;
37
37
  EnumChains["Osmosis"] = "osmosis";
38
38
  EnumChains["Flow"] = "flow";
39
39
  EnumChains["Aptos"] = "aptos";
40
+ EnumChains["Metis"] = "metis";
40
41
  })(EnumChains = exports.EnumChains || (exports.EnumChains = {}));
41
42
  var EnumWalletType;
42
43
  (function (EnumWalletType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "0.4.56",
3
+ "version": "0.4.58",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {