injectivejs 1.11.2 → 1.11.4
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/README.md +103 -110
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/group/v1/tx.rpc.func.d.ts +14 -14
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
- package/esm/binary.js +1 -1
- package/esm/extern.js +1 -1
- package/esm/helper-func-types.js +2 -8
- package/esm/helpers.js +1 -1
- package/esm/registry.js +1 -1
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/helper-func-types.d.ts +3 -14
- package/helper-func-types.js +2 -9
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +19 -19
- package/ibc/core/client/v1/tx.rpc.func.d.ts +7 -7
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
- package/injective/auction/v1beta1/tx.rpc.func.d.ts +2 -2
- package/injective/exchange/v1beta1/tx.rpc.func.d.ts +35 -35
- package/injective/insurance/v1beta1/tx.rpc.func.d.ts +4 -4
- package/injective/ocr/v1beta1/tx.rpc.func.d.ts +9 -9
- package/injective/oracle/v1beta1/tx.rpc.func.d.ts +8 -8
- package/injective/peggy/v1/msgs.rpc.func.d.ts +14 -14
- package/injective/permissions/v1beta1/tx.rpc.func.d.ts +7 -7
- package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +6 -6
- package/injective/wasmx/v1/tx.rpc.func.d.ts +6 -6
- package/package.json +8 -8
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/types.d.ts +3 -44
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MsgUpdateParams, MsgCreateNamespace, MsgDeleteNamespace, MsgUpdateNamespace, MsgUpdateNamespaceRoles, MsgRevokeNamespaceRoles, MsgClaimVoucher } from "./tx";
|
|
2
|
-
export declare const updateParams: (client: import("
|
|
3
|
-
export declare const createNamespace: (client: import("
|
|
4
|
-
export declare const deleteNamespace: (client: import("
|
|
5
|
-
export declare const updateNamespace: (client: import("
|
|
6
|
-
export declare const updateNamespaceRoles: (client: import("
|
|
7
|
-
export declare const revokeNamespaceRoles: (client: import("
|
|
8
|
-
export declare const claimVoucher: (client: import("
|
|
2
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const createNamespace: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreateNamespace | MsgCreateNamespace[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const deleteNamespace: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDeleteNamespace | MsgDeleteNamespace[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const updateNamespace: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateNamespace | MsgUpdateNamespace[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const updateNamespaceRoles: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateNamespaceRoles | MsgUpdateNamespaceRoles[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const revokeNamespaceRoles: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRevokeNamespaceRoles | MsgRevokeNamespaceRoles[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
8
|
+
export declare const claimVoucher: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgClaimVoucher | MsgClaimVoucher[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata, MsgUpdateParams } from "./tx";
|
|
2
|
-
export declare const createDenom: (client: import("
|
|
3
|
-
export declare const mint: (client: import("
|
|
4
|
-
export declare const burn: (client: import("
|
|
5
|
-
export declare const changeAdmin: (client: import("
|
|
6
|
-
export declare const setDenomMetadata: (client: import("
|
|
7
|
-
export declare const updateParams: (client: import("
|
|
2
|
+
export declare const createDenom: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgCreateDenom | MsgCreateDenom[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const mint: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgMint | MsgMint[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const burn: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgBurn | MsgBurn[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const changeAdmin: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgChangeAdmin | MsgChangeAdmin[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const setDenomMetadata: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgSetDenomMetadata | MsgSetDenomMetadata[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MsgUpdateContract, MsgActivateContract, MsgDeactivateContract, MsgExecuteContractCompat, MsgUpdateParams, MsgRegisterContract } from "./tx";
|
|
2
|
-
export declare const updateRegistryContractParams: (client: import("
|
|
3
|
-
export declare const activateRegistryContract: (client: import("
|
|
4
|
-
export declare const deactivateRegistryContract: (client: import("
|
|
5
|
-
export declare const executeContractCompat: (client: import("
|
|
6
|
-
export declare const updateParams: (client: import("
|
|
7
|
-
export declare const registerContract: (client: import("
|
|
2
|
+
export declare const updateRegistryContractParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateContract | MsgUpdateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
3
|
+
export declare const activateRegistryContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgActivateContract | MsgActivateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
4
|
+
export declare const deactivateRegistryContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgDeactivateContract | MsgDeactivateContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
5
|
+
export declare const executeContractCompat: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgExecuteContractCompat | MsgExecuteContractCompat[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
6
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
7
|
+
export declare const registerContract: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRegisterContract | MsgRegisterContract[], fee: import("../../../types").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "injectivejs",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.4",
|
|
4
4
|
"description": "Injectivejs is a JavaScript library for interacting with injective sdk.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"prepare": "npm run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@interchainjs/cosmos": "1.11.
|
|
29
|
-
"@interchainjs/cosmos-types": "1.11.
|
|
30
|
-
"@interchainjs/encoding": "1.11.
|
|
31
|
-
"@interchainjs/pubkey": "1.11.
|
|
32
|
-
"@interchainjs/types": "1.11.
|
|
33
|
-
"@interchainjs/utils": "1.11.
|
|
28
|
+
"@interchainjs/cosmos": "1.11.4",
|
|
29
|
+
"@interchainjs/cosmos-types": "1.11.4",
|
|
30
|
+
"@interchainjs/encoding": "1.11.4",
|
|
31
|
+
"@interchainjs/pubkey": "1.11.4",
|
|
32
|
+
"@interchainjs/types": "1.11.4",
|
|
33
|
+
"@interchainjs/utils": "1.11.4",
|
|
34
34
|
"@noble/hashes": "^1.3.1",
|
|
35
35
|
"decimal.js": "^10.4.3"
|
|
36
36
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"cosmjs",
|
|
42
42
|
"wallet"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "4d8922d88070649dccd99582bfd57abb2fef03b5"
|
|
45
45
|
}
|
package/registry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/registry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|
package/types.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
|
6
6
|
import { IBinaryReader, IBinaryWriter } from "./binary";
|
|
7
7
|
import { Any } from "./google/protobuf/any";
|
|
8
|
+
import { DeliverTxResponse, Event, Attribute } from "@interchainjs/types";
|
|
9
|
+
export type { DeliverTxResponse, Event, Attribute };
|
|
8
10
|
export type ProtoMsg = Omit<Any, "typeUrl"> & {
|
|
9
11
|
typeUrl: any;
|
|
10
12
|
};
|
|
@@ -70,49 +72,6 @@ export interface MsgData {
|
|
|
70
72
|
msgType: string;
|
|
71
73
|
data: Uint8Array;
|
|
72
74
|
}
|
|
73
|
-
export interface Attribute {
|
|
74
|
-
key: string;
|
|
75
|
-
value: string;
|
|
76
|
-
index: boolean;
|
|
77
|
-
}
|
|
78
|
-
export interface Event {
|
|
79
|
-
type: string;
|
|
80
|
-
attributes: Attribute[];
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* The response after successfully broadcasting a transaction.
|
|
84
|
-
* Success or failure refer to the execution result.
|
|
85
|
-
*/
|
|
86
|
-
export interface DeliverTxResponse {
|
|
87
|
-
height: number;
|
|
88
|
-
/** The position of the transaction within the block. This is a 0-based index. */
|
|
89
|
-
txIndex: number;
|
|
90
|
-
/** Error code. The transaction suceeded if and only if code is 0. */
|
|
91
|
-
code: number;
|
|
92
|
-
transactionHash: string;
|
|
93
|
-
events: Event[];
|
|
94
|
-
/**
|
|
95
|
-
* A string-based log document.
|
|
96
|
-
*
|
|
97
|
-
* This currently seems to merge attributes of multiple events into one event per type
|
|
98
|
-
* (https://github.com/tendermint/tendermint/issues/9595). You might want to use the `events`
|
|
99
|
-
* field instead.
|
|
100
|
-
*/
|
|
101
|
-
rawLog?: string;
|
|
102
|
-
/** @deprecated Use `msgResponses` instead. */
|
|
103
|
-
data?: MsgData[];
|
|
104
|
-
/**
|
|
105
|
-
* The message responses of the [TxMsgData](https://github.com/cosmos/cosmos-sdk/blob/v0.46.3/proto/cosmos/base/abci/v1beta1/abci.proto#L128-L140)
|
|
106
|
-
* as `Any`s.
|
|
107
|
-
* This field is an empty list for chains running Cosmos SDK < 0.46.
|
|
108
|
-
*/
|
|
109
|
-
msgResponses: Array<{
|
|
110
|
-
typeUrl: string;
|
|
111
|
-
value: Uint8Array;
|
|
112
|
-
}>;
|
|
113
|
-
gasUsed: bigint;
|
|
114
|
-
gasWanted: bigint;
|
|
115
|
-
}
|
|
116
75
|
export interface TxRpc {
|
|
117
76
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
118
77
|
signAndBroadcast?(signerAddress: string, messages: EncodeObject[], fee: StdFee | "auto" | number, memo: string): Promise<DeliverTxResponse>;
|
package/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|
package/utf8.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/utf8.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/varint.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
package/varint.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.
|
|
3
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.12.7
|
|
4
4
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
5
5
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
6
6
|
*/
|