coreum-js 2.16.1 → 2.16.3

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.
Files changed (108) hide show
  1. package/dist/main/client/index.js +1 -1
  2. package/dist/main/coreum/asset/ft/v1/event.d.ts +6 -98
  3. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +4 -500
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +2 -54
  5. package/dist/main/coreum/asset/ft/v1/query.d.ts +28 -1852
  6. package/dist/main/coreum/asset/ft/v1/token.d.ts +12 -210
  7. package/dist/main/coreum/asset/ft/v1/token.js +3 -3
  8. package/dist/main/coreum/asset/ft/v1/tx.d.ts +36 -644
  9. package/dist/main/coreum/asset/nft/v1/event.d.ts +10 -114
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +8 -258
  11. package/dist/main/coreum/asset/nft/v1/nft.d.ts +4 -86
  12. package/dist/main/coreum/asset/nft/v1/nft.js +3 -3
  13. package/dist/main/coreum/asset/nft/v1/params.d.ts +2 -28
  14. package/dist/main/coreum/asset/nft/v1/query.d.ts +20 -638
  15. package/dist/main/coreum/asset/nft/v1/tx.d.ts +16 -212
  16. package/dist/main/coreum/asset/nft/v1/types.d.ts +2 -10
  17. package/dist/main/coreum/customparams/v1/genesis.d.ts +2 -22
  18. package/dist/main/coreum/customparams/v1/params.d.ts +2 -10
  19. package/dist/main/coreum/customparams/v1/query.d.ts +4 -24
  20. package/dist/main/coreum/extensions/ft.js +1 -2
  21. package/dist/main/coreum/extensions/nft.js +1 -2
  22. package/dist/main/coreum/extensions/nftbeta.js +1 -2
  23. package/dist/main/coreum/feemodel/v1/genesis.d.ts +2 -222
  24. package/dist/main/coreum/feemodel/v1/params.d.ts +4 -320
  25. package/dist/main/coreum/feemodel/v1/query.d.ts +8 -232
  26. package/dist/main/coreum/nft/v1beta1/event.d.ts +6 -58
  27. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +4 -420
  28. package/dist/main/coreum/nft/v1beta1/nft.d.ts +4 -96
  29. package/dist/main/coreum/nft/v1beta1/query.d.ts +28 -1532
  30. package/dist/main/coreum/nft/v1beta1/tx.d.ts +4 -24
  31. package/dist/main/cosmos/extensions/bank.js +1 -2
  32. package/dist/main/cosmos/extensions/distribution.js +1 -2
  33. package/dist/main/cosmos/extensions/gov.js +1 -2
  34. package/dist/main/google/api/http.d.ts +6 -2636
  35. package/dist/main/google/protobuf/any.d.ts +2 -14
  36. package/dist/main/google/protobuf/any.js +3 -3
  37. package/dist/main/google/protobuf/duration.d.ts +2 -14
  38. package/dist/main/google/protobuf/timestamp.d.ts +2 -14
  39. package/dist/main/index.js +17 -7
  40. package/dist/main/tendermint/abci/types.d.ts +92 -6360
  41. package/dist/main/tendermint/abci/types.js +12 -12
  42. package/dist/main/tendermint/crypto/keys.d.ts +2 -14
  43. package/dist/main/tendermint/crypto/proof.d.ts +10 -152
  44. package/dist/main/tendermint/types/params.d.ts +12 -196
  45. package/dist/main/tendermint/types/types.d.ts +26 -1744
  46. package/dist/main/tendermint/types/types.js +5 -5
  47. package/dist/main/tendermint/types/validator.d.ts +6 -230
  48. package/dist/main/tendermint/version/types.d.ts +4 -28
  49. package/dist/main/types/coreum.js +3 -3
  50. package/dist/main/utils/convertStringToAny.d.ts +1 -0
  51. package/dist/main/utils/nft.js +1 -2
  52. package/dist/main/wasm/v1/authz.d.ts +18 -414
  53. package/dist/main/wasm/v1/extensions/wasm.js +1 -2
  54. package/dist/main/wasm/v1/genesis.d.ts +8 -994
  55. package/dist/main/wasm/v1/ibc.d.ts +6 -42
  56. package/dist/main/wasm/v1/pagination.d.ts +4 -40
  57. package/dist/main/wasm/v1/proposal.d.ts +26 -640
  58. package/dist/main/wasm/v1/query.d.ts +46 -1060
  59. package/dist/main/wasm/v1/tx.d.ts +52 -630
  60. package/dist/main/wasm/v1/types.d.ts +16 -246
  61. package/dist/main/wasm/v1/types.js +5 -5
  62. package/dist/module/client/index.js +2 -2
  63. package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
  64. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
  65. package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
  66. package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
  67. package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
  68. package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
  69. package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
  70. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
  71. package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
  72. package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
  73. package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
  74. package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
  75. package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
  76. package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
  77. package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
  78. package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
  79. package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
  80. package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
  81. package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
  82. package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
  83. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
  84. package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
  85. package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
  86. package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
  87. package/dist/module/google/api/http.d.ts +6 -2636
  88. package/dist/module/google/protobuf/any.d.ts +2 -14
  89. package/dist/module/google/protobuf/duration.d.ts +2 -14
  90. package/dist/module/google/protobuf/timestamp.d.ts +2 -14
  91. package/dist/module/tendermint/abci/types.d.ts +92 -6360
  92. package/dist/module/tendermint/crypto/keys.d.ts +2 -14
  93. package/dist/module/tendermint/crypto/proof.d.ts +10 -152
  94. package/dist/module/tendermint/types/params.d.ts +12 -196
  95. package/dist/module/tendermint/types/types.d.ts +26 -1744
  96. package/dist/module/tendermint/types/validator.d.ts +6 -230
  97. package/dist/module/tendermint/version/types.d.ts +4 -28
  98. package/dist/module/types/coreum.js +3 -3
  99. package/dist/module/utils/convertStringToAny.d.ts +1 -0
  100. package/dist/module/wasm/v1/authz.d.ts +18 -414
  101. package/dist/module/wasm/v1/genesis.d.ts +8 -994
  102. package/dist/module/wasm/v1/ibc.d.ts +6 -42
  103. package/dist/module/wasm/v1/pagination.d.ts +4 -40
  104. package/dist/module/wasm/v1/proposal.d.ts +26 -640
  105. package/dist/module/wasm/v1/query.d.ts +46 -1060
  106. package/dist/module/wasm/v1/tx.d.ts +52 -630
  107. package/dist/module/wasm/v1/types.d.ts +16 -246
  108. package/package.json +2 -2
@@ -115,294 +115,64 @@ export declare const AccessTypeParam: {
115
115
  decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam;
116
116
  fromJSON(object: any): AccessTypeParam;
117
117
  toJSON(message: AccessTypeParam): unknown;
118
- create<I extends {
119
- value?: AccessType;
120
- } & {
121
- value?: AccessType;
122
- } & { [K in Exclude<keyof I, "value">]: never; }>(base?: I): AccessTypeParam;
123
- fromPartial<I_1 extends {
124
- value?: AccessType;
125
- } & {
126
- value?: AccessType;
127
- } & { [K_1 in Exclude<keyof I_1, "value">]: never; }>(object: I_1): AccessTypeParam;
118
+ create<I extends Exact<DeepPartial<AccessTypeParam>, I>>(base?: I): AccessTypeParam;
119
+ fromPartial<I extends Exact<DeepPartial<AccessTypeParam>, I>>(object: I): AccessTypeParam;
128
120
  };
129
121
  export declare const AccessConfig: {
130
122
  encode(message: AccessConfig, writer?: _m0.Writer): _m0.Writer;
131
123
  decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig;
132
124
  fromJSON(object: any): AccessConfig;
133
125
  toJSON(message: AccessConfig): unknown;
134
- create<I extends {
135
- permission?: AccessType;
136
- address?: string;
137
- addresses?: string[];
138
- } & {
139
- permission?: AccessType;
140
- address?: string;
141
- addresses?: string[] & string[] & { [K in Exclude<keyof I["addresses"], keyof string[]>]: never; };
142
- } & { [K_1 in Exclude<keyof I, keyof AccessConfig>]: never; }>(base?: I): AccessConfig;
143
- fromPartial<I_1 extends {
144
- permission?: AccessType;
145
- address?: string;
146
- addresses?: string[];
147
- } & {
148
- permission?: AccessType;
149
- address?: string;
150
- addresses?: string[] & string[] & { [K_2 in Exclude<keyof I_1["addresses"], keyof string[]>]: never; };
151
- } & { [K_3 in Exclude<keyof I_1, keyof AccessConfig>]: never; }>(object: I_1): AccessConfig;
126
+ create<I extends Exact<DeepPartial<AccessConfig>, I>>(base?: I): AccessConfig;
127
+ fromPartial<I extends Exact<DeepPartial<AccessConfig>, I>>(object: I): AccessConfig;
152
128
  };
153
129
  export declare const Params: {
154
130
  encode(message: Params, writer?: _m0.Writer): _m0.Writer;
155
131
  decode(input: _m0.Reader | Uint8Array, length?: number): Params;
156
132
  fromJSON(object: any): Params;
157
133
  toJSON(message: Params): unknown;
158
- create<I extends {
159
- codeUploadAccess?: {
160
- permission?: AccessType;
161
- address?: string;
162
- addresses?: string[];
163
- };
164
- instantiateDefaultPermission?: AccessType;
165
- } & {
166
- codeUploadAccess?: {
167
- permission?: AccessType;
168
- address?: string;
169
- addresses?: string[];
170
- } & {
171
- permission?: AccessType;
172
- address?: string;
173
- addresses?: string[] & string[] & { [K in Exclude<keyof I["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
174
- } & { [K_1 in Exclude<keyof I["codeUploadAccess"], keyof AccessConfig>]: never; };
175
- instantiateDefaultPermission?: AccessType;
176
- } & { [K_2 in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
177
- fromPartial<I_1 extends {
178
- codeUploadAccess?: {
179
- permission?: AccessType;
180
- address?: string;
181
- addresses?: string[];
182
- };
183
- instantiateDefaultPermission?: AccessType;
184
- } & {
185
- codeUploadAccess?: {
186
- permission?: AccessType;
187
- address?: string;
188
- addresses?: string[];
189
- } & {
190
- permission?: AccessType;
191
- address?: string;
192
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
193
- } & { [K_4 in Exclude<keyof I_1["codeUploadAccess"], keyof AccessConfig>]: never; };
194
- instantiateDefaultPermission?: AccessType;
195
- } & { [K_5 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
134
+ create<I extends Exact<DeepPartial<Params>, I>>(base?: I): Params;
135
+ fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params;
196
136
  };
197
137
  export declare const CodeInfo: {
198
138
  encode(message: CodeInfo, writer?: _m0.Writer): _m0.Writer;
199
139
  decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo;
200
140
  fromJSON(object: any): CodeInfo;
201
141
  toJSON(message: CodeInfo): unknown;
202
- create<I extends {
203
- codeHash?: Uint8Array;
204
- creator?: string;
205
- instantiateConfig?: {
206
- permission?: AccessType;
207
- address?: string;
208
- addresses?: string[];
209
- };
210
- } & {
211
- codeHash?: Uint8Array;
212
- creator?: string;
213
- instantiateConfig?: {
214
- permission?: AccessType;
215
- address?: string;
216
- addresses?: string[];
217
- } & {
218
- permission?: AccessType;
219
- address?: string;
220
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiateConfig"]["addresses"], keyof string[]>]: never; };
221
- } & { [K_1 in Exclude<keyof I["instantiateConfig"], keyof AccessConfig>]: never; };
222
- } & { [K_2 in Exclude<keyof I, keyof CodeInfo>]: never; }>(base?: I): CodeInfo;
223
- fromPartial<I_1 extends {
224
- codeHash?: Uint8Array;
225
- creator?: string;
226
- instantiateConfig?: {
227
- permission?: AccessType;
228
- address?: string;
229
- addresses?: string[];
230
- };
231
- } & {
232
- codeHash?: Uint8Array;
233
- creator?: string;
234
- instantiateConfig?: {
235
- permission?: AccessType;
236
- address?: string;
237
- addresses?: string[];
238
- } & {
239
- permission?: AccessType;
240
- address?: string;
241
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiateConfig"]["addresses"], keyof string[]>]: never; };
242
- } & { [K_4 in Exclude<keyof I_1["instantiateConfig"], keyof AccessConfig>]: never; };
243
- } & { [K_5 in Exclude<keyof I_1, keyof CodeInfo>]: never; }>(object: I_1): CodeInfo;
142
+ create<I extends Exact<DeepPartial<CodeInfo>, I>>(base?: I): CodeInfo;
143
+ fromPartial<I extends Exact<DeepPartial<CodeInfo>, I>>(object: I): CodeInfo;
244
144
  };
245
145
  export declare const ContractInfo: {
246
146
  encode(message: ContractInfo, writer?: _m0.Writer): _m0.Writer;
247
147
  decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo;
248
148
  fromJSON(object: any): ContractInfo;
249
149
  toJSON(message: ContractInfo): unknown;
250
- create<I extends {
251
- codeId?: number;
252
- creator?: string;
253
- admin?: string;
254
- label?: string;
255
- created?: {
256
- blockHeight?: number;
257
- txIndex?: number;
258
- };
259
- ibcPortId?: string;
260
- extension?: {
261
- typeUrl?: string;
262
- value?: Uint8Array;
263
- };
264
- } & {
265
- codeId?: number;
266
- creator?: string;
267
- admin?: string;
268
- label?: string;
269
- created?: {
270
- blockHeight?: number;
271
- txIndex?: number;
272
- } & {
273
- blockHeight?: number;
274
- txIndex?: number;
275
- } & { [K in Exclude<keyof I["created"], keyof AbsoluteTxPosition>]: never; };
276
- ibcPortId?: string;
277
- extension?: {
278
- typeUrl?: string;
279
- value?: Uint8Array;
280
- } & {
281
- typeUrl?: string;
282
- value?: Uint8Array;
283
- } & { [K_1 in Exclude<keyof I["extension"], keyof Any>]: never; };
284
- } & { [K_2 in Exclude<keyof I, keyof ContractInfo>]: never; }>(base?: I): ContractInfo;
285
- fromPartial<I_1 extends {
286
- codeId?: number;
287
- creator?: string;
288
- admin?: string;
289
- label?: string;
290
- created?: {
291
- blockHeight?: number;
292
- txIndex?: number;
293
- };
294
- ibcPortId?: string;
295
- extension?: {
296
- typeUrl?: string;
297
- value?: Uint8Array;
298
- };
299
- } & {
300
- codeId?: number;
301
- creator?: string;
302
- admin?: string;
303
- label?: string;
304
- created?: {
305
- blockHeight?: number;
306
- txIndex?: number;
307
- } & {
308
- blockHeight?: number;
309
- txIndex?: number;
310
- } & { [K_3 in Exclude<keyof I_1["created"], keyof AbsoluteTxPosition>]: never; };
311
- ibcPortId?: string;
312
- extension?: {
313
- typeUrl?: string;
314
- value?: Uint8Array;
315
- } & {
316
- typeUrl?: string;
317
- value?: Uint8Array;
318
- } & { [K_4 in Exclude<keyof I_1["extension"], keyof Any>]: never; };
319
- } & { [K_5 in Exclude<keyof I_1, keyof ContractInfo>]: never; }>(object: I_1): ContractInfo;
150
+ create<I extends Exact<DeepPartial<ContractInfo>, I>>(base?: I): ContractInfo;
151
+ fromPartial<I extends Exact<DeepPartial<ContractInfo>, I>>(object: I): ContractInfo;
320
152
  };
321
153
  export declare const ContractCodeHistoryEntry: {
322
154
  encode(message: ContractCodeHistoryEntry, writer?: _m0.Writer): _m0.Writer;
323
155
  decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry;
324
156
  fromJSON(object: any): ContractCodeHistoryEntry;
325
157
  toJSON(message: ContractCodeHistoryEntry): unknown;
326
- create<I extends {
327
- operation?: ContractCodeHistoryOperationType;
328
- codeId?: number;
329
- updated?: {
330
- blockHeight?: number;
331
- txIndex?: number;
332
- };
333
- msg?: Uint8Array;
334
- } & {
335
- operation?: ContractCodeHistoryOperationType;
336
- codeId?: number;
337
- updated?: {
338
- blockHeight?: number;
339
- txIndex?: number;
340
- } & {
341
- blockHeight?: number;
342
- txIndex?: number;
343
- } & { [K in Exclude<keyof I["updated"], keyof AbsoluteTxPosition>]: never; };
344
- msg?: Uint8Array;
345
- } & { [K_1 in Exclude<keyof I, keyof ContractCodeHistoryEntry>]: never; }>(base?: I): ContractCodeHistoryEntry;
346
- fromPartial<I_1 extends {
347
- operation?: ContractCodeHistoryOperationType;
348
- codeId?: number;
349
- updated?: {
350
- blockHeight?: number;
351
- txIndex?: number;
352
- };
353
- msg?: Uint8Array;
354
- } & {
355
- operation?: ContractCodeHistoryOperationType;
356
- codeId?: number;
357
- updated?: {
358
- blockHeight?: number;
359
- txIndex?: number;
360
- } & {
361
- blockHeight?: number;
362
- txIndex?: number;
363
- } & { [K_2 in Exclude<keyof I_1["updated"], keyof AbsoluteTxPosition>]: never; };
364
- msg?: Uint8Array;
365
- } & { [K_3 in Exclude<keyof I_1, keyof ContractCodeHistoryEntry>]: never; }>(object: I_1): ContractCodeHistoryEntry;
158
+ create<I extends Exact<DeepPartial<ContractCodeHistoryEntry>, I>>(base?: I): ContractCodeHistoryEntry;
159
+ fromPartial<I extends Exact<DeepPartial<ContractCodeHistoryEntry>, I>>(object: I): ContractCodeHistoryEntry;
366
160
  };
367
161
  export declare const AbsoluteTxPosition: {
368
162
  encode(message: AbsoluteTxPosition, writer?: _m0.Writer): _m0.Writer;
369
163
  decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition;
370
164
  fromJSON(object: any): AbsoluteTxPosition;
371
165
  toJSON(message: AbsoluteTxPosition): unknown;
372
- create<I extends {
373
- blockHeight?: number;
374
- txIndex?: number;
375
- } & {
376
- blockHeight?: number;
377
- txIndex?: number;
378
- } & { [K in Exclude<keyof I, keyof AbsoluteTxPosition>]: never; }>(base?: I): AbsoluteTxPosition;
379
- fromPartial<I_1 extends {
380
- blockHeight?: number;
381
- txIndex?: number;
382
- } & {
383
- blockHeight?: number;
384
- txIndex?: number;
385
- } & { [K_1 in Exclude<keyof I_1, keyof AbsoluteTxPosition>]: never; }>(object: I_1): AbsoluteTxPosition;
166
+ create<I extends Exact<DeepPartial<AbsoluteTxPosition>, I>>(base?: I): AbsoluteTxPosition;
167
+ fromPartial<I extends Exact<DeepPartial<AbsoluteTxPosition>, I>>(object: I): AbsoluteTxPosition;
386
168
  };
387
169
  export declare const Model: {
388
170
  encode(message: Model, writer?: _m0.Writer): _m0.Writer;
389
171
  decode(input: _m0.Reader | Uint8Array, length?: number): Model;
390
172
  fromJSON(object: any): Model;
391
173
  toJSON(message: Model): unknown;
392
- create<I extends {
393
- key?: Uint8Array;
394
- value?: Uint8Array;
395
- } & {
396
- key?: Uint8Array;
397
- value?: Uint8Array;
398
- } & { [K in Exclude<keyof I, keyof Model>]: never; }>(base?: I): Model;
399
- fromPartial<I_1 extends {
400
- key?: Uint8Array;
401
- value?: Uint8Array;
402
- } & {
403
- key?: Uint8Array;
404
- value?: Uint8Array;
405
- } & { [K_1 in Exclude<keyof I_1, keyof Model>]: never; }>(object: I_1): Model;
174
+ create<I extends Exact<DeepPartial<Model>, I>>(base?: I): Model;
175
+ fromPartial<I extends Exact<DeepPartial<Model>, I>>(object: I): Model;
406
176
  };
407
177
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
408
178
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coreum-js",
3
- "version": "2.16.1",
3
+ "version": "2.16.3",
4
4
  "description": "JS/TS Library to to easily make use of the Coreum Blockchain",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -43,7 +43,7 @@
43
43
  "@types/node": "^18.15.9",
44
44
  "@types/react": "^18.0.37",
45
45
  "@types/ws": "^8.5.4",
46
- "cosmjs-types": "^0.8.0",
46
+ "cosmjs-types": "0.8.0",
47
47
  "ts-node": "^10.9.1",
48
48
  "typedoc": "^0.24.4",
49
49
  "typedoc-plugin-markdown": "^3.15.3",