decentralcardgame-cardchain-client-ts 0.0.34 → 0.0.35
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 +32 -32
- package/index.js +9 -9
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -41,22 +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
|
-
CosmosEvidenceV_1Beta_1: {
|
|
46
|
-
query: ReturnType<typeof import("./cosmos.evidence.v1beta1").queryClient>;
|
|
47
|
-
tx: ReturnType<typeof import("./cosmos.evidence.v1beta1").txClient>;
|
|
48
|
-
structure: Record<string, unknown>;
|
|
49
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
50
|
-
updateTX(client: IgniteClient): void;
|
|
51
|
-
};
|
|
52
|
-
} & {
|
|
53
|
-
CosmosNftV_1Beta_1: {
|
|
54
|
-
query: ReturnType<typeof import("./cosmos.nft.v1beta1").queryClient>;
|
|
55
|
-
tx: ReturnType<typeof import("./cosmos.nft.v1beta1").txClient>;
|
|
56
|
-
structure: Record<string, unknown>;
|
|
57
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
58
|
-
updateTX(client: IgniteClient): void;
|
|
59
|
-
};
|
|
60
44
|
} & {
|
|
61
45
|
IbcApplicationsFeeV_1: {
|
|
62
46
|
query: ReturnType<typeof import("./ibc.applications.fee.v1").queryClient>;
|
|
@@ -113,22 +97,6 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
|
|
|
113
97
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
114
98
|
updateTX(client: IgniteClient): void;
|
|
115
99
|
};
|
|
116
|
-
} & {
|
|
117
|
-
CosmosUpgradeV_1Beta_1: {
|
|
118
|
-
query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
|
|
119
|
-
tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").txClient>;
|
|
120
|
-
structure: Record<string, unknown>;
|
|
121
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
122
|
-
updateTX(client: IgniteClient): void;
|
|
123
|
-
};
|
|
124
|
-
} & {
|
|
125
|
-
CosmosFeegrantV_1Beta_1: {
|
|
126
|
-
query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
|
|
127
|
-
tx: ReturnType<typeof import("./cosmos.feegrant.v1beta1").txClient>;
|
|
128
|
-
structure: Record<string, unknown>;
|
|
129
|
-
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
130
|
-
updateTX(client: IgniteClient): void;
|
|
131
|
-
};
|
|
132
100
|
} & {
|
|
133
101
|
CosmosAuthV_1Beta_1: {
|
|
134
102
|
query: ReturnType<typeof import("./cosmos.auth.v1beta1").queryClient>;
|
|
@@ -249,6 +217,38 @@ declare const Client: typeof IgniteClient & import("./helpers").Constructor<{
|
|
|
249
217
|
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
250
218
|
updateTX(client: IgniteClient): void;
|
|
251
219
|
};
|
|
220
|
+
} & {
|
|
221
|
+
CosmosUpgradeV_1Beta_1: {
|
|
222
|
+
query: ReturnType<typeof import("./cosmos.upgrade.v1beta1").queryClient>;
|
|
223
|
+
tx: ReturnType<typeof import("./cosmos.upgrade.v1beta1").txClient>;
|
|
224
|
+
structure: Record<string, unknown>;
|
|
225
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
226
|
+
updateTX(client: IgniteClient): void;
|
|
227
|
+
};
|
|
228
|
+
} & {
|
|
229
|
+
CosmosNftV_1Beta_1: {
|
|
230
|
+
query: ReturnType<typeof import("./cosmos.nft.v1beta1").queryClient>;
|
|
231
|
+
tx: ReturnType<typeof import("./cosmos.nft.v1beta1").txClient>;
|
|
232
|
+
structure: Record<string, unknown>;
|
|
233
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
234
|
+
updateTX(client: IgniteClient): void;
|
|
235
|
+
};
|
|
236
|
+
} & {
|
|
237
|
+
CosmosEvidenceV_1Beta_1: {
|
|
238
|
+
query: ReturnType<typeof import("./cosmos.evidence.v1beta1").queryClient>;
|
|
239
|
+
tx: ReturnType<typeof import("./cosmos.evidence.v1beta1").txClient>;
|
|
240
|
+
structure: Record<string, unknown>;
|
|
241
|
+
registry: Array<[string, import("@cosmjs/proto-signing").GeneratedType]>;
|
|
242
|
+
updateTX(client: IgniteClient): void;
|
|
243
|
+
};
|
|
244
|
+
} & {
|
|
245
|
+
CosmosFeegrantV_1Beta_1: {
|
|
246
|
+
query: ReturnType<typeof import("./cosmos.feegrant.v1beta1").queryClient>;
|
|
247
|
+
tx: ReturnType<typeof import("./cosmos.feegrant.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,8 +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 CosmosEvidenceV_1Beta_1, msgTypes as CosmosEvidenceV_1Beta_1MsgTypes } from './cosmos.evidence.v1beta1';
|
|
8
|
-
import { IgntModule as CosmosNftV_1Beta_1, msgTypes as CosmosNftV_1Beta_1MsgTypes } from './cosmos.nft.v1beta1';
|
|
9
7
|
import { IgntModule as IbcApplicationsFeeV_1, msgTypes as IbcApplicationsFeeV_1MsgTypes } from './ibc.applications.fee.v1';
|
|
10
8
|
import { IgntModule as IbcApplicationsInterchainAccountsControllerV_1, msgTypes as IbcApplicationsInterchainAccountsControllerV_1MsgTypes } from './ibc.applications.interchain_accounts.controller.v1';
|
|
11
9
|
import { IgntModule as IbcApplicationsInterchainAccountsHostV_1, msgTypes as IbcApplicationsInterchainAccountsHostV_1MsgTypes } from './ibc.applications.interchain_accounts.host.v1';
|
|
@@ -13,8 +11,6 @@ import { IgntModule as IbcApplicationsTransferV_1, msgTypes as IbcApplicationsTr
|
|
|
13
11
|
import { IgntModule as IbcCoreChannelV_1, msgTypes as IbcCoreChannelV_1MsgTypes } from './ibc.core.channel.v1';
|
|
14
12
|
import { IgntModule as IbcCoreClientV_1, msgTypes as IbcCoreClientV_1MsgTypes } from './ibc.core.client.v1';
|
|
15
13
|
import { IgntModule as IbcCoreConnectionV_1, msgTypes as IbcCoreConnectionV_1MsgTypes } from './ibc.core.connection.v1';
|
|
16
|
-
import { IgntModule as CosmosUpgradeV_1Beta_1, msgTypes as CosmosUpgradeV_1Beta_1MsgTypes } from './cosmos.upgrade.v1beta1';
|
|
17
|
-
import { IgntModule as CosmosFeegrantV_1Beta_1, msgTypes as CosmosFeegrantV_1Beta_1MsgTypes } from './cosmos.feegrant.v1beta1';
|
|
18
14
|
import { IgntModule as CosmosAuthV_1Beta_1, msgTypes as CosmosAuthV_1Beta_1MsgTypes } from './cosmos.auth.v1beta1';
|
|
19
15
|
import { IgntModule as CosmosAuthzV_1Beta_1, msgTypes as CosmosAuthzV_1Beta_1MsgTypes } from './cosmos.authz.v1beta1';
|
|
20
16
|
import { IgntModule as CosmosBankV_1Beta_1, msgTypes as CosmosBankV_1Beta_1MsgTypes } from './cosmos.bank.v1beta1';
|
|
@@ -33,14 +29,16 @@ import { IgntModule as CosmosStakingV_1Beta_1, msgTypes as CosmosStakingV_1Beta_
|
|
|
33
29
|
import { IgntModule as CosmosTxV_1Beta_1, msgTypes as CosmosTxV_1Beta_1MsgTypes } from './cosmos.tx.v1beta1';
|
|
34
30
|
import { IgntModule as CosmosVestingV_1Beta_1, msgTypes as CosmosVestingV_1Beta_1MsgTypes } from './cosmos.vesting.v1beta1';
|
|
35
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
|
+
import { IgntModule as CosmosNftV_1Beta_1, msgTypes as CosmosNftV_1Beta_1MsgTypes } from './cosmos.nft.v1beta1';
|
|
34
|
+
import { IgntModule as CosmosEvidenceV_1Beta_1, msgTypes as CosmosEvidenceV_1Beta_1MsgTypes } from './cosmos.evidence.v1beta1';
|
|
35
|
+
import { IgntModule as CosmosFeegrantV_1Beta_1, msgTypes as CosmosFeegrantV_1Beta_1MsgTypes } from './cosmos.feegrant.v1beta1';
|
|
36
36
|
const Client = IgniteClient.plugin([
|
|
37
|
-
CardchainCardchain, CardchainFeatureflag,
|
|
37
|
+
CardchainCardchain, CardchainFeatureflag, IbcApplicationsFeeV_1, IbcApplicationsInterchainAccountsControllerV_1, IbcApplicationsInterchainAccountsHostV_1, IbcApplicationsTransferV_1, IbcCoreChannelV_1, IbcCoreClientV_1, IbcCoreConnectionV_1, 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, CosmosCircuitV_1, CosmosUpgradeV_1Beta_1, CosmosNftV_1Beta_1, CosmosEvidenceV_1Beta_1, CosmosFeegrantV_1Beta_1
|
|
38
38
|
]);
|
|
39
39
|
const registry = new Registry([
|
|
40
40
|
...CardchainCardchainMsgTypes,
|
|
41
41
|
...CardchainFeatureflagMsgTypes,
|
|
42
|
-
...CosmosEvidenceV_1Beta_1MsgTypes,
|
|
43
|
-
...CosmosNftV_1Beta_1MsgTypes,
|
|
44
42
|
...IbcApplicationsFeeV_1MsgTypes,
|
|
45
43
|
...IbcApplicationsInterchainAccountsControllerV_1MsgTypes,
|
|
46
44
|
...IbcApplicationsInterchainAccountsHostV_1MsgTypes,
|
|
@@ -48,8 +46,6 @@ const registry = new Registry([
|
|
|
48
46
|
...IbcCoreChannelV_1MsgTypes,
|
|
49
47
|
...IbcCoreClientV_1MsgTypes,
|
|
50
48
|
...IbcCoreConnectionV_1MsgTypes,
|
|
51
|
-
...CosmosUpgradeV_1Beta_1MsgTypes,
|
|
52
|
-
...CosmosFeegrantV_1Beta_1MsgTypes,
|
|
53
49
|
...CosmosAuthV_1Beta_1MsgTypes,
|
|
54
50
|
...CosmosAuthzV_1Beta_1MsgTypes,
|
|
55
51
|
...CosmosBankV_1Beta_1MsgTypes,
|
|
@@ -68,5 +64,9 @@ const registry = new Registry([
|
|
|
68
64
|
...CosmosTxV_1Beta_1MsgTypes,
|
|
69
65
|
...CosmosVestingV_1Beta_1MsgTypes,
|
|
70
66
|
...CosmosCircuitV_1MsgTypes,
|
|
67
|
+
...CosmosUpgradeV_1Beta_1MsgTypes,
|
|
68
|
+
...CosmosNftV_1Beta_1MsgTypes,
|
|
69
|
+
...CosmosEvidenceV_1Beta_1MsgTypes,
|
|
70
|
+
...CosmosFeegrantV_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.35",
|
|
4
4
|
"description": "Autogenerated Typescript Client for crowdcontrol cardchain",
|
|
5
5
|
"author": "Lxgr <lxgr@protonmail.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "NODE_OPTIONS='--max-old-space-size=16384' tsc",
|
|
18
|
-
"
|
|
18
|
+
"upload": "npm run build && cp package.json lib/ && cd lib && npm publish"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@cosmjs/proto-signing": "0.33.1",
|