@openocean.finance/wallet 1.5.10 → 1.5.11
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 +11 -0
- package/lib/Wallets/BscWallet.js +3 -1
- package/lib/Wallets/CloverWallet.js +15 -1
- package/lib/Wallets/CoinbaseWallet.js +12 -1
- package/lib/Wallets/MetaMask.js +2 -1
- package/lib/Wallets/UnstoppableDomains.js +2 -1
- package/lib/Wallets/WalletConnect.js +2 -1
- package/lib/types.d.ts +2 -1
- package/lib/types.js +1 -0
- package/package.json +1 -1
package/lib/Chains.js
CHANGED
|
@@ -323,6 +323,17 @@ var chainObj = {
|
|
|
323
323
|
"https://rpc.goerli.linea.build"
|
|
324
324
|
],
|
|
325
325
|
compiler: 'EVM'
|
|
326
|
+
},
|
|
327
|
+
"telos": {
|
|
328
|
+
chainName: "Telos EVM Mainnet",
|
|
329
|
+
chainId: 40,
|
|
330
|
+
blockExplorerUrl: "https://teloscan.io/tx/",
|
|
331
|
+
nativeCurrency: { name: "TLOS", symbol: "TLOS", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
|
|
332
|
+
popularToken: [],
|
|
333
|
+
rpcUrls: [
|
|
334
|
+
"https://mainnet.telos.net:443/evm"
|
|
335
|
+
],
|
|
336
|
+
compiler: 'EVM'
|
|
326
337
|
}
|
|
327
338
|
};
|
|
328
339
|
var Chains = /** @class */ (function () {
|
package/lib/Wallets/BscWallet.js
CHANGED
|
@@ -71,7 +71,9 @@ var BscWallet = /** @class */ (function (_super) {
|
|
|
71
71
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
72
72
|
_this.name = types_1.EnumWalletName.BscWallet;
|
|
73
73
|
_this.icon = bscwallet_svg_1.default;
|
|
74
|
-
_this.supportChains = [
|
|
74
|
+
_this.supportChains = [
|
|
75
|
+
types_1.EnumChains.BSC
|
|
76
|
+
];
|
|
75
77
|
_this.type = types_1.EnumWalletType.Extension;
|
|
76
78
|
_this.sdk = null;
|
|
77
79
|
_this.installUrl = "https://chrome.google.com/webstore/detail/binance-wallet/fhbohimaelbohpjbbldcngcnapndodjp";
|
|
@@ -72,7 +72,21 @@ var CloverWallet = /** @class */ (function (_super) {
|
|
|
72
72
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
73
73
|
_this.name = types_1.EnumWalletName.CloverWallet;
|
|
74
74
|
_this.icon = clover_svg_1.default;
|
|
75
|
-
_this.supportChains = [
|
|
75
|
+
_this.supportChains = [
|
|
76
|
+
types_1.EnumChains.ETH,
|
|
77
|
+
types_1.EnumChains.BSC,
|
|
78
|
+
types_1.EnumChains.Polygon,
|
|
79
|
+
types_1.EnumChains.OKEX,
|
|
80
|
+
types_1.EnumChains.XDai,
|
|
81
|
+
types_1.EnumChains.HECO,
|
|
82
|
+
types_1.EnumChains.Fantom,
|
|
83
|
+
types_1.EnumChains.Avalanche,
|
|
84
|
+
types_1.EnumChains.Arbitrum,
|
|
85
|
+
types_1.EnumChains.Optimism,
|
|
86
|
+
types_1.EnumChains.Boba,
|
|
87
|
+
types_1.EnumChains.Solana,
|
|
88
|
+
types_1.EnumChains.Telos,
|
|
89
|
+
];
|
|
76
90
|
_this.type = types_1.EnumWalletType.Extension;
|
|
77
91
|
_this.sdk = null;
|
|
78
92
|
_this.installUrl = "https://chrome.google.com/webstore/detail/clv-wallet/nhnkbkgjikgcigadomkphalanndcapjk";
|
|
@@ -71,7 +71,18 @@ 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 = [
|
|
74
|
+
_this.supportChains = [
|
|
75
|
+
types_1.EnumChains.ETH,
|
|
76
|
+
types_1.EnumChains.BSC,
|
|
77
|
+
types_1.EnumChains.Polygon,
|
|
78
|
+
types_1.EnumChains.XDai,
|
|
79
|
+
types_1.EnumChains.Fantom,
|
|
80
|
+
types_1.EnumChains.Avalanche,
|
|
81
|
+
types_1.EnumChains.Arbitrum,
|
|
82
|
+
types_1.EnumChains.Optimism,
|
|
83
|
+
types_1.EnumChains.Metis,
|
|
84
|
+
types_1.EnumChains.Telos,
|
|
85
|
+
];
|
|
75
86
|
_this.type = types_1.EnumWalletType.Extension;
|
|
76
87
|
_this.sdk = null;
|
|
77
88
|
_this.installUrl = "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad";
|
package/lib/Wallets/MetaMask.js
CHANGED
|
@@ -97,7 +97,8 @@ var MetaMask = /** @class */ (function (_super) {
|
|
|
97
97
|
types_1.EnumChains.Klaytn,
|
|
98
98
|
types_1.EnumChains.ZKSYNC,
|
|
99
99
|
types_1.EnumChains.Linea,
|
|
100
|
-
types_1.EnumChains.PolygonzkEVM
|
|
100
|
+
types_1.EnumChains.PolygonzkEVM,
|
|
101
|
+
types_1.EnumChains.Telos,
|
|
101
102
|
];
|
|
102
103
|
_this.type = types_1.EnumWalletType.Extension;
|
|
103
104
|
_this.sdk = null;
|
|
@@ -90,7 +90,8 @@ var UnstoppableDomains = /** @class */ (function (_super) {
|
|
|
90
90
|
types_1.EnumChains.Moonriver,
|
|
91
91
|
types_1.EnumChains.Aurora,
|
|
92
92
|
types_1.EnumChains.Cronos,
|
|
93
|
-
types_1.EnumChains.Harmony
|
|
93
|
+
types_1.EnumChains.Harmony,
|
|
94
|
+
types_1.EnumChains.Telos,
|
|
94
95
|
];
|
|
95
96
|
_this.type = types_1.EnumWalletType.Mobile;
|
|
96
97
|
_this.sdk = null;
|
|
@@ -94,7 +94,8 @@ var WalletConnect = /** @class */ (function (_super) {
|
|
|
94
94
|
types_1.EnumChains.Klaytn,
|
|
95
95
|
types_1.EnumChains.ZKSYNC,
|
|
96
96
|
types_1.EnumChains.Linea,
|
|
97
|
-
types_1.EnumChains.PolygonzkEVM
|
|
97
|
+
types_1.EnumChains.PolygonzkEVM,
|
|
98
|
+
types_1.EnumChains.Telos,
|
|
98
99
|
];
|
|
99
100
|
_this.type = types_1.EnumWalletType.WalletConnect;
|
|
100
101
|
_this.sdk = null;
|
package/lib/types.d.ts
CHANGED
package/lib/types.js
CHANGED
|
@@ -45,6 +45,7 @@ var EnumChains;
|
|
|
45
45
|
EnumChains["PolygonzkEVM"] = "polygon_zkevm";
|
|
46
46
|
EnumChains["Linea"] = "linea";
|
|
47
47
|
EnumChains["Starknet"] = "starknet";
|
|
48
|
+
EnumChains["Telos"] = "telos";
|
|
48
49
|
})(EnumChains = exports.EnumChains || (exports.EnumChains = {}));
|
|
49
50
|
var EnumWalletType;
|
|
50
51
|
(function (EnumWalletType) {
|