@injectivelabs/sdk-ts 1.20.8 → 1.20.9

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 (94) hide show
  1. package/dist/cjs/{BaseGrpcConsumer-DveH--Cq.d.cts → BaseGrpcConsumer-hQUELUgx.d.cts} +1 -1
  2. package/dist/cjs/client/abacus.d.cts +4 -4
  3. package/dist/cjs/client/chain.d.cts +9 -9
  4. package/dist/cjs/client/indexer.d.cts +9 -9
  5. package/dist/cjs/client/olp.d.cts +4 -4
  6. package/dist/cjs/client/tcAbacus.d.cts +4 -4
  7. package/dist/cjs/client/wasm.d.cts +3 -3
  8. package/dist/cjs/core/accounts.d.cts +9 -9
  9. package/dist/cjs/core/modules.d.cts +9 -9
  10. package/dist/cjs/core/tx.d.cts +9 -9
  11. package/dist/cjs/cosmjs.d.cts +2 -2
  12. package/dist/cjs/exports.d.cts +2 -2
  13. package/dist/cjs/{index-D3AWWBvO.d.cts → index-C_-rDTGj.d.cts} +1 -1
  14. package/dist/cjs/{index-8iRT1DJ_.d.cts → index-CcaoYG-w.d.cts} +1 -1
  15. package/dist/cjs/{index-BSAoPX-y.d.cts → index-D3pv75E_.d.cts} +1 -1
  16. package/dist/cjs/{index-BrYcdG7m.d.cts → index-DHXKfIfk.d.cts} +1 -1
  17. package/dist/cjs/{index-D5di5RCY.d.cts → index-DYAz6OYS.d.cts} +1 -1
  18. package/dist/cjs/{index-BLeyouu4.d.cts → index-DpsYFbif.d.cts} +1 -1
  19. package/dist/{esm/index-B1n6MK3q.d.ts → cjs/index-DycY9sNd.d.cts} +8 -8
  20. package/dist/cjs/{index-lG_wInup.d.cts → index-XXaVvoVF.d.cts} +2 -2
  21. package/dist/cjs/index.d.cts +9 -9
  22. package/dist/cjs/proto/cosmos-tx.cjs +10 -0
  23. package/dist/cjs/proto/cosmos-tx.d.cts +2 -0
  24. package/dist/cjs/service.d.cts +3 -3
  25. package/dist/cjs/types.d.cts +2 -2
  26. package/dist/cjs/utils.d.cts +9 -9
  27. package/dist/esm/{AbacusGrpcApi-BsDZcRId.js → AbacusGrpcApi-DkCeTkDn.js} +2 -2
  28. package/dist/esm/{BaseGrpcConsumer-WvNC6PWw.js → BaseGrpcConsumer-DhBpWXoS.js} +3 -3
  29. package/dist/esm/{BaseGrpcConsumer-NENXqh2S.d.ts → BaseGrpcConsumer-Sl3xsz0E.d.ts} +1 -1
  30. package/dist/esm/{BaseIndexerGrpcConsumer-DiM_bBMQ.js → BaseIndexerGrpcConsumer-DUFdU5Jc.js} +1 -1
  31. package/dist/esm/{ChainGrpcExchangeApi-FbnUGCvz.js → ChainGrpcExchangeApi-DguM-qYO.js} +4 -4
  32. package/dist/esm/{ChainRestTendermintApi-BqRB0kOh.js → ChainRestTendermintApi-DYxHtuDJ.js} +4 -4
  33. package/dist/esm/{DirectEthSecp256k1Wallet-DESf4xPl.js → DirectEthSecp256k1Wallet-DTQPdfWr.js} +3 -3
  34. package/dist/esm/{ExecArgNeptuneWithdraw-3OxxZ4Jk.js → ExecArgNeptuneWithdraw-DiiRJIyN.js} +3 -3
  35. package/dist/esm/{IndexerGrpcWeb3GwApi-Bc5TEiq5.js → IndexerGrpcWeb3GwApi-CNrU8pp0.js} +3 -3
  36. package/dist/esm/{MsgBase-CpH99FqH.js → MsgBase-C7o5mYq2.js} +1 -1
  37. package/dist/esm/{MsgSetDenomMetadata-ohjlOX6p.js → MsgSetDenomMetadata-BaZ5DJbg.js} +6 -6
  38. package/dist/esm/{OLPGrpcApi-BAR06bsn.js → OLPGrpcApi-BxGH2wrn.js} +2 -2
  39. package/dist/esm/{QueryTradingStrategyContractTotalStrategies-WLe6x-85.js → QueryTradingStrategyContractTotalStrategies-DFALBPZR.js} +4 -4
  40. package/dist/esm/{StreamManagerV2-TxpGVrnn.js → StreamManagerV2-Am-bSHRd.js} +8 -8
  41. package/dist/esm/{TcAbacusGrpcApi-DD86J_-p.js → TcAbacusGrpcApi-BAXcitkT.js} +2 -2
  42. package/dist/esm/{accounts-9kDGuOG8.js → accounts-BUGklZ0P.js} +3 -3
  43. package/dist/esm/{chain-DbsI6rma.js → chain-CqhilNvt.js} +5 -5
  44. package/dist/esm/client/abacus.d.ts +4 -4
  45. package/dist/esm/client/abacus.js +5 -5
  46. package/dist/esm/client/chain.d.ts +9 -9
  47. package/dist/esm/client/chain.js +9 -9
  48. package/dist/esm/client/indexer.d.ts +9 -9
  49. package/dist/esm/client/indexer.js +10 -10
  50. package/dist/esm/client/olp.d.ts +4 -4
  51. package/dist/esm/client/olp.js +6 -6
  52. package/dist/esm/client/tcAbacus.d.ts +4 -4
  53. package/dist/esm/client/tcAbacus.js +5 -5
  54. package/dist/esm/client/wasm.d.ts +3 -3
  55. package/dist/esm/client/wasm.js +12 -12
  56. package/dist/esm/core/accounts.d.ts +9 -9
  57. package/dist/esm/core/accounts.js +5 -5
  58. package/dist/esm/core/modules.d.ts +9 -9
  59. package/dist/esm/core/modules.js +15 -15
  60. package/dist/esm/core/tx.d.ts +9 -9
  61. package/dist/esm/core/tx.js +12 -12
  62. package/dist/esm/cosmjs.d.ts +2 -2
  63. package/dist/esm/cosmjs.js +13 -13
  64. package/dist/esm/exports.d.ts +2 -2
  65. package/dist/esm/exports.js +13 -13
  66. package/dist/esm/{index-aSq9g2tp.d.ts → index-BVrelbME.d.ts} +1 -1
  67. package/dist/esm/{index-C5UuxPA_.d.ts → index-Bw9qjGRX.d.ts} +1 -1
  68. package/dist/esm/{index-RrcJqaty.d.ts → index-ByMB16FS.d.ts} +2 -2
  69. package/dist/{cjs/index-BIJeQ_kb.d.cts → esm/index-CYCECkSw.d.ts} +8 -8
  70. package/dist/esm/{index-JyWINUsO.d.ts → index-CwUA1dD4.d.ts} +1 -1
  71. package/dist/esm/{index-CjKVwgtI.d.ts → index-DA42BIjg.d.ts} +1 -1
  72. package/dist/esm/{index-B2J6m4Hs.d.ts → index-DCxzFRMk.d.ts} +1 -1
  73. package/dist/esm/{index-BSobgtq2.d.ts → index-DLO54TL2.d.ts} +1 -1
  74. package/dist/esm/index.d.ts +9 -9
  75. package/dist/esm/index.js +23 -23
  76. package/dist/esm/proto/cosmos-tx.d.ts +2 -0
  77. package/dist/esm/proto/cosmos-tx.js +3 -0
  78. package/dist/esm/{service-BCrrdnTz.js → service-Uo4J-lwR.js} +3 -3
  79. package/dist/esm/service.d.ts +3 -3
  80. package/dist/esm/service.js +6 -6
  81. package/dist/esm/{tx-DlxWzCFf.js → tx-CxoC4Tqz.js} +6 -6
  82. package/dist/esm/types.d.ts +2 -2
  83. package/dist/esm/types.js +2 -2
  84. package/dist/esm/utils.d.ts +9 -9
  85. package/dist/esm/utils.js +2 -2
  86. package/package.json +25 -5
  87. /package/dist/cjs/{tx_pb-juo9yexz.d.cts → tx_pb-7h617od9.d.cts} +0 -0
  88. /package/dist/esm/{BaseRestConsumer-Ca8S09Yp.js → BaseRestConsumer-DMS02DwS.js} +0 -0
  89. /package/dist/esm/{defineProperty-HO0rQlTT.js → defineProperty-CmydwPCD.js} +0 -0
  90. /package/dist/esm/{grpc-BJmNoike.js → grpc-lYZqzL0k.js} +0 -0
  91. /package/dist/esm/{stream-76M0PY9K.js → stream-Cdx47Nhx.js} +0 -0
  92. /package/dist/esm/{tx_pb-CEGobIZP.d.ts → tx_pb-Bb9pvoP6.d.ts} +0 -0
  93. /package/dist/esm/{types-tAnfZSw9.js → types-DQ7rwavH.js} +0 -0
  94. /package/dist/esm/{utils-D-LVHEfQ.js → utils-bfl-Zimr.js} +0 -0
@@ -1,8 +1,8 @@
1
- import "./utils-D-LVHEfQ.js";
2
- import "./defineProperty-HO0rQlTT.js";
3
- import "./grpc-BJmNoike.js";
4
- import "./stream-76M0PY9K.js";
5
- import "./types-tAnfZSw9.js";
6
- import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./service-BCrrdnTz.js";
1
+ import "./utils-bfl-Zimr.js";
2
+ import "./defineProperty-CmydwPCD.js";
3
+ import "./grpc-lYZqzL0k.js";
4
+ import "./stream-Cdx47Nhx.js";
5
+ import "./types-DQ7rwavH.js";
6
+ import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./service-Uo4J-lwR.js";
7
7
 
8
8
  export { TokenFactoryStatic, TokenPrice, TokenStaticFactory };
@@ -1,9 +1,9 @@
1
- import { Et as getGasPriceBasedOnMessage, Jt as stringToUint8Array, Qt as uint8ArrayToHex, Tt as ofacList, Xt as toUtf8, Zt as uint8ArrayToBase64, mn as sortObjectByKeys, mt as hashToHex, rn as getErrorMessage, zt as base64ToUint8Array } from "./utils-D-LVHEfQ.js";
2
- import { t as _defineProperty } from "./defineProperty-HO0rQlTT.js";
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-9kDGuOG8.js";
4
- import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-BqRB0kOh.js";
5
- import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-WvNC6PWw.js";
6
- import { t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-Bc5TEiq5.js";
1
+ import { Et as getGasPriceBasedOnMessage, Jt as stringToUint8Array, Qt as uint8ArrayToHex, Tt as ofacList, Xt as toUtf8, Zt as uint8ArrayToBase64, mn as sortObjectByKeys, mt as hashToHex, rn as getErrorMessage, zt as base64ToUint8Array } from "./utils-bfl-Zimr.js";
2
+ import { t as _defineProperty } from "./defineProperty-CmydwPCD.js";
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-BUGklZ0P.js";
4
+ import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-DYxHtuDJ.js";
5
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DhBpWXoS.js";
6
+ import { t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-CNrU8pp0.js";
7
7
  import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
8
8
  import { keccak256 } from "viem";
9
9
  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,3 +1,3 @@
1
- import "./tx_pb-CEGobIZP.js";
2
- import { Ct as TokenVerification, St as TokenType, _ as OrderState, _t as StreamState, a as StreamOperation, b as TradeExecutionType, bt as TokenSource, c as DirectSignResponse, d as TxRaw, dt as StreamDisconnectReason, f as GrpcWebTransportAdditionalOptions, ft as StreamError, g as OrderSide, gt as StreamManagerRetryConfig, h as OrderMaskMap, ht as StreamManagerEvents, i as PaginationOption, l as GrpcCoin, lt as GrpcStatusCode, m as OrderMask, mt as StreamManagerConfig, n as PagePagination, o as AminoSignResponse, pt as StreamEvent, r as Pagination, s as Coin, t as ExchangePagination, u as SignDoc, ut as ResolvedStreamManagerConfig, v as TradeDirection, vt as StreamSubscription, xt as TokenStatic, y as TradeExecutionSide, yt as TokenMeta } from "./index-B2J6m4Hs.js";
1
+ import "./tx_pb-Bb9pvoP6.js";
2
+ import { Ct as TokenVerification, St as TokenType, _ as OrderState, _t as StreamState, a as StreamOperation, b as TradeExecutionType, bt as TokenSource, c as DirectSignResponse, d as TxRaw, dt as StreamDisconnectReason, f as GrpcWebTransportAdditionalOptions, ft as StreamError, g as OrderSide, gt as StreamManagerRetryConfig, h as OrderMaskMap, ht as StreamManagerEvents, i as PaginationOption, l as GrpcCoin, lt as GrpcStatusCode, m as OrderMask, mt as StreamManagerConfig, n as PagePagination, o as AminoSignResponse, pt as StreamEvent, r as Pagination, s as Coin, t as ExchangePagination, u as SignDoc, ut as ResolvedStreamManagerConfig, v as TradeDirection, vt as StreamSubscription, xt as TokenStatic, y as TradeExecutionSide, yt as TokenMeta } from "./index-DCxzFRMk.js";
3
3
  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 { i as StreamState, n as StreamDisconnectReason, r as StreamEvent, t as GrpcStatusCode } from "./stream-76M0PY9K.js";
2
- import { a as TradeDirection, c as TokenSource, i as OrderState, l as TokenType, n as OrderMaskMap, o as TradeExecutionSide, r as OrderSide, s as TradeExecutionType, t as StreamOperation, u as TokenVerification } from "./types-tAnfZSw9.js";
1
+ import { i as StreamState, n as StreamDisconnectReason, r as StreamEvent, t as GrpcStatusCode } from "./stream-Cdx47Nhx.js";
2
+ import { a as TradeDirection, c as TokenSource, i as OrderState, l as TokenType, n as OrderMaskMap, o as TradeExecutionSide, r as OrderSide, s as TradeExecutionType, t as StreamOperation, u as TokenVerification } from "./types-DQ7rwavH.js";
3
3
 
4
4
  export { GrpcStatusCode, OrderMaskMap, OrderSide, OrderState, StreamDisconnectReason, StreamEvent, StreamOperation, StreamState, TokenSource, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
@@ -1,10 +1,10 @@
1
- import "./tx_pb-CEGobIZP.js";
2
- import "./index-B2J6m4Hs.js";
3
- import { $d as getEthereumAddress, $f as hexToNumber, Ad as BECH32_PUBKEY_ACC_PREFIX, Af as formatAmountToAllowableDecimals, Ap as makeTimeoutTimestamp, Bd as hexToBase64, Bf as spotPriceFromChainPrice, Cd as grpcPagingToPagingV2, Cf as derivativePriceToChainPrice, Cp as ripemd160, Dd as BECH32_ADDR_ACC_PREFIX, Df as derivativeQuantityToChainQuantity, Dp as ofacList, Ed as paginationUint8ArrayToString, Ef as derivativeQuantityFromChainQuantityToFixed, Ep as parseCoins, Fd as base64ToUtf8, Ff as getExactDecimalsFromNumber, Gd as toUtf8, Gf as spotQuantityFromChainQuantityToFixed, Hd as hexToUint8Array, Hf as spotPriceToChainPrice, Id as binaryToBase64, If as getSignificantDecimalsFromNumber, Jd as uint8ArrayToString, Jf as bigIntReplacer, Kd as uint8ArrayToBase64, Kf as spotQuantityToChainQuantity, Ld as concatUint8Arrays, Lf as getTensMultiplier, Md as BECH32_PUBKEY_VAL_PREFIX, Mf as formatNumberToAllowableTensMultiplier, Mp as protobufTimestampToDate, Nd as DEFAULT_DERIVATION_PATH, Nf as formatPriceToAllowableDecimals, Np as protobufTimestampToUnixMs, Od as BECH32_ADDR_CONS_PREFIX, Of as derivativeQuantityToChainQuantityToFixed, Op as getGrpcWebTransport, Pd as base64ToUint8Array, Pf as formatPriceToAllowablePrice, Pp as protobufTimestampToUnixSeconds, Qd as getDefaultSubaccountId, Qf as grpcCoinToUiCoin, Rd as fromBase64, Rf as isNumber, Sd as grpcPagingToPaging, Sf as derivativePriceFromChainPriceToFixed, Sp as publicKeyToAddress, Td as paginationRequestFromPagination, Tf as derivativeQuantityFromChainQuantity, Tp as sha256, Ud as stringToUint8Array, Uf as spotPriceToChainPriceToFixed, Vd as hexToBuff, Vf as spotPriceFromChainPriceToFixed, Wd as toBase64, Wf as spotQuantityFromChainQuantity, Xd as getAddressFromInjectiveAddress, Xf as bigIntToString, Yd as addHexPrefix, Yf as bigIntToNumber, Zd as getChecksumAddress, Zf as getErrorMessage, _f as derivativeMarginFromChainMargin, _p as messageHash, af as getDerivativeMarketDecimals, ap as objectToJson, bd as fetchAllWithPagination, bf as derivativeMarginToChainMarginToFixed, bp as privateKeyToPublicKey, cf as getSpotMarketTensMultiplier, cp as sortObjectByKeys, df as denomAmountFromChainDenomAmount, dp as TypedDataUtilsHashStruct, ef as getInjectiveAddress, ep as isBrowser, ff as denomAmountFromChainDenomAmountToFixed, fp as TypedDataUtilsSanitizeData, gf as denomAmountToGrpcChainDenomAmount, gp as hashToHex, hf as denomAmountToChainDenomAmountToFixed, hp as domainHash, if as removeHexPrefix, ip as isServerSide, jd as BECH32_PUBKEY_CONS_PREFIX, jf as formatNumberToAllowableDecimals, jp as makeTimeoutTimestampInNs, kd as BECH32_ADDR_VAL_PREFIX, kf as formatAmountToAllowableAmount, kp as getGasPriceBasedOnMessage, lf as amountToCosmosSdkDecAmount, lp as sortObjectByKeysWithReduce, mf as denomAmountToChainDenomAmount, mp as decompressPubKey, nS as GrpcWebFetchTransport, nf as getSubaccountId, np as isNode, of as getDerivativeMarketTensMultiplier, op as protoObjectToJson, pf as denomAmountFromGrpcChainDenomAmount, pp as TypedMessageV4, qd as uint8ArrayToHex, qf as spotQuantityToChainQuantityToFixed, rf as isCw20ContractAddress, rp as isReactNative, sf as getSpotMarketDecimals, sp as safeBigIntStringify, tf as getInjectiveAddressFromSubaccountId, tp as isJsonString, uf as cosmosSdkDecToBigNumber, up as SignTypedDataVersionV4, vf as derivativeMarginFromChainMarginToFixed, vp as privateKeyHashToPublicKey, wd as pageRequestToGrpcPageRequestV2, wf as derivativePriceToChainPriceToFixed, wp as sanitizeTypedData, xd as grpcPaginationToPagination, xf as derivativePriceFromChainPrice, xp as privateKeyToPublicKeyBase64, yd as recoverTypedSignaturePubKey, yf as derivativeMarginToChainMargin, yp as privateKeyHashToPublicKeyBase64, zd as fromUtf8, zf as numberToCosmosSdkDecString } from "./index-B1n6MK3q.js";
4
- import "./BaseGrpcConsumer-NENXqh2S.js";
5
- import "./index-BSobgtq2.js";
6
- import "./index-RrcJqaty.js";
7
- import "./index-aSq9g2tp.js";
8
- import "./index-JyWINUsO.js";
9
- import "./index-C5UuxPA_.js";
1
+ import "./tx_pb-Bb9pvoP6.js";
2
+ import "./index-DCxzFRMk.js";
3
+ import { $d as getEthereumAddress, $f as hexToNumber, Ad as BECH32_PUBKEY_ACC_PREFIX, Af as formatAmountToAllowableDecimals, Ap as makeTimeoutTimestamp, Bd as hexToBase64, Bf as spotPriceFromChainPrice, Cd as grpcPagingToPagingV2, Cf as derivativePriceToChainPrice, Cp as ripemd160, Dd as BECH32_ADDR_ACC_PREFIX, Df as derivativeQuantityToChainQuantity, Dp as ofacList, Ed as paginationUint8ArrayToString, Ef as derivativeQuantityFromChainQuantityToFixed, Ep as parseCoins, Fd as base64ToUtf8, Ff as getExactDecimalsFromNumber, Gd as toUtf8, Gf as spotQuantityFromChainQuantityToFixed, Hd as hexToUint8Array, Hf as spotPriceToChainPrice, Id as binaryToBase64, If as getSignificantDecimalsFromNumber, Jd as uint8ArrayToString, Jf as bigIntReplacer, Kd as uint8ArrayToBase64, Kf as spotQuantityToChainQuantity, Ld as concatUint8Arrays, Lf as getTensMultiplier, Md as BECH32_PUBKEY_VAL_PREFIX, Mf as formatNumberToAllowableTensMultiplier, Mp as protobufTimestampToDate, Nd as DEFAULT_DERIVATION_PATH, Nf as formatPriceToAllowableDecimals, Np as protobufTimestampToUnixMs, Od as BECH32_ADDR_CONS_PREFIX, Of as derivativeQuantityToChainQuantityToFixed, Op as getGrpcWebTransport, Pd as base64ToUint8Array, Pf as formatPriceToAllowablePrice, Pp as protobufTimestampToUnixSeconds, Qd as getDefaultSubaccountId, Qf as grpcCoinToUiCoin, Rd as fromBase64, Rf as isNumber, Sd as grpcPagingToPaging, Sf as derivativePriceFromChainPriceToFixed, Sp as publicKeyToAddress, Td as paginationRequestFromPagination, Tf as derivativeQuantityFromChainQuantity, Tp as sha256, Ud as stringToUint8Array, Uf as spotPriceToChainPriceToFixed, Vd as hexToBuff, Vf as spotPriceFromChainPriceToFixed, Wd as toBase64, Wf as spotQuantityFromChainQuantity, Xd as getAddressFromInjectiveAddress, Xf as bigIntToString, Yd as addHexPrefix, Yf as bigIntToNumber, Zd as getChecksumAddress, Zf as getErrorMessage, _f as derivativeMarginFromChainMargin, _p as messageHash, af as getDerivativeMarketDecimals, ap as objectToJson, bd as fetchAllWithPagination, bf as derivativeMarginToChainMarginToFixed, bp as privateKeyToPublicKey, cf as getSpotMarketTensMultiplier, cp as sortObjectByKeys, df as denomAmountFromChainDenomAmount, dp as TypedDataUtilsHashStruct, ef as getInjectiveAddress, ep as isBrowser, ff as denomAmountFromChainDenomAmountToFixed, fp as TypedDataUtilsSanitizeData, gf as denomAmountToGrpcChainDenomAmount, gp as hashToHex, hf as denomAmountToChainDenomAmountToFixed, hp as domainHash, if as removeHexPrefix, ip as isServerSide, jd as BECH32_PUBKEY_CONS_PREFIX, jf as formatNumberToAllowableDecimals, jp as makeTimeoutTimestampInNs, kd as BECH32_ADDR_VAL_PREFIX, kf as formatAmountToAllowableAmount, kp as getGasPriceBasedOnMessage, lf as amountToCosmosSdkDecAmount, lp as sortObjectByKeysWithReduce, mf as denomAmountToChainDenomAmount, mp as decompressPubKey, nS as GrpcWebFetchTransport, nf as getSubaccountId, np as isNode, of as getDerivativeMarketTensMultiplier, op as protoObjectToJson, pf as denomAmountFromGrpcChainDenomAmount, pp as TypedMessageV4, qd as uint8ArrayToHex, qf as spotQuantityToChainQuantityToFixed, rf as isCw20ContractAddress, rp as isReactNative, sf as getSpotMarketDecimals, sp as safeBigIntStringify, tf as getInjectiveAddressFromSubaccountId, tp as isJsonString, uf as cosmosSdkDecToBigNumber, up as SignTypedDataVersionV4, vf as derivativeMarginFromChainMarginToFixed, vp as privateKeyHashToPublicKey, wd as pageRequestToGrpcPageRequestV2, wf as derivativePriceToChainPriceToFixed, wp as sanitizeTypedData, xd as grpcPaginationToPagination, xf as derivativePriceFromChainPrice, xp as privateKeyToPublicKeyBase64, yd as recoverTypedSignaturePubKey, yf as derivativeMarginToChainMargin, yp as privateKeyHashToPublicKeyBase64, zd as fromUtf8, zf as numberToCosmosSdkDecString } from "./index-CYCECkSw.js";
4
+ import "./BaseGrpcConsumer-Sl3xsz0E.js";
5
+ import "./index-DLO54TL2.js";
6
+ import "./index-ByMB16FS.js";
7
+ import "./index-BVrelbME.js";
8
+ import "./index-CwUA1dD4.js";
9
+ import "./index-Bw9qjGRX.js";
10
10
  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, 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, 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/dist/esm/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as isNumber, $t as uint8ArrayToString, A as denomAmountToChainDenomAmountToFixed, At as protobufTimestampToUnixMs, B as derivativeQuantityFromChainQuantity, Bt as base64ToUtf8, C as getSpotMarketTensMultiplier, Ct as sha256, D as denomAmountFromChainDenomAmountToFixed, Dt as makeTimeoutTimestamp, E as denomAmountFromChainDenomAmount, Et as getGasPriceBasedOnMessage, F as derivativeMarginToChainMarginToFixed, Ft as BECH32_PUBKEY_ACC_PREFIX, G as formatAmountToAllowableDecimals, Gt as hexToBase64, H as derivativeQuantityToChainQuantity, Ht as concatUint8Arrays, I as derivativePriceFromChainPrice, It as BECH32_PUBKEY_CONS_PREFIX, J as formatPriceToAllowableDecimals, Jt as stringToUint8Array, K as formatNumberToAllowableDecimals, Kt as hexToBuff, L as derivativePriceFromChainPriceToFixed, Lt as BECH32_PUBKEY_VAL_PREFIX, M as derivativeMarginFromChainMargin, Mt as BECH32_ADDR_ACC_PREFIX, N as derivativeMarginFromChainMarginToFixed, Nt as BECH32_ADDR_CONS_PREFIX, O as denomAmountFromGrpcChainDenomAmount, Ot as makeTimeoutTimestampInNs, P as derivativeMarginToChainMargin, Pt as BECH32_ADDR_VAL_PREFIX, Q as getTensMultiplier, Qt as uint8ArrayToHex, R as derivativePriceToChainPrice, Rt as DEFAULT_DERIVATION_PATH, S as getSpotMarketDecimals, St as sanitizeTypedData, T as cosmosSdkDecToBigNumber, Tt as ofacList, U as derivativeQuantityToChainQuantityToFixed, Ut as fromBase64, V as derivativeQuantityFromChainQuantityToFixed, Vt as binaryToBase64, W as formatAmountToAllowableAmount, Wt as fromUtf8, X as getExactDecimalsFromNumber, Xt as toUtf8, Y as formatPriceToAllowablePrice, Yt as toBase64, Z as getSignificantDecimalsFromNumber, Zt as uint8ArrayToBase64, _ as getSubaccountId, _t as privateKeyHashToPublicKeyBase64, a as grpcPagingToPagingV2, an as hexToNumber, at as spotQuantityFromChainQuantity, b as getDerivativeMarketDecimals, bt as publicKeyToAddress, c as paginationUint8ArrayToString, cn as isNode, ct as spotQuantityToChainQuantityToFixed, d as getAddressFromInjectiveAddress, dn as objectToJson, dt as TypedDataUtilsSanitizeData, en as bigIntReplacer, et as numberToCosmosSdkDecString, f as getChecksumAddress, fn as protoObjectToJson, ft as decompressPubKey, g as getInjectiveAddressFromSubaccountId, gt as privateKeyHashToPublicKey, h as getInjectiveAddress, hn as sortObjectByKeysWithReduce, ht as messageHash, i as grpcPagingToPaging, in as grpcCoinToUiCoin, it as spotPriceToChainPriceToFixed, j as denomAmountToGrpcChainDenomAmount, jt as protobufTimestampToUnixSeconds, k as denomAmountToChainDenomAmount, kt as protobufTimestampToDate, ln as isReactNative, lt as SignTypedDataVersionV4, m as getEthereumAddress, mn as sortObjectByKeys, mt as hashToHex, n as fetchAllWithPagination, nn as bigIntToString, nt as spotPriceFromChainPriceToFixed, o as pageRequestToGrpcPageRequestV2, on as isBrowser, ot as spotQuantityFromChainQuantityToFixed, p as getDefaultSubaccountId, pn as safeBigIntStringify, pt as domainHash, q as formatNumberToAllowableTensMultiplier, qt as hexToUint8Array, r as grpcPaginationToPagination, rn as getErrorMessage, rt as spotPriceToChainPrice, s as paginationRequestFromPagination, sn as isJsonString, st as spotQuantityToChainQuantity, t as recoverTypedSignaturePubKey, tn as bigIntToNumber, tt as spotPriceFromChainPrice, u as addHexPrefix, un as isServerSide, ut as TypedDataUtilsHashStruct, v as isCw20ContractAddress, vt as privateKeyToPublicKey, w as amountToCosmosSdkDecAmount, wt as parseCoins, x as getDerivativeMarketTensMultiplier, xt as ripemd160, y as removeHexPrefix, yt as privateKeyToPublicKeyBase64, z as derivativePriceToChainPriceToFixed, zt as base64ToUint8Array } from "./utils-D-LVHEfQ.js";
2
- import { n as getGrpcWebTransport, t as GrpcWebFetchTransport } from "./grpc-BJmNoike.js";
1
+ import { $ as isNumber, $t as uint8ArrayToString, A as denomAmountToChainDenomAmountToFixed, At as protobufTimestampToUnixMs, B as derivativeQuantityFromChainQuantity, Bt as base64ToUtf8, C as getSpotMarketTensMultiplier, Ct as sha256, D as denomAmountFromChainDenomAmountToFixed, Dt as makeTimeoutTimestamp, E as denomAmountFromChainDenomAmount, Et as getGasPriceBasedOnMessage, F as derivativeMarginToChainMarginToFixed, Ft as BECH32_PUBKEY_ACC_PREFIX, G as formatAmountToAllowableDecimals, Gt as hexToBase64, H as derivativeQuantityToChainQuantity, Ht as concatUint8Arrays, I as derivativePriceFromChainPrice, It as BECH32_PUBKEY_CONS_PREFIX, J as formatPriceToAllowableDecimals, Jt as stringToUint8Array, K as formatNumberToAllowableDecimals, Kt as hexToBuff, L as derivativePriceFromChainPriceToFixed, Lt as BECH32_PUBKEY_VAL_PREFIX, M as derivativeMarginFromChainMargin, Mt as BECH32_ADDR_ACC_PREFIX, N as derivativeMarginFromChainMarginToFixed, Nt as BECH32_ADDR_CONS_PREFIX, O as denomAmountFromGrpcChainDenomAmount, Ot as makeTimeoutTimestampInNs, P as derivativeMarginToChainMargin, Pt as BECH32_ADDR_VAL_PREFIX, Q as getTensMultiplier, Qt as uint8ArrayToHex, R as derivativePriceToChainPrice, Rt as DEFAULT_DERIVATION_PATH, S as getSpotMarketDecimals, St as sanitizeTypedData, T as cosmosSdkDecToBigNumber, Tt as ofacList, U as derivativeQuantityToChainQuantityToFixed, Ut as fromBase64, V as derivativeQuantityFromChainQuantityToFixed, Vt as binaryToBase64, W as formatAmountToAllowableAmount, Wt as fromUtf8, X as getExactDecimalsFromNumber, Xt as toUtf8, Y as formatPriceToAllowablePrice, Yt as toBase64, Z as getSignificantDecimalsFromNumber, Zt as uint8ArrayToBase64, _ as getSubaccountId, _t as privateKeyHashToPublicKeyBase64, a as grpcPagingToPagingV2, an as hexToNumber, at as spotQuantityFromChainQuantity, b as getDerivativeMarketDecimals, bt as publicKeyToAddress, c as paginationUint8ArrayToString, cn as isNode, ct as spotQuantityToChainQuantityToFixed, d as getAddressFromInjectiveAddress, dn as objectToJson, dt as TypedDataUtilsSanitizeData, en as bigIntReplacer, et as numberToCosmosSdkDecString, f as getChecksumAddress, fn as protoObjectToJson, ft as decompressPubKey, g as getInjectiveAddressFromSubaccountId, gt as privateKeyHashToPublicKey, h as getInjectiveAddress, hn as sortObjectByKeysWithReduce, ht as messageHash, i as grpcPagingToPaging, in as grpcCoinToUiCoin, it as spotPriceToChainPriceToFixed, j as denomAmountToGrpcChainDenomAmount, jt as protobufTimestampToUnixSeconds, k as denomAmountToChainDenomAmount, kt as protobufTimestampToDate, ln as isReactNative, lt as SignTypedDataVersionV4, m as getEthereumAddress, mn as sortObjectByKeys, mt as hashToHex, n as fetchAllWithPagination, nn as bigIntToString, nt as spotPriceFromChainPriceToFixed, o as pageRequestToGrpcPageRequestV2, on as isBrowser, ot as spotQuantityFromChainQuantityToFixed, p as getDefaultSubaccountId, pn as safeBigIntStringify, pt as domainHash, q as formatNumberToAllowableTensMultiplier, qt as hexToUint8Array, r as grpcPaginationToPagination, rn as getErrorMessage, rt as spotPriceToChainPrice, s as paginationRequestFromPagination, sn as isJsonString, st as spotQuantityToChainQuantity, t as recoverTypedSignaturePubKey, tn as bigIntToNumber, tt as spotPriceFromChainPrice, u as addHexPrefix, un as isServerSide, ut as TypedDataUtilsHashStruct, v as isCw20ContractAddress, vt as privateKeyToPublicKey, w as amountToCosmosSdkDecAmount, wt as parseCoins, x as getDerivativeMarketTensMultiplier, xt as ripemd160, y as removeHexPrefix, yt as privateKeyToPublicKeyBase64, z as derivativePriceToChainPriceToFixed, zt as base64ToUint8Array } from "./utils-bfl-Zimr.js";
2
+ import { n as getGrpcWebTransport, t as GrpcWebFetchTransport } from "./grpc-lYZqzL0k.js";
3
3
 
4
4
  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, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, bigIntToNumber, bigIntToString, binaryToBase64, 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, 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.8",
3
+ "version": "1.20.9",
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": {
@@ -254,6 +254,26 @@
254
254
  "default": "./dist/cjs/core/tx.cjs"
255
255
  }
256
256
  },
257
+ "./proto/cosmos-tx": {
258
+ "react-native": {
259
+ "import": "./dist/esm/proto/cosmos-tx.js",
260
+ "require": "./dist/cjs/proto/cosmos-tx.cjs",
261
+ "types": "./dist/cjs/proto/cosmos-tx.d.cts",
262
+ "default": "./dist/cjs/proto/cosmos-tx.cjs"
263
+ },
264
+ "require": {
265
+ "types": "./dist/cjs/proto/cosmos-tx.d.cts",
266
+ "default": "./dist/cjs/proto/cosmos-tx.cjs"
267
+ },
268
+ "import": {
269
+ "types": "./dist/esm/proto/cosmos-tx.d.ts",
270
+ "default": "./dist/esm/proto/cosmos-tx.js"
271
+ },
272
+ "default": {
273
+ "types": "./dist/cjs/proto/cosmos-tx.d.cts",
274
+ "default": "./dist/cjs/proto/cosmos-tx.cjs"
275
+ }
276
+ },
257
277
  "./types": {
258
278
  "react-native": {
259
279
  "import": "./dist/esm/types.js",
@@ -351,10 +371,10 @@
351
371
  "rxjs": "7.8.2",
352
372
  "snakecase-keys": "^5.4.1",
353
373
  "viem": "^2.41.2",
354
- "@injectivelabs/exceptions": "1.20.8",
355
- "@injectivelabs/networks": "1.20.8",
356
- "@injectivelabs/ts-types": "1.20.8",
357
- "@injectivelabs/utils": "1.20.8"
374
+ "@injectivelabs/networks": "1.20.9",
375
+ "@injectivelabs/exceptions": "1.20.9",
376
+ "@injectivelabs/ts-types": "1.20.9",
377
+ "@injectivelabs/utils": "1.20.9"
358
378
  },
359
379
  "publishConfig": {
360
380
  "access": "public"
File without changes