@injectivelabs/sdk-ts 1.17.2 → 1.17.3-alpha.0
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-DXSuhb6R.cjs → AbacusGrpcApi-ieWvx9Pk.cjs} +6 -5
- package/dist/cjs/BaseGrpcConsumer-TjcGQpif.d.cts +89 -0
- package/dist/cjs/{BaseGrpcConsumer-EtEQfhmo.cjs → BaseGrpcConsumer-hNH10qOJ.cjs} +22 -3
- package/dist/cjs/{BaseIndexerGrpcConsumer-CW1kTn-_.cjs → BaseIndexerGrpcConsumer-E9xi3hs8.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-CF9ATYqN.cjs → ChainGrpcExchangeApi-C1v-xxCh.cjs} +7 -6
- package/dist/cjs/{ChainRestTendermintApi-vL0g-BF-.cjs → ChainRestTendermintApi-BtxXFstT.cjs} +11 -9
- package/dist/cjs/{IndexerGrpcWeb3GwApi-C7kkr4Il.cjs → IndexerGrpcWeb3GwApi-C5AlN6KV.cjs} +8 -7
- package/dist/cjs/{MsgSetDenomMetadata-CKvxIq_t.cjs → MsgSetDenomMetadata-BHkIa3K_.cjs} +1 -1
- package/dist/cjs/{OLPGrpcApi-BCCb6fBZ.cjs → OLPGrpcApi-D_o2P-SZ.cjs} +6 -5
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-Ayot_18R.cjs → QueryTradingStrategyContractTotalStrategies-DY_tydyG.cjs} +3 -3
- package/dist/cjs/{StreamManagerV2-igv0mn2I.cjs → StreamManagerV2-BxM7w64U.cjs} +78 -63
- package/dist/cjs/{chain-CGHrf7gg.cjs → chain-C_8R5bBd.cjs} +92 -74
- package/dist/cjs/client/abacus.cjs +2 -2
- package/dist/cjs/client/abacus.d.cts +4 -2
- package/dist/cjs/client/chain.cjs +4 -4
- package/dist/cjs/client/chain.d.cts +8 -9
- package/dist/cjs/client/indexer.cjs +4 -4
- package/dist/cjs/client/indexer.d.cts +8 -9
- package/dist/cjs/client/olp.cjs +3 -3
- package/dist/cjs/client/olp.d.cts +4 -2
- package/dist/cjs/client/wasm.cjs +5 -5
- package/dist/cjs/client/wasm.d.cts +3 -2
- package/dist/cjs/core/accounts.d.cts +8 -9
- package/dist/cjs/core/modules.cjs +7 -7
- package/dist/cjs/core/modules.d.cts +8 -9
- package/dist/cjs/core/tx.cjs +5 -5
- package/dist/cjs/core/tx.d.cts +8 -9
- package/dist/cjs/cosmjs.cjs +5 -5
- package/dist/cjs/cosmjs.d.cts +2 -3
- package/dist/cjs/exports.cjs +5 -5
- package/dist/cjs/exports.d.cts +2 -3
- package/dist/{esm/index-DOyiZiUK.d.ts → cjs/index-1xa-4b0j.d.cts} +2 -3
- package/dist/cjs/{index-D6ubyMlR.d.cts → index-B-ODtCMF.d.cts} +7 -7
- package/dist/{esm/index-Dn4OxoMy.d.ts → cjs/index-Btix6ZFg.d.cts} +4 -3
- package/dist/{esm/index-BJQt8IpY.d.ts → cjs/index-ByWM_5hr.d.cts} +2 -3
- package/dist/cjs/{index-DemZnO3c.d.cts → index-D9jzqFzT.d.cts} +81 -175
- package/dist/cjs/{index-DjRtDAy5.d.cts → index-Dems0piS.d.cts} +2924 -1125
- package/dist/{esm/index-C_3bL-y4.d.ts → cjs/index-nMOqRjvi.d.cts} +1 -1
- package/dist/cjs/index.cjs +12 -12
- package/dist/cjs/index.d.cts +9 -10
- package/dist/cjs/service.d.cts +3 -4
- package/dist/cjs/{tx-VwbP3UdI.cjs → tx-D3CYce5M.cjs} +8 -7
- package/dist/{esm/tx_pb-zz4o4hHG.d.ts → cjs/tx_pb-Wr-aZfKH.d.cts} +186 -6
- package/dist/cjs/types.d.cts +3 -4
- package/dist/cjs/utils.d.cts +8 -9
- package/dist/esm/{AbacusGrpcApi-Ce1hRKuD.js → AbacusGrpcApi-4J7beM6Y.js} +6 -5
- package/dist/esm/{BaseGrpcConsumer-BTWyD665.js → BaseGrpcConsumer-ByL34muR.js} +22 -3
- package/dist/esm/BaseGrpcConsumer-CQEK92MB.d.ts +89 -0
- package/dist/esm/{BaseIndexerGrpcConsumer-BTZzA_Eg.js → BaseIndexerGrpcConsumer-CUx8BFq4.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-DqdCst2Z.js → ChainGrpcExchangeApi-BxTTr_-W.js} +7 -6
- package/dist/esm/{ChainRestTendermintApi-BT_yOkAV.js → ChainRestTendermintApi-DpVPQNSn.js} +11 -9
- package/dist/esm/{IndexerGrpcWeb3GwApi-B2mgt9tE.js → IndexerGrpcWeb3GwApi-BHz_bM42.js} +8 -7
- package/dist/esm/{MsgSetDenomMetadata-CXgkQ3LF.js → MsgSetDenomMetadata-hxd0v-JN.js} +1 -1
- package/dist/esm/{OLPGrpcApi-DUCfcca_.js → OLPGrpcApi-BNGEcbpR.js} +6 -5
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-CZWdw3BE.js → QueryTradingStrategyContractTotalStrategies-DqCEu1NJ.js} +3 -3
- package/dist/esm/{StreamManagerV2-B9xiJYLj.js → StreamManagerV2-Dp2D7FL4.js} +78 -63
- package/dist/esm/{chain-CHX5uSpc.js → chain-BGq_0n_H.js} +92 -74
- package/dist/esm/client/abacus.d.ts +4 -2
- package/dist/esm/client/abacus.js +2 -2
- package/dist/esm/client/chain.d.ts +8 -9
- package/dist/esm/client/chain.js +4 -4
- package/dist/esm/client/indexer.d.ts +8 -9
- package/dist/esm/client/indexer.js +4 -4
- package/dist/esm/client/olp.d.ts +4 -2
- package/dist/esm/client/olp.js +3 -3
- package/dist/esm/client/wasm.d.ts +3 -2
- package/dist/esm/client/wasm.js +5 -5
- package/dist/esm/core/accounts.d.ts +8 -9
- package/dist/esm/core/modules.d.ts +8 -9
- package/dist/esm/core/modules.js +7 -7
- package/dist/esm/core/tx.d.ts +8 -9
- package/dist/esm/core/tx.js +5 -5
- package/dist/esm/cosmjs.d.ts +2 -3
- package/dist/esm/cosmjs.js +5 -5
- package/dist/esm/exports.d.ts +2 -3
- package/dist/esm/exports.js +5 -5
- package/dist/{cjs/index-DWbxb1AB.d.cts → esm/index-BJg6-o6s.d.ts} +4 -3
- package/dist/esm/{index--sg5xbEP.d.ts → index-BqYLsIZe.d.ts} +1 -1
- package/dist/esm/{index-Ch477yfL.d.ts → index-BzG_rDxK.d.ts} +80 -174
- package/dist/{cjs/index-lRWP4rKg.d.cts → esm/index-DXl4Xl74.d.ts} +2 -3
- package/dist/{cjs/index-CO3Y9drx.d.cts → esm/index-DbxF8Vb3.d.ts} +2 -3
- package/dist/esm/{index-B-SD0p02.d.ts → index-ICIQoqaU.d.ts} +2924 -1125
- package/dist/{cjs/index-CGvISJoE.d.cts → esm/index-T3rAmwhz.d.ts} +1 -1
- package/dist/esm/index.d.ts +9 -10
- package/dist/esm/index.js +12 -12
- package/dist/esm/service.d.ts +3 -4
- package/dist/esm/{tx-DsGG15fH.js → tx-Bgy5FhAu.js} +8 -7
- package/dist/{cjs/tx_pb-D-cNmrlO.d.cts → esm/tx_pb-DiV92WM9.d.ts} +186 -6
- package/dist/esm/types.d.ts +3 -4
- package/dist/esm/utils.d.ts +8 -9
- package/package.json +5 -5
- package/dist/cjs/BaseGrpcConsumer-Vvj4lzyS.d.cts +0 -1841
- package/dist/cjs/any_pb-CutLnOUR.d.cts +0 -187
- package/dist/esm/BaseGrpcConsumer-6x4RlZ16.d.ts +0 -1841
- package/dist/esm/any_pb-DBt7qvTr.d.ts +0 -187
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import "./
|
|
3
|
-
|
|
4
|
-
export { AminoSignResponse, Coin, DirectSignResponse, ExchangePagination, GrpcCoin, GrpcStatusCode, 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 };
|
|
1
|
+
import "./tx_pb-DiV92WM9.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-ICIQoqaU.js";
|
|
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/utils.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import "./
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-C_3bL-y4.js";
|
|
1
|
+
import "./tx_pb-DiV92WM9.js";
|
|
2
|
+
import "./index-ICIQoqaU.js";
|
|
3
|
+
import { $c as grpcPagingToPagingV2, $l as derivativePriceToChainPrice, $u as ripemd160, Al as getInjectiveAddress, Au as isBrowser, Bl as cosmosSdkDecToBigNumber, Bu as SignTypedDataVersionV4, Cl as uint8ArrayToHex, Cu as spotQuantityToChainQuantityToFixed, Dl as getChecksumAddress, Du as getErrorMessage, El as getAddressFromInjectiveAddress, Eu as bigIntToString, Fl as getDerivativeMarketDecimals, Fu as objectToJson, Gl as denomAmountToChainDenomAmountToFixed, Gu as domainHash, Hl as denomAmountFromChainDenomAmountToFixed, Hu as TypedDataUtilsSanitizeData, Hv as GrpcWebFetchTransport, Il as getDerivativeMarketTensMultiplier, Iu as protoObjectToJson, Jl as derivativeMarginFromChainMarginToFixed, Ju as privateKeyHashToPublicKey, Kl as denomAmountToGrpcChainDenomAmount, Ku as hashToHex, Ll as getSpotMarketDecimals, Lu as safeBigIntStringify, Ml as getSubaccountId, Mu as isNode, Nl as isCw20ContractAddress, Nu as isReactNative, Ol as getDefaultSubaccountId, Ou as grpcCoinToUiCoin, Pl as removeHexPrefix, Pu as isServerSide, Qc as grpcPagingToPaging, Ql as derivativePriceFromChainPriceToFixed, Qu as publicKeyToAddress, Rl as getSpotMarketTensMultiplier, Ru as sortObjectByKeys, Sl as uint8ArrayToBase64, Su as spotQuantityToChainQuantity, Tl as addHexPrefix, Tu as bigIntToNumber, Ul as denomAmountFromGrpcChainDenomAmount, Uu as TypedMessageV4, Vl as denomAmountFromChainDenomAmount, Vu as TypedDataUtilsHashStruct, Wl as denomAmountToChainDenomAmount, Wu as decompressPubKey, Xc as fetchAllWithPagination, Xl as derivativeMarginToChainMarginToFixed, Xu as privateKeyToPublicKey, Yc as recoverTypedSignaturePubKey, Yl as derivativeMarginToChainMargin, Yu as privateKeyHashToPublicKeyBase64, Zc as grpcPaginationToPagination, Zl as derivativePriceFromChainPrice, Zu as privateKeyToPublicKeyBase64, _l as hexToBuff, _u as spotPriceFromChainPriceToFixed, ad as getGasPriceBasedOnMessage, al as BECH32_ADDR_VAL_PREFIX, au as formatAmountToAllowableAmount, bl as toBase64, bu as spotQuantityFromChainQuantity, cd as protobufTimestampToDate, cl as BECH32_PUBKEY_VAL_PREFIX, cu as formatNumberToAllowableTensMultiplier, dl as base64ToUtf8, du as getExactDecimalsFromNumber, ed as sanitizeTypedData, el as pageRequestToGrpcPageRequestV2, eu as derivativePriceToChainPriceToFixed, fl as binaryToBase64, fu as getSignificantDecimalsFromNumber, gl as hexToBase64, gu as spotPriceFromChainPrice, hl as fromUtf8, hu as numberToCosmosSdkDecString, id as getGrpcWebTransport, il as BECH32_ADDR_CONS_PREFIX, iu as derivativeQuantityToChainQuantityToFixed, jl as getInjectiveAddressFromSubaccountId, ju as isJsonString, kl as getEthereumAddress, ku as hexToNumber, ld as protobufTimestampToUnixMs, ll as DEFAULT_DERIVATION_PATH, lu as formatPriceToAllowableDecimals, ml as fromBase64, mu as isNumber, nd as parseCoins, nl as paginationUint8ArrayToString, nu as derivativeQuantityFromChainQuantityToFixed, od as makeTimeoutTimestamp, ol as BECH32_PUBKEY_ACC_PREFIX, ou as formatAmountToAllowableDecimals, pl as concatUint8Arrays, pu as getTensMultiplier, ql as derivativeMarginFromChainMargin, qu as messageHash, rd as ofacList, rl as BECH32_ADDR_ACC_PREFIX, ru as derivativeQuantityToChainQuantity, sd as makeTimeoutTimestampInNs, sl as BECH32_PUBKEY_CONS_PREFIX, su as formatNumberToAllowableDecimals, td as sha256, tl as paginationRequestFromPagination, tu as derivativeQuantityFromChainQuantity, ud as protobufTimestampToUnixSeconds, ul as base64ToUint8Array, uu as formatPriceToAllowablePrice, vl as hexToUint8Array, vu as spotPriceToChainPrice, wl as uint8ArrayToString, wu as bigIntReplacer, xl as toUtf8, xu as spotQuantityFromChainQuantityToFixed, yl as stringToUint8Array, yu as spotPriceToChainPriceToFixed, zl as amountToCosmosSdkDecAmount, zu as sortObjectByKeysWithReduce } from "./index-BzG_rDxK.js";
|
|
4
|
+
import "./BaseGrpcConsumer-CQEK92MB.js";
|
|
5
|
+
import "./index-DXl4Xl74.js";
|
|
6
|
+
import "./index-BJg6-o6s.js";
|
|
7
|
+
import "./index-DbxF8Vb3.js";
|
|
8
|
+
import "./index-T3rAmwhz.js";
|
|
10
9
|
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.17.
|
|
3
|
+
"version": "1.17.3-alpha.0",
|
|
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": {
|
|
@@ -329,10 +329,10 @@
|
|
|
329
329
|
"rxjs": "7.8.2",
|
|
330
330
|
"snakecase-keys": "^5.4.1",
|
|
331
331
|
"viem": "^2.41.2",
|
|
332
|
-
"@injectivelabs/
|
|
333
|
-
"@injectivelabs/
|
|
334
|
-
"@injectivelabs/
|
|
335
|
-
"@injectivelabs/
|
|
332
|
+
"@injectivelabs/exceptions": "1.17.3-alpha.0",
|
|
333
|
+
"@injectivelabs/ts-types": "1.17.3-alpha.0",
|
|
334
|
+
"@injectivelabs/networks": "1.17.3-alpha.0",
|
|
335
|
+
"@injectivelabs/utils": "1.17.3-alpha.0"
|
|
336
336
|
},
|
|
337
337
|
"publishConfig": {
|
|
338
338
|
"access": "public"
|