@injectivelabs/wallet-strategy 1.17.2-alpha.0 → 1.17.2-alpha.2
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/dist/cjs/index.cjs +2 -3
- package/dist/esm/index.js +2 -3
- package/package.json +12 -13
package/dist/cjs/index.cjs
CHANGED
|
@@ -47,7 +47,6 @@ function _defineProperty(e, r, t) {
|
|
|
47
47
|
//#region src/strategy/index.ts
|
|
48
48
|
const loadEvmStrategy = () => import("@injectivelabs/wallet-evm").then((m) => m.EvmWalletStrategy);
|
|
49
49
|
const loadCosmosStrategy = () => import("@injectivelabs/wallet-cosmos").then((m) => m.CosmosWalletStrategy);
|
|
50
|
-
const loadCosmostationStrategy = () => import("@injectivelabs/wallet-cosmostation").then((m) => m.CosmostationWalletStrategy);
|
|
51
50
|
const loadLedgerStrategies = () => import("@injectivelabs/wallet-ledger").then((m) => ({
|
|
52
51
|
LedgerLiveStrategy: m.LedgerLiveStrategy,
|
|
53
52
|
LedgerLegacyStrategy: m.LedgerLegacyStrategy
|
|
@@ -95,11 +94,11 @@ const createStrategy = async ({ args, wallet }) => {
|
|
|
95
94
|
case __injectivelabs_wallet_base.Wallet.Keplr:
|
|
96
95
|
case __injectivelabs_wallet_base.Wallet.Leap:
|
|
97
96
|
case __injectivelabs_wallet_base.Wallet.Ninji:
|
|
98
|
-
case __injectivelabs_wallet_base.Wallet.OWallet:
|
|
97
|
+
case __injectivelabs_wallet_base.Wallet.OWallet:
|
|
98
|
+
case __injectivelabs_wallet_base.Wallet.Cosmostation: return new (await (loadCosmosStrategy()))({
|
|
99
99
|
...args,
|
|
100
100
|
wallet
|
|
101
101
|
});
|
|
102
|
-
case __injectivelabs_wallet_base.Wallet.Cosmostation: return new (await (loadCosmostationStrategy()))({ ...args });
|
|
103
102
|
case __injectivelabs_wallet_base.Wallet.Ledger: {
|
|
104
103
|
const { LedgerLiveStrategy } = await loadLedgerStrategies();
|
|
105
104
|
return new LedgerLiveStrategy(ethWalletArgs);
|
package/dist/esm/index.js
CHANGED
|
@@ -47,7 +47,6 @@ function _defineProperty(e, r, t) {
|
|
|
47
47
|
//#region src/strategy/index.ts
|
|
48
48
|
const loadEvmStrategy = () => import("@injectivelabs/wallet-evm").then((m) => m.EvmWalletStrategy);
|
|
49
49
|
const loadCosmosStrategy = () => import("@injectivelabs/wallet-cosmos").then((m) => m.CosmosWalletStrategy);
|
|
50
|
-
const loadCosmostationStrategy = () => import("@injectivelabs/wallet-cosmostation").then((m) => m.CosmostationWalletStrategy);
|
|
51
50
|
const loadLedgerStrategies = () => import("@injectivelabs/wallet-ledger").then((m) => ({
|
|
52
51
|
LedgerLiveStrategy: m.LedgerLiveStrategy,
|
|
53
52
|
LedgerLegacyStrategy: m.LedgerLegacyStrategy
|
|
@@ -95,11 +94,11 @@ const createStrategy = async ({ args, wallet }) => {
|
|
|
95
94
|
case Wallet.Keplr:
|
|
96
95
|
case Wallet.Leap:
|
|
97
96
|
case Wallet.Ninji:
|
|
98
|
-
case Wallet.OWallet:
|
|
97
|
+
case Wallet.OWallet:
|
|
98
|
+
case Wallet.Cosmostation: return new (await (loadCosmosStrategy()))({
|
|
99
99
|
...args,
|
|
100
100
|
wallet
|
|
101
101
|
});
|
|
102
|
-
case Wallet.Cosmostation: return new (await (loadCosmostationStrategy()))({ ...args });
|
|
103
102
|
case Wallet.Ledger: {
|
|
104
103
|
const { LedgerLiveStrategy } = await loadLedgerStrategies();
|
|
105
104
|
return new LedgerLiveStrategy(ethWalletArgs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-strategy",
|
|
3
|
-
"version": "1.17.2-alpha.
|
|
3
|
+
"version": "1.17.2-alpha.2",
|
|
4
4
|
"description": "Wallet strategy with instantiated wallets",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -38,18 +38,17 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@injectivelabs/exceptions": "1.17.2-alpha.
|
|
42
|
-
"@injectivelabs/wallet-base": "1.17.2-alpha.
|
|
43
|
-
"@injectivelabs/wallet-core": "1.17.2-alpha.
|
|
44
|
-
"@injectivelabs/wallet-
|
|
45
|
-
"@injectivelabs/wallet-
|
|
46
|
-
"@injectivelabs/wallet-
|
|
47
|
-
"@injectivelabs/wallet-
|
|
48
|
-
"@injectivelabs/wallet-
|
|
49
|
-
"@injectivelabs/wallet-
|
|
50
|
-
"@injectivelabs/wallet-
|
|
51
|
-
"@injectivelabs/wallet-
|
|
52
|
-
"@injectivelabs/wallet-wallet-connect": "1.17.2-alpha.0"
|
|
41
|
+
"@injectivelabs/exceptions": "1.17.2-alpha.2",
|
|
42
|
+
"@injectivelabs/wallet-base": "1.17.2-alpha.2",
|
|
43
|
+
"@injectivelabs/wallet-core": "1.17.2-alpha.2",
|
|
44
|
+
"@injectivelabs/wallet-evm": "1.17.2-alpha.2",
|
|
45
|
+
"@injectivelabs/wallet-cosmos": "1.17.2-alpha.2",
|
|
46
|
+
"@injectivelabs/wallet-magic": "1.17.2-alpha.2",
|
|
47
|
+
"@injectivelabs/wallet-ledger": "1.17.2-alpha.2",
|
|
48
|
+
"@injectivelabs/wallet-private-key": "1.17.2-alpha.2",
|
|
49
|
+
"@injectivelabs/wallet-turnkey": "1.17.2-alpha.2",
|
|
50
|
+
"@injectivelabs/wallet-wallet-connect": "1.17.2-alpha.2",
|
|
51
|
+
"@injectivelabs/wallet-trezor": "1.17.2-alpha.2"
|
|
53
52
|
},
|
|
54
53
|
"publishConfig": {
|
|
55
54
|
"access": "public"
|