@injectivelabs/sdk-ts 1.20.16 → 1.20.18
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/{AbacusGrpcApi-CIMZFwl6.cjs → AbacusGrpcApi-Dwlpk6jY.cjs} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-CrbGIyOg.d.cts → BaseGrpcConsumer-CUdc9vEY.d.cts} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-BCGDaVy8.cjs → BaseGrpcConsumer-zA9DIfEw.cjs} +1 -1
- package/dist/cjs/{BaseIndexerGrpcConsumer-CoMGNooL.cjs → BaseIndexerGrpcConsumer-CQBZ05BC.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-ChrfB9cv.cjs → ChainGrpcExchangeApi-vxOV2B57.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-utYZ9cZL.cjs → ChainRestTendermintApi-Sni05dAJ.cjs} +1 -1
- package/dist/cjs/{IndexerGrpcWeb3GwApi-Di6ko7ub.cjs → IndexerGrpcWeb3GwApi-KVLJE-jW.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-ycI5AKU4.cjs → MsgSetDenomMetadata-BQbzOfkE.cjs} +1 -1
- package/dist/cjs/{OLPGrpcApi-fdkKcWVJ.cjs → OLPGrpcApi-BNAfesZy.cjs} +1 -1
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-CIlJC3Cq.cjs → QueryTradingStrategyContractTotalStrategies-i7GNf-2z.cjs} +1 -1
- package/dist/cjs/{StreamManagerV2-B3ar_Wxz.cjs → StreamManagerV2-Bdqr75jP.cjs} +20 -8
- package/dist/cjs/{TcAbacusGrpcApi-B7wlTqfE.cjs → TcAbacusGrpcApi-DRKR_enO.cjs} +1 -1
- package/dist/cjs/{chain-D--KOL1m.cjs → chain-DHppVc1K.cjs} +2 -2
- package/dist/cjs/client/abacus.cjs +3 -3
- package/dist/cjs/client/abacus.d.cts +4 -4
- package/dist/cjs/client/chain.cjs +5 -5
- package/dist/cjs/client/chain.d.cts +9 -9
- package/dist/cjs/client/indexer.cjs +5 -5
- package/dist/cjs/client/indexer.d.cts +9 -9
- package/dist/cjs/client/olp.cjs +4 -4
- package/dist/cjs/client/olp.d.cts +4 -4
- package/dist/cjs/client/tcAbacus.cjs +3 -3
- package/dist/cjs/client/tcAbacus.d.cts +4 -4
- package/dist/cjs/client/wasm.cjs +6 -6
- package/dist/cjs/client/wasm.d.cts +3 -3
- package/dist/cjs/core/accounts.d.cts +9 -9
- package/dist/cjs/core/modules.cjs +8 -8
- package/dist/cjs/core/modules.d.cts +9 -9
- package/dist/cjs/core/tx.cjs +6 -6
- package/dist/cjs/core/tx.d.cts +9 -9
- package/dist/cjs/cosmjs.cjs +6 -6
- package/dist/cjs/exports.cjs +6 -6
- package/dist/cjs/{index-DE9mGZGH.d.cts → index-2SjhKIkh.d.cts} +1 -1
- package/dist/cjs/{index-nXX5E77u.d.cts → index-BBL8kiSg.d.cts} +113 -25
- package/dist/cjs/{index-CBmgjh-q.d.cts → index-BG-nzcNI.d.cts} +1 -1
- package/dist/cjs/{index-C4k2HkhI.d.cts → index-BOj_EXVL.d.cts} +1 -1
- package/dist/cjs/{index-i4yKnGpI.d.cts → index-CtkDjIwH.d.cts} +1 -1
- package/dist/cjs/{index-BINBkEIb.d.cts → index-D5xZvGoG.d.cts} +1 -1
- package/dist/cjs/{index-eG3KUAK0.d.cts → index-DmanIXY9.d.cts} +2 -2
- package/dist/cjs/index.cjs +15 -15
- package/dist/cjs/index.d.cts +9 -9
- package/dist/{esm/light-CrlUMC8c.d.ts → cjs/light-4nNsYXxr.d.cts} +123 -1
- package/dist/cjs/{light-Qbh16DQE.cjs → light-CrajlUvd.cjs} +123 -0
- package/dist/cjs/{service-WTWXJzS1.cjs → service-nm5Ct4_w.cjs} +1 -1
- package/dist/cjs/service.cjs +2 -2
- package/dist/cjs/service.d.cts +3 -3
- package/dist/cjs/{tx-eQttrX5b.cjs → tx-BlFLQ52d.cjs} +3 -3
- package/dist/cjs/types/light.cjs +8 -1
- package/dist/cjs/types/light.d.cts +2 -2
- package/dist/cjs/types.cjs +1 -1
- package/dist/cjs/types.d.cts +2 -2
- package/dist/cjs/utils.d.cts +9 -9
- package/dist/esm/{AbacusGrpcApi-DVniM62M.js → AbacusGrpcApi-DVO7c0mB.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-D-uEnIgH.js → BaseGrpcConsumer-Ci8sUY5h.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-B9J3abKI.d.ts → BaseGrpcConsumer-DnPFbzJi.d.ts} +1 -1
- package/dist/esm/{BaseIndexerGrpcConsumer-BUcOBQHD.js → BaseIndexerGrpcConsumer-MGB306RP.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-CT0WW59O.js → ChainGrpcExchangeApi-S5nJzebX.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-C5sizTTA.js → ChainRestTendermintApi-D_FQwKrf.js} +1 -1
- package/dist/esm/{IndexerGrpcWeb3GwApi-D9GO0m1v.js → IndexerGrpcWeb3GwApi-BWuDmOjX.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-DJaQwf94.js → MsgSetDenomMetadata-B4Ke5u9_.js} +1 -1
- package/dist/esm/{OLPGrpcApi-thWMIX2S.js → OLPGrpcApi-BSFkBk80.js} +1 -1
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-NKplhQpi.js → QueryTradingStrategyContractTotalStrategies-Cfz9KGFD.js} +1 -1
- package/dist/esm/{StreamManagerV2-BdSq7ThE.js → StreamManagerV2-BSUBca8a.js} +20 -8
- package/dist/esm/{TcAbacusGrpcApi-0zuZRiGi.js → TcAbacusGrpcApi-k3COziPh.js} +1 -1
- package/dist/esm/{chain-CFXdQ_RS.js → chain-DD4YqzP5.js} +2 -2
- package/dist/esm/client/abacus.d.ts +4 -4
- package/dist/esm/client/abacus.js +3 -3
- package/dist/esm/client/chain.d.ts +9 -9
- package/dist/esm/client/chain.js +5 -5
- package/dist/esm/client/indexer.d.ts +9 -9
- package/dist/esm/client/indexer.js +5 -5
- package/dist/esm/client/olp.d.ts +4 -4
- package/dist/esm/client/olp.js +4 -4
- package/dist/esm/client/tcAbacus.d.ts +4 -4
- package/dist/esm/client/tcAbacus.js +3 -3
- package/dist/esm/client/wasm.d.ts +3 -3
- package/dist/esm/client/wasm.js +6 -6
- package/dist/esm/core/accounts.d.ts +9 -9
- package/dist/esm/core/modules.d.ts +9 -9
- package/dist/esm/core/modules.js +8 -8
- package/dist/esm/core/tx.d.ts +9 -9
- package/dist/esm/core/tx.js +6 -6
- package/dist/esm/cosmjs.js +6 -6
- package/dist/esm/exports.js +6 -6
- package/dist/esm/{index-DPmNu-i9.d.ts → index-81riAHnR.d.ts} +2 -2
- package/dist/esm/{index-lki5l2NS.d.ts → index-B73CV7nM.d.ts} +1 -1
- package/dist/esm/{index-fqs5eTyD.d.ts → index-BJJNBulw.d.ts} +1 -1
- package/dist/esm/{index-CnGE9D2Q.d.ts → index-C_g6Cbjb.d.ts} +113 -25
- package/dist/esm/{index-BAxR1qDR.d.ts → index-D3kPbyYA.d.ts} +1 -1
- package/dist/esm/{index-reHqEgGi.d.ts → index-DcPKOj0m.d.ts} +1 -1
- package/dist/esm/{index-DIP5sGCK.d.ts → index-SZeXNgo8.d.ts} +1 -1
- package/dist/esm/index.d.ts +9 -9
- package/dist/esm/index.js +15 -15
- package/dist/esm/{light-ClZwkrDK.js → light-BflupdEX.js} +82 -1
- package/dist/{cjs/light-BhvqsgHj.d.cts → esm/light-Cr4m0DAA.d.ts} +123 -1
- package/dist/esm/{service-B2z6s85o.js → service-BER-mZkG.js} +1 -1
- package/dist/esm/service.d.ts +3 -3
- package/dist/esm/service.js +2 -2
- package/dist/esm/{tx-Bh9bfmCB.js → tx-Pg714BW8.js} +3 -3
- package/dist/esm/types/light.d.ts +2 -2
- package/dist/esm/types/light.js +2 -2
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/types.js +1 -1
- package/dist/esm/utils.d.ts +9 -9
- package/package.json +6 -6
|
@@ -2,9 +2,9 @@ import { f as toUtf8, m as uint8ArrayToHex, p as uint8ArrayToBase64, t as base64
|
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { S as createSignDoc, T as createSigners, b as createFee, n as PrivateKey, t as BaseAccount, v as createAuthInfo, y as createBody } from "./accounts-3rypojw1.js";
|
|
4
4
|
import { Mt as getGasPriceBasedOnMessage, at as hashToHex, jt as ofacList, kt as sortObjectByKeys, vt as getErrorMessage } from "./utils-B3t50ZnB.js";
|
|
5
|
-
import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-
|
|
6
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
7
|
-
import { t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-
|
|
5
|
+
import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
6
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
7
|
+
import { t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-BWuDmOjX.js";
|
|
8
8
|
import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
|
|
9
9
|
import { keccak256 } from "viem";
|
|
10
10
|
import { DEFAULT_BLOCK_TIMEOUT_HEIGHT, DEFAULT_BLOCK_TIME_IN_SECONDS, DEFAULT_TX_BLOCK_INCLUSION_TIMEOUT_IN_MS, DEFAULT_TX_POLL_CALL_TIMEOUT_MS, DEFAULT_TX_POLL_INTERVAL_MS, HttpClient, getDefaultStdFee, getStdFee, getStdFeeFromString, sleep, toBigNumber } from "@injectivelabs/utils";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { GrpcStatusCode, OrderSide, OrderState, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
|
1
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, a as GrpcOrderTypeMap, b as TokenVerification, c as MarketStatusMap, d as OracleTypeMap, f as OrderSide, g as StreamDisconnectReason, h as OrderTypeMap, i as GrpcOrderType, l as MarketType, m as OrderType, n as GrpcMarketStatus, o as GrpcStatusCode, p as OrderState, r as GrpcMarketStatusMap, s as MarketStatus, t as GridStrategyType, u as OracleType, v as StreamOperation, x as TradeDirection, y as TokenType } from "../light-Cr4m0DAA.js";
|
|
2
|
+
export { GridStrategyType, GrpcMarketStatus, GrpcMarketStatusMap, GrpcOrderType, GrpcOrderTypeMap, GrpcStatusCode, MarketStatus, MarketStatusMap, MarketType, OracleType, OracleTypeMap, OrderSide, OrderState, OrderType, OrderTypeMap, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
package/dist/esm/types/light.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { _ as TradeExecutionSide, a as MarketStatusMap, c as OrderSide, d as StreamDisconnectReason, f as StreamEvent, g as TradeDirection, h as TokenVerification, i as GrpcStatusCode, l as OrderState, m as TokenType, n as GrpcMarketStatusMap, o as MarketType, p as StreamOperation, r as GrpcOrderTypeMap, s as OracleTypeMap, t as GridStrategyType, u as OrderTypeMap, v as TradeExecutionType } from "../light-BflupdEX.js";
|
|
2
2
|
|
|
3
|
-
export { GrpcStatusCode, OrderSide, OrderState, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
|
3
|
+
export { GridStrategyType, GrpcMarketStatusMap, GrpcOrderTypeMap, GrpcStatusCode, MarketStatusMap, MarketType, OracleTypeMap, OrderSide, OrderState, OrderTypeMap, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./tx_pb-DhFh6sWY.js";
|
|
2
|
-
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-BJJNBulw.js";
|
|
3
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, b as TokenVerification, f as OrderSide, g as StreamDisconnectReason, o as GrpcStatusCode, p as OrderState, v as StreamOperation, x as TradeDirection, y as TokenType } from "./light-Cr4m0DAA.js";
|
|
4
4
|
export { AminoSignResponse, Coin, DirectSignResponse, ExchangePagination, GrpcCoin, GrpcStatusCode, GrpcWebTransportAdditionalOptions, OrderMask, OrderMaskMap, OrderSide, OrderState, PagePagination, Pagination, PaginationOption, ResolvedStreamManagerConfig, SignDoc, StreamDisconnectReason, StreamError, StreamEvent, StreamManagerConfig, StreamManagerEvents, StreamManagerRetryConfig, StreamOperation, StreamState, StreamSubscription, TokenMeta, TokenSource, TokenStatic, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TxRaw };
|
package/dist/esm/types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as TradeExecutionSide, c as OrderSide, d as StreamDisconnectReason, f as StreamEvent, g as TradeDirection, h as TokenVerification, i as GrpcStatusCode, l as OrderState, m as TokenType, p as StreamOperation, v as TradeExecutionType } from "./light-BflupdEX.js";
|
|
2
2
|
import { t as StreamState } from "./stream-BqkNM_6g.js";
|
|
3
3
|
import { n as TokenSource, t as OrderMaskMap } from "./types-BAV0654v.js";
|
|
4
4
|
|
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./tx_pb-DhFh6sWY.js";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-
|
|
5
|
-
import "./BaseGrpcConsumer-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
2
|
+
import "./index-BJJNBulw.js";
|
|
3
|
+
import "./light-Cr4m0DAA.js";
|
|
4
|
+
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-C_g6Cbjb.js";
|
|
5
|
+
import "./BaseGrpcConsumer-DnPFbzJi.js";
|
|
6
|
+
import "./index-SZeXNgo8.js";
|
|
7
|
+
import "./index-DcPKOj0m.js";
|
|
8
8
|
import { t as parseCoins } from "./coins-ceq0Id0M.js";
|
|
9
9
|
import { a as getEthereumAddress, c as getSubaccountId, d as removeHexPrefix, i as getDefaultSubaccountId, l as hexToBytes, n as bytesToHex, o as getInjectiveAddress, r as getAddressFromInjectiveAddress, s as getInjectiveAddressFromSubaccountId, t as addHexPrefix, u as isCw20ContractAddress } from "./address-light-BcZDS-ks.js";
|
|
10
10
|
import { a as fromBase64, c as hexToBuff, d as toBase64, f as toUtf8, h as uint8ArrayToString, i as concatUint8Arrays, l as hexToUint8Array, m as uint8ArrayToHex, n as base64ToUtf8, o as fromUtf8, p as uint8ArrayToBase64, r as binaryToBase64, s as hexToBase64, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-18k0e_8v.js";
|
|
11
11
|
import { a as BECH32_PUBKEY_CONS_PREFIX, i as BECH32_PUBKEY_ACC_PREFIX, n as BECH32_ADDR_CONS_PREFIX, o as BECH32_PUBKEY_VAL_PREFIX, r as BECH32_ADDR_VAL_PREFIX, s as DEFAULT_DERIVATION_PATH, t as BECH32_ADDR_ACC_PREFIX } from "./constants-BZ28P_pH.js";
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
12
|
+
import "./index-D3kPbyYA.js";
|
|
13
|
+
import "./index-B73CV7nM.js";
|
|
14
|
+
import "./index-81riAHnR.js";
|
|
15
15
|
export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, bigIntToNumber, bigIntToString, binaryToBase64, bytesToHex, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToBytes, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/sdk-ts",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.18",
|
|
4
4
|
"description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
"@injectivelabs/grpc-web": "^0.0.1",
|
|
452
452
|
"@injectivelabs/grpc-web-node-http-transport": "^0.0.2",
|
|
453
453
|
"@injectivelabs/grpc-web-react-native-transport": "^0.0.2",
|
|
454
|
-
"@injectivelabs/indexer-proto-ts-v2": "1.18.
|
|
454
|
+
"@injectivelabs/indexer-proto-ts-v2": "1.18.24",
|
|
455
455
|
"@injectivelabs/mito-proto-ts-v2": "1.17.3",
|
|
456
456
|
"@injectivelabs/olp-proto-ts-v2": "1.17.6",
|
|
457
457
|
"@injectivelabs/tc-abacus-proto-ts-v2": "1.18.6",
|
|
@@ -471,10 +471,10 @@
|
|
|
471
471
|
"rxjs": "7.8.2",
|
|
472
472
|
"snakecase-keys": "^5.4.1",
|
|
473
473
|
"viem": "^2.41.2",
|
|
474
|
-
"@injectivelabs/
|
|
475
|
-
"@injectivelabs/exceptions": "1.20.
|
|
476
|
-
"@injectivelabs/
|
|
477
|
-
"@injectivelabs/
|
|
474
|
+
"@injectivelabs/ts-types": "1.20.18",
|
|
475
|
+
"@injectivelabs/exceptions": "1.20.18",
|
|
476
|
+
"@injectivelabs/utils": "1.20.18",
|
|
477
|
+
"@injectivelabs/networks": "1.20.18"
|
|
478
478
|
},
|
|
479
479
|
"publishConfig": {
|
|
480
480
|
"access": "public"
|