@injectivelabs/wallet-cosmos-strategy 1.16.12 → 1.16.13-alpha.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/dist/cjs/strategy/WalletStrategy.d.ts +2 -2
- package/dist/cjs/strategy/WalletStrategy.js +1 -1
- package/dist/cjs/strategy/strategies/cosmos.d.ts +2 -2
- package/dist/cjs/strategy/strategies/cosmostation.d.ts +2 -2
- package/dist/cjs/strategy/types.d.ts +2 -2
- package/dist/esm/strategy/WalletStrategy.d.ts +2 -2
- package/dist/esm/strategy/WalletStrategy.js +1 -1
- package/dist/esm/strategy/strategies/cosmos.d.ts +2 -2
- package/dist/esm/strategy/strategies/cosmostation.d.ts +2 -2
- package/dist/esm/strategy/types.d.ts +2 -2
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Wallet } from '@injectivelabs/wallet-base';
|
|
2
1
|
import { BaseWalletStrategy } from '@injectivelabs/wallet-core';
|
|
3
|
-
import {
|
|
2
|
+
import { Wallet } from '@injectivelabs/wallet-base';
|
|
3
|
+
import type { CosmosWalletStrategyArguments } from './types.js';
|
|
4
4
|
export declare class BaseCosmosWalletStrategy extends BaseWalletStrategy {
|
|
5
5
|
constructor(args: CosmosWalletStrategyArguments);
|
|
6
6
|
setWallet(wallet: Wallet): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createCosmosStrategyFactory = exports.BaseCosmosWalletStrategy = void 0;
|
|
4
|
-
const wallet_base_1 = require("@injectivelabs/wallet-base");
|
|
5
4
|
const wallet_core_1 = require("@injectivelabs/wallet-core");
|
|
5
|
+
const wallet_base_1 = require("@injectivelabs/wallet-base");
|
|
6
6
|
const index_js_1 = require("./strategies/index.js");
|
|
7
7
|
const createStrategy = ({ args, wallet, }) => {
|
|
8
8
|
switch (wallet) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CosmosWalletStrategy as BaseCosmosWalletStrategy } from '@injectivelabs/wallet-cosmos';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Wallet } from '@injectivelabs/wallet-base';
|
|
3
|
+
import type { CosmosChainId } from '@injectivelabs/ts-types';
|
|
4
4
|
export declare class CosmosWalletStrategy extends BaseCosmosWalletStrategy {
|
|
5
5
|
constructor(args: {
|
|
6
6
|
chainId: CosmosChainId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CosmostationWalletStrategy as BaseCosmostationWalletStrategy } from '@injectivelabs/wallet-cosmostation';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Wallet } from '@injectivelabs/wallet-base';
|
|
3
|
+
import type { CosmosChainId } from '@injectivelabs/ts-types';
|
|
4
4
|
export declare class CosmostationWalletStrategy extends BaseCosmostationWalletStrategy {
|
|
5
5
|
constructor(args: {
|
|
6
6
|
chainId: CosmosChainId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Wallet } from '@injectivelabs/wallet-base';
|
|
2
|
+
import type { CosmosChainId } from '@injectivelabs/ts-types';
|
|
3
3
|
export interface CosmosWalletStrategyArguments {
|
|
4
4
|
chainId: CosmosChainId;
|
|
5
5
|
wallet?: Wallet;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Wallet } from '@injectivelabs/wallet-base';
|
|
2
1
|
import { BaseWalletStrategy } from '@injectivelabs/wallet-core';
|
|
3
|
-
import {
|
|
2
|
+
import { Wallet } from '@injectivelabs/wallet-base';
|
|
3
|
+
import type { CosmosWalletStrategyArguments } from './types.js';
|
|
4
4
|
export declare class BaseCosmosWalletStrategy extends BaseWalletStrategy {
|
|
5
5
|
constructor(args: CosmosWalletStrategyArguments);
|
|
6
6
|
setWallet(wallet: Wallet): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Wallet, isCosmosWallet, } from '@injectivelabs/wallet-base';
|
|
2
1
|
import { BaseWalletStrategy } from '@injectivelabs/wallet-core';
|
|
2
|
+
import { Wallet, isCosmosWallet } from '@injectivelabs/wallet-base';
|
|
3
3
|
import { CosmosWalletStrategy, CosmostationWalletStrategy, } from './strategies/index.js';
|
|
4
4
|
const createStrategy = ({ args, wallet, }) => {
|
|
5
5
|
switch (wallet) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CosmosWalletStrategy as BaseCosmosWalletStrategy } from '@injectivelabs/wallet-cosmos';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Wallet } from '@injectivelabs/wallet-base';
|
|
3
|
+
import type { CosmosChainId } from '@injectivelabs/ts-types';
|
|
4
4
|
export declare class CosmosWalletStrategy extends BaseCosmosWalletStrategy {
|
|
5
5
|
constructor(args: {
|
|
6
6
|
chainId: CosmosChainId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CosmostationWalletStrategy as BaseCosmostationWalletStrategy } from '@injectivelabs/wallet-cosmostation';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Wallet } from '@injectivelabs/wallet-base';
|
|
3
|
+
import type { CosmosChainId } from '@injectivelabs/ts-types';
|
|
4
4
|
export declare class CosmostationWalletStrategy extends BaseCosmostationWalletStrategy {
|
|
5
5
|
constructor(args: {
|
|
6
6
|
chainId: CosmosChainId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Wallet } from '@injectivelabs/wallet-base';
|
|
2
|
+
import type { CosmosChainId } from '@injectivelabs/ts-types';
|
|
3
3
|
export interface CosmosWalletStrategyArguments {
|
|
4
4
|
chainId: CosmosChainId;
|
|
5
5
|
wallet?: Wallet;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-cosmos-strategy",
|
|
3
3
|
"description": "Wallet Cosmos Strategy with instantiated wallets",
|
|
4
|
-
"version": "1.16.
|
|
4
|
+
"version": "1.16.13-alpha.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"author": {
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"start": "node dist/index.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@injectivelabs/ts-types": "1.16.
|
|
60
|
-
"@injectivelabs/wallet-base": "1.16.
|
|
61
|
-
"@injectivelabs/wallet-core": "1.16.
|
|
62
|
-
"@injectivelabs/wallet-cosmos": "1.16.
|
|
63
|
-
"@injectivelabs/wallet-cosmostation": "1.16.
|
|
59
|
+
"@injectivelabs/ts-types": "1.16.13-alpha.1",
|
|
60
|
+
"@injectivelabs/wallet-base": "1.16.13-alpha.1",
|
|
61
|
+
"@injectivelabs/wallet-core": "1.16.13-alpha.1",
|
|
62
|
+
"@injectivelabs/wallet-cosmos": "1.16.13-alpha.1",
|
|
63
|
+
"@injectivelabs/wallet-cosmostation": "1.16.13-alpha.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"shx": "^0.3.3"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "feb3e8f6bd6fa67bb489c94f6373a8d68a9846ae"
|
|
69
69
|
}
|