@injectivelabs/sdk-ts 1.20.13 → 1.20.15
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-DlbYSnBj.cjs → AbacusGrpcApi-xrQAr-fH.cjs} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-hQUELUgx.d.cts → BaseGrpcConsumer-CgIbwIvJ.d.cts} +16 -0
- package/dist/cjs/{BaseGrpcConsumer-Dz4HNpJI.cjs → BaseGrpcConsumer-DHYpiqn5.cjs} +43 -4
- package/dist/cjs/{BaseIndexerGrpcConsumer-Xe9hG11G.cjs → BaseIndexerGrpcConsumer-GHyeUHdH.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-CxKz2ruQ.cjs → ChainGrpcExchangeApi-MspF9deW.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-YT8Cma7n.cjs → ChainRestTendermintApi-TZoqfN-E.cjs} +1 -1
- package/dist/cjs/{IndexerGrpcWeb3GwApi-Ck9raGFF.cjs → IndexerGrpcWeb3GwApi-Cj9gotHt.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-DI8THWc5.cjs → MsgSetDenomMetadata-BDNtlSxx.cjs} +1 -1
- package/dist/cjs/{OLPGrpcApi-B-NUoVcE.cjs → OLPGrpcApi-BqcMEdma.cjs} +1 -1
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-T14WTKCS.cjs → QueryTradingStrategyContractTotalStrategies-CbfuOlxa.cjs} +1 -1
- package/dist/cjs/{StreamManagerV2-B2TNj0sd.cjs → StreamManagerV2-Bo7m_nUZ.cjs} +3 -3
- package/dist/cjs/{TcAbacusGrpcApi-DIX90jRr.cjs → TcAbacusGrpcApi-7a0vFnWK.cjs} +1 -1
- package/dist/cjs/{chain-Ybu_sSGf.cjs → chain-lo3Cyc0M.cjs} +2 -2
- package/dist/cjs/client/abacus.cjs +2 -2
- package/dist/cjs/client/abacus.d.cts +2 -2
- package/dist/cjs/client/chain.cjs +4 -4
- package/dist/cjs/client/chain.d.cts +5 -5
- package/dist/cjs/client/indexer.cjs +4 -4
- package/dist/cjs/client/indexer.d.cts +5 -5
- package/dist/cjs/client/olp.cjs +3 -3
- package/dist/cjs/client/olp.d.cts +2 -2
- package/dist/cjs/client/tcAbacus.cjs +2 -2
- package/dist/cjs/client/tcAbacus.d.cts +2 -2
- package/dist/cjs/client/wasm.cjs +5 -5
- package/dist/cjs/core/accounts.d.cts +5 -5
- package/dist/cjs/core/modules.cjs +7 -7
- package/dist/cjs/core/modules.d.cts +5 -5
- package/dist/cjs/core/tx.cjs +5 -5
- package/dist/cjs/core/tx.d.cts +5 -5
- package/dist/cjs/cosmjs.cjs +5 -5
- package/dist/cjs/exports.cjs +5 -5
- package/dist/cjs/{index-ylWtIStf.d.cts → index-BEK8esHW.d.cts} +2 -2
- package/dist/cjs/{index-C_-rDTGj.d.cts → index-DfNpbUN6.d.cts} +1 -1
- package/dist/cjs/{index-CcaoYG-w.d.cts → index-DiXeIFAS.d.cts} +1 -1
- package/dist/cjs/{index-DHXKfIfk.d.cts → index-uJW9LUqV.d.cts} +1 -1
- package/dist/cjs/index.cjs +13 -13
- package/dist/cjs/index.d.cts +5 -5
- package/dist/cjs/{tx-Dtenqe-d.cjs → tx-C2jfAA8Y.cjs} +3 -3
- package/dist/cjs/utils.d.cts +5 -5
- package/dist/esm/{AbacusGrpcApi-DkCeTkDn.js → AbacusGrpcApi-CtwUxhbH.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-DhBpWXoS.js → BaseGrpcConsumer-C2_ejXG6.js} +43 -4
- package/dist/esm/{BaseGrpcConsumer-Sl3xsz0E.d.ts → BaseGrpcConsumer-C8YhjVn6.d.ts} +16 -0
- package/dist/esm/{BaseIndexerGrpcConsumer-DUFdU5Jc.js → BaseIndexerGrpcConsumer-B7ubNh4y.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-DguM-qYO.js → ChainGrpcExchangeApi-46tg3Hzg.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-DYxHtuDJ.js → ChainRestTendermintApi-J6BTcNft.js} +1 -1
- package/dist/esm/{IndexerGrpcWeb3GwApi-BNBI4l_T.js → IndexerGrpcWeb3GwApi-43sbzWOe.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-DbwMt0fp.js → MsgSetDenomMetadata-k1Be2o9j.js} +1 -1
- package/dist/esm/{OLPGrpcApi-BxGH2wrn.js → OLPGrpcApi-DJHRAhPY.js} +1 -1
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-DFALBPZR.js → QueryTradingStrategyContractTotalStrategies-NvpGnD6O.js} +1 -1
- package/dist/esm/{StreamManagerV2-2nEa62on.js → StreamManagerV2-DiRDW-5W.js} +3 -3
- package/dist/esm/{TcAbacusGrpcApi-BAXcitkT.js → TcAbacusGrpcApi-Dat50xET.js} +1 -1
- package/dist/esm/{chain-CqhilNvt.js → chain-DDGdMRsP.js} +2 -2
- package/dist/esm/client/abacus.d.ts +2 -2
- package/dist/esm/client/abacus.js +2 -2
- package/dist/esm/client/chain.d.ts +5 -5
- package/dist/esm/client/chain.js +4 -4
- package/dist/esm/client/indexer.d.ts +5 -5
- package/dist/esm/client/indexer.js +4 -4
- package/dist/esm/client/olp.d.ts +2 -2
- package/dist/esm/client/olp.js +3 -3
- package/dist/esm/client/tcAbacus.d.ts +2 -2
- package/dist/esm/client/tcAbacus.js +2 -2
- package/dist/esm/client/wasm.js +5 -5
- package/dist/esm/core/accounts.d.ts +5 -5
- package/dist/esm/core/modules.d.ts +5 -5
- package/dist/esm/core/modules.js +7 -7
- package/dist/esm/core/tx.d.ts +5 -5
- package/dist/esm/core/tx.js +5 -5
- package/dist/esm/cosmjs.js +5 -5
- package/dist/esm/exports.js +5 -5
- package/dist/esm/{index-DLO54TL2.d.ts → index-B0mpSZSK.d.ts} +1 -1
- package/dist/esm/{index-BVrelbME.d.ts → index-BrfNx2yV.d.ts} +1 -1
- package/dist/esm/{index-BZ508u4C.d.ts → index-CTAobhk3.d.ts} +2 -2
- package/dist/esm/{index-CwUA1dD4.d.ts → index-JlA-uSsc.d.ts} +1 -1
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.js +13 -13
- package/dist/esm/{tx-A0VEJixu.js → tx-Ajrd7cHg.js} +3 -3
- package/dist/esm/utils.d.ts +5 -5
- package/package.json +5 -5
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./tx_pb-Bb9pvoP6.js";
|
|
2
2
|
import "./index-DCxzFRMk.js";
|
|
3
|
-
import { $d as addHexPrefix, $f as bigIntToNumber, Ad as paginationUint8ArrayToString, Af as derivativeQuantityFromChainQuantityToFixed, Ap as parseCoins, Bd as binaryToBase64, Bf as getSignificantDecimalsFromNumber, Cd as recoverTypedSignaturePubKey, Cf as derivativeMarginToChainMargin, Cp as privateKeyHashToPublicKeyBase64, Dd as grpcPagingToPagingV2, Df as derivativePriceToChainPrice, Dp as ripemd160, Ed as grpcPagingToPaging, Ef as derivativePriceFromChainPriceToFixed, Ep as publicKeyToAddress, Fd as BECH32_PUBKEY_CONS_PREFIX, Ff as formatNumberToAllowableDecimals, Fp as makeTimeoutTimestampInNs, Gd as hexToBuff, Gf as spotPriceFromChainPriceToFixed, Hd as fromBase64, Hf as isNumber, Id as BECH32_PUBKEY_VAL_PREFIX, If as formatNumberToAllowableTensMultiplier, Ip as protobufTimestampToDate, Jd as toBase64, Jf as spotQuantityFromChainQuantity, Kd as hexToUint8Array, Kf as spotPriceToChainPrice, Ld as DEFAULT_DERIVATION_PATH, Lf as formatPriceToAllowableDecimals, Lp as protobufTimestampToUnixMs, Md as BECH32_ADDR_CONS_PREFIX, Mf as derivativeQuantityToChainQuantityToFixed, Mp as getGrpcWebTransport, Nd as BECH32_ADDR_VAL_PREFIX, Nf as formatAmountToAllowableAmount, Np as getGasPriceBasedOnMessage, Od as pageRequestToGrpcPageRequestV2, Of as derivativePriceToChainPriceToFixed, Op as sanitizeTypedData, Pd as BECH32_PUBKEY_ACC_PREFIX, Pf as formatAmountToAllowableDecimals, Pp as makeTimeoutTimestamp, Qd as uint8ArrayToString, Qf as bigIntReplacer, Rd as base64ToUint8Array, Rf as formatPriceToAllowablePrice, Rp as protobufTimestampToUnixSeconds, Sf as derivativeMarginFromChainMarginToFixed, Sp as privateKeyHashToPublicKey, Td as grpcPaginationToPagination, Tf as derivativePriceFromChainPrice, Tp as privateKeyToPublicKeyBase64, Ud as fromUtf8, Uf as numberToCosmosSdkDecString, Vd as concatUint8Arrays, Vf as getTensMultiplier, Wd as hexToBase64, Wf as spotPriceFromChainPrice, Xd as uint8ArrayToBase64, Xf as spotQuantityToChainQuantity, Yd as toUtf8, Yf as spotQuantityFromChainQuantityToFixed, Zd as uint8ArrayToHex, Zf as spotQuantityToChainQuantityToFixed, _f as denomAmountFromGrpcChainDenomAmount, _p as TypedMessageV4, af as getInjectiveAddressFromSubaccountId, ap as isJsonString, bf as denomAmountToGrpcChainDenomAmount, bp as hashToHex, cS as GrpcWebFetchTransport, cf as removeHexPrefix, cp as isServerSide, df as getSpotMarketDecimals, dp as safeBigIntStringify, ef as getAddressFromInjectiveAddress, ep as bigIntToString, ff as getSpotMarketTensMultiplier, fp as sortObjectByKeys, gf as denomAmountFromChainDenomAmountToFixed, gp as TypedDataUtilsSanitizeData, hf as denomAmountFromChainDenomAmount, hp as TypedDataUtilsHashStruct, if as getInjectiveAddress, ip as isBrowser, jd as BECH32_ADDR_ACC_PREFIX, jf as derivativeQuantityToChainQuantity, jp as ofacList, kd as paginationRequestFromPagination, kf as derivativeQuantityFromChainQuantity, kp as sha256, lf as getDerivativeMarketDecimals, lp as objectToJson, mf as cosmosSdkDecToBigNumber, mp as SignTypedDataVersionV4, nf as getDefaultSubaccountId, np as grpcCoinToUiCoin, of as getSubaccountId, op as isNode, pf as amountToCosmosSdkDecAmount, pp as sortObjectByKeysWithReduce, qd as stringToUint8Array, qf as spotPriceToChainPriceToFixed, rf as getEthereumAddress, rp as hexToNumber, sf as isCw20ContractAddress, sp as isReactNative, tf as getChecksumAddress, tp as getErrorMessage, uf as getDerivativeMarketTensMultiplier, up as protoObjectToJson, vf as denomAmountToChainDenomAmount, vp as decompressPubKey, wd as fetchAllWithPagination, wf as derivativeMarginToChainMarginToFixed, wp as privateKeyToPublicKey, xf as derivativeMarginFromChainMargin, xp as messageHash, yf as denomAmountToChainDenomAmountToFixed, yp as domainHash, zd as base64ToUtf8, zf as getExactDecimalsFromNumber } from "./index-
|
|
4
|
-
import "./BaseGrpcConsumer-
|
|
5
|
-
import "./index-
|
|
3
|
+
import { $d as addHexPrefix, $f as bigIntToNumber, Ad as paginationUint8ArrayToString, Af as derivativeQuantityFromChainQuantityToFixed, Ap as parseCoins, Bd as binaryToBase64, Bf as getSignificantDecimalsFromNumber, Cd as recoverTypedSignaturePubKey, Cf as derivativeMarginToChainMargin, Cp as privateKeyHashToPublicKeyBase64, Dd as grpcPagingToPagingV2, Df as derivativePriceToChainPrice, Dp as ripemd160, Ed as grpcPagingToPaging, Ef as derivativePriceFromChainPriceToFixed, Ep as publicKeyToAddress, Fd as BECH32_PUBKEY_CONS_PREFIX, Ff as formatNumberToAllowableDecimals, Fp as makeTimeoutTimestampInNs, Gd as hexToBuff, Gf as spotPriceFromChainPriceToFixed, Hd as fromBase64, Hf as isNumber, Id as BECH32_PUBKEY_VAL_PREFIX, If as formatNumberToAllowableTensMultiplier, Ip as protobufTimestampToDate, Jd as toBase64, Jf as spotQuantityFromChainQuantity, Kd as hexToUint8Array, Kf as spotPriceToChainPrice, Ld as DEFAULT_DERIVATION_PATH, Lf as formatPriceToAllowableDecimals, Lp as protobufTimestampToUnixMs, Md as BECH32_ADDR_CONS_PREFIX, Mf as derivativeQuantityToChainQuantityToFixed, Mp as getGrpcWebTransport, Nd as BECH32_ADDR_VAL_PREFIX, Nf as formatAmountToAllowableAmount, Np as getGasPriceBasedOnMessage, Od as pageRequestToGrpcPageRequestV2, Of as derivativePriceToChainPriceToFixed, Op as sanitizeTypedData, Pd as BECH32_PUBKEY_ACC_PREFIX, Pf as formatAmountToAllowableDecimals, Pp as makeTimeoutTimestamp, Qd as uint8ArrayToString, Qf as bigIntReplacer, Rd as base64ToUint8Array, Rf as formatPriceToAllowablePrice, Rp as protobufTimestampToUnixSeconds, Sf as derivativeMarginFromChainMarginToFixed, Sp as privateKeyHashToPublicKey, Td as grpcPaginationToPagination, Tf as derivativePriceFromChainPrice, Tp as privateKeyToPublicKeyBase64, Ud as fromUtf8, Uf as numberToCosmosSdkDecString, Vd as concatUint8Arrays, Vf as getTensMultiplier, Wd as hexToBase64, Wf as spotPriceFromChainPrice, Xd as uint8ArrayToBase64, Xf as spotQuantityToChainQuantity, Yd as toUtf8, Yf as spotQuantityFromChainQuantityToFixed, Zd as uint8ArrayToHex, Zf as spotQuantityToChainQuantityToFixed, _f as denomAmountFromGrpcChainDenomAmount, _p as TypedMessageV4, af as getInjectiveAddressFromSubaccountId, ap as isJsonString, bf as denomAmountToGrpcChainDenomAmount, bp as hashToHex, cS as GrpcWebFetchTransport, cf as removeHexPrefix, cp as isServerSide, df as getSpotMarketDecimals, dp as safeBigIntStringify, ef as getAddressFromInjectiveAddress, ep as bigIntToString, ff as getSpotMarketTensMultiplier, fp as sortObjectByKeys, gf as denomAmountFromChainDenomAmountToFixed, gp as TypedDataUtilsSanitizeData, hf as denomAmountFromChainDenomAmount, hp as TypedDataUtilsHashStruct, if as getInjectiveAddress, ip as isBrowser, jd as BECH32_ADDR_ACC_PREFIX, jf as derivativeQuantityToChainQuantity, jp as ofacList, kd as paginationRequestFromPagination, kf as derivativeQuantityFromChainQuantity, kp as sha256, lf as getDerivativeMarketDecimals, lp as objectToJson, mf as cosmosSdkDecToBigNumber, mp as SignTypedDataVersionV4, nf as getDefaultSubaccountId, np as grpcCoinToUiCoin, of as getSubaccountId, op as isNode, pf as amountToCosmosSdkDecAmount, pp as sortObjectByKeysWithReduce, qd as stringToUint8Array, qf as spotPriceToChainPriceToFixed, rf as getEthereumAddress, rp as hexToNumber, sf as isCw20ContractAddress, sp as isReactNative, tf as getChecksumAddress, tp as getErrorMessage, uf as getDerivativeMarketTensMultiplier, up as protoObjectToJson, vf as denomAmountToChainDenomAmount, vp as decompressPubKey, wd as fetchAllWithPagination, wf as derivativeMarginToChainMarginToFixed, wp as privateKeyToPublicKey, xf as derivativeMarginFromChainMargin, xp as messageHash, yf as denomAmountToChainDenomAmountToFixed, yp as domainHash, zd as base64ToUtf8, zf as getExactDecimalsFromNumber } from "./index-CTAobhk3.js";
|
|
4
|
+
import "./BaseGrpcConsumer-C8YhjVn6.js";
|
|
5
|
+
import "./index-B0mpSZSK.js";
|
|
6
6
|
import "./index-CZhX_Ynf.js";
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
7
|
+
import "./index-BrfNx2yV.js";
|
|
8
|
+
import "./index-JlA-uSsc.js";
|
|
9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/sdk-ts",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.15",
|
|
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": {
|
|
@@ -371,10 +371,10 @@
|
|
|
371
371
|
"rxjs": "7.8.2",
|
|
372
372
|
"snakecase-keys": "^5.4.1",
|
|
373
373
|
"viem": "^2.41.2",
|
|
374
|
-
"@injectivelabs/exceptions": "1.20.
|
|
375
|
-
"@injectivelabs/networks": "1.20.
|
|
376
|
-
"@injectivelabs/
|
|
377
|
-
"@injectivelabs/
|
|
374
|
+
"@injectivelabs/exceptions": "1.20.15",
|
|
375
|
+
"@injectivelabs/networks": "1.20.15",
|
|
376
|
+
"@injectivelabs/ts-types": "1.20.15",
|
|
377
|
+
"@injectivelabs/utils": "1.20.15"
|
|
378
378
|
},
|
|
379
379
|
"publishConfig": {
|
|
380
380
|
"access": "public"
|