@injectivelabs/wallet-cosmos-strategy 1.17.2-alpha.1 → 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 +1 -10
- package/dist/esm/index.js +1 -10
- package/package.json +5 -6
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
let __injectivelabs_wallet_core = require("@injectivelabs/wallet-core");
|
|
2
2
|
let __injectivelabs_wallet_base = require("@injectivelabs/wallet-base");
|
|
3
3
|
let __injectivelabs_wallet_cosmos = require("@injectivelabs/wallet-cosmos");
|
|
4
|
-
let __injectivelabs_wallet_cosmostation = require("@injectivelabs/wallet-cosmostation");
|
|
5
4
|
|
|
6
5
|
//#region src/strategy/strategies/cosmos.ts
|
|
7
6
|
var CosmosWalletStrategy = class extends __injectivelabs_wallet_cosmos.CosmosWalletStrategy {
|
|
@@ -10,14 +9,6 @@ var CosmosWalletStrategy = class extends __injectivelabs_wallet_cosmos.CosmosWal
|
|
|
10
9
|
}
|
|
11
10
|
};
|
|
12
11
|
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/strategy/strategies/cosmostation.ts
|
|
15
|
-
var CosmostationWalletStrategy = class extends __injectivelabs_wallet_cosmostation.CosmostationWalletStrategy {
|
|
16
|
-
constructor(args) {
|
|
17
|
-
super(args);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
12
|
//#endregion
|
|
22
13
|
//#region src/strategy/WalletStrategy.ts
|
|
23
14
|
const createStrategy = ({ args, wallet }) => {
|
|
@@ -26,7 +17,7 @@ const createStrategy = ({ args, wallet }) => {
|
|
|
26
17
|
...args,
|
|
27
18
|
wallet: __injectivelabs_wallet_base.Wallet.Keplr
|
|
28
19
|
});
|
|
29
|
-
case __injectivelabs_wallet_base.Wallet.Cosmostation: return new
|
|
20
|
+
case __injectivelabs_wallet_base.Wallet.Cosmostation: return new CosmosWalletStrategy({
|
|
30
21
|
...args,
|
|
31
22
|
wallet: __injectivelabs_wallet_base.Wallet.Cosmostation
|
|
32
23
|
});
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BaseWalletStrategy } from "@injectivelabs/wallet-core";
|
|
2
2
|
import { Wallet, isCosmosWallet } from "@injectivelabs/wallet-base";
|
|
3
3
|
import { CosmosWalletStrategy } from "@injectivelabs/wallet-cosmos";
|
|
4
|
-
import { CosmostationWalletStrategy } from "@injectivelabs/wallet-cosmostation";
|
|
5
4
|
|
|
6
5
|
//#region src/strategy/strategies/cosmos.ts
|
|
7
6
|
var CosmosWalletStrategy$1 = class extends CosmosWalletStrategy {
|
|
@@ -10,14 +9,6 @@ var CosmosWalletStrategy$1 = class extends CosmosWalletStrategy {
|
|
|
10
9
|
}
|
|
11
10
|
};
|
|
12
11
|
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/strategy/strategies/cosmostation.ts
|
|
15
|
-
var CosmostationWalletStrategy$1 = class extends CosmostationWalletStrategy {
|
|
16
|
-
constructor(args) {
|
|
17
|
-
super(args);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
12
|
//#endregion
|
|
22
13
|
//#region src/strategy/WalletStrategy.ts
|
|
23
14
|
const createStrategy = ({ args, wallet }) => {
|
|
@@ -26,7 +17,7 @@ const createStrategy = ({ args, wallet }) => {
|
|
|
26
17
|
...args,
|
|
27
18
|
wallet: Wallet.Keplr
|
|
28
19
|
});
|
|
29
|
-
case Wallet.Cosmostation: return new
|
|
20
|
+
case Wallet.Cosmostation: return new CosmosWalletStrategy$1({
|
|
30
21
|
...args,
|
|
31
22
|
wallet: Wallet.Cosmostation
|
|
32
23
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-cosmos-strategy",
|
|
3
|
-
"version": "1.17.2-alpha.
|
|
3
|
+
"version": "1.17.2-alpha.2",
|
|
4
4
|
"description": "Wallet Cosmos Strategy with instantiated wallets",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -38,11 +38,10 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@injectivelabs/ts-types": "1.17.2-alpha.
|
|
42
|
-
"@injectivelabs/wallet-
|
|
43
|
-
"@injectivelabs/wallet-
|
|
44
|
-
"@injectivelabs/wallet-
|
|
45
|
-
"@injectivelabs/wallet-cosmostation": "1.17.2-alpha.1"
|
|
41
|
+
"@injectivelabs/ts-types": "1.17.2-alpha.2",
|
|
42
|
+
"@injectivelabs/wallet-base": "1.17.2-alpha.2",
|
|
43
|
+
"@injectivelabs/wallet-cosmos": "1.17.2-alpha.2",
|
|
44
|
+
"@injectivelabs/wallet-core": "1.17.2-alpha.2"
|
|
46
45
|
},
|
|
47
46
|
"publishConfig": {
|
|
48
47
|
"access": "public"
|