@openocean.finance/wallet 0.4.7 → 0.4.8

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.
@@ -74,6 +74,7 @@ var MetaMask = /** @class */ (function (_super) {
74
74
  _this.supportChains = [
75
75
  types_1.EnumChains.ETH,
76
76
  types_1.EnumChains.ROPSTEN,
77
+ types_1.EnumChains.RINKEBY,
77
78
  types_1.EnumChains.BSC,
78
79
  types_1.EnumChains.BSCTEST,
79
80
  types_1.EnumChains.Polygon,
@@ -92,12 +92,12 @@ var NearWallet = /** @class */ (function (_super) {
92
92
  config = {
93
93
  networkId: "mainnet",
94
94
  keyStore: keyStore,
95
- nodeUrl: "https://public-rpc.blockpi.io/http/near",
95
+ nodeUrl: "https://rpc.mainnet.near.org",
96
96
  walletUrl: "https://wallet.mainnet.near.org",
97
97
  helperUrl: "https://helper.mainnet.near.org",
98
98
  explorerUrl: "https://explorer.mainnet.near.org",
99
99
  };
100
- return [4 /*yield*/, (0, near_api_js_1.connect)(config)];
100
+ return [4 /*yield*/, near_api_js_1.connect(config)];
101
101
  case 1:
102
102
  near = _a.sent();
103
103
  this.sdk = new near_api_js_1.WalletConnection(near, null);
package/lib/types.d.ts CHANGED
@@ -12,6 +12,7 @@ export declare enum EnumChains {
12
12
  NEAR = "near",
13
13
  ETH = "eth",
14
14
  ROPSTEN = "ropsten",
15
+ RINKEBY = "rinkeby",
15
16
  ONT = "ont",
16
17
  BSC = "bsc",
17
18
  BSCTEST = "bsctest",
package/lib/types.js CHANGED
@@ -12,6 +12,7 @@ var EnumChains;
12
12
  EnumChains["NEAR"] = "near";
13
13
  EnumChains["ETH"] = "eth";
14
14
  EnumChains["ROPSTEN"] = "ropsten";
15
+ EnumChains["RINKEBY"] = "rinkeby";
15
16
  EnumChains["ONT"] = "ont";
16
17
  EnumChains["BSC"] = "bsc";
17
18
  EnumChains["BSCTEST"] = "bsctest";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {