@openocean.finance/wallet 1.9.11 → 1.9.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.
package/lib/Chains.js CHANGED
@@ -517,6 +517,14 @@ var chainObj = {
517
517
  nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
518
518
  rpcUrls: ["https://arbitrum-sepolia.blockpi.network/v1/rpc/public"]
519
519
  },
520
+ "gravity": {
521
+ compiler: 'EVM',
522
+ chainName: "Gravity Alpha Mainnet",
523
+ chainId: 1625,
524
+ blockExplorerUrl: "https://explorer.gravity.xyz/tx/",
525
+ nativeCurrency: { name: "G", symbol: "G", decimals: 18, address: "0x0000000000000000000000000000000000000000" },
526
+ rpcUrls: ["https://rpc.gravity.xyz"]
527
+ },
520
528
  };
521
529
  var Chains = /** @class */ (function () {
522
530
  function Chains() {
@@ -91,6 +91,7 @@ var CoinbaseWallet = /** @class */ (function (_super) {
91
91
  types_1.EnumChains.Rootstock,
92
92
  types_1.EnumChains.Sei,
93
93
  types_1.EnumChains.ArbitrumSepolia,
94
+ types_1.EnumChains.Gravity,
94
95
  ];
95
96
  _this.type = types_1.EnumWalletType.Extension;
96
97
  _this.sdk = null;
@@ -61,7 +61,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
61
61
  * @desc
62
62
  */
63
63
  // @ts-ignore
64
- var metamask_svg_1 = __importDefault(require("../assets/metamask.svg"));
64
+ var gnosisSafe_svg_1 = __importDefault(require("../assets/gnosisSafe.svg"));
65
65
  var types_1 = require("../types");
66
66
  var BaseWallet_1 = __importDefault(require("./BaseWallet"));
67
67
  var web3_1 = __importDefault(require("web3"));
@@ -72,7 +72,7 @@ var GnosisSafeWallet = /** @class */ (function (_super) {
72
72
  function GnosisSafeWallet() {
73
73
  var _this = _super !== null && _super.apply(this, arguments) || this;
74
74
  _this.name = types_1.EnumWalletName.GnosisSafeWallet;
75
- _this.icon = metamask_svg_1.default;
75
+ _this.icon = gnosisSafe_svg_1.default;
76
76
  _this.supportChains = [
77
77
  types_1.EnumChains.ETH,
78
78
  types_1.EnumChains.XDai,
@@ -113,6 +113,7 @@ var MetaMask = /** @class */ (function (_super) {
113
113
  types_1.EnumChains.Rootstock,
114
114
  types_1.EnumChains.Sei,
115
115
  types_1.EnumChains.ArbitrumSepolia,
116
+ types_1.EnumChains.Gravity,
116
117
  ];
117
118
  _this.type = types_1.EnumWalletType.Extension;
118
119
  _this.sdk = null;
@@ -94,6 +94,7 @@ var OKXWallet = /** @class */ (function (_super) {
94
94
  types_1.EnumChains.Rootstock,
95
95
  types_1.EnumChains.Sei,
96
96
  types_1.EnumChains.ArbitrumSepolia,
97
+ types_1.EnumChains.Gravity,
97
98
  ];
98
99
  _this.type = types_1.EnumWalletType.Extension;
99
100
  _this.sdk = null;
@@ -84,7 +84,8 @@ var RabbyWallet = /** @class */ (function (_super) {
84
84
  types_1.EnumChains.ZKSYNC,
85
85
  types_1.EnumChains.PolygonzkEVM,
86
86
  types_1.EnumChains.Mode,
87
- types_1.EnumChains.Rootstock
87
+ types_1.EnumChains.Rootstock,
88
+ types_1.EnumChains.Gravity,
88
89
  ];
89
90
  _this.type = types_1.EnumWalletType.Extension;
90
91
  _this.sdk = null;
@@ -103,7 +103,8 @@ var TrustWallet = /** @class */ (function (_super) {
103
103
  types_1.EnumChains.Mode,
104
104
  types_1.EnumChains.PulseChain,
105
105
  types_1.EnumChains.MerlinChain,
106
- types_1.EnumChains.Rootstock
106
+ types_1.EnumChains.Rootstock,
107
+ types_1.EnumChains.Gravity,
107
108
  ];
108
109
  _this.type = types_1.EnumWalletType.Extension;
109
110
  _this.sdk = null;
@@ -109,6 +109,7 @@ var WalletConnect = /** @class */ (function (_super) {
109
109
  types_1.EnumChains.Rootstock,
110
110
  types_1.EnumChains.Sei,
111
111
  types_1.EnumChains.ArbitrumSepolia,
112
+ types_1.EnumChains.Gravity,
112
113
  ];
113
114
  _this.type = types_1.EnumWalletType.WalletConnect;
114
115
  _this.sdk = null;
@@ -0,0 +1,6 @@
1
+ <svg width="40" height="40" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="35" height="35" rx="17.5" fill="#12FF80"/>
3
+ <path d="M28.1421 17.4982H25.5277C24.7469 17.4982 24.1142 18.131 24.1142 18.912V22.7074C24.1142 23.4884 23.4815 24.1212 22.7007 24.1212H12.3C11.5192 24.1212 10.8865 24.7541 10.8865 25.535V28.15C10.8865 28.931 11.5192 29.5638 12.3 29.5638H23.3027C24.0836 29.5638 24.7072 28.931 24.7072 28.15V26.052C24.7072 25.271 25.3399 24.717 26.1207 24.717H28.1415C28.9224 24.717 29.555 24.0842 29.555 23.3032V18.8956C29.555 18.1146 28.9224 17.4982 28.1415 17.4982H28.1421Z" fill="#121312"/>
4
+ <path d="M10.8859 12.3032C10.8859 11.5222 11.5186 10.8894 12.2994 10.8894H22.6938C23.4746 10.8894 24.1073 10.2565 24.1073 9.47556V6.86063C24.1073 6.07964 23.4746 5.44681 22.6938 5.44681H11.6969C10.9161 5.44681 10.2834 6.07964 10.2834 6.86063V8.87554C10.2834 9.65652 9.6507 10.2894 8.86988 10.2894H6.85808C6.07727 10.2894 5.44458 10.9222 5.44458 11.7032V16.1155C5.44458 16.8965 6.07991 17.4976 6.86073 17.4976H9.47507C10.2559 17.4976 10.8886 16.8648 10.8886 16.0838L10.8859 12.3037V12.3032Z" fill="#121312"/>
5
+ <path d="M16.2696 14.7493H18.7808C19.5992 14.7493 20.2631 15.4139 20.2631 16.2319V18.7437C20.2631 19.5622 19.5986 20.2263 18.7808 20.2263H16.2696C15.4513 20.2263 14.7874 19.5617 14.7874 18.7437V16.2319C14.7874 15.4134 15.4518 14.7493 16.2696 14.7493Z" fill="#121312"/>
6
+ </svg>
package/lib/types.d.ts CHANGED
@@ -60,7 +60,8 @@ export declare enum EnumChains {
60
60
  Rootstock = "rootstock",
61
61
  Sei = "sei",
62
62
  Btc = "btc",
63
- ArbitrumSepolia = "arbitrum_sepolia"
63
+ ArbitrumSepolia = "arbitrum_sepolia",
64
+ Gravity = "gravity"
64
65
  }
65
66
  export declare enum EnumWalletType {
66
67
  Extension = "Extension",
package/lib/types.js CHANGED
@@ -61,6 +61,7 @@ var EnumChains;
61
61
  EnumChains["Sei"] = "sei";
62
62
  EnumChains["Btc"] = "btc";
63
63
  EnumChains["ArbitrumSepolia"] = "arbitrum_sepolia";
64
+ EnumChains["Gravity"] = "gravity";
64
65
  })(EnumChains || (exports.EnumChains = EnumChains = {}));
65
66
  var EnumWalletType;
66
67
  (function (EnumWalletType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.9.11",
3
+ "version": "1.9.13",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
Binary file