coreum-js 2.16.2 → 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 (106) 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/utils/convertStringToAny.d.ts +1 -0
  50. package/dist/main/utils/nft.js +1 -2
  51. package/dist/main/wasm/v1/authz.d.ts +18 -414
  52. package/dist/main/wasm/v1/extensions/wasm.js +1 -2
  53. package/dist/main/wasm/v1/genesis.d.ts +8 -994
  54. package/dist/main/wasm/v1/ibc.d.ts +6 -42
  55. package/dist/main/wasm/v1/pagination.d.ts +4 -40
  56. package/dist/main/wasm/v1/proposal.d.ts +26 -640
  57. package/dist/main/wasm/v1/query.d.ts +46 -1060
  58. package/dist/main/wasm/v1/tx.d.ts +52 -630
  59. package/dist/main/wasm/v1/types.d.ts +16 -246
  60. package/dist/main/wasm/v1/types.js +5 -5
  61. package/dist/module/client/index.js +2 -2
  62. package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
  63. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
  64. package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
  65. package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
  66. package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
  67. package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
  68. package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
  69. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
  70. package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
  71. package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
  72. package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
  73. package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
  74. package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
  75. package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
  76. package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
  77. package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
  78. package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
  79. package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
  80. package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
  81. package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
  82. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
  83. package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
  84. package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
  85. package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
  86. package/dist/module/google/api/http.d.ts +6 -2636
  87. package/dist/module/google/protobuf/any.d.ts +2 -14
  88. package/dist/module/google/protobuf/duration.d.ts +2 -14
  89. package/dist/module/google/protobuf/timestamp.d.ts +2 -14
  90. package/dist/module/tendermint/abci/types.d.ts +92 -6360
  91. package/dist/module/tendermint/crypto/keys.d.ts +2 -14
  92. package/dist/module/tendermint/crypto/proof.d.ts +10 -152
  93. package/dist/module/tendermint/types/params.d.ts +12 -196
  94. package/dist/module/tendermint/types/types.d.ts +26 -1744
  95. package/dist/module/tendermint/types/validator.d.ts +6 -230
  96. package/dist/module/tendermint/version/types.d.ts +4 -28
  97. package/dist/module/utils/convertStringToAny.d.ts +1 -0
  98. package/dist/module/wasm/v1/authz.d.ts +18 -414
  99. package/dist/module/wasm/v1/genesis.d.ts +8 -994
  100. package/dist/module/wasm/v1/ibc.d.ts +6 -42
  101. package/dist/module/wasm/v1/pagination.d.ts +4 -40
  102. package/dist/module/wasm/v1/proposal.d.ts +26 -640
  103. package/dist/module/wasm/v1/query.d.ts +46 -1060
  104. package/dist/module/wasm/v1/tx.d.ts +52 -630
  105. package/dist/module/wasm/v1/types.d.ts +16 -246
  106. package/package.json +1 -1
@@ -120,20 +120,8 @@ export declare const Any: {
120
120
  decode(input: _m0.Reader | Uint8Array, length?: number): Any;
121
121
  fromJSON(object: any): Any;
122
122
  toJSON(message: Any): unknown;
123
- create<I extends {
124
- typeUrl?: string;
125
- value?: Uint8Array;
126
- } & {
127
- typeUrl?: string;
128
- value?: Uint8Array;
129
- } & { [K in Exclude<keyof I, keyof Any>]: never; }>(base?: I): Any;
130
- fromPartial<I_1 extends {
131
- typeUrl?: string;
132
- value?: Uint8Array;
133
- } & {
134
- typeUrl?: string;
135
- value?: Uint8Array;
136
- } & { [K_1 in Exclude<keyof I_1, keyof Any>]: never; }>(object: I_1): Any;
123
+ create<I extends Exact<DeepPartial<Any>, I>>(base?: I): Any;
124
+ fromPartial<I extends Exact<DeepPartial<Any>, I>>(object: I): Any;
137
125
  };
138
126
  export declare function bytesFromBase64(b64: string): Uint8Array;
139
127
  export declare function base64FromBytes(arr: Uint8Array): string;
@@ -3,7 +3,9 @@ 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.base64FromBytes = exports.bytesFromBase64 = exports.Any = exports.protobufPackage = void 0;
6
+ exports.Any = exports.protobufPackage = void 0;
7
+ exports.bytesFromBase64 = bytesFromBase64;
8
+ exports.base64FromBytes = base64FromBytes;
7
9
  /* eslint-disable */
8
10
  const long_1 = __importDefault(require("long"));
9
11
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
@@ -102,7 +104,6 @@ function bytesFromBase64(b64) {
102
104
  return arr;
103
105
  }
104
106
  }
105
- exports.bytesFromBase64 = bytesFromBase64;
106
107
  function base64FromBytes(arr) {
107
108
  if (tsProtoGlobalThis.Buffer) {
108
109
  return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
@@ -115,7 +116,6 @@ function base64FromBytes(arr) {
115
116
  return tsProtoGlobalThis.btoa(bin.join(""));
116
117
  }
117
118
  }
118
- exports.base64FromBytes = base64FromBytes;
119
119
  if (minimal_1.default.util.Long !== long_1.default) {
120
120
  minimal_1.default.util.Long = long_1.default;
121
121
  minimal_1.default.configure();
@@ -82,20 +82,8 @@ export declare const Duration: {
82
82
  decode(input: _m0.Reader | Uint8Array, length?: number): Duration;
83
83
  fromJSON(object: any): Duration;
84
84
  toJSON(message: Duration): unknown;
85
- create<I extends {
86
- seconds?: number;
87
- nanos?: number;
88
- } & {
89
- seconds?: number;
90
- nanos?: number;
91
- } & { [K in Exclude<keyof I, keyof Duration>]: never; }>(base?: I): Duration;
92
- fromPartial<I_1 extends {
93
- seconds?: number;
94
- nanos?: number;
95
- } & {
96
- seconds?: number;
97
- nanos?: number;
98
- } & { [K_1 in Exclude<keyof I_1, keyof Duration>]: never; }>(object: I_1): Duration;
85
+ create<I extends Exact<DeepPartial<Duration>, I>>(base?: I): Duration;
86
+ fromPartial<I extends Exact<DeepPartial<Duration>, I>>(object: I): Duration;
99
87
  };
100
88
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
101
89
  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 {} ? {
@@ -111,20 +111,8 @@ export declare const Timestamp: {
111
111
  decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp;
112
112
  fromJSON(object: any): Timestamp;
113
113
  toJSON(message: Timestamp): unknown;
114
- create<I extends {
115
- seconds?: number;
116
- nanos?: number;
117
- } & {
118
- seconds?: number;
119
- nanos?: number;
120
- } & { [K in Exclude<keyof I, keyof Timestamp>]: never; }>(base?: I): Timestamp;
121
- fromPartial<I_1 extends {
122
- seconds?: number;
123
- nanos?: number;
124
- } & {
125
- seconds?: number;
126
- nanos?: number;
127
- } & { [K_1 in Exclude<keyof I_1, keyof Timestamp>]: never; }>(object: I_1): Timestamp;
114
+ create<I extends Exact<DeepPartial<Timestamp>, I>>(base?: I): Timestamp;
115
+ fromPartial<I extends Exact<DeepPartial<Timestamp>, I>>(object: I): Timestamp;
128
116
  };
129
117
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
130
118
  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 {} ? {
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
20
  };
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.Stargate = exports.Client = void 0;
30
40
  var index_1 = require("./client/index");