@injectivelabs/sdk-ts 1.15.24 → 1.15.25
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/client/chain/grpc/ChainGrpcBankApi.d.ts +4 -4
- package/dist/cjs/client/chain/grpc/ChainGrpcPermissionsApi.d.ts +1 -1
- package/dist/cjs/client/chain/transformers/ChainGrpcPermissionsTransformer.d.ts +1 -1
- package/dist/cjs/client/indexer/grpc/IndexerGrpcMitoApi.d.ts +5 -5
- package/dist/cjs/client/indexer/transformers/IndexerGrpcMitoStreamTransformer.d.ts +5 -5
- package/dist/cjs/client/indexer/transformers/IndexerGrpcMitoTransformer.d.ts +10 -10
- package/dist/cjs/client/indexer/types/spot.d.ts +1 -1
- package/dist/cjs/client/wasm/incentives/transformer.d.ts +1 -1
- package/dist/esm/client/indexer/types/spot.d.ts +1 -1
- package/package.json +6 -6
|
@@ -12,9 +12,9 @@ export declare class ChainGrpcBankApi extends BaseGrpcConsumer {
|
|
|
12
12
|
fetchBalance({ accountAddress, denom, }: {
|
|
13
13
|
accountAddress: string;
|
|
14
14
|
denom: string;
|
|
15
|
-
}): Promise<import("
|
|
15
|
+
}): Promise<import("../../../../../ts-types/dist/cjs/cosmos.js").Coin>;
|
|
16
16
|
fetchBalances(address: string, pagination?: PaginationOption): Promise<{
|
|
17
|
-
balances: import("
|
|
17
|
+
balances: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
18
18
|
pagination: import("../../../types/pagination.js").Pagination;
|
|
19
19
|
}>;
|
|
20
20
|
fetchTotalSupply(pagination?: PaginationOption): Promise<{
|
|
@@ -26,7 +26,7 @@ export declare class ChainGrpcBankApi extends BaseGrpcConsumer {
|
|
|
26
26
|
supply: import("../types/bank.js").TotalSupply;
|
|
27
27
|
pagination: import("../../../types/pagination.js").Pagination;
|
|
28
28
|
}>;
|
|
29
|
-
fetchSupplyOf(denom: string): Promise<import("
|
|
29
|
+
fetchSupplyOf(denom: string): Promise<import("../../../../../ts-types/dist/cjs/cosmos.js").Coin>;
|
|
30
30
|
fetchDenomsMetadata(pagination?: PaginationOption): Promise<{
|
|
31
31
|
metadatas: import("../types/bank.js").Metadata[];
|
|
32
32
|
pagination: import("../../../types/pagination.js").Pagination;
|
|
@@ -35,7 +35,7 @@ export declare class ChainGrpcBankApi extends BaseGrpcConsumer {
|
|
|
35
35
|
fetchDenomOwners(denom: string, pagination?: PaginationOption): Promise<{
|
|
36
36
|
denomOwners: {
|
|
37
37
|
address: string;
|
|
38
|
-
balance: import("
|
|
38
|
+
balance: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
39
39
|
}[];
|
|
40
40
|
pagination: import("../../../types/pagination.js").Pagination;
|
|
41
41
|
}>;
|
|
@@ -33,7 +33,7 @@ export declare class ChainGrpcPermissionsApi extends BaseGrpcConsumer {
|
|
|
33
33
|
fetchVoucher({ denom, address }: {
|
|
34
34
|
denom: string;
|
|
35
35
|
address: string;
|
|
36
|
-
}): Promise<import("
|
|
36
|
+
}): Promise<import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined>;
|
|
37
37
|
fetchVouchers(denom: string): Promise<import("../types/permissions.js").PermissionAddressVoucher[]>;
|
|
38
38
|
fetchModuleState(): Promise<{
|
|
39
39
|
params: import("../types/permissions.js").PermissionsModuleParams;
|
|
@@ -25,7 +25,7 @@ export declare class ChainGrpcPermissionsTransformer {
|
|
|
25
25
|
static roleManagersResponseToRoleManagers(response: InjectivePermissionsV1Beta1Query.QueryRoleManagersResponse): PermissionRoleManager[];
|
|
26
26
|
static policyStatusesResponseToPolicyStatuses(response: InjectivePermissionsV1Beta1Query.QueryPolicyStatusesResponse): PermissionPolicyStatus[];
|
|
27
27
|
static policyManagerCapabilitiesResponseToPolicyManagerCapabilities(response: InjectivePermissionsV1Beta1Query.QueryPolicyManagerCapabilitiesResponse): PermissionPolicyManagerCapability[];
|
|
28
|
-
static voucherResponseToVoucher(response: InjectivePermissionsV1Beta1Query.QueryVoucherResponse): import("
|
|
28
|
+
static voucherResponseToVoucher(response: InjectivePermissionsV1Beta1Query.QueryVoucherResponse): import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
29
29
|
static vouchersResponseToVouchers(response: InjectivePermissionsV1Beta1Query.QueryVouchersResponse): PermissionAddressVoucher[];
|
|
30
30
|
static moduleStateResponseToModuleState(response: InjectivePermissionsV1Beta1Query.QueryModuleStateResponse): {
|
|
31
31
|
params: PermissionsModuleParams;
|
|
@@ -90,8 +90,8 @@ export declare class IndexerGrpcMitoApi extends BaseGrpcConsumer {
|
|
|
90
90
|
vaultAddress: string;
|
|
91
91
|
numberByAccount: number;
|
|
92
92
|
timestamp: number;
|
|
93
|
-
rewardedTokens: import("
|
|
94
|
-
stakeAmount: import("
|
|
93
|
+
rewardedTokens: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
94
|
+
stakeAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
95
95
|
}[];
|
|
96
96
|
pagination: import("../types/mito.js").MitoPagination | undefined;
|
|
97
97
|
}>;
|
|
@@ -104,9 +104,9 @@ export declare class IndexerGrpcMitoApi extends BaseGrpcConsumer {
|
|
|
104
104
|
vaultName: string;
|
|
105
105
|
vaultAddress: string;
|
|
106
106
|
lockTimestamp: number;
|
|
107
|
-
claimableRewards: import("
|
|
108
|
-
stakedAmount: import("
|
|
109
|
-
lockedAmount: import("
|
|
107
|
+
claimableRewards: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
108
|
+
stakedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
109
|
+
lockedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
110
110
|
}[];
|
|
111
111
|
pagination: import("../types/mito.js").MitoPagination | undefined;
|
|
112
112
|
}>;
|
|
@@ -22,9 +22,9 @@ export declare class IndexerGrpcMitoStreamTransformer {
|
|
|
22
22
|
vaultName: string;
|
|
23
23
|
vaultAddress: string;
|
|
24
24
|
lockTimestamp: number;
|
|
25
|
-
claimableRewards: import("
|
|
26
|
-
stakedAmount: import("
|
|
27
|
-
lockedAmount: import("
|
|
25
|
+
claimableRewards: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
26
|
+
stakedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
27
|
+
lockedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
28
28
|
} | undefined;
|
|
29
29
|
opType: StreamOperation;
|
|
30
30
|
};
|
|
@@ -36,8 +36,8 @@ export declare class IndexerGrpcMitoStreamTransformer {
|
|
|
36
36
|
vaultAddress: string;
|
|
37
37
|
numberByAccount: number;
|
|
38
38
|
timestamp: number;
|
|
39
|
-
rewardedTokens: import("
|
|
40
|
-
stakeAmount: import("
|
|
39
|
+
rewardedTokens: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
40
|
+
stakeAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
41
41
|
} | undefined;
|
|
42
42
|
opType: StreamOperation;
|
|
43
43
|
};
|
|
@@ -20,9 +20,9 @@ export declare class IndexerGrpcMitoTransformer {
|
|
|
20
20
|
vaultName: string;
|
|
21
21
|
vaultAddress: string;
|
|
22
22
|
lockTimestamp: number;
|
|
23
|
-
claimableRewards: import("
|
|
24
|
-
stakedAmount: import("
|
|
25
|
-
lockedAmount: import("
|
|
23
|
+
claimableRewards: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
24
|
+
stakedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
25
|
+
lockedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
26
26
|
};
|
|
27
27
|
static mitoGaugeToGauge(gauge: MitoApi.Gauge): MitoGauge;
|
|
28
28
|
static mitoStakingPoolToStakingPool(stakingPool: MitoApi.StakingPool): MitoStakingPool;
|
|
@@ -33,8 +33,8 @@ export declare class IndexerGrpcMitoTransformer {
|
|
|
33
33
|
vaultAddress: string;
|
|
34
34
|
numberByAccount: number;
|
|
35
35
|
timestamp: number;
|
|
36
|
-
rewardedTokens: import("
|
|
37
|
-
stakeAmount: import("
|
|
36
|
+
rewardedTokens: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
37
|
+
stakeAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
38
38
|
};
|
|
39
39
|
static mitoSubscriptionToSubscription(subscription: MitoApi.Subscription): MitoSubscription;
|
|
40
40
|
static mitoLpHolderToLPHolder(holder: MitoApi.Holders): MitoHolders;
|
|
@@ -83,9 +83,9 @@ export declare class IndexerGrpcMitoTransformer {
|
|
|
83
83
|
vaultName: string;
|
|
84
84
|
vaultAddress: string;
|
|
85
85
|
lockTimestamp: number;
|
|
86
|
-
claimableRewards: import("
|
|
87
|
-
stakedAmount: import("
|
|
88
|
-
lockedAmount: import("
|
|
86
|
+
claimableRewards: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
87
|
+
stakedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
88
|
+
lockedAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
89
89
|
}[];
|
|
90
90
|
pagination: MitoPagination | undefined;
|
|
91
91
|
};
|
|
@@ -97,8 +97,8 @@ export declare class IndexerGrpcMitoTransformer {
|
|
|
97
97
|
vaultAddress: string;
|
|
98
98
|
numberByAccount: number;
|
|
99
99
|
timestamp: number;
|
|
100
|
-
rewardedTokens: import("
|
|
101
|
-
stakeAmount: import("
|
|
100
|
+
rewardedTokens: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
101
|
+
stakeAmount: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin | undefined;
|
|
102
102
|
}[];
|
|
103
103
|
pagination: MitoPagination | undefined;
|
|
104
104
|
};
|
|
@@ -3,7 +3,7 @@ import { GrpcOrderType } from '../../chain/types/exchange.js';
|
|
|
3
3
|
import { PriceLevel } from './exchange.js';
|
|
4
4
|
import { TokenMeta } from './../../../types/token.js';
|
|
5
5
|
import { InjectiveSpotExchangeRpc } from '@injectivelabs/indexer-proto-ts';
|
|
6
|
-
import { Coin } from '@injectivelabs
|
|
6
|
+
import { Coin } from '@injectivelabs/ts-types';
|
|
7
7
|
export interface SpotMarket {
|
|
8
8
|
marketId: string;
|
|
9
9
|
marketStatus: string;
|
|
@@ -10,7 +10,7 @@ export declare class IncentivesQueryTransformer {
|
|
|
10
10
|
static contractCampaignResponseToContractCampaign(response: WasmContractQueryResponse): {
|
|
11
11
|
id: number;
|
|
12
12
|
name: string;
|
|
13
|
-
rewards: import("
|
|
13
|
+
rewards: import("../../../../../ts-types/dist/cjs/cosmos.js").Coin[];
|
|
14
14
|
inRound: number;
|
|
15
15
|
marketId: string;
|
|
16
16
|
isFunded: boolean;
|
|
@@ -3,7 +3,7 @@ import { GrpcOrderType } from '../../chain/types/exchange.js';
|
|
|
3
3
|
import { PriceLevel } from './exchange.js';
|
|
4
4
|
import { TokenMeta } from './../../../types/token.js';
|
|
5
5
|
import { InjectiveSpotExchangeRpc } from '@injectivelabs/indexer-proto-ts';
|
|
6
|
-
import { Coin } from '@injectivelabs
|
|
6
|
+
import { Coin } from '@injectivelabs/ts-types';
|
|
7
7
|
export interface SpotMarket {
|
|
8
8
|
marketId: string;
|
|
9
9
|
marketStatus: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/sdk-ts",
|
|
3
3
|
"description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.",
|
|
4
|
-
"version": "1.15.
|
|
4
|
+
"version": "1.15.25",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": {
|
|
@@ -123,16 +123,16 @@
|
|
|
123
123
|
"@cosmjs/stargate": "^0.33.0",
|
|
124
124
|
"@injectivelabs/abacus-proto-ts": "1.14.0",
|
|
125
125
|
"@injectivelabs/core-proto-ts": "1.14.3",
|
|
126
|
-
"@injectivelabs/exceptions": "^1.15.
|
|
126
|
+
"@injectivelabs/exceptions": "^1.15.22",
|
|
127
127
|
"@injectivelabs/grpc-web": "^0.0.1",
|
|
128
128
|
"@injectivelabs/grpc-web-node-http-transport": "^0.0.2",
|
|
129
129
|
"@injectivelabs/grpc-web-react-native-transport": "^0.0.2",
|
|
130
130
|
"@injectivelabs/indexer-proto-ts": "1.13.12",
|
|
131
131
|
"@injectivelabs/mito-proto-ts": "1.13.2",
|
|
132
|
-
"@injectivelabs/networks": "^1.15.
|
|
132
|
+
"@injectivelabs/networks": "^1.15.23",
|
|
133
133
|
"@injectivelabs/olp-proto-ts": "1.13.4",
|
|
134
|
-
"@injectivelabs/ts-types": "^1.15.
|
|
135
|
-
"@injectivelabs/utils": "^1.15.
|
|
134
|
+
"@injectivelabs/ts-types": "^1.15.23",
|
|
135
|
+
"@injectivelabs/utils": "^1.15.23",
|
|
136
136
|
"@metamask/eth-sig-util": "^8.2.0",
|
|
137
137
|
"@noble/curves": "^1.8.1",
|
|
138
138
|
"@noble/hashes": "^1.7.1",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"shx": "^0.3.4",
|
|
152
152
|
"snakecase-keys": "^5.4.1"
|
|
153
153
|
},
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "46df99ab6e782380e1487c516b157b0d7d1ccd03",
|
|
155
155
|
"typedoc": {
|
|
156
156
|
"entryPoint": "./src/index.ts",
|
|
157
157
|
"readmeFile": "./README.md",
|