decentralcardgame-cardchain-client-ts 0.0.35 → 0.0.36
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/index.d.ts +65 -65
- package/index.js +19 -19
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -41,62 +41,6 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
|
|
|
41
41
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
42
42
|
updateTX(client: IgniteClient): void;
|
|
43
43
|
};
|
|
44
|
-
} & {
|
|
45
|
-
IbcApplicationsFeeV_1: {
|
|
46
|
-
query: ReturnType<typeof import("./ibc.applications.fee.v1").queryClient>;
|
|
47
|
-
tx: ReturnType<typeof import("./ibc.applications.fee.v1").txClient>;
|
|
48
|
-
structure: Record<string, unknown>;
|
|
49
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
50
|
-
updateTX(client: IgniteClient): void;
|
|
51
|
-
};
|
|
52
|
-
} & {
|
|
53
|
-
IbcApplicationsInterchainAccountsControllerV_1: {
|
|
54
|
-
query: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").queryClient>;
|
|
55
|
-
tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").txClient>;
|
|
56
|
-
structure: Record<string, unknown>;
|
|
57
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
58
|
-
updateTX(client: IgniteClient): void;
|
|
59
|
-
};
|
|
60
|
-
} & {
|
|
61
|
-
IbcApplicationsInterchainAccountsHostV_1: {
|
|
62
|
-
query: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").queryClient>;
|
|
63
|
-
tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").txClient>;
|
|
64
|
-
structure: Record<string, unknown>;
|
|
65
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
66
|
-
updateTX(client: IgniteClient): void;
|
|
67
|
-
};
|
|
68
|
-
} & {
|
|
69
|
-
IbcApplicationsTransferV_1: {
|
|
70
|
-
query: ReturnType<typeof import("./ibc.applications.transfer.v1").queryClient>;
|
|
71
|
-
tx: ReturnType<typeof import("./ibc.applications.transfer.v1").txClient>;
|
|
72
|
-
structure: Record<string, unknown>;
|
|
73
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
74
|
-
updateTX(client: IgniteClient): void;
|
|
75
|
-
};
|
|
76
|
-
} & {
|
|
77
|
-
IbcCoreChannelV_1: {
|
|
78
|
-
query: ReturnType<typeof import("./ibc.core.channel.v1").queryClient>;
|
|
79
|
-
tx: ReturnType<typeof import("./ibc.core.channel.v1").txClient>;
|
|
80
|
-
structure: Record<string, unknown>;
|
|
81
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
82
|
-
updateTX(client: IgniteClient): void;
|
|
83
|
-
};
|
|
84
|
-
} & {
|
|
85
|
-
IbcCoreClientV_1: {
|
|
86
|
-
query: ReturnType<typeof import("./ibc.core.client.v1").queryClient>;
|
|
87
|
-
tx: ReturnType<typeof import("./ibc.core.client.v1").txClient>;
|
|
88
|
-
structure: Record<string, unknown>;
|
|
89
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
90
|
-
updateTX(client: IgniteClient): void;
|
|
91
|
-
};
|
|
92
|
-
} & {
|
|
93
|
-
IbcCoreConnectionV_1: {
|
|
94
|
-
query: ReturnType<typeof import("./ibc.core.connection.v1").queryClient>;
|
|
95
|
-
tx: ReturnType<typeof import("./ibc.core.connection.v1").txClient>;
|
|
96
|
-
structure: Record<string, unknown>;
|
|
97
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
98
|
-
updateTX(client: IgniteClient): void;
|
|
99
|
-
};
|
|
100
44
|
} & {
|
|
101
45
|
CosmosAuthV_1Beta_1: {
|
|
102
46
|
query: ReturnType<typeof import("./cosmos.auth.v1beta1").queryClient>;
|
|
@@ -210,25 +154,65 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
|
|
|
210
154
|
updateTX(client: IgniteClient): void;
|
|
211
155
|
};
|
|
212
156
|
} & {
|
|
213
|
-
|
|
214
|
-
query: ReturnType<typeof import("./cosmos.
|
|
215
|
-
tx: ReturnType<typeof import("./cosmos.
|
|
157
|
+
CosmosNftV_1Beta_1: {
|
|
158
|
+
query: ReturnType<typeof import("./cosmos.nft.v1beta1").queryClient>;
|
|
159
|
+
tx: ReturnType<typeof import("./cosmos.nft.v1beta1").txClient>;
|
|
216
160
|
structure: Record<string, unknown>;
|
|
217
161
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
218
162
|
updateTX(client: IgniteClient): void;
|
|
219
163
|
};
|
|
220
164
|
} & {
|
|
221
|
-
|
|
222
|
-
query: ReturnType<typeof import("./
|
|
223
|
-
tx: ReturnType<typeof import("./
|
|
165
|
+
IbcApplicationsFeeV_1: {
|
|
166
|
+
query: ReturnType<typeof import("./ibc.applications.fee.v1").queryClient>;
|
|
167
|
+
tx: ReturnType<typeof import("./ibc.applications.fee.v1").txClient>;
|
|
224
168
|
structure: Record<string, unknown>;
|
|
225
169
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
226
170
|
updateTX(client: IgniteClient): void;
|
|
227
171
|
};
|
|
228
172
|
} & {
|
|
229
|
-
|
|
230
|
-
query: ReturnType<typeof import("./
|
|
231
|
-
tx: ReturnType<typeof import("./
|
|
173
|
+
IbcApplicationsInterchainAccountsControllerV_1: {
|
|
174
|
+
query: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").queryClient>;
|
|
175
|
+
tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.controller.v1").txClient>;
|
|
176
|
+
structure: Record<string, unknown>;
|
|
177
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
178
|
+
updateTX(client: IgniteClient): void;
|
|
179
|
+
};
|
|
180
|
+
} & {
|
|
181
|
+
IbcApplicationsInterchainAccountsHostV_1: {
|
|
182
|
+
query: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").queryClient>;
|
|
183
|
+
tx: ReturnType<typeof import("./ibc.applications.interchain_accounts.host.v1").txClient>;
|
|
184
|
+
structure: Record<string, unknown>;
|
|
185
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
186
|
+
updateTX(client: IgniteClient): void;
|
|
187
|
+
};
|
|
188
|
+
} & {
|
|
189
|
+
IbcApplicationsTransferV_1: {
|
|
190
|
+
query: ReturnType<typeof import("./ibc.applications.transfer.v1").queryClient>;
|
|
191
|
+
tx: ReturnType<typeof import("./ibc.applications.transfer.v1").txClient>;
|
|
192
|
+
structure: Record<string, unknown>;
|
|
193
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
194
|
+
updateTX(client: IgniteClient): void;
|
|
195
|
+
};
|
|
196
|
+
} & {
|
|
197
|
+
IbcCoreChannelV_1: {
|
|
198
|
+
query: ReturnType<typeof import("./ibc.core.channel.v1").queryClient>;
|
|
199
|
+
tx: ReturnType<typeof import("./ibc.core.channel.v1").txClient>;
|
|
200
|
+
structure: Record<string, unknown>;
|
|
201
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
202
|
+
updateTX(client: IgniteClient): void;
|
|
203
|
+
};
|
|
204
|
+
} & {
|
|
205
|
+
IbcCoreClientV_1: {
|
|
206
|
+
query: ReturnType<typeof import("./ibc.core.client.v1").queryClient>;
|
|
207
|
+
tx: ReturnType<typeof import("./ibc.core.client.v1").txClient>;
|
|
208
|
+
structure: Record<string, unknown>;
|
|
209
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
210
|
+
updateTX(client: IgniteClient): void;
|
|
211
|
+
};
|
|
212
|
+
} & {
|
|
213
|
+
IbcCoreConnectionV_1: {
|
|
214
|
+
query: ReturnType<typeof import("./ibc.core.connection.v1").queryClient>;
|
|
215
|
+
tx: ReturnType<typeof import("./ibc.core.connection.v1").txClient>;
|
|
232
216
|
structure: Record<string, unknown>;
|
|
233
217
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
234
218
|
updateTX(client: IgniteClient): void;
|
|
@@ -241,6 +225,14 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
|
|
|
241
225
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
242
226
|
updateTX(client: IgniteClient): void;
|
|
243
227
|
};
|
|
228
|
+
} & {
|
|
229
|
+
CosmosCircuitV_1: {
|
|
230
|
+
query: ReturnType<typeof import("./cosmos.circuit.v1").queryClient>;
|
|
231
|
+
tx: ReturnType<typeof import("./cosmos.circuit.v1").txClient>;
|
|
232
|
+
structure: Record<string, unknown>;
|
|
233
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
234
|
+
updateTX(client: IgniteClient): void;
|
|
235
|
+
};
|
|
244
236
|
} & {
|
|
245
237
|
CosmosFeegrantV_1Beta_1: {
|
|
246
238
|
query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
|
|
@@ -249,6 +241,14 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
|
|
|
249
241
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
250
242
|
updateTX(client: IgniteClient): void;
|
|
251
243
|
};
|
|
244
|
+
} & {
|
|
245
|
+
CosmosUpgradeV_1Beta_1: {
|
|
246
|
+
query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
|
|
247
|
+
tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").txClient>;
|
|
248
|
+
structure: Record<string, unknown>;
|
|
249
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
250
|
+
updateTX(client: IgniteClient): void;
|
|
251
|
+
};
|
|
252
252
|
}>;
|
|
253
253
|
declare const registry: Registry;
|
|
254
254
|
export { Client, registry, MissingWalletError };
|
package/index.js
CHANGED
|
@@ -4,13 +4,6 @@ import { IgniteClient } from "./client";
|
|
|
4
4
|
import { MissingWalletError } from "./helpers";
|
|
5
5
|
import { IgntModule as CardchainCardchain, msgTypes as CardchainCardchainMsgTypes } from './cardchain.cardchain';
|
|
6
6
|
import { IgntModule as CardchainFeatureflag, msgTypes as CardchainFeatureflagMsgTypes } from './cardchain.featureflag';
|
|
7
|
-
import { IgntModule as IbcApplicationsFeeV_1, msgTypes as IbcApplicationsFeeV_1MsgTypes } from './ibc.applications.fee.v1';
|
|
8
|
-
import { IgntModule as IbcApplicationsInterchainAccountsControllerV_1, msgTypes as IbcApplicationsInterchainAccountsControllerV_1MsgTypes } from './ibc.applications.interchain_accounts.controller.v1';
|
|
9
|
-
import { IgntModule as IbcApplicationsInterchainAccountsHostV_1, msgTypes as IbcApplicationsInterchainAccountsHostV_1MsgTypes } from './ibc.applications.interchain_accounts.host.v1';
|
|
10
|
-
import { IgntModule as IbcApplicationsTransferV_1, msgTypes as IbcApplicationsTransferV_1MsgTypes } from './ibc.applications.transfer.v1';
|
|
11
|
-
import { IgntModule as IbcCoreChannelV_1, msgTypes as IbcCoreChannelV_1MsgTypes } from './ibc.core.channel.v1';
|
|
12
|
-
import { IgntModule as IbcCoreClientV_1, msgTypes as IbcCoreClientV_1MsgTypes } from './ibc.core.client.v1';
|
|
13
|
-
import { IgntModule as IbcCoreConnectionV_1, msgTypes as IbcCoreConnectionV_1MsgTypes } from './ibc.core.connection.v1';
|
|
14
7
|
import { IgntModule as CosmosAuthV_1Beta_1, msgTypes as CosmosAuthV_1Beta_1MsgTypes } from './cosmos.auth.v1beta1';
|
|
15
8
|
import { IgntModule as CosmosAuthzV_1Beta_1, msgTypes as CosmosAuthzV_1Beta_1MsgTypes } from './cosmos.authz.v1beta1';
|
|
16
9
|
import { IgntModule as CosmosBankV_1Beta_1, msgTypes as CosmosBankV_1Beta_1MsgTypes } from './cosmos.bank.v1beta1';
|
|
@@ -28,24 +21,24 @@ import { IgntModule as CosmosSlashingV_1Beta_1, msgTypes as CosmosSlashingV_1Bet
|
|
|
28
21
|
import { IgntModule as CosmosStakingV_1Beta_1, msgTypes as CosmosStakingV_1Beta_1MsgTypes } from './cosmos.staking.v1beta1';
|
|
29
22
|
import { IgntModule as CosmosTxV_1Beta_1, msgTypes as CosmosTxV_1Beta_1MsgTypes } from './cosmos.tx.v1beta1';
|
|
30
23
|
import { IgntModule as CosmosVestingV_1Beta_1, msgTypes as CosmosVestingV_1Beta_1MsgTypes } from './cosmos.vesting.v1beta1';
|
|
31
|
-
import { IgntModule as CosmosCircuitV_1, msgTypes as CosmosCircuitV_1MsgTypes } from './cosmos.circuit.v1';
|
|
32
|
-
import { IgntModule as CosmosUpgradeV_1Beta_1, msgTypes as CosmosUpgradeV_1Beta_1MsgTypes } from './cosmos.upgrade.v1beta1';
|
|
33
24
|
import { IgntModule as CosmosNftV_1Beta_1, msgTypes as CosmosNftV_1Beta_1MsgTypes } from './cosmos.nft.v1beta1';
|
|
25
|
+
import { IgntModule as IbcApplicationsFeeV_1, msgTypes as IbcApplicationsFeeV_1MsgTypes } from './ibc.applications.fee.v1';
|
|
26
|
+
import { IgntModule as IbcApplicationsInterchainAccountsControllerV_1, msgTypes as IbcApplicationsInterchainAccountsControllerV_1MsgTypes } from './ibc.applications.interchain_accounts.controller.v1';
|
|
27
|
+
import { IgntModule as IbcApplicationsInterchainAccountsHostV_1, msgTypes as IbcApplicationsInterchainAccountsHostV_1MsgTypes } from './ibc.applications.interchain_accounts.host.v1';
|
|
28
|
+
import { IgntModule as IbcApplicationsTransferV_1, msgTypes as IbcApplicationsTransferV_1MsgTypes } from './ibc.applications.transfer.v1';
|
|
29
|
+
import { IgntModule as IbcCoreChannelV_1, msgTypes as IbcCoreChannelV_1MsgTypes } from './ibc.core.channel.v1';
|
|
30
|
+
import { IgntModule as IbcCoreClientV_1, msgTypes as IbcCoreClientV_1MsgTypes } from './ibc.core.client.v1';
|
|
31
|
+
import { IgntModule as IbcCoreConnectionV_1, msgTypes as IbcCoreConnectionV_1MsgTypes } from './ibc.core.connection.v1';
|
|
34
32
|
import { IgntModule as CosmosEvidenceV_1Beta_1, msgTypes as CosmosEvidenceV_1Beta_1MsgTypes } from './cosmos.evidence.v1beta1';
|
|
33
|
+
import { IgntModule as CosmosCircuitV_1, msgTypes as CosmosCircuitV_1MsgTypes } from './cosmos.circuit.v1';
|
|
35
34
|
import { IgntModule as CosmosFeegrantV_1Beta_1, msgTypes as CosmosFeegrantV_1Beta_1MsgTypes } from './cosmos.feegrant.v1beta1';
|
|
35
|
+
import { IgntModule as CosmosUpgradeV_1Beta_1, msgTypes as CosmosUpgradeV_1Beta_1MsgTypes } from './cosmos.upgrade.v1beta1';
|
|
36
36
|
const Client = IgniteClient.plugin([
|
|
37
|
-
CardchainCardchain, CardchainFeatureflag,
|
|
37
|
+
CardchainCardchain, CardchainFeatureflag, CosmosAuthV_1Beta_1, CosmosAuthzV_1Beta_1, CosmosBankV_1Beta_1, CosmosBaseNodeV_1Beta_1, CosmosBaseTendermintV_1Beta_1, CosmosConsensusV_1, CosmosCrisisV_1Beta_1, CosmosDistributionV_1Beta_1, CosmosGovV_1, CosmosGovV_1Beta_1, CosmosGroupV_1, CosmosMintV_1Beta_1, CosmosParamsV_1Beta_1, CosmosSlashingV_1Beta_1, CosmosStakingV_1Beta_1, CosmosTxV_1Beta_1, CosmosVestingV_1Beta_1, CosmosNftV_1Beta_1, IbcApplicationsFeeV_1, IbcApplicationsInterchainAccountsControllerV_1, IbcApplicationsInterchainAccountsHostV_1, IbcApplicationsTransferV_1, IbcCoreChannelV_1, IbcCoreClientV_1, IbcCoreConnectionV_1, CosmosEvidenceV_1Beta_1, CosmosCircuitV_1, CosmosFeegrantV_1Beta_1, CosmosUpgradeV_1Beta_1
|
|
38
38
|
]);
|
|
39
39
|
const registry = new Registry([
|
|
40
40
|
...CardchainCardchainMsgTypes,
|
|
41
41
|
...CardchainFeatureflagMsgTypes,
|
|
42
|
-
...IbcApplicationsFeeV_1MsgTypes,
|
|
43
|
-
...IbcApplicationsInterchainAccountsControllerV_1MsgTypes,
|
|
44
|
-
...IbcApplicationsInterchainAccountsHostV_1MsgTypes,
|
|
45
|
-
...IbcApplicationsTransferV_1MsgTypes,
|
|
46
|
-
...IbcCoreChannelV_1MsgTypes,
|
|
47
|
-
...IbcCoreClientV_1MsgTypes,
|
|
48
|
-
...IbcCoreConnectionV_1MsgTypes,
|
|
49
42
|
...CosmosAuthV_1Beta_1MsgTypes,
|
|
50
43
|
...CosmosAuthzV_1Beta_1MsgTypes,
|
|
51
44
|
...CosmosBankV_1Beta_1MsgTypes,
|
|
@@ -63,10 +56,17 @@ const registry = new Registry([
|
|
|
63
56
|
...CosmosStakingV_1Beta_1MsgTypes,
|
|
64
57
|
...CosmosTxV_1Beta_1MsgTypes,
|
|
65
58
|
...CosmosVestingV_1Beta_1MsgTypes,
|
|
66
|
-
...CosmosCircuitV_1MsgTypes,
|
|
67
|
-
...CosmosUpgradeV_1Beta_1MsgTypes,
|
|
68
59
|
...CosmosNftV_1Beta_1MsgTypes,
|
|
60
|
+
...IbcApplicationsFeeV_1MsgTypes,
|
|
61
|
+
...IbcApplicationsInterchainAccountsControllerV_1MsgTypes,
|
|
62
|
+
...IbcApplicationsInterchainAccountsHostV_1MsgTypes,
|
|
63
|
+
...IbcApplicationsTransferV_1MsgTypes,
|
|
64
|
+
...IbcCoreChannelV_1MsgTypes,
|
|
65
|
+
...IbcCoreClientV_1MsgTypes,
|
|
66
|
+
...IbcCoreConnectionV_1MsgTypes,
|
|
69
67
|
...CosmosEvidenceV_1Beta_1MsgTypes,
|
|
68
|
+
...CosmosCircuitV_1MsgTypes,
|
|
70
69
|
...CosmosFeegrantV_1Beta_1MsgTypes,
|
|
70
|
+
...CosmosUpgradeV_1Beta_1MsgTypes,
|
|
71
71
|
]);
|
|
72
72
|
export { Client, registry, MissingWalletError };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "decentralcardgame-cardchain-client-ts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"description": "Autogenerated Typescript Client for crowdcontrol cardchain",
|
|
5
5
|
"author": "Lxgr <lxgr@protonmail.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"upload": "npm run build && cp package.json lib/ && cd lib && npm publish"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
+
"@bufbuild/protobuf": "^2.4.0",
|
|
21
22
|
"@cosmjs/proto-signing": "0.33.1",
|
|
22
23
|
"@cosmjs/stargate": "0.33.1",
|
|
23
24
|
"@keplr-wallet/types": "^0.12.234",
|