@injectivelabs/sdk-ts 1.20.53 → 1.20.55

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 (65) hide show
  1. package/dist/cjs/{ChainGrpcExchangeApi-CYPPc8yS.cjs → ChainGrpcExchangeApi-Dmw4ijud.cjs} +2 -2
  2. package/dist/cjs/{ChainRestTendermintApi-BfE-2rtB.cjs → ChainRestTendermintApi-D9n4xCwM.cjs} +1 -1
  3. package/dist/cjs/{DirectEthSecp256k1Wallet-KzazWAat.cjs → DirectEthSecp256k1Wallet-D46YxXv2.cjs} +1 -1
  4. package/dist/cjs/{ExecArgNeptuneWithdraw-C8xXDAvE.cjs → ExecArgNeptuneWithdraw-Cd85kmnw.cjs} +2 -2
  5. package/dist/cjs/{IndexerGrpcWeb3GwApi-CPixqm9l.cjs → IndexerGrpcWeb3GwApi-BUhyscY_.cjs} +1 -1
  6. package/dist/cjs/{MsgBase-BqZWKNPE.cjs → MsgBase-jNBijPHQ.cjs} +1 -0
  7. package/dist/cjs/{MsgSetDenomMetadata-Bzu3UDR7.cjs → MsgSetDenomMetadata-D1okfyXa.cjs} +69 -5
  8. package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-XOXsMgT9.cjs → QueryTradingStrategyContractTotalStrategies-BTH7S9q8.cjs} +2 -2
  9. package/dist/cjs/{StreamManagerV2-dDz3sHWi.cjs → StreamManagerV2-x2J4dStX.cjs} +2 -2
  10. package/dist/cjs/{accounts-CEEO_tAS.cjs → accounts-BQ4KTUrh.cjs} +2 -2
  11. package/dist/cjs/{chain-Vaqb4Vrm.cjs → chain-BXgN0R3H.cjs} +2 -2
  12. package/dist/cjs/client/chain.cjs +4 -4
  13. package/dist/cjs/client/chain.d.cts +1 -1
  14. package/dist/cjs/client/indexer.cjs +3 -3
  15. package/dist/cjs/client/indexer.d.cts +1 -1
  16. package/dist/cjs/client/wasm.cjs +7 -7
  17. package/dist/cjs/core/accounts.cjs +3 -3
  18. package/dist/cjs/core/accounts.d.cts +1 -1
  19. package/dist/cjs/core/modules.cjs +10 -9
  20. package/dist/cjs/core/modules.d.cts +2 -2
  21. package/dist/cjs/core/tx.cjs +6 -6
  22. package/dist/cjs/core/tx.d.cts +1 -1
  23. package/dist/cjs/cosmjs.cjs +7 -7
  24. package/dist/cjs/exports.cjs +7 -7
  25. package/dist/cjs/{index-He9ky3uA.d.cts → index-BQ9E0FkE.d.cts} +81 -3
  26. package/dist/cjs/index.cjs +13 -12
  27. package/dist/cjs/index.d.cts +2 -2
  28. package/dist/cjs/service.cjs +1 -1
  29. package/dist/cjs/{tx-DHI9sPwo.cjs → tx-DiCzUF8y.cjs} +4 -4
  30. package/dist/cjs/{utils-SKHr0NOv.cjs → utils-CzZ_KGSE.cjs} +15 -1
  31. package/dist/cjs/utils.cjs +1 -1
  32. package/dist/cjs/utils.d.cts +1 -1
  33. package/dist/esm/{ChainGrpcExchangeApi-AvCJkW7O.js → ChainGrpcExchangeApi-Z-fc46qR.js} +2 -2
  34. package/dist/esm/{ChainRestTendermintApi-CXHeGWjk.js → ChainRestTendermintApi-Chvt3SbJ.js} +1 -1
  35. package/dist/esm/{DirectEthSecp256k1Wallet-X82EheqC.js → DirectEthSecp256k1Wallet-BgMlvMk6.js} +1 -1
  36. package/dist/esm/{ExecArgNeptuneWithdraw-BzyfMVSe.js → ExecArgNeptuneWithdraw-Cy5glCPr.js} +2 -2
  37. package/dist/esm/{IndexerGrpcWeb3GwApi-DAMdV0I4.js → IndexerGrpcWeb3GwApi-DMTxPUfG.js} +1 -1
  38. package/dist/esm/{MsgBase-BQlZFcm-.js → MsgBase-BC3GNddA.js} +1 -0
  39. package/dist/esm/{MsgSetDenomMetadata-CLenywd3.js → MsgSetDenomMetadata-KZUkL3Ju.js} +64 -6
  40. package/dist/esm/{QueryTradingStrategyContractTotalStrategies-D8-dSDkE.js → QueryTradingStrategyContractTotalStrategies-BA_fmR0e.js} +2 -2
  41. package/dist/esm/{StreamManagerV2-DkBlluoc.js → StreamManagerV2-BAsZZNgk.js} +2 -2
  42. package/dist/esm/{accounts-CSXPhB6W.js → accounts-qcht12Jt.js} +2 -2
  43. package/dist/esm/{chain-B1k6xknc.js → chain-Ck-hh_DM.js} +2 -2
  44. package/dist/esm/client/chain.d.ts +1 -1
  45. package/dist/esm/client/chain.js +4 -4
  46. package/dist/esm/client/indexer.d.ts +1 -1
  47. package/dist/esm/client/indexer.js +3 -3
  48. package/dist/esm/client/wasm.js +7 -7
  49. package/dist/esm/core/accounts.d.ts +1 -1
  50. package/dist/esm/core/accounts.js +3 -3
  51. package/dist/esm/core/modules.d.ts +2 -2
  52. package/dist/esm/core/modules.js +10 -10
  53. package/dist/esm/core/tx.d.ts +1 -1
  54. package/dist/esm/core/tx.js +6 -6
  55. package/dist/esm/cosmjs.js +7 -7
  56. package/dist/esm/exports.js +7 -7
  57. package/dist/esm/{index-Bq0LFse7.d.ts → index-D5krZLwQ.d.ts} +81 -3
  58. package/dist/esm/index.d.ts +2 -2
  59. package/dist/esm/index.js +13 -13
  60. package/dist/esm/service.js +1 -1
  61. package/dist/esm/{tx-CVLB4qip.js → tx-BN0DItbb.js} +4 -4
  62. package/dist/esm/{utils-gwPCLHN6.js → utils-BmpLdEfK.js} +15 -1
  63. package/dist/esm/utils.d.ts +1 -1
  64. package/dist/esm/utils.js +1 -1
  65. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  import "./tx_pb-Blty6MDM.js";
2
2
  import "./index-DErklCLI.js";
3
3
  import "./light-BFGvKXwS.js";
4
- import { $d as derivativeMarginFromChainMargin, $f as messageHash, Af as bigIntReplacer, Bd as getChecksumAddress, Bf as isServerSide, Cf as spotPriceFromChainPriceToFixed, Df as spotQuantityFromChainQuantityToFixed, Ef as spotQuantityFromChainQuantity, Fd as grpcPagingToPaging, Ff as hexToNumber, Gd as amountToCosmosSdkDecAmount, Gf as sortObjectByKeysWithReduce, Hd as getDerivativeMarketTensMultiplier, Hf as protoObjectToJson, Id as grpcPagingToPagingV2, If as isBrowser, Jd as denomAmountFromChainDenomAmountToFixed, Jf as TypedDataUtilsSanitizeData, Kd as cosmosSdkDecToBigNumber, Kf as SignTypedDataVersionV4, Ld as pageRequestToGrpcPageRequestV2, Lf as isJsonString, Md as fetchAllWithPagination, Mf as bigIntToString, Nd as fetchAllWithTokenPagination, Nf as getErrorMessage, Of as spotQuantityToChainQuantity, Pd as grpcPaginationToPagination, Pf as grpcCoinToUiCoin, Qd as denomAmountToGrpcChainDenomAmount, Qf as hashToHex, Rd as paginationRequestFromPagination, Rf as isNode, SS as GrpcWebFetchTransport, Sf as spotPriceFromChainPrice, Tf as spotPriceToChainPriceToFixed, Ud as getSpotMarketDecimals, Uf as safeBigIntStringify, Vd as getDerivativeMarketDecimals, Vf as objectToJson, Wd as getSpotMarketTensMultiplier, Wf as sortObjectByKeys, Xd as denomAmountToChainDenomAmount, Xf as decompressPubKey, Yd as denomAmountFromGrpcChainDenomAmount, Yf as TypedMessageV4, Zd as denomAmountToChainDenomAmountToFixed, Zf as domainHash, _f as getExactDecimalsFromNumber, _p as protobufTimestampToUnixSeconds, af as derivativePriceToChainPrice, ap as ripemd160, bf as isNumber, cf as derivativeQuantityFromChainQuantityToFixed, cp as ofacList, df as formatAmountToAllowableAmount, dp as getGasOptionsBasedOnMessage, ef as derivativeMarginFromChainMarginToFixed, ep as privateKeyHashToPublicKey, ff as formatAmountToAllowableDecimals, fp as getGasPriceBasedOnMessage, gf as formatPriceToAllowablePrice, gp as protobufTimestampToUnixMs, hf as formatPriceToAllowableDecimals, hp as protobufTimestampToDate, if as derivativePriceFromChainPriceToFixed, ip as publicKeyToAddress, jd as recoverTypedSignaturePubKey, jf as bigIntToNumber, kf as spotQuantityToChainQuantityToFixed, lf as derivativeQuantityToChainQuantity, lp as getGrpcWebTransport, mf as formatNumberToAllowableTensMultiplier, mp as makeTimeoutTimestampInNs, nf as derivativeMarginToChainMarginToFixed, np as privateKeyToPublicKey, of as derivativePriceToChainPriceToFixed, op as sanitizeTypedData, pf as formatNumberToAllowableDecimals, pp as makeTimeoutTimestamp, qd as denomAmountFromChainDenomAmount, qf as TypedDataUtilsHashStruct, rf as derivativePriceFromChainPrice, rp as privateKeyToPublicKeyBase64, sf as derivativeQuantityFromChainQuantity, sp as sha256, tf as derivativeMarginToChainMargin, tp as privateKeyHashToPublicKeyBase64, uf as derivativeQuantityToChainQuantityToFixed, up as getFixedGasLimitBasedOnMessage, vf as getSignificantDecimalsFromNumber, wf as spotPriceToChainPrice, xf as numberToCosmosSdkDecString, yf as getTensMultiplier, zd as paginationUint8ArrayToString, zf as isReactNative } from "./index-Bq0LFse7.js";
4
+ import { $d as derivativeMarginFromChainMargin, $f as messageHash, Af as bigIntReplacer, Bd as getChecksumAddress, Bf as isServerSide, CS as GrpcWebFetchTransport, Cf as spotPriceFromChainPriceToFixed, Df as spotQuantityFromChainQuantityToFixed, Ef as spotQuantityFromChainQuantity, Fd as grpcPagingToPaging, Ff as hexToNumber, Gd as amountToCosmosSdkDecAmount, Gf as sortObjectByKeysWithReduce, Hd as getDerivativeMarketTensMultiplier, Hf as protoObjectToJson, Id as grpcPagingToPagingV2, If as isBrowser, Jd as denomAmountFromChainDenomAmountToFixed, Jf as TypedDataUtilsSanitizeData, Kd as cosmosSdkDecToBigNumber, Kf as SignTypedDataVersionV4, Ld as pageRequestToGrpcPageRequestV2, Lf as isJsonString, Md as fetchAllWithPagination, Mf as bigIntToString, Nd as fetchAllWithTokenPagination, Nf as getErrorMessage, Of as spotQuantityToChainQuantity, Pd as grpcPaginationToPagination, Pf as grpcCoinToUiCoin, Qd as denomAmountToGrpcChainDenomAmount, Qf as hashToHex, Rd as paginationRequestFromPagination, Rf as isNode, Sf as spotPriceFromChainPrice, Tf as spotPriceToChainPriceToFixed, Ud as getSpotMarketDecimals, Uf as safeBigIntStringify, Vd as getDerivativeMarketDecimals, Vf as objectToJson, Wd as getSpotMarketTensMultiplier, Wf as sortObjectByKeys, Xd as denomAmountToChainDenomAmount, Xf as decompressPubKey, Yd as denomAmountFromGrpcChainDenomAmount, Yf as TypedMessageV4, Zd as denomAmountToChainDenomAmountToFixed, Zf as domainHash, _f as getExactDecimalsFromNumber, _p as protobufTimestampToUnixSeconds, af as derivativePriceToChainPrice, ap as ripemd160, bf as isNumber, cf as derivativeQuantityFromChainQuantityToFixed, cp as ofacList, df as formatAmountToAllowableAmount, dp as getGasOptionsBasedOnMessage, ef as derivativeMarginFromChainMarginToFixed, ep as privateKeyHashToPublicKey, ff as formatAmountToAllowableDecimals, fp as getGasPriceBasedOnMessage, gf as formatPriceToAllowablePrice, gp as protobufTimestampToUnixMs, hf as formatPriceToAllowableDecimals, hp as protobufTimestampToDate, if as derivativePriceFromChainPriceToFixed, ip as publicKeyToAddress, jd as recoverTypedSignaturePubKey, jf as bigIntToNumber, kf as spotQuantityToChainQuantityToFixed, lf as derivativeQuantityToChainQuantity, lp as getGrpcWebTransport, mf as formatNumberToAllowableTensMultiplier, mp as makeTimeoutTimestampInNs, nf as derivativeMarginToChainMarginToFixed, np as privateKeyToPublicKey, of as derivativePriceToChainPriceToFixed, op as sanitizeTypedData, pf as formatNumberToAllowableDecimals, pp as makeTimeoutTimestamp, qd as denomAmountFromChainDenomAmount, qf as TypedDataUtilsHashStruct, rf as derivativePriceFromChainPrice, rp as privateKeyToPublicKeyBase64, sf as derivativeQuantityFromChainQuantity, sp as sha256, tf as derivativeMarginToChainMargin, tp as privateKeyHashToPublicKeyBase64, uf as derivativeQuantityToChainQuantityToFixed, up as getFixedGasLimitBasedOnMessage, vf as getSignificantDecimalsFromNumber, wf as spotPriceToChainPrice, xf as numberToCosmosSdkDecString, yf as getTensMultiplier, zd as paginationUint8ArrayToString, zf as isReactNative } from "./index-D5krZLwQ.js";
5
5
  import "./BaseGrpcConsumer-C4GGGY9p.js";
6
6
  import "./index-D0Mc-LvV.js";
7
7
  import "./index-C-3GUOfC.js";
package/dist/esm/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  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-BpntDob-.js";
2
2
  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-J9ftgKqC.js";
3
- import { $ as spotQuantityToChainQuantity, A as derivativePriceToChainPrice, At as sortObjectByKeys, B as formatPriceToAllowableDecimals, Bt as protobufTimestampToUnixSeconds, C as denomAmountToGrpcChainDenomAmount, Ct as isJsonString, D as derivativeMarginToChainMarginToFixed, Dt as objectToJson, E as derivativeMarginToChainMargin, Et as isServerSide, F as derivativeQuantityToChainQuantityToFixed, Ft as getGasPriceBasedOnMessage, G as isNumber, H as getExactDecimalsFromNumber, I as formatAmountToAllowableAmount, It as makeTimeoutTimestamp, J as spotPriceFromChainPriceToFixed, K as numberToCosmosSdkDecString, L as formatAmountToAllowableDecimals, Lt as makeTimeoutTimestampInNs, M as derivativeQuantityFromChainQuantity, Mt as ofacList, N as derivativeQuantityFromChainQuantityToFixed, Nt as getFixedGasLimitBasedOnMessage, O as derivativePriceFromChainPrice, Ot as protoObjectToJson, P as derivativeQuantityToChainQuantity, Pt as getGasOptionsBasedOnMessage, Q as spotQuantityFromChainQuantityToFixed, R as formatNumberToAllowableDecimals, Rt as protobufTimestampToDate, S as denomAmountToChainDenomAmountToFixed, St as isBrowser, T as derivativeMarginFromChainMarginToFixed, Tt as isReactNative, U as getSignificantDecimalsFromNumber, V as formatPriceToAllowablePrice, W as getTensMultiplier, X as spotPriceToChainPriceToFixed, Y as spotPriceToChainPrice, Z as spotQuantityFromChainQuantity, _ as cosmosSdkDecToBigNumber, _t as bigIntToNumber, a as grpcPagingToPaging, at as domainHash, b as denomAmountFromGrpcChainDenomAmount, bt as grpcCoinToUiCoin, c as paginationRequestFromPagination, ct as privateKeyHashToPublicKey, d as getChecksumAddress, dt as privateKeyToPublicKeyBase64, et as spotQuantityToChainQuantityToFixed, f as getDerivativeMarketDecimals, ft as publicKeyToAddress, g as amountToCosmosSdkDecAmount, gt as bigIntReplacer, h as getSpotMarketTensMultiplier, ht as sha256, i as grpcPaginationToPagination, it as decompressPubKey, j as derivativePriceToChainPriceToFixed, jt as sortObjectByKeysWithReduce, k as derivativePriceFromChainPriceToFixed, kt as safeBigIntStringify, l as paginationUint8ArrayToString, lt as privateKeyHashToPublicKeyBase64, m as getSpotMarketDecimals, mt as sanitizeTypedData, n as fetchAllWithPagination, nt as TypedDataUtilsHashStruct, o as grpcPagingToPagingV2, ot as hashToHex, p as getDerivativeMarketTensMultiplier, pt as ripemd160, q as spotPriceFromChainPrice, r as fetchAllWithTokenPagination, rt as TypedDataUtilsSanitizeData, s as pageRequestToGrpcPageRequestV2, st as messageHash, t as recoverTypedSignaturePubKey, tt as SignTypedDataVersionV4, ut as privateKeyToPublicKey, v as denomAmountFromChainDenomAmount, vt as bigIntToString, w as derivativeMarginFromChainMargin, wt as isNode, x as denomAmountToChainDenomAmount, xt as hexToNumber, y as denomAmountFromChainDenomAmountToFixed, yt as getErrorMessage, z as formatNumberToAllowableTensMultiplier, zt as protobufTimestampToUnixMs } from "./utils-gwPCLHN6.js";
3
+ import { $ as spotQuantityToChainQuantity, A as derivativePriceToChainPrice, At as sortObjectByKeys, B as formatPriceToAllowableDecimals, Bt as protobufTimestampToUnixSeconds, C as denomAmountToGrpcChainDenomAmount, Ct as isJsonString, D as derivativeMarginToChainMarginToFixed, Dt as objectToJson, E as derivativeMarginToChainMargin, Et as isServerSide, F as derivativeQuantityToChainQuantityToFixed, Ft as getGasPriceBasedOnMessage, G as isNumber, H as getExactDecimalsFromNumber, I as formatAmountToAllowableAmount, It as makeTimeoutTimestamp, J as spotPriceFromChainPriceToFixed, K as numberToCosmosSdkDecString, L as formatAmountToAllowableDecimals, Lt as makeTimeoutTimestampInNs, M as derivativeQuantityFromChainQuantity, Mt as ofacList, N as derivativeQuantityFromChainQuantityToFixed, Nt as getFixedGasLimitBasedOnMessage, O as derivativePriceFromChainPrice, Ot as protoObjectToJson, P as derivativeQuantityToChainQuantity, Pt as getGasOptionsBasedOnMessage, Q as spotQuantityFromChainQuantityToFixed, R as formatNumberToAllowableDecimals, Rt as protobufTimestampToDate, S as denomAmountToChainDenomAmountToFixed, St as isBrowser, T as derivativeMarginFromChainMarginToFixed, Tt as isReactNative, U as getSignificantDecimalsFromNumber, V as formatPriceToAllowablePrice, W as getTensMultiplier, X as spotPriceToChainPriceToFixed, Y as spotPriceToChainPrice, Z as spotQuantityFromChainQuantity, _ as cosmosSdkDecToBigNumber, _t as bigIntToNumber, a as grpcPagingToPaging, at as domainHash, b as denomAmountFromGrpcChainDenomAmount, bt as grpcCoinToUiCoin, c as paginationRequestFromPagination, ct as privateKeyHashToPublicKey, d as getChecksumAddress, dt as privateKeyToPublicKeyBase64, et as spotQuantityToChainQuantityToFixed, f as getDerivativeMarketDecimals, ft as publicKeyToAddress, g as amountToCosmosSdkDecAmount, gt as bigIntReplacer, h as getSpotMarketTensMultiplier, ht as sha256, i as grpcPaginationToPagination, it as decompressPubKey, j as derivativePriceToChainPriceToFixed, jt as sortObjectByKeysWithReduce, k as derivativePriceFromChainPriceToFixed, kt as safeBigIntStringify, l as paginationUint8ArrayToString, lt as privateKeyHashToPublicKeyBase64, m as getSpotMarketDecimals, mt as sanitizeTypedData, n as fetchAllWithPagination, nt as TypedDataUtilsHashStruct, o as grpcPagingToPagingV2, ot as hashToHex, p as getDerivativeMarketTensMultiplier, pt as ripemd160, q as spotPriceFromChainPrice, r as fetchAllWithTokenPagination, rt as TypedDataUtilsSanitizeData, s as pageRequestToGrpcPageRequestV2, st as messageHash, t as recoverTypedSignaturePubKey, tt as SignTypedDataVersionV4, ut as privateKeyToPublicKey, v as denomAmountFromChainDenomAmount, vt as bigIntToString, w as derivativeMarginFromChainMargin, wt as isNode, x as denomAmountToChainDenomAmount, xt as hexToNumber, y as denomAmountFromChainDenomAmountToFixed, yt as getErrorMessage, z as formatNumberToAllowableTensMultiplier, zt as protobufTimestampToUnixMs } from "./utils-BmpLdEfK.js";
4
4
  import "./light-BUFhVek8.js";
5
5
  import { n as getGrpcWebTransport, t as GrpcWebFetchTransport } from "./grpc-CSo1TcHx.js";
6
6
  import { t as parseCoins } from "./coins-DTdsvmX2.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@injectivelabs/sdk-ts",
3
- "version": "1.20.53",
3
+ "version": "1.20.55",
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": {
@@ -492,10 +492,10 @@
492
492
  "rxjs": "7.8.2",
493
493
  "snakecase-keys": "^5.4.1",
494
494
  "viem": "^2.54.6",
495
- "@injectivelabs/exceptions": "1.20.53",
496
- "@injectivelabs/networks": "1.20.53",
497
- "@injectivelabs/ts-types": "1.20.53",
498
- "@injectivelabs/utils": "1.20.53"
495
+ "@injectivelabs/exceptions": "1.20.55",
496
+ "@injectivelabs/ts-types": "1.20.55",
497
+ "@injectivelabs/utils": "1.20.55",
498
+ "@injectivelabs/networks": "1.20.55"
499
499
  },
500
500
  "publishConfig": {
501
501
  "access": "public"