@openocean.finance/wallet 1.8.0 → 1.8.1
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/TryWalletConnect/index.js +3 -1
- package/lib/types.js +4 -4
- package/package.json +1 -1
- package/lib/assets/.DS_Store +0 -0
|
@@ -152,7 +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(
|
|
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/");
|
|
156
158
|
if (res) {
|
|
157
159
|
// connect(wallet);
|
|
158
160
|
}
|
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
|
|
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
|
|
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
|
|
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
|
|
169
|
+
})(EnumErrors = exports.EnumErrors || (exports.EnumErrors = {}));
|
package/package.json
CHANGED
package/lib/assets/.DS_Store
DELETED
|
Binary file
|