@injectivelabs/sdk-ts 1.17.3 → 1.17.4
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/{StreamManagerV2-bxmrwMoi.cjs → StreamManagerV2-BFB78KPn.cjs} +10 -0
- package/dist/cjs/client/chain.d.cts +1 -1
- package/dist/cjs/client/indexer.cjs +1 -1
- package/dist/cjs/client/indexer.d.cts +2 -2
- package/dist/cjs/core/accounts.d.cts +1 -1
- package/dist/cjs/core/modules.d.cts +1 -1
- package/dist/cjs/core/tx.d.cts +1 -1
- package/dist/cjs/{index-C_ioefRg.d.cts → index-Be2xjcqA.d.cts} +42 -16
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.d.cts +2 -2
- package/dist/cjs/utils.d.cts +1 -1
- package/dist/esm/{StreamManagerV2-BGjxaWMK.js → StreamManagerV2-BId1leA1.js} +10 -0
- package/dist/esm/client/chain.d.ts +1 -1
- package/dist/esm/client/indexer.d.ts +2 -2
- package/dist/esm/client/indexer.js +1 -1
- package/dist/esm/core/accounts.d.ts +1 -1
- package/dist/esm/core/modules.d.ts +1 -1
- package/dist/esm/core/tx.d.ts +1 -1
- package/dist/esm/{index-Bn3JkjMQ.d.ts → index-D-DmLuDM.d.ts} +42 -16
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils.d.ts +1 -1
- package/package.json +6 -6
package/dist/esm/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import "./BaseRestConsumer-rK4eS4W8.js";
|
|
|
16
16
|
import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-uLf3HttI.js";
|
|
17
17
|
import { t as AbacusGrpcApi } from "./AbacusGrpcApi-Ccjmvton.js";
|
|
18
18
|
import { a as AccessType, c as GridStrategyType, d as MitoGaugeStatus, i as RedemptionStatus, l as MarketType, n as IndexerGrpcTransactionApi, o as AccessTypeCode, r as IndexerModule, s as ValidatorUptimeStatus, t as IndexerGrpcWeb3GwApi, u as TransferType } from "./IndexerGrpcWeb3GwApi-yHniiZ22.js";
|
|
19
|
-
import { $ as IndexerGrpcMegaVaultTransformer, A as IndexerGrpcInsuranceFundApi, B as IndexerGrpcAccountApi, C as IndexerGrpcSpotStream, D as IndexerRestMarketChronosApi, E as IndexerRestDerivativesChronosApi, F as IndexerGrpcArchiverApi, G as IndexerAccountPortfolioStreamTransformer, H as IndexerGrpcSpotApi, I as IndexerGrpcCampaignApi, J as IndexerGrpcAccountPortfolioTransformer, K as IndexerGrpcInsuranceFundTransformer, L as IndexerGrpcExplorerApi, M as IndexerGrpcDerivativesApi, N as IndexerGrpcMegaVaultApi, O as IndexerRestSpotChronosApi, P as IndexerGrpcReferralApi, Q as IndexerArchiverStreamTransformer, R as IndexerGrpcTradingApi, S as IndexerGrpcMitoStream, T as IndexerRestLeaderboardChronosApi, U as IndexerGrpcMetaApi, V as IndexerGrpcOracleApi, W as IndexerGrpcMitoApi, X as IndexerGrpcDerivativeTransformer, Y as IndexerGrpcMitoStreamTransformer, Z as ExplorerStreamTransformer, _ as IndexerGrpcArchiverStream, a as IndexerGrpcArchiverStreamV2, at as IndexerGrpcExplorerTransformer, b as IndexerGrpcAccountStream, c as IndexerGrpcAccountStreamV2, ct as IndexerGrpcAccountTransformer, d as IndexerGrpcSpotStreamV2, dt as IndexerCampaignTransformer, et as IndexerAuctionStreamTransformer, f as createStreamSubscriptionV2, ft as IndexerGrpcSpotTransformer, g as IndexerGrpcExplorerStream, h as IndexerGrpcDerivativesStream, i as IndexerGrpcExplorerStreamV2, it as IndexerGrpcReferralTransformer, j as IndexerGrpcAccountPortfolioApi, k as IndexerRestExplorerApi, l as IndexerGrpcOracleStreamV2, lt as IndexerSpotStreamTransformer, m as IndexerGrpcAccountPortfolioStream, n as IndexerGrpcAccountPortfolioStreamV2, nt as IndexerRestExplorerTransformer, o as IndexerGrpcTradingStreamV2, ot as IndexerGrpcArchiverTransformer, p as StreamManager, pt as IndexerGrpcMitoTransformer, q as IndexerDerivativeStreamTransformer, r as IndexerGrpcDerivativesStreamV2, rt as IndexerOracleStreamTransformer, s as IndexerGrpcAuctionStreamV2, st as IndexerGrpcAuctionTransformer, t as StreamManagerV2, tt as IndexerAccountStreamTransformer, u as IndexerGrpcMitoStreamV2, ut as IndexerGrpcOracleTransformer, v as IndexerGrpcTradingStream, w as createStreamSubscription, x as IndexerGrpcOracleStream, y as IndexerGrpcAuctionStream, z as IndexerGrpcAuctionApi } from "./StreamManagerV2-
|
|
19
|
+
import { $ as IndexerGrpcMegaVaultTransformer, A as IndexerGrpcInsuranceFundApi, B as IndexerGrpcAccountApi, C as IndexerGrpcSpotStream, D as IndexerRestMarketChronosApi, E as IndexerRestDerivativesChronosApi, F as IndexerGrpcArchiverApi, G as IndexerAccountPortfolioStreamTransformer, H as IndexerGrpcSpotApi, I as IndexerGrpcCampaignApi, J as IndexerGrpcAccountPortfolioTransformer, K as IndexerGrpcInsuranceFundTransformer, L as IndexerGrpcExplorerApi, M as IndexerGrpcDerivativesApi, N as IndexerGrpcMegaVaultApi, O as IndexerRestSpotChronosApi, P as IndexerGrpcReferralApi, Q as IndexerArchiverStreamTransformer, R as IndexerGrpcTradingApi, S as IndexerGrpcMitoStream, T as IndexerRestLeaderboardChronosApi, U as IndexerGrpcMetaApi, V as IndexerGrpcOracleApi, W as IndexerGrpcMitoApi, X as IndexerGrpcDerivativeTransformer, Y as IndexerGrpcMitoStreamTransformer, Z as ExplorerStreamTransformer, _ as IndexerGrpcArchiverStream, a as IndexerGrpcArchiverStreamV2, at as IndexerGrpcExplorerTransformer, b as IndexerGrpcAccountStream, c as IndexerGrpcAccountStreamV2, ct as IndexerGrpcAccountTransformer, d as IndexerGrpcSpotStreamV2, dt as IndexerCampaignTransformer, et as IndexerAuctionStreamTransformer, f as createStreamSubscriptionV2, ft as IndexerGrpcSpotTransformer, g as IndexerGrpcExplorerStream, h as IndexerGrpcDerivativesStream, i as IndexerGrpcExplorerStreamV2, it as IndexerGrpcReferralTransformer, j as IndexerGrpcAccountPortfolioApi, k as IndexerRestExplorerApi, l as IndexerGrpcOracleStreamV2, lt as IndexerSpotStreamTransformer, m as IndexerGrpcAccountPortfolioStream, n as IndexerGrpcAccountPortfolioStreamV2, nt as IndexerRestExplorerTransformer, o as IndexerGrpcTradingStreamV2, ot as IndexerGrpcArchiverTransformer, p as StreamManager, pt as IndexerGrpcMitoTransformer, q as IndexerDerivativeStreamTransformer, r as IndexerGrpcDerivativesStreamV2, rt as IndexerOracleStreamTransformer, s as IndexerGrpcAuctionStreamV2, st as IndexerGrpcAuctionTransformer, t as StreamManagerV2, tt as IndexerAccountStreamTransformer, u as IndexerGrpcMitoStreamV2, ut as IndexerGrpcOracleTransformer, v as IndexerGrpcTradingStream, w as createStreamSubscription, x as IndexerGrpcOracleStream, y as IndexerGrpcAuctionStream, z as IndexerGrpcAuctionApi } from "./StreamManagerV2-BId1leA1.js";
|
|
20
20
|
import { a as TradeDirection, c as GrpcStatusCode, d as StreamState, f as TokenSource, i as OrderState, l as StreamDisconnectReason, m as TokenVerification, n as OrderMaskMap, o as TradeExecutionSide, p as TokenType, r as OrderSide, s as TradeExecutionType, t as StreamOperation, u as StreamEvent } from "./types-68OuBiEQ.js";
|
|
21
21
|
import { C as errorToErrorMessage, S as SIGN_EIP712_V2, _ as CosmosTxV1Beta1TxPb, a as TxRestApi, b as SIGN_DIRECT, c as TxGrpcApi, d as createTransactionAndCosmosSignDocForAddressAndMsg, f as createTransactionForAddressAndMsg, g as getTxRawFromTxRawOrDirectSignResponse, h as createTxRawFromSigResponse, i as waitTxBroadcasted, l as createTransaction, m as createTransactionWithSigners, n as TxClientMode, o as BroadcastMode, p as createTransactionFromMsg, r as generateArbitrarySignDoc, s as BroadcastModeKeplr, t as MsgBroadcasterWithPk, u as createTransactionAndCosmosSignDoc, v as TxClient, w as isTxNotFoundError, x as SIGN_EIP712, y as SIGN_AMINO } from "./tx-D0NTtgOO.js";
|
|
22
22
|
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./service-CnqMmybI.js";
|
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./tx_pb-DiV92WM9.js";
|
|
2
2
|
import "./index-BVWIwmli.js";
|
|
3
|
-
import { $c as
|
|
3
|
+
import { $c as grpcPagingToPaging, $l as derivativePriceFromChainPriceToFixed, $u as publicKeyToAddress, Al as getEthereumAddress, Au as hexToNumber, Bl as amountToCosmosSdkDecAmount, Bu as sortObjectByKeysWithReduce, Cl as uint8ArrayToBase64, Cu as spotQuantityToChainQuantity, Dl as getAddressFromInjectiveAddress, Du as bigIntToString, El as addHexPrefix, Eu as bigIntToNumber, Fl as removeHexPrefix, Fu as isServerSide, Gl as denomAmountToChainDenomAmount, Gu as decompressPubKey, Hl as denomAmountFromChainDenomAmount, Hu as TypedDataUtilsHashStruct, Il as getDerivativeMarketDecimals, Iu as objectToJson, Jl as derivativeMarginFromChainMargin, Ju as messageHash, Kl as denomAmountToChainDenomAmountToFixed, Ku as domainHash, Ll as getDerivativeMarketTensMultiplier, Lu as protoObjectToJson, Ml as getInjectiveAddressFromSubaccountId, Mu as isJsonString, Nl as getSubaccountId, Nu as isNode, Ol as getChecksumAddress, Ou as getErrorMessage, Pl as isCw20ContractAddress, Pu as isReactNative, Qc as grpcPaginationToPagination, Ql as derivativePriceFromChainPrice, Qu as privateKeyToPublicKeyBase64, Rl as getSpotMarketDecimals, Ru as safeBigIntStringify, Sl as toUtf8, Su as spotQuantityFromChainQuantityToFixed, Tl as uint8ArrayToString, Tu as bigIntReplacer, Ul as denomAmountFromChainDenomAmountToFixed, Uu as TypedDataUtilsSanitizeData, Uv as GrpcWebFetchTransport, Vl as cosmosSdkDecToBigNumber, Vu as SignTypedDataVersionV4, Wl as denomAmountFromGrpcChainDenomAmount, Wu as TypedMessageV4, Xc as recoverTypedSignaturePubKey, Xl as derivativeMarginToChainMargin, Xu as privateKeyHashToPublicKeyBase64, Yl as derivativeMarginFromChainMarginToFixed, Yu as privateKeyHashToPublicKey, Zc as fetchAllWithPagination, Zl as derivativeMarginToChainMarginToFixed, Zu as privateKeyToPublicKey, _l as hexToBase64, _u as spotPriceFromChainPrice, ad as getGrpcWebTransport, al as BECH32_ADDR_CONS_PREFIX, au as derivativeQuantityToChainQuantityToFixed, bl as stringToUint8Array, bu as spotPriceToChainPriceToFixed, cd as makeTimeoutTimestampInNs, cl as BECH32_PUBKEY_CONS_PREFIX, cu as formatNumberToAllowableDecimals, dd as protobufTimestampToUnixSeconds, dl as base64ToUint8Array, du as formatPriceToAllowablePrice, ed as ripemd160, el as grpcPagingToPagingV2, eu as derivativePriceToChainPrice, fl as base64ToUtf8, fu as getExactDecimalsFromNumber, gl as fromUtf8, gu as numberToCosmosSdkDecString, hl as fromBase64, hu as isNumber, id as ofacList, il as BECH32_ADDR_ACC_PREFIX, iu as derivativeQuantityToChainQuantity, jl as getInjectiveAddress, ju as isBrowser, kl as getDefaultSubaccountId, ku as grpcCoinToUiCoin, ld as protobufTimestampToDate, ll as BECH32_PUBKEY_VAL_PREFIX, lu as formatNumberToAllowableTensMultiplier, ml as concatUint8Arrays, mu as getTensMultiplier, nd as sha256, nl as paginationRequestFromPagination, nu as derivativeQuantityFromChainQuantity, od as getGasPriceBasedOnMessage, ol as BECH32_ADDR_VAL_PREFIX, ou as formatAmountToAllowableAmount, pl as binaryToBase64, pu as getSignificantDecimalsFromNumber, ql as denomAmountToGrpcChainDenomAmount, qu as hashToHex, rd as parseCoins, rl as paginationUint8ArrayToString, ru as derivativeQuantityFromChainQuantityToFixed, sd as makeTimeoutTimestamp, sl as BECH32_PUBKEY_ACC_PREFIX, su as formatAmountToAllowableDecimals, td as sanitizeTypedData, tl as pageRequestToGrpcPageRequestV2, tu as derivativePriceToChainPriceToFixed, ud as protobufTimestampToUnixMs, ul as DEFAULT_DERIVATION_PATH, uu as formatPriceToAllowableDecimals, vl as hexToBuff, vu as spotPriceFromChainPriceToFixed, wl as uint8ArrayToHex, wu as spotQuantityToChainQuantityToFixed, xl as toBase64, xu as spotQuantityFromChainQuantity, yl as hexToUint8Array, yu as spotPriceToChainPrice, zl as getSpotMarketTensMultiplier, zu as sortObjectByKeys } from "./index-D-DmLuDM.js";
|
|
4
4
|
import "./BaseGrpcConsumer-CBQRoq72.js";
|
|
5
5
|
import "./index-BhybypN9.js";
|
|
6
6
|
import "./index-Dh15HnVF.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/sdk-ts",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.4",
|
|
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": {
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
"@injectivelabs/grpc-web": "^0.0.1",
|
|
312
312
|
"@injectivelabs/grpc-web-node-http-transport": "^0.0.2",
|
|
313
313
|
"@injectivelabs/grpc-web-react-native-transport": "^0.0.2",
|
|
314
|
-
"@injectivelabs/indexer-proto-ts-v2": "1.17.
|
|
314
|
+
"@injectivelabs/indexer-proto-ts-v2": "1.17.6",
|
|
315
315
|
"@injectivelabs/mito-proto-ts-v2": "1.17.3",
|
|
316
316
|
"@injectivelabs/olp-proto-ts-v2": "1.17.3",
|
|
317
317
|
"@noble/curves": "^1.9.0",
|
|
@@ -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/networks": "1.17.4",
|
|
333
|
+
"@injectivelabs/utils": "1.17.4",
|
|
334
|
+
"@injectivelabs/exceptions": "1.17.4",
|
|
335
|
+
"@injectivelabs/ts-types": "1.17.4"
|
|
336
336
|
},
|
|
337
337
|
"publishConfig": {
|
|
338
338
|
"access": "public"
|