coreum-js 2.8.20 → 2.8.21
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/main/coreum/asset/nft/v1/query.d.ts +2 -2
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +6 -6
- package/dist/main/coreum/nft/v1beta1/query.d.ts +8 -8
- package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +2 -2
- package/dist/main/cosmos/authz/v1beta1/query.d.ts +6 -6
- package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +2 -2
- package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +6 -6
- package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +2 -2
- package/dist/main/cosmos/gov/v1beta1/query.d.ts +4 -4
- package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +2 -2
- package/dist/main/cosmos/staking/v1beta1/query.d.ts +10 -10
- package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +10 -10
- package/dist/main/google/index.d.ts +1 -0
- package/dist/main/google/index.js +17 -0
- package/dist/main/google/protobuf/any.d.ts +2 -0
- package/dist/main/google/protobuf/any.js +6 -2
- package/dist/main/wasm/v1/genesis.d.ts +4 -4
- package/dist/main/wasm/v1/query.d.ts +2 -2
- package/dist/module/coreum/asset/nft/v1/query.d.ts +2 -2
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +6 -6
- package/dist/module/coreum/nft/v1beta1/query.d.ts +8 -8
- package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +2 -2
- package/dist/module/cosmos/authz/v1beta1/query.d.ts +6 -6
- package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +2 -2
- package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +6 -6
- package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +2 -2
- package/dist/module/cosmos/gov/v1beta1/query.d.ts +4 -4
- package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +2 -2
- package/dist/module/cosmos/staking/v1beta1/query.d.ts +10 -10
- package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +10 -10
- package/dist/module/google/index.d.ts +1 -0
- package/dist/module/google/index.js +1 -0
- package/dist/module/google/protobuf/any.d.ts +2 -0
- package/dist/module/google/protobuf/any.js +5 -3
- package/dist/module/wasm/v1/genesis.d.ts +4 -4
- package/dist/module/wasm/v1/query.d.ts +2 -2
- package/package.json +1 -1
|
@@ -172,7 +172,7 @@ export declare const QueryClassResponse: {
|
|
|
172
172
|
} & {
|
|
173
173
|
typeUrl?: string;
|
|
174
174
|
value?: Uint8Array;
|
|
175
|
-
} & { [K in Exclude<keyof I["class"]["data"], keyof import("../../../../google
|
|
175
|
+
} & { [K in Exclude<keyof I["class"]["data"], keyof import("../../../../google").Any>]: never; };
|
|
176
176
|
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_1 in Exclude<keyof I["class"]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
177
177
|
royaltyRate?: string;
|
|
178
178
|
} & { [K_2 in Exclude<keyof I["class"], keyof Class>]: never; };
|
|
@@ -222,7 +222,7 @@ export declare const QueryClassResponse: {
|
|
|
222
222
|
} & {
|
|
223
223
|
typeUrl?: string;
|
|
224
224
|
value?: Uint8Array;
|
|
225
|
-
} & { [K_4 in Exclude<keyof I_1["class"]["data"], keyof import("../../../../google
|
|
225
|
+
} & { [K_4 in Exclude<keyof I_1["class"]["data"], keyof import("../../../../google").Any>]: never; };
|
|
226
226
|
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_5 in Exclude<keyof I_1["class"]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
227
227
|
royaltyRate?: string;
|
|
228
228
|
} & { [K_6 in Exclude<keyof I_1["class"], keyof Class>]: never; };
|
|
@@ -82,7 +82,7 @@ export declare const GenesisState: {
|
|
|
82
82
|
} & {
|
|
83
83
|
typeUrl?: string;
|
|
84
84
|
value?: Uint8Array;
|
|
85
|
-
} & { [K in Exclude<keyof I["classes"][number]["data"], keyof import("../../../google
|
|
85
|
+
} & { [K in Exclude<keyof I["classes"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
86
86
|
} & { [K_1 in Exclude<keyof I["classes"][number], keyof Class>]: never; })[] & { [K_2 in Exclude<keyof I["classes"], keyof {
|
|
87
87
|
id?: string;
|
|
88
88
|
name?: string;
|
|
@@ -150,7 +150,7 @@ export declare const GenesisState: {
|
|
|
150
150
|
} & {
|
|
151
151
|
typeUrl?: string;
|
|
152
152
|
value?: Uint8Array;
|
|
153
|
-
} & { [K_3 in Exclude<keyof I["entries"][number]["nfts"][number]["data"], keyof import("../../../google
|
|
153
|
+
} & { [K_3 in Exclude<keyof I["entries"][number]["nfts"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
154
154
|
} & { [K_4 in Exclude<keyof I["entries"][number]["nfts"][number], keyof NFT>]: never; })[] & { [K_5 in Exclude<keyof I["entries"][number]["nfts"], keyof {
|
|
155
155
|
classId?: string;
|
|
156
156
|
id?: string;
|
|
@@ -237,7 +237,7 @@ export declare const GenesisState: {
|
|
|
237
237
|
} & {
|
|
238
238
|
typeUrl?: string;
|
|
239
239
|
value?: Uint8Array;
|
|
240
|
-
} & { [K_9 in Exclude<keyof I_1["classes"][number]["data"], keyof import("../../../google
|
|
240
|
+
} & { [K_9 in Exclude<keyof I_1["classes"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
241
241
|
} & { [K_10 in Exclude<keyof I_1["classes"][number], keyof Class>]: never; })[] & { [K_11 in Exclude<keyof I_1["classes"], keyof {
|
|
242
242
|
id?: string;
|
|
243
243
|
name?: string;
|
|
@@ -305,7 +305,7 @@ export declare const GenesisState: {
|
|
|
305
305
|
} & {
|
|
306
306
|
typeUrl?: string;
|
|
307
307
|
value?: Uint8Array;
|
|
308
|
-
} & { [K_12 in Exclude<keyof I_1["entries"][number]["nfts"][number]["data"], keyof import("../../../google
|
|
308
|
+
} & { [K_12 in Exclude<keyof I_1["entries"][number]["nfts"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
309
309
|
} & { [K_13 in Exclude<keyof I_1["entries"][number]["nfts"][number], keyof NFT>]: never; })[] & { [K_14 in Exclude<keyof I_1["entries"][number]["nfts"], keyof {
|
|
310
310
|
classId?: string;
|
|
311
311
|
id?: string;
|
|
@@ -379,7 +379,7 @@ export declare const Entry: {
|
|
|
379
379
|
} & {
|
|
380
380
|
typeUrl?: string;
|
|
381
381
|
value?: Uint8Array;
|
|
382
|
-
} & { [K in Exclude<keyof I["nfts"][number]["data"], keyof import("../../../google
|
|
382
|
+
} & { [K in Exclude<keyof I["nfts"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
383
383
|
} & { [K_1 in Exclude<keyof I["nfts"][number], keyof NFT>]: never; })[] & { [K_2 in Exclude<keyof I["nfts"], keyof {
|
|
384
384
|
classId?: string;
|
|
385
385
|
id?: string;
|
|
@@ -434,7 +434,7 @@ export declare const Entry: {
|
|
|
434
434
|
} & {
|
|
435
435
|
typeUrl?: string;
|
|
436
436
|
value?: Uint8Array;
|
|
437
|
-
} & { [K_4 in Exclude<keyof I_1["nfts"][number]["data"], keyof import("../../../google
|
|
437
|
+
} & { [K_4 in Exclude<keyof I_1["nfts"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
438
438
|
} & { [K_5 in Exclude<keyof I_1["nfts"][number], keyof NFT>]: never; })[] & { [K_6 in Exclude<keyof I_1["nfts"], keyof {
|
|
439
439
|
classId?: string;
|
|
440
440
|
id?: string;
|
|
@@ -737,7 +737,7 @@ export declare const QueryNFTsResponse: {
|
|
|
737
737
|
} & {
|
|
738
738
|
typeUrl?: string;
|
|
739
739
|
value?: Uint8Array;
|
|
740
|
-
} & { [K in Exclude<keyof I["nfts"][number]["data"], keyof import("../../../google
|
|
740
|
+
} & { [K in Exclude<keyof I["nfts"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
741
741
|
} & { [K_1 in Exclude<keyof I["nfts"][number], keyof NFT>]: never; })[] & { [K_2 in Exclude<keyof I["nfts"], keyof {
|
|
742
742
|
classId?: string;
|
|
743
743
|
id?: string;
|
|
@@ -858,7 +858,7 @@ export declare const QueryNFTsResponse: {
|
|
|
858
858
|
} & {
|
|
859
859
|
typeUrl?: string;
|
|
860
860
|
value?: Uint8Array;
|
|
861
|
-
} & { [K_6 in Exclude<keyof I_1["nfts"][number]["data"], keyof import("../../../google
|
|
861
|
+
} & { [K_6 in Exclude<keyof I_1["nfts"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
862
862
|
} & { [K_7 in Exclude<keyof I_1["nfts"][number], keyof NFT>]: never; })[] & { [K_8 in Exclude<keyof I_1["nfts"], keyof {
|
|
863
863
|
classId?: string;
|
|
864
864
|
id?: string;
|
|
@@ -992,7 +992,7 @@ export declare const QueryNFTResponse: {
|
|
|
992
992
|
} & {
|
|
993
993
|
typeUrl?: string;
|
|
994
994
|
value?: Uint8Array;
|
|
995
|
-
} & { [K in Exclude<keyof I["nft"]["data"], keyof import("../../../google
|
|
995
|
+
} & { [K in Exclude<keyof I["nft"]["data"], keyof import("../../../google").Any>]: never; };
|
|
996
996
|
} & { [K_1 in Exclude<keyof I["nft"], keyof NFT>]: never; };
|
|
997
997
|
} & { [K_2 in Exclude<keyof I, "nft">]: never; }>(base?: I): QueryNFTResponse;
|
|
998
998
|
fromPartial<I_1 extends {
|
|
@@ -1027,7 +1027,7 @@ export declare const QueryNFTResponse: {
|
|
|
1027
1027
|
} & {
|
|
1028
1028
|
typeUrl?: string;
|
|
1029
1029
|
value?: Uint8Array;
|
|
1030
|
-
} & { [K_3 in Exclude<keyof I_1["nft"]["data"], keyof import("../../../google
|
|
1030
|
+
} & { [K_3 in Exclude<keyof I_1["nft"]["data"], keyof import("../../../google").Any>]: never; };
|
|
1031
1031
|
} & { [K_4 in Exclude<keyof I_1["nft"], keyof NFT>]: never; };
|
|
1032
1032
|
} & { [K_5 in Exclude<keyof I_1, "nft">]: never; }>(object: I_1): QueryNFTResponse;
|
|
1033
1033
|
};
|
|
@@ -1090,7 +1090,7 @@ export declare const QueryClassResponse: {
|
|
|
1090
1090
|
} & {
|
|
1091
1091
|
typeUrl?: string;
|
|
1092
1092
|
value?: Uint8Array;
|
|
1093
|
-
} & { [K in Exclude<keyof I["class"]["data"], keyof import("../../../google
|
|
1093
|
+
} & { [K in Exclude<keyof I["class"]["data"], keyof import("../../../google").Any>]: never; };
|
|
1094
1094
|
} & { [K_1 in Exclude<keyof I["class"], keyof Class>]: never; };
|
|
1095
1095
|
} & { [K_2 in Exclude<keyof I, "class">]: never; }>(base?: I): QueryClassResponse;
|
|
1096
1096
|
fromPartial<I_1 extends {
|
|
@@ -1131,7 +1131,7 @@ export declare const QueryClassResponse: {
|
|
|
1131
1131
|
} & {
|
|
1132
1132
|
typeUrl?: string;
|
|
1133
1133
|
value?: Uint8Array;
|
|
1134
|
-
} & { [K_3 in Exclude<keyof I_1["class"]["data"], keyof import("../../../google
|
|
1134
|
+
} & { [K_3 in Exclude<keyof I_1["class"]["data"], keyof import("../../../google").Any>]: never; };
|
|
1135
1135
|
} & { [K_4 in Exclude<keyof I_1["class"], keyof Class>]: never; };
|
|
1136
1136
|
} & { [K_5 in Exclude<keyof I_1, "class">]: never; }>(object: I_1): QueryClassResponse;
|
|
1137
1137
|
};
|
|
@@ -1473,7 +1473,7 @@ export declare const QueryClassesResponse: {
|
|
|
1473
1473
|
} & {
|
|
1474
1474
|
typeUrl?: string;
|
|
1475
1475
|
value?: Uint8Array;
|
|
1476
|
-
} & { [K in Exclude<keyof I["classes"][number]["data"], keyof import("../../../google
|
|
1476
|
+
} & { [K in Exclude<keyof I["classes"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
1477
1477
|
} & { [K_1 in Exclude<keyof I["classes"][number], keyof Class>]: never; })[] & { [K_2 in Exclude<keyof I["classes"], keyof {
|
|
1478
1478
|
id?: string;
|
|
1479
1479
|
name?: string;
|
|
@@ -1604,7 +1604,7 @@ export declare const QueryClassesResponse: {
|
|
|
1604
1604
|
} & {
|
|
1605
1605
|
typeUrl?: string;
|
|
1606
1606
|
value?: Uint8Array;
|
|
1607
|
-
} & { [K_6 in Exclude<keyof I_1["classes"][number]["data"], keyof import("../../../google
|
|
1607
|
+
} & { [K_6 in Exclude<keyof I_1["classes"][number]["data"], keyof import("../../../google").Any>]: never; };
|
|
1608
1608
|
} & { [K_7 in Exclude<keyof I_1["classes"][number], keyof Class>]: never; })[] & { [K_8 in Exclude<keyof I_1["classes"], keyof {
|
|
1609
1609
|
id?: string;
|
|
1610
1610
|
name?: string;
|
|
@@ -47,7 +47,7 @@ export declare const GenesisState: {
|
|
|
47
47
|
} & {
|
|
48
48
|
typeUrl?: string;
|
|
49
49
|
value?: Uint8Array;
|
|
50
|
-
} & { [K in Exclude<keyof I["authorization"][number]["authorization"], keyof import("../../../google
|
|
50
|
+
} & { [K in Exclude<keyof I["authorization"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
51
51
|
expiration?: Date;
|
|
52
52
|
} & { [K_1 in Exclude<keyof I["authorization"][number], keyof GrantAuthorization>]: never; })[] & { [K_2 in Exclude<keyof I["authorization"], keyof {
|
|
53
53
|
granter?: string;
|
|
@@ -95,7 +95,7 @@ export declare const GenesisState: {
|
|
|
95
95
|
} & {
|
|
96
96
|
typeUrl?: string;
|
|
97
97
|
value?: Uint8Array;
|
|
98
|
-
} & { [K_4 in Exclude<keyof I_1["authorization"][number]["authorization"], keyof import("../../../google
|
|
98
|
+
} & { [K_4 in Exclude<keyof I_1["authorization"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
99
99
|
expiration?: Date;
|
|
100
100
|
} & { [K_5 in Exclude<keyof I_1["authorization"][number], keyof GrantAuthorization>]: never; })[] & { [K_6 in Exclude<keyof I_1["authorization"], keyof {
|
|
101
101
|
granter?: string;
|
|
@@ -146,7 +146,7 @@ export declare const QueryGrantsResponse: {
|
|
|
146
146
|
} & {
|
|
147
147
|
typeUrl?: string;
|
|
148
148
|
value?: Uint8Array;
|
|
149
|
-
} & { [K in Exclude<keyof I["grants"][number]["authorization"], keyof import("../../../google
|
|
149
|
+
} & { [K in Exclude<keyof I["grants"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
150
150
|
expiration?: Date;
|
|
151
151
|
} & { [K_1 in Exclude<keyof I["grants"][number], keyof Grant>]: never; })[] & { [K_2 in Exclude<keyof I["grants"], keyof {
|
|
152
152
|
authorization?: {
|
|
@@ -195,7 +195,7 @@ export declare const QueryGrantsResponse: {
|
|
|
195
195
|
} & {
|
|
196
196
|
typeUrl?: string;
|
|
197
197
|
value?: Uint8Array;
|
|
198
|
-
} & { [K_5 in Exclude<keyof I_1["grants"][number]["authorization"], keyof import("../../../google
|
|
198
|
+
} & { [K_5 in Exclude<keyof I_1["grants"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
199
199
|
expiration?: Date;
|
|
200
200
|
} & { [K_6 in Exclude<keyof I_1["grants"][number], keyof Grant>]: never; })[] & { [K_7 in Exclude<keyof I_1["grants"], keyof {
|
|
201
201
|
authorization?: {
|
|
@@ -314,7 +314,7 @@ export declare const QueryGranterGrantsResponse: {
|
|
|
314
314
|
} & {
|
|
315
315
|
typeUrl?: string;
|
|
316
316
|
value?: Uint8Array;
|
|
317
|
-
} & { [K in Exclude<keyof I["grants"][number]["authorization"], keyof import("../../../google
|
|
317
|
+
} & { [K in Exclude<keyof I["grants"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
318
318
|
expiration?: Date;
|
|
319
319
|
} & { [K_1 in Exclude<keyof I["grants"][number], keyof GrantAuthorization>]: never; })[] & { [K_2 in Exclude<keyof I["grants"], keyof {
|
|
320
320
|
granter?: string;
|
|
@@ -373,7 +373,7 @@ export declare const QueryGranterGrantsResponse: {
|
|
|
373
373
|
} & {
|
|
374
374
|
typeUrl?: string;
|
|
375
375
|
value?: Uint8Array;
|
|
376
|
-
} & { [K_5 in Exclude<keyof I_1["grants"][number]["authorization"], keyof import("../../../google
|
|
376
|
+
} & { [K_5 in Exclude<keyof I_1["grants"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
377
377
|
expiration?: Date;
|
|
378
378
|
} & { [K_6 in Exclude<keyof I_1["grants"][number], keyof GrantAuthorization>]: never; })[] & { [K_7 in Exclude<keyof I_1["grants"], keyof {
|
|
379
379
|
granter?: string;
|
|
@@ -494,7 +494,7 @@ export declare const QueryGranteeGrantsResponse: {
|
|
|
494
494
|
} & {
|
|
495
495
|
typeUrl?: string;
|
|
496
496
|
value?: Uint8Array;
|
|
497
|
-
} & { [K in Exclude<keyof I["grants"][number]["authorization"], keyof import("../../../google
|
|
497
|
+
} & { [K in Exclude<keyof I["grants"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
498
498
|
expiration?: Date;
|
|
499
499
|
} & { [K_1 in Exclude<keyof I["grants"][number], keyof GrantAuthorization>]: never; })[] & { [K_2 in Exclude<keyof I["grants"], keyof {
|
|
500
500
|
granter?: string;
|
|
@@ -553,7 +553,7 @@ export declare const QueryGranteeGrantsResponse: {
|
|
|
553
553
|
} & {
|
|
554
554
|
typeUrl?: string;
|
|
555
555
|
value?: Uint8Array;
|
|
556
|
-
} & { [K_5 in Exclude<keyof I_1["grants"][number]["authorization"], keyof import("../../../google
|
|
556
|
+
} & { [K_5 in Exclude<keyof I_1["grants"][number]["authorization"], keyof import("../../../google").Any>]: never; };
|
|
557
557
|
expiration?: Date;
|
|
558
558
|
} & { [K_6 in Exclude<keyof I_1["grants"][number], keyof GrantAuthorization>]: never; })[] & { [K_7 in Exclude<keyof I_1["grants"], keyof {
|
|
559
559
|
granter?: string;
|
|
@@ -44,7 +44,7 @@ export declare const GenesisState: {
|
|
|
44
44
|
} & {
|
|
45
45
|
typeUrl?: string;
|
|
46
46
|
value?: Uint8Array;
|
|
47
|
-
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google
|
|
47
|
+
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
48
48
|
} & { [K_1 in Exclude<keyof I["allowances"][number], keyof Grant>]: never; })[] & { [K_2 in Exclude<keyof I["allowances"], keyof {
|
|
49
49
|
granter?: string;
|
|
50
50
|
grantee?: string;
|
|
@@ -87,7 +87,7 @@ export declare const GenesisState: {
|
|
|
87
87
|
} & {
|
|
88
88
|
typeUrl?: string;
|
|
89
89
|
value?: Uint8Array;
|
|
90
|
-
} & { [K_4 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google
|
|
90
|
+
} & { [K_4 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
91
91
|
} & { [K_5 in Exclude<keyof I_1["allowances"][number], keyof Grant>]: never; })[] & { [K_6 in Exclude<keyof I_1["allowances"], keyof {
|
|
92
92
|
granter?: string;
|
|
93
93
|
grantee?: string;
|
|
@@ -100,7 +100,7 @@ export declare const QueryAllowanceResponse: {
|
|
|
100
100
|
} & {
|
|
101
101
|
typeUrl?: string;
|
|
102
102
|
value?: Uint8Array;
|
|
103
|
-
} & { [K in Exclude<keyof I["allowance"]["allowance"], keyof import("../../../google
|
|
103
|
+
} & { [K in Exclude<keyof I["allowance"]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
104
104
|
} & { [K_1 in Exclude<keyof I["allowance"], keyof Grant>]: never; };
|
|
105
105
|
} & { [K_2 in Exclude<keyof I, "allowance">]: never; }>(base?: I): QueryAllowanceResponse;
|
|
106
106
|
fromPartial<I_1 extends {
|
|
@@ -129,7 +129,7 @@ export declare const QueryAllowanceResponse: {
|
|
|
129
129
|
} & {
|
|
130
130
|
typeUrl?: string;
|
|
131
131
|
value?: Uint8Array;
|
|
132
|
-
} & { [K_3 in Exclude<keyof I_1["allowance"]["allowance"], keyof import("../../../google
|
|
132
|
+
} & { [K_3 in Exclude<keyof I_1["allowance"]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
133
133
|
} & { [K_4 in Exclude<keyof I_1["allowance"], keyof Grant>]: never; };
|
|
134
134
|
} & { [K_5 in Exclude<keyof I_1, "allowance">]: never; }>(object: I_1): QueryAllowanceResponse;
|
|
135
135
|
};
|
|
@@ -231,7 +231,7 @@ export declare const QueryAllowancesResponse: {
|
|
|
231
231
|
} & {
|
|
232
232
|
typeUrl?: string;
|
|
233
233
|
value?: Uint8Array;
|
|
234
|
-
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google
|
|
234
|
+
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
235
235
|
} & { [K_1 in Exclude<keyof I["allowances"][number], keyof Grant>]: never; })[] & { [K_2 in Exclude<keyof I["allowances"], keyof {
|
|
236
236
|
granter?: string;
|
|
237
237
|
grantee?: string;
|
|
@@ -285,7 +285,7 @@ export declare const QueryAllowancesResponse: {
|
|
|
285
285
|
} & {
|
|
286
286
|
typeUrl?: string;
|
|
287
287
|
value?: Uint8Array;
|
|
288
|
-
} & { [K_5 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google
|
|
288
|
+
} & { [K_5 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
289
289
|
} & { [K_6 in Exclude<keyof I_1["allowances"][number], keyof Grant>]: never; })[] & { [K_7 in Exclude<keyof I_1["allowances"], keyof {
|
|
290
290
|
granter?: string;
|
|
291
291
|
grantee?: string;
|
|
@@ -401,7 +401,7 @@ export declare const QueryAllowancesByGranterResponse: {
|
|
|
401
401
|
} & {
|
|
402
402
|
typeUrl?: string;
|
|
403
403
|
value?: Uint8Array;
|
|
404
|
-
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google
|
|
404
|
+
} & { [K in Exclude<keyof I["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
405
405
|
} & { [K_1 in Exclude<keyof I["allowances"][number], keyof Grant>]: never; })[] & { [K_2 in Exclude<keyof I["allowances"], keyof {
|
|
406
406
|
granter?: string;
|
|
407
407
|
grantee?: string;
|
|
@@ -455,7 +455,7 @@ export declare const QueryAllowancesByGranterResponse: {
|
|
|
455
455
|
} & {
|
|
456
456
|
typeUrl?: string;
|
|
457
457
|
value?: Uint8Array;
|
|
458
|
-
} & { [K_5 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google
|
|
458
|
+
} & { [K_5 in Exclude<keyof I_1["allowances"][number]["allowance"], keyof import("../../../google").Any>]: never; };
|
|
459
459
|
} & { [K_6 in Exclude<keyof I_1["allowances"][number], keyof Grant>]: never; })[] & { [K_7 in Exclude<keyof I_1["allowances"], keyof {
|
|
460
460
|
granter?: string;
|
|
461
461
|
grantee?: string;
|
|
@@ -217,7 +217,7 @@ export declare const GenesisState: {
|
|
|
217
217
|
} & {
|
|
218
218
|
typeUrl?: string;
|
|
219
219
|
value?: Uint8Array;
|
|
220
|
-
} & { [K_8 in Exclude<keyof I["proposals"][number]["content"], keyof import("../../../google
|
|
220
|
+
} & { [K_8 in Exclude<keyof I["proposals"][number]["content"], keyof import("../../../google").Any>]: never; };
|
|
221
221
|
status?: import("./gov").ProposalStatus;
|
|
222
222
|
finalTallyResult?: {
|
|
223
223
|
yes?: string;
|
|
@@ -518,7 +518,7 @@ export declare const GenesisState: {
|
|
|
518
518
|
} & {
|
|
519
519
|
typeUrl?: string;
|
|
520
520
|
value?: Uint8Array;
|
|
521
|
-
} & { [K_30 in Exclude<keyof I_1["proposals"][number]["content"], keyof import("../../../google
|
|
521
|
+
} & { [K_30 in Exclude<keyof I_1["proposals"][number]["content"], keyof import("../../../google").Any>]: never; };
|
|
522
522
|
status?: import("./gov").ProposalStatus;
|
|
523
523
|
finalTallyResult?: {
|
|
524
524
|
yes?: string;
|
|
@@ -185,7 +185,7 @@ export declare const QueryProposalResponse: {
|
|
|
185
185
|
} & {
|
|
186
186
|
typeUrl?: string;
|
|
187
187
|
value?: Uint8Array;
|
|
188
|
-
} & { [K in Exclude<keyof I["proposal"]["content"], keyof import("../../../google
|
|
188
|
+
} & { [K in Exclude<keyof I["proposal"]["content"], keyof import("../../../google").Any>]: never; };
|
|
189
189
|
status?: ProposalStatus;
|
|
190
190
|
finalTallyResult?: {
|
|
191
191
|
yes?: string;
|
|
@@ -270,7 +270,7 @@ export declare const QueryProposalResponse: {
|
|
|
270
270
|
} & {
|
|
271
271
|
typeUrl?: string;
|
|
272
272
|
value?: Uint8Array;
|
|
273
|
-
} & { [K_6 in Exclude<keyof I_1["proposal"]["content"], keyof import("../../../google
|
|
273
|
+
} & { [K_6 in Exclude<keyof I_1["proposal"]["content"], keyof import("../../../google").Any>]: never; };
|
|
274
274
|
status?: ProposalStatus;
|
|
275
275
|
finalTallyResult?: {
|
|
276
276
|
yes?: string;
|
|
@@ -450,7 +450,7 @@ export declare const QueryProposalsResponse: {
|
|
|
450
450
|
} & {
|
|
451
451
|
typeUrl?: string;
|
|
452
452
|
value?: Uint8Array;
|
|
453
|
-
} & { [K in Exclude<keyof I["proposals"][number]["content"], keyof import("../../../google
|
|
453
|
+
} & { [K in Exclude<keyof I["proposals"][number]["content"], keyof import("../../../google").Any>]: never; };
|
|
454
454
|
status?: ProposalStatus;
|
|
455
455
|
finalTallyResult?: {
|
|
456
456
|
yes?: string;
|
|
@@ -588,7 +588,7 @@ export declare const QueryProposalsResponse: {
|
|
|
588
588
|
} & {
|
|
589
589
|
typeUrl?: string;
|
|
590
590
|
value?: Uint8Array;
|
|
591
|
-
} & { [K_8 in Exclude<keyof I_1["proposals"][number]["content"], keyof import("../../../google
|
|
591
|
+
} & { [K_8 in Exclude<keyof I_1["proposals"][number]["content"], keyof import("../../../google").Any>]: never; };
|
|
592
592
|
status?: ProposalStatus;
|
|
593
593
|
finalTallyResult?: {
|
|
594
594
|
yes?: string;
|
|
@@ -223,7 +223,7 @@ export declare const GenesisState: {
|
|
|
223
223
|
} & {
|
|
224
224
|
typeUrl?: string;
|
|
225
225
|
value?: Uint8Array;
|
|
226
|
-
} & { [K_4 in Exclude<keyof I["validators"][number]["consensusPubkey"], keyof import("../../../google
|
|
226
|
+
} & { [K_4 in Exclude<keyof I["validators"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
227
227
|
jailed?: boolean;
|
|
228
228
|
status?: import("./staking").BondStatus;
|
|
229
229
|
tokens?: string;
|
|
@@ -637,7 +637,7 @@ export declare const GenesisState: {
|
|
|
637
637
|
} & {
|
|
638
638
|
typeUrl?: string;
|
|
639
639
|
value?: Uint8Array;
|
|
640
|
-
} & { [K_26 in Exclude<keyof I_1["validators"][number]["consensusPubkey"], keyof import("../../../google
|
|
640
|
+
} & { [K_26 in Exclude<keyof I_1["validators"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
641
641
|
jailed?: boolean;
|
|
642
642
|
status?: import("./staking").BondStatus;
|
|
643
643
|
tokens?: string;
|
|
@@ -392,7 +392,7 @@ export declare const QueryValidatorsResponse: {
|
|
|
392
392
|
} & {
|
|
393
393
|
typeUrl?: string;
|
|
394
394
|
value?: Uint8Array;
|
|
395
|
-
} & { [K in Exclude<keyof I["validators"][number]["consensusPubkey"], keyof import("../../../google
|
|
395
|
+
} & { [K in Exclude<keyof I["validators"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
396
396
|
jailed?: boolean;
|
|
397
397
|
status?: import("./staking").BondStatus;
|
|
398
398
|
tokens?: string;
|
|
@@ -578,7 +578,7 @@ export declare const QueryValidatorsResponse: {
|
|
|
578
578
|
} & {
|
|
579
579
|
typeUrl?: string;
|
|
580
580
|
value?: Uint8Array;
|
|
581
|
-
} & { [K_9 in Exclude<keyof I_1["validators"][number]["consensusPubkey"], keyof import("../../../google
|
|
581
|
+
} & { [K_9 in Exclude<keyof I_1["validators"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
582
582
|
jailed?: boolean;
|
|
583
583
|
status?: import("./staking").BondStatus;
|
|
584
584
|
tokens?: string;
|
|
@@ -752,7 +752,7 @@ export declare const QueryValidatorResponse: {
|
|
|
752
752
|
} & {
|
|
753
753
|
typeUrl?: string;
|
|
754
754
|
value?: Uint8Array;
|
|
755
|
-
} & { [K in Exclude<keyof I["validator"]["consensusPubkey"], keyof import("../../../google
|
|
755
|
+
} & { [K in Exclude<keyof I["validator"]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
756
756
|
jailed?: boolean;
|
|
757
757
|
status?: import("./staking").BondStatus;
|
|
758
758
|
tokens?: string;
|
|
@@ -867,7 +867,7 @@ export declare const QueryValidatorResponse: {
|
|
|
867
867
|
} & {
|
|
868
868
|
typeUrl?: string;
|
|
869
869
|
value?: Uint8Array;
|
|
870
|
-
} & { [K_7 in Exclude<keyof I_1["validator"]["consensusPubkey"], keyof import("../../../google
|
|
870
|
+
} & { [K_7 in Exclude<keyof I_1["validator"]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
871
871
|
jailed?: boolean;
|
|
872
872
|
status?: import("./staking").BondStatus;
|
|
873
873
|
tokens?: string;
|
|
@@ -2732,7 +2732,7 @@ export declare const QueryDelegatorValidatorsResponse: {
|
|
|
2732
2732
|
} & {
|
|
2733
2733
|
typeUrl?: string;
|
|
2734
2734
|
value?: Uint8Array;
|
|
2735
|
-
} & { [K in Exclude<keyof I["validators"][number]["consensusPubkey"], keyof import("../../../google
|
|
2735
|
+
} & { [K in Exclude<keyof I["validators"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
2736
2736
|
jailed?: boolean;
|
|
2737
2737
|
status?: import("./staking").BondStatus;
|
|
2738
2738
|
tokens?: string;
|
|
@@ -2918,7 +2918,7 @@ export declare const QueryDelegatorValidatorsResponse: {
|
|
|
2918
2918
|
} & {
|
|
2919
2919
|
typeUrl?: string;
|
|
2920
2920
|
value?: Uint8Array;
|
|
2921
|
-
} & { [K_9 in Exclude<keyof I_1["validators"][number]["consensusPubkey"], keyof import("../../../google
|
|
2921
|
+
} & { [K_9 in Exclude<keyof I_1["validators"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
2922
2922
|
jailed?: boolean;
|
|
2923
2923
|
status?: import("./staking").BondStatus;
|
|
2924
2924
|
tokens?: string;
|
|
@@ -3096,7 +3096,7 @@ export declare const QueryDelegatorValidatorResponse: {
|
|
|
3096
3096
|
} & {
|
|
3097
3097
|
typeUrl?: string;
|
|
3098
3098
|
value?: Uint8Array;
|
|
3099
|
-
} & { [K in Exclude<keyof I["validator"]["consensusPubkey"], keyof import("../../../google
|
|
3099
|
+
} & { [K in Exclude<keyof I["validator"]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
3100
3100
|
jailed?: boolean;
|
|
3101
3101
|
status?: import("./staking").BondStatus;
|
|
3102
3102
|
tokens?: string;
|
|
@@ -3211,7 +3211,7 @@ export declare const QueryDelegatorValidatorResponse: {
|
|
|
3211
3211
|
} & {
|
|
3212
3212
|
typeUrl?: string;
|
|
3213
3213
|
value?: Uint8Array;
|
|
3214
|
-
} & { [K_7 in Exclude<keyof I_1["validator"]["consensusPubkey"], keyof import("../../../google
|
|
3214
|
+
} & { [K_7 in Exclude<keyof I_1["validator"]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
3215
3215
|
jailed?: boolean;
|
|
3216
3216
|
status?: import("./staking").BondStatus;
|
|
3217
3217
|
tokens?: string;
|
|
@@ -3524,7 +3524,7 @@ export declare const QueryHistoricalInfoResponse: {
|
|
|
3524
3524
|
} & {
|
|
3525
3525
|
typeUrl?: string;
|
|
3526
3526
|
value?: Uint8Array;
|
|
3527
|
-
} & { [K_4 in Exclude<keyof I["hist"]["valset"][number]["consensusPubkey"], keyof import("../../../google
|
|
3527
|
+
} & { [K_4 in Exclude<keyof I["hist"]["valset"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
3528
3528
|
jailed?: boolean;
|
|
3529
3529
|
status?: import("./staking").BondStatus;
|
|
3530
3530
|
tokens?: string;
|
|
@@ -3846,7 +3846,7 @@ export declare const QueryHistoricalInfoResponse: {
|
|
|
3846
3846
|
} & {
|
|
3847
3847
|
typeUrl?: string;
|
|
3848
3848
|
value?: Uint8Array;
|
|
3849
|
-
} & { [K_17 in Exclude<keyof I_1["hist"]["valset"][number]["consensusPubkey"], keyof import("../../../google
|
|
3849
|
+
} & { [K_17 in Exclude<keyof I_1["hist"]["valset"][number]["consensusPubkey"], keyof import("../../../google").Any>]: never; };
|
|
3850
3850
|
jailed?: boolean;
|
|
3851
3851
|
status?: import("./staking").BondStatus;
|
|
3852
3852
|
tokens?: string;
|
|
@@ -101,7 +101,7 @@ export declare const BaseVestingAccount: {
|
|
|
101
101
|
} & {
|
|
102
102
|
typeUrl?: string;
|
|
103
103
|
value?: Uint8Array;
|
|
104
|
-
} & { [K in Exclude<keyof I["baseAccount"]["pubKey"], keyof import("../../../google
|
|
104
|
+
} & { [K in Exclude<keyof I["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
105
105
|
accountNumber?: number;
|
|
106
106
|
sequence?: number;
|
|
107
107
|
} & { [K_1 in Exclude<keyof I["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -186,7 +186,7 @@ export declare const BaseVestingAccount: {
|
|
|
186
186
|
} & {
|
|
187
187
|
typeUrl?: string;
|
|
188
188
|
value?: Uint8Array;
|
|
189
|
-
} & { [K_9 in Exclude<keyof I_1["baseAccount"]["pubKey"], keyof import("../../../google
|
|
189
|
+
} & { [K_9 in Exclude<keyof I_1["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
190
190
|
accountNumber?: number;
|
|
191
191
|
sequence?: number;
|
|
192
192
|
} & { [K_10 in Exclude<keyof I_1["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -304,7 +304,7 @@ export declare const ContinuousVestingAccount: {
|
|
|
304
304
|
} & {
|
|
305
305
|
typeUrl?: string;
|
|
306
306
|
value?: Uint8Array;
|
|
307
|
-
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
307
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
308
308
|
accountNumber?: number;
|
|
309
309
|
sequence?: number;
|
|
310
310
|
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -418,7 +418,7 @@ export declare const ContinuousVestingAccount: {
|
|
|
418
418
|
} & {
|
|
419
419
|
typeUrl?: string;
|
|
420
420
|
value?: Uint8Array;
|
|
421
|
-
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
421
|
+
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
422
422
|
accountNumber?: number;
|
|
423
423
|
sequence?: number;
|
|
424
424
|
} & { [K_11 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -537,7 +537,7 @@ export declare const DelayedVestingAccount: {
|
|
|
537
537
|
} & {
|
|
538
538
|
typeUrl?: string;
|
|
539
539
|
value?: Uint8Array;
|
|
540
|
-
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
540
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
541
541
|
accountNumber?: number;
|
|
542
542
|
sequence?: number;
|
|
543
543
|
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -649,7 +649,7 @@ export declare const DelayedVestingAccount: {
|
|
|
649
649
|
} & {
|
|
650
650
|
typeUrl?: string;
|
|
651
651
|
value?: Uint8Array;
|
|
652
|
-
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
652
|
+
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
653
653
|
accountNumber?: number;
|
|
654
654
|
sequence?: number;
|
|
655
655
|
} & { [K_11 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -825,7 +825,7 @@ export declare const PeriodicVestingAccount: {
|
|
|
825
825
|
} & {
|
|
826
826
|
typeUrl?: string;
|
|
827
827
|
value?: Uint8Array;
|
|
828
|
-
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
828
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
829
829
|
accountNumber?: number;
|
|
830
830
|
sequence?: number;
|
|
831
831
|
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -980,7 +980,7 @@ export declare const PeriodicVestingAccount: {
|
|
|
980
980
|
} & {
|
|
981
981
|
typeUrl?: string;
|
|
982
982
|
value?: Uint8Array;
|
|
983
|
-
} & { [K_14 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
983
|
+
} & { [K_14 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
984
984
|
accountNumber?: number;
|
|
985
985
|
sequence?: number;
|
|
986
986
|
} & { [K_15 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -1133,7 +1133,7 @@ export declare const PermanentLockedAccount: {
|
|
|
1133
1133
|
} & {
|
|
1134
1134
|
typeUrl?: string;
|
|
1135
1135
|
value?: Uint8Array;
|
|
1136
|
-
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
1136
|
+
} & { [K in Exclude<keyof I["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
1137
1137
|
accountNumber?: number;
|
|
1138
1138
|
sequence?: number;
|
|
1139
1139
|
} & { [K_1 in Exclude<keyof I["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -1245,7 +1245,7 @@ export declare const PermanentLockedAccount: {
|
|
|
1245
1245
|
} & {
|
|
1246
1246
|
typeUrl?: string;
|
|
1247
1247
|
value?: Uint8Array;
|
|
1248
|
-
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google
|
|
1248
|
+
} & { [K_10 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"]["pubKey"], keyof import("../../../google").Any>]: never; };
|
|
1249
1249
|
accountNumber?: number;
|
|
1250
1250
|
sequence?: number;
|
|
1251
1251
|
} & { [K_11 in Exclude<keyof I_1["baseVestingAccount"]["baseAccount"], keyof BaseAccount>]: never; };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./protobuf/any";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./protobuf/any"), exports);
|
|
@@ -135,6 +135,8 @@ export declare const Any: {
|
|
|
135
135
|
value?: Uint8Array;
|
|
136
136
|
} & { [K_1 in Exclude<keyof I_1, keyof Any>]: never; }>(object: I_1): Any;
|
|
137
137
|
};
|
|
138
|
+
export declare function bytesFromBase64(b64: string): Uint8Array;
|
|
139
|
+
export declare function base64FromBytes(arr: Uint8Array): string;
|
|
138
140
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
139
141
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
140
142
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Any = exports.protobufPackage = void 0;
|
|
6
|
+
exports.base64FromBytes = exports.bytesFromBase64 = exports.Any = exports.protobufPackage = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -51,7 +51,9 @@ exports.Any = {
|
|
|
51
51
|
fromJSON(object) {
|
|
52
52
|
return {
|
|
53
53
|
typeUrl: isSet(object.typeUrl) ? String(object.typeUrl) : "",
|
|
54
|
-
value: isSet(object.value)
|
|
54
|
+
value: isSet(object.value)
|
|
55
|
+
? bytesFromBase64(object.value)
|
|
56
|
+
: new Uint8Array(),
|
|
55
57
|
};
|
|
56
58
|
},
|
|
57
59
|
toJSON(message) {
|
|
@@ -100,6 +102,7 @@ function bytesFromBase64(b64) {
|
|
|
100
102
|
return arr;
|
|
101
103
|
}
|
|
102
104
|
}
|
|
105
|
+
exports.bytesFromBase64 = bytesFromBase64;
|
|
103
106
|
function base64FromBytes(arr) {
|
|
104
107
|
if (tsProtoGlobalThis.Buffer) {
|
|
105
108
|
return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
|
|
@@ -112,6 +115,7 @@ function base64FromBytes(arr) {
|
|
|
112
115
|
return tsProtoGlobalThis.btoa(bin.join(""));
|
|
113
116
|
}
|
|
114
117
|
}
|
|
118
|
+
exports.base64FromBytes = base64FromBytes;
|
|
115
119
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
116
120
|
minimal_1.default.util.Long = long_1.default;
|
|
117
121
|
minimal_1.default.configure();
|