@injectivelabs/sdk-ts 1.20.47 → 1.20.49
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/cjs/{BaseGrpcConsumer-CdK49BN-.d.cts → BaseGrpcConsumer-CTO5Rkim.d.cts} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-HKO4wAXY.cjs → MsgSetDenomMetadata-BsR329OU.cjs} +78 -4
- package/dist/cjs/{SocialTradingGrpcApi-7MXAzI25.cjs → SocialTradingGrpcApi-UXcBw3hy.cjs} +2 -1
- package/dist/cjs/client/abacus.d.cts +4 -4
- package/dist/cjs/client/chain.d.cts +10 -10
- package/dist/cjs/client/indexer.d.cts +10 -10
- package/dist/cjs/client/olp.d.cts +4 -4
- package/dist/cjs/client/platformServices.cjs +1 -1
- package/dist/cjs/client/platformServices.d.cts +4 -4
- package/dist/cjs/client/tcAbacus.d.cts +4 -4
- package/dist/cjs/client/wasm.d.cts +3 -3
- package/dist/cjs/core/accounts.d.cts +10 -10
- package/dist/cjs/core/modules.cjs +2 -1
- package/dist/cjs/core/modules.d.cts +11 -11
- package/dist/cjs/core/tx.d.cts +10 -10
- package/dist/cjs/cosmjs.d.cts +2 -2
- package/dist/cjs/exports.d.cts +2 -2
- package/dist/cjs/{index-DZmLd0jv.d.cts → index-6-s_sKSJ.d.cts} +6 -6
- package/dist/cjs/{index-DZETSzfT.d.cts → index-BR8HNsXP.d.cts} +1 -1
- package/dist/cjs/{index-D-B0a_XJ.d.cts → index-Bp8lm7-T.d.cts} +1 -1
- package/dist/cjs/{index-DLkZpEZn.d.cts → index-CtqePwsl.d.cts} +16 -2
- package/dist/cjs/{index-COHrq5cC.d.cts → index-D0QbYwra.d.cts} +1 -1
- package/dist/cjs/{index-CQRfITzL.d.cts → index-DeVo0930.d.cts} +247 -102
- package/dist/cjs/{index-Cbl-NhtN.d.cts → index-DhhRv0Ed.d.cts} +1 -1
- package/dist/cjs/{index-B_IiQ_8l.d.cts → index-Di_Vw2h4.d.cts} +3 -3
- package/dist/cjs/{index-Dv0XARBE.d.cts → index-ZAvqgZGQ.d.cts} +1 -1
- package/dist/cjs/index.cjs +3 -2
- package/dist/cjs/index.d.cts +11 -11
- package/dist/cjs/proto/cosmos-tx.d.cts +1 -1
- package/dist/cjs/service.d.cts +3 -3
- package/dist/cjs/{tx_pb-BzYfNmn2.d.cts → tx_pb-trV9WDtp.d.cts} +4 -4
- package/dist/cjs/types.d.cts +2 -2
- package/dist/cjs/utils.d.cts +10 -10
- package/dist/esm/{BaseGrpcConsumer-ZV4ntv99.d.ts → BaseGrpcConsumer-DqyCq221.d.ts} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-DdNDiQmT.js → MsgSetDenomMetadata-D5mAyS32.js} +73 -5
- package/dist/esm/{SocialTradingGrpcApi-BFePaJSl.js → SocialTradingGrpcApi-Bax2F760.js} +2 -1
- package/dist/esm/client/abacus.d.ts +4 -4
- package/dist/esm/client/chain.d.ts +10 -10
- package/dist/esm/client/indexer.d.ts +10 -10
- package/dist/esm/client/olp.d.ts +4 -4
- package/dist/esm/client/platformServices.d.ts +4 -4
- package/dist/esm/client/platformServices.js +1 -1
- package/dist/esm/client/tcAbacus.d.ts +4 -4
- package/dist/esm/client/wasm.d.ts +3 -3
- package/dist/esm/core/accounts.d.ts +10 -10
- package/dist/esm/core/modules.d.ts +11 -11
- package/dist/esm/core/modules.js +2 -2
- package/dist/esm/core/tx.d.ts +10 -10
- package/dist/esm/cosmjs.d.ts +2 -2
- package/dist/esm/exports.d.ts +2 -2
- package/dist/esm/{index-m5131rZQ.d.ts → index-BAbSGjnD.d.ts} +1 -1
- package/dist/esm/{index-BOgOcIyP.d.ts → index-BFIjdjCh.d.ts} +1 -1
- package/dist/esm/{index-BmHizv7B.d.ts → index-BGL1pcUN.d.ts} +1 -1
- package/dist/esm/{index-B4b_ZIR4.d.ts → index-CBx8cjNk.d.ts} +1 -1
- package/dist/esm/{index-CUuBRId3.d.ts → index-CHy0w6kG.d.ts} +1 -1
- package/dist/esm/{index-BtPwKcUQ.d.ts → index-CKXNuW0n.d.ts} +247 -102
- package/dist/esm/{index-DoFZGNtu.d.ts → index-LWjbDjd_.d.ts} +3 -3
- package/dist/esm/{index-By1aye_R.d.ts → index-V2oVUcRF.d.ts} +6 -6
- package/dist/esm/{index-o3nQdPhK.d.ts → index-s_SxbN0n.d.ts} +16 -2
- package/dist/esm/index.d.ts +11 -11
- package/dist/esm/index.js +3 -3
- package/dist/esm/proto/cosmos-tx.d.ts +1 -1
- package/dist/esm/service.d.ts +3 -3
- package/dist/esm/{tx_pb-DMlxbcd8.d.ts → tx_pb-9jURrwXX.d.ts} +4 -4
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/utils.d.ts +10 -10
- package/package.json +7 -7
package/dist/cjs/core/tx.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as tx_pb_d_exports } from "../tx_pb-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { c as tx_pb_d_exports } from "../tx_pb-trV9WDtp.cjs";
|
|
2
|
+
import "../index-Di_Vw2h4.cjs";
|
|
3
3
|
import "../light-B-3BDUJ7.cjs";
|
|
4
|
-
import { $m as
|
|
5
|
-
import "../BaseGrpcConsumer-
|
|
6
|
-
import "../index-
|
|
7
|
-
import { St as TypedDataField, bt as Eip712ConvertTxArgs, xt as MapOfTypedDataField, yt as Eip712ConvertFeeArgs } from "../index-
|
|
4
|
+
import { $m as TxSearchResult, $p as objectKeysToEip712Types, Am as TxRestApi, Bm as getTxRawFromTxRawOrDirectSignResponse, Bp as getEip712TypedData, Cm as createWeb3Extension, Dm as generateArbitrarySignDoc, Em as getTransactionPartsFromTxRaw, Fm as createTransactionAndCosmosSignDocForAddressAndMsg, Gm as RestTx, Gp as getEip712DomainV2, Hm as BroadcastModeKeplr, Hp as getDefaultEip712Types, Im as createTransactionForAddressAndMsg, Jm as SimulationResponse, Jp as getEipTxContext, Km as RestTxBody, Kp as getEip712Fee, Lm as createTransactionFromMsg, Mm as waitTxBroadcasted, Mp as MsgBroadcasterTxOptions, Nm as createTransaction, Np as MsgBroadcasterWithPk, Om as normalizeTendermintWebSocketEndpoint, Pm as createTransactionAndCosmosSignDoc, Pp as MsgBroadcasterWithPkOptions, Qm as TxResultResponse, Qp as numberTypeToReflectionNumberType, Rm as createTransactionWithSigners, Sm as createTxRawEIP712, Tm as getPublicKey, Um as RestAuthInfo, Up as getDefaultEip712TypesV2, Vm as BroadcastMode, Vp as getEip712TypedDataV2, Wm as RestSignerInfo, Wp as getEip712Domain, Xm as TxInfoResponse, Xp as getTypesIncludingFeeOptions, Ym as TxInfo, Yp as getEipTxDetails, Zm as TxResult, Zp as getObjectEip712PropertyType, _h as TxPrepareTxInclusionWaitArgs, _m as createNonCriticalExtensionFromObject, ah as SignerDetails, am as SIGN_DIRECT, bm as createSignerInfo, ch as TxClientInclusionOptions, cm as createAny, dh as TxConcreteApi, dm as getInjectiveSignerAddress, eh as TxSearchResultParams, em as patchOrderTypesWithExpirationBlock, fh as TxEventInclusionOptions, fm as errorToErrorMessage, gh as TxInclusionWaiter, gm as createFee, hh as TxInclusionStrategy, hm as createBody, ih as MsgArg, im as SIGN_AMINO, jm as TxGrpcApi, km as subscribeToTendermintTxEvent, lh as TxClientMode, lm as createAnyMessage, mh as TxFetchTxPollArgs, mm as createAuthInfo, nh as CreateTransactionResult, nm as stringTypeToReflectionStringType, oh as TxClientBroadcastOptions, om as SIGN_EIP712, ph as TxEventWebSocketFactory, pm as isTxNotFoundError, qm as RestTxLog, qp as getEip712FeeV2, rh as CreateTransactionWithSignersArgs, rm as TxClient, sh as TxClientBroadcastResponse, sm as SIGN_EIP712_V2, th as CreateTransactionArgs, tm as protoTypeToAminoType, uh as TxClientSimulateResponse, um as getEthereumSignerAddress, vh as TxResponse, vm as createSignDoc, wm as getAminoStdSignDoc, xm as createSigners, yh as TxWaitForTxInclusionArgs, ym as createSignDocFromTransaction, zm as createTxRawFromSigResponse, zp as MsgDecoder } from "../index-DeVo0930.cjs";
|
|
5
|
+
import "../BaseGrpcConsumer-CTO5Rkim.cjs";
|
|
6
|
+
import "../index-D0QbYwra.cjs";
|
|
7
|
+
import { St as TypedDataField, bt as Eip712ConvertTxArgs, xt as MapOfTypedDataField, yt as Eip712ConvertFeeArgs } from "../index-6-s_sKSJ.cjs";
|
|
8
8
|
import "../coins-CSrwziXH.cjs";
|
|
9
9
|
import "../address-light-CnSMr-vR.cjs";
|
|
10
10
|
import "../encoding-light-D-6m9tHO.cjs";
|
|
11
11
|
import "../constants-DQTrjP5R.cjs";
|
|
12
|
-
import "../index-
|
|
13
|
-
import "../index-
|
|
14
|
-
import "../index-
|
|
15
|
-
import "../index-
|
|
12
|
+
import "../index-ZAvqgZGQ.cjs";
|
|
13
|
+
import "../index-BR8HNsXP.cjs";
|
|
14
|
+
import "../index-CtqePwsl.cjs";
|
|
15
|
+
import "../index-Bp8lm7-T.cjs";
|
|
16
16
|
export { BroadcastMode, BroadcastModeKeplr, tx_pb_d_exports as CosmosTxV1Beta1TxPb, CreateTransactionArgs, CreateTransactionResult, CreateTransactionWithSignersArgs, Eip712ConvertFeeArgs, Eip712ConvertTxArgs, MapOfTypedDataField, MsgArg, MsgBroadcasterTxOptions, MsgBroadcasterWithPk, MsgBroadcasterWithPkOptions, MsgDecoder, RestAuthInfo, RestSignerInfo, RestTx, RestTxBody, RestTxLog, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, SignerDetails, SimulationResponse, TxClient, TxClientBroadcastOptions, TxClientBroadcastResponse, TxClientInclusionOptions, TxClientMode, TxClientSimulateResponse, TxConcreteApi, TxEventInclusionOptions, TxEventWebSocketFactory, TxFetchTxPollArgs, TxGrpcApi, TxInclusionStrategy, TxInclusionWaiter, TxInfo, TxInfoResponse, TxPrepareTxInclusionWaitArgs, TxResponse, TxRestApi, TxResult, TxResultResponse, TxSearchResult, TxSearchResultParams, TxWaitForTxInclusionArgs, TypedDataField, createAny, createAnyMessage, createAuthInfo, createBody, createFee, createNonCriticalExtensionFromObject, createSignDoc, createSignDocFromTransaction, createSignerInfo, createSigners, createTransaction, createTransactionAndCosmosSignDoc, createTransactionAndCosmosSignDocForAddressAndMsg, createTransactionForAddressAndMsg, createTransactionFromMsg, createTransactionWithSigners, createTxRawEIP712, createTxRawFromSigResponse, createWeb3Extension, errorToErrorMessage, generateArbitrarySignDoc, getAminoStdSignDoc, getDefaultEip712Types, getDefaultEip712TypesV2, getEip712Domain, getEip712DomainV2, getEip712Fee, getEip712FeeV2, getEip712TypedData, getEip712TypedDataV2, getEipTxContext, getEipTxDetails, getEthereumSignerAddress, getInjectiveSignerAddress, getObjectEip712PropertyType, getPublicKey, getTransactionPartsFromTxRaw, getTxRawFromTxRawOrDirectSignResponse, getTypesIncludingFeeOptions, isTxNotFoundError, normalizeTendermintWebSocketEndpoint, numberTypeToReflectionNumberType, objectKeysToEip712Types, patchOrderTypesWithExpirationBlock, protoTypeToAminoType, stringTypeToReflectionStringType, subscribeToTendermintTxEvent, waitTxBroadcasted };
|
package/dist/cjs/cosmjs.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-
|
|
1
|
+
import "./tx_pb-trV9WDtp.cjs";
|
|
2
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-DhhRv0Ed.cjs";
|
|
3
3
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
package/dist/cjs/exports.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-
|
|
1
|
+
import "./tx_pb-trV9WDtp.cjs";
|
|
2
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-DhhRv0Ed.cjs";
|
|
3
3
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as Any } from "./tx_pb-
|
|
2
|
-
import { d as GrpcWebTransportAdditionalOptions } from "./index-
|
|
1
|
+
import { u as Any } from "./tx_pb-trV9WDtp.cjs";
|
|
2
|
+
import { d as GrpcWebTransportAdditionalOptions } from "./index-Di_Vw2h4.cjs";
|
|
3
3
|
import { SnakeCase } from "type-fest";
|
|
4
4
|
import { ChainId, Coin } from "@injectivelabs/ts-types";
|
|
5
5
|
import { Network, NetworkEndpoints } from "@injectivelabs/networks";
|
|
@@ -158,7 +158,7 @@ declare abstract class MsgBase<Params$1, ProtoRepresentation extends Object, Obj
|
|
|
158
158
|
toDirectSignJSON(): string;
|
|
159
159
|
}
|
|
160
160
|
//#endregion
|
|
161
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.
|
|
161
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.4/node_modules/@injectivelabs/core-proto-ts-v2/generated/cosmwasm/wasm/v1/types_pb.d.ts
|
|
162
162
|
/**
|
|
163
163
|
* AccessConfig access control type.
|
|
164
164
|
*
|
|
@@ -941,7 +941,7 @@ declare class ExecPrivilegedArgOffChainVaultSubscribe extends ExecPrivilegedArgB
|
|
|
941
941
|
type ExecArgs = ExecArgCW20Send | ExecArgSubmitVaa | ExecArgCreateRound | ExecArgCW20Transfer | ExecArgFundCampaign | ExecArgSwapMinOutput | ExecArgDepositTokens | ExecArgCreateCampaign | ExecArgSwapExactOutput | ExecArgInitiateTransfer | ExecArgUpdateGridConfig | ExecArgIncreaseAllowance | ExecArgRemoveGridStrategy | ExecArgCreateSpotGridStrategy | ExecArgCreatePerpGridStrategy | ExecArgCW20AdapterRedeemAndTransfer;
|
|
942
942
|
type ExecPrivilegedArgs = ExecPrivilegedArgVaultRedeem | ExecPrivilegedArgVaultSubscribe | ExecPrivilegedArgOffChainVaultRedeem | ExecPrivilegedArgOffChainVaultSubscribe;
|
|
943
943
|
//#endregion
|
|
944
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.
|
|
944
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.4/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/proposal_pb.d.ts
|
|
945
945
|
/**
|
|
946
946
|
* @generated from protobuf enum injective.wasmx.v1.FundingMode
|
|
947
947
|
*/
|
|
@@ -964,7 +964,7 @@ declare enum FundingMode {
|
|
|
964
964
|
Dual = 3,
|
|
965
965
|
}
|
|
966
966
|
//#endregion
|
|
967
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.
|
|
967
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.4/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/wasmx_pb.d.ts
|
|
968
968
|
/**
|
|
969
969
|
* @generated from protobuf message injective.wasmx.v1.Params
|
|
970
970
|
*/
|
|
@@ -1060,7 +1060,7 @@ declare const Params = new Params$Type();
|
|
|
1060
1060
|
*/
|
|
1061
1061
|
declare const RegisteredContract = new RegisteredContract$Type();
|
|
1062
1062
|
//#endregion
|
|
1063
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.
|
|
1063
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.20.4/node_modules/@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/tx_pb.d.ts
|
|
1064
1064
|
/**
|
|
1065
1065
|
* MsgExecuteContractCompat submits the given message data to a smart contract,
|
|
1066
1066
|
* compatible with EIP712
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
1
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-CTO5Rkim.cjs";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.7/node_modules/@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.d.ts
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ft as TokenSource, pt as TokenStatic } from "./index-
|
|
1
|
+
import { ft as TokenSource, pt as TokenStatic } from "./index-Di_Vw2h4.cjs";
|
|
2
2
|
import { b as TokenVerification, y as TokenType } from "./light-B-3BDUJ7.cjs";
|
|
3
3
|
import { Network } from "@injectivelabs/networks";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
1
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-CTO5Rkim.cjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.7/node_modules/@injectivelabs/platform-services-proto-ts-v2/generated/goagen_api_positions_service_pb.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Persisted derivative position
|
|
@@ -296,12 +296,26 @@ type PlatformServicesPositionsStatsWindow = '24h' | '7d' | '30d' | 'all_time';
|
|
|
296
296
|
type PlatformServicesPositionsSortBy = 'pnl' | 'trade_count' | 'num_trades' | 'win_rate' | 'avg_duration' | 'avg_hold_duration';
|
|
297
297
|
type PlatformServicesPositionsSortDirection = 'asc' | 'desc';
|
|
298
298
|
interface PlatformServicesListPositionsParams {
|
|
299
|
+
/**
|
|
300
|
+
* Position UUID filters. Repeat for multiple IDs, up to 100 supplied values.
|
|
301
|
+
* Duplicates are ignored; unknown or invisible positions are omitted.
|
|
302
|
+
* Cannot be combined with accountAddress, from, to, or txHash.
|
|
303
|
+
* Repeat the same ID set on every page; results remain newest first.
|
|
304
|
+
*/
|
|
299
305
|
id?: string[];
|
|
300
306
|
to?: string;
|
|
301
307
|
from?: string;
|
|
302
308
|
pageSize?: number;
|
|
303
309
|
nextToken?: string;
|
|
304
310
|
accountAddress?: string;
|
|
311
|
+
/**
|
|
312
|
+
* Transaction hash filter. Returns the positions with at least one trade in
|
|
313
|
+
* that transaction, so an RFQ fill resolves to the position it opened or
|
|
314
|
+
* changed. 32-byte hex, with or without 0x, any case. Cannot be combined
|
|
315
|
+
* with accountAddress, from, to, or id. Repeat it on every page; results
|
|
316
|
+
* remain newest first.
|
|
317
|
+
*/
|
|
318
|
+
txHash?: string;
|
|
305
319
|
}
|
|
306
320
|
interface PlatformServicesGetAccountPositionStatsParams {
|
|
307
321
|
accountAddress: string;
|