@openocean.finance/wallet 1.8.2 → 1.8.4

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.
@@ -152,9 +152,9 @@ function link(reqConnectWalletVo, chain) {
152
152
  // https://solana-api.projectserum.com
153
153
  // https://mercuria-fronten-1cd8.mainnet.rpcpool.com/
154
154
  // "https://rpc.ankr.com/solana/ad9d7bb3250b29d691330e63e3b46778099aca307af8f5e49b2ebc0a470dd848"
155
- wallet.connection = new web3_js_1.Connection(
156
- // "https://solana-mainnet.g.alchemy.com/v2/aTdPTJc3R936_mNf4ABtPvl1NFgejm8w"
157
- "https://few-silent-choice.solana-mainnet.quiknode.pro/b37eb00eb03a5a5e0ae9d9b7cf535b0b9c0dd6a9/");
155
+ wallet.connection = new web3_js_1.Connection("https://solana-mainnet.g.alchemy.com/v2/O2uK_K8FGzQeuRZyI2msw2EgwIGqNoHP"
156
+ // "https://few-silent-choice.solana-mainnet.quiknode.pro/b37eb00eb03a5a5e0ae9d9b7cf535b0b9c0dd6a9/"
157
+ );
158
158
  if (res) {
159
159
  // connect(wallet);
160
160
  }
@@ -101,6 +101,7 @@ var WalletConnect = /** @class */ (function (_super) {
101
101
  types_1.EnumChains.Mantle,
102
102
  types_1.EnumChains.Manta,
103
103
  types_1.EnumChains.X1,
104
+ types_1.EnumChains.Base,
104
105
  types_1.EnumChains.Blast,
105
106
  types_1.EnumChains.Mode,
106
107
  types_1.EnumChains.PulseChain,
package/lib/types.js CHANGED
@@ -58,14 +58,14 @@ var EnumChains;
58
58
  EnumChains["PulseChain"] = "pulse";
59
59
  EnumChains["MerlinChain"] = "merlin";
60
60
  EnumChains["Rootstock"] = "rootstock";
61
- })(EnumChains || (exports.EnumChains = EnumChains = {}));
61
+ })(EnumChains = exports.EnumChains || (exports.EnumChains = {}));
62
62
  var EnumWalletType;
63
63
  (function (EnumWalletType) {
64
64
  EnumWalletType["Extension"] = "Extension";
65
65
  EnumWalletType["WalletConnect"] = "WalletConnect";
66
66
  EnumWalletType["Web"] = "Web";
67
67
  EnumWalletType["Mobile"] = "Mobile";
68
- })(EnumWalletType || (exports.EnumWalletType = EnumWalletType = {}));
68
+ })(EnumWalletType = exports.EnumWalletType || (exports.EnumWalletType = {}));
69
69
  var EnumWalletName;
70
70
  (function (EnumWalletName) {
71
71
  EnumWalletName["NearWallet"] = "NearWallet";
@@ -118,7 +118,7 @@ var EnumWalletName;
118
118
  EnumWalletName["BlockWallet"] = "BlockWallet";
119
119
  EnumWalletName["HaHaWallet"] = "HaHa Wallet";
120
120
  EnumWalletName["ZerionWallet"] = "Zerion Wallet";
121
- })(EnumWalletName || (exports.EnumWalletName = EnumWalletName = {}));
121
+ })(EnumWalletName = exports.EnumWalletName || (exports.EnumWalletName = {}));
122
122
  var EnumErrors;
123
123
  (function (EnumErrors) {
124
124
  EnumErrors["NotMetamask"] = "40001";
@@ -166,4 +166,4 @@ var EnumErrors;
166
166
  EnumErrors["NoFewcha"] = "40045";
167
167
  EnumErrors["NoBlockWallet"] = "40046";
168
168
  EnumErrors["NotZerion"] = "40047";
169
- })(EnumErrors || (exports.EnumErrors = EnumErrors = {}));
169
+ })(EnumErrors = exports.EnumErrors || (exports.EnumErrors = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.8.2",
3
+ "version": "1.8.4",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
Binary file