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.
- package/dist/main/client/index.js +1 -1
- package/dist/main/coreum/asset/ft/v1/event.d.ts +6 -98
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +4 -500
- package/dist/main/coreum/asset/ft/v1/params.d.ts +2 -54
- package/dist/main/coreum/asset/ft/v1/query.d.ts +28 -1852
- package/dist/main/coreum/asset/ft/v1/token.d.ts +12 -210
- package/dist/main/coreum/asset/ft/v1/token.js +3 -3
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +36 -644
- package/dist/main/coreum/asset/nft/v1/event.d.ts +10 -114
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +8 -258
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +4 -86
- package/dist/main/coreum/asset/nft/v1/nft.js +3 -3
- package/dist/main/coreum/asset/nft/v1/params.d.ts +2 -28
- package/dist/main/coreum/asset/nft/v1/query.d.ts +20 -638
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +16 -212
- package/dist/main/coreum/asset/nft/v1/types.d.ts +2 -10
- package/dist/main/coreum/customparams/v1/genesis.d.ts +2 -22
- package/dist/main/coreum/customparams/v1/params.d.ts +2 -10
- package/dist/main/coreum/customparams/v1/query.d.ts +4 -24
- package/dist/main/coreum/extensions/ft.js +1 -2
- package/dist/main/coreum/extensions/nft.js +1 -2
- package/dist/main/coreum/extensions/nftbeta.js +1 -2
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +2 -222
- package/dist/main/coreum/feemodel/v1/params.d.ts +4 -320
- package/dist/main/coreum/feemodel/v1/query.d.ts +8 -232
- package/dist/main/coreum/nft/v1beta1/event.d.ts +6 -58
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +4 -420
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +4 -96
- package/dist/main/coreum/nft/v1beta1/query.d.ts +28 -1532
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +4 -24
- package/dist/main/cosmos/extensions/bank.js +1 -2
- package/dist/main/cosmos/extensions/distribution.js +1 -2
- package/dist/main/cosmos/extensions/gov.js +1 -2
- package/dist/main/google/api/http.d.ts +6 -2636
- package/dist/main/google/protobuf/any.d.ts +2 -14
- package/dist/main/google/protobuf/any.js +3 -3
- package/dist/main/google/protobuf/duration.d.ts +2 -14
- package/dist/main/google/protobuf/timestamp.d.ts +2 -14
- package/dist/main/index.js +17 -7
- package/dist/main/tendermint/abci/types.d.ts +92 -6360
- package/dist/main/tendermint/abci/types.js +12 -12
- package/dist/main/tendermint/crypto/keys.d.ts +2 -14
- package/dist/main/tendermint/crypto/proof.d.ts +10 -152
- package/dist/main/tendermint/types/params.d.ts +12 -196
- package/dist/main/tendermint/types/types.d.ts +26 -1744
- package/dist/main/tendermint/types/types.js +5 -5
- package/dist/main/tendermint/types/validator.d.ts +6 -230
- package/dist/main/tendermint/version/types.d.ts +4 -28
- package/dist/main/utils/convertStringToAny.d.ts +1 -0
- package/dist/main/utils/nft.js +1 -2
- package/dist/main/wasm/v1/authz.d.ts +18 -414
- package/dist/main/wasm/v1/extensions/wasm.js +1 -2
- package/dist/main/wasm/v1/genesis.d.ts +8 -994
- package/dist/main/wasm/v1/ibc.d.ts +6 -42
- package/dist/main/wasm/v1/pagination.d.ts +4 -40
- package/dist/main/wasm/v1/proposal.d.ts +26 -640
- package/dist/main/wasm/v1/query.d.ts +46 -1060
- package/dist/main/wasm/v1/tx.d.ts +52 -630
- package/dist/main/wasm/v1/types.d.ts +16 -246
- package/dist/main/wasm/v1/types.js +5 -5
- package/dist/module/client/index.js +2 -2
- package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
- package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
- package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
- package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
- package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
- package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
- package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
- package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
- package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
- package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
- package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
- package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
- package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
- package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
- package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
- package/dist/module/google/api/http.d.ts +6 -2636
- package/dist/module/google/protobuf/any.d.ts +2 -14
- package/dist/module/google/protobuf/duration.d.ts +2 -14
- package/dist/module/google/protobuf/timestamp.d.ts +2 -14
- package/dist/module/tendermint/abci/types.d.ts +92 -6360
- package/dist/module/tendermint/crypto/keys.d.ts +2 -14
- package/dist/module/tendermint/crypto/proof.d.ts +10 -152
- package/dist/module/tendermint/types/params.d.ts +12 -196
- package/dist/module/tendermint/types/types.d.ts +26 -1744
- package/dist/module/tendermint/types/validator.d.ts +6 -230
- package/dist/module/tendermint/version/types.d.ts +4 -28
- package/dist/module/utils/convertStringToAny.d.ts +1 -0
- package/dist/module/wasm/v1/authz.d.ts +18 -414
- package/dist/module/wasm/v1/genesis.d.ts +8 -994
- package/dist/module/wasm/v1/ibc.d.ts +6 -42
- package/dist/module/wasm/v1/pagination.d.ts +4 -40
- package/dist/module/wasm/v1/proposal.d.ts +26 -640
- package/dist/module/wasm/v1/query.d.ts +46 -1060
- package/dist/module/wasm/v1/tx.d.ts +52 -630
- package/dist/module/wasm/v1/types.d.ts +16 -246
- 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
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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 {} ? {
|
package/dist/main/index.js
CHANGED
|
@@ -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 (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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");
|