@injectivelabs/sdk-ts 1.18.22 → 1.18.24
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-D20s0rdk.cjs → AbacusGrpcApi-U-0XgIsS.cjs} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-D3eBtnX-.cjs → BaseGrpcConsumer-Baz_ZnzI.cjs} +49 -4
- package/dist/cjs/{BaseGrpcConsumer-B0hgaf-W.d.cts → BaseGrpcConsumer-Lpd19eLZ.d.cts} +9 -1
- package/dist/cjs/{BaseIndexerGrpcConsumer-YYgLa4Qj.cjs → BaseIndexerGrpcConsumer-ChilNYlV.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-HCEhKxii.cjs → ChainGrpcExchangeApi-Ch1SgMjY.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-BvCQntWI.cjs → ChainRestTendermintApi-COqTruoD.cjs} +2 -2
- package/dist/cjs/{IndexerGrpcWeb3GwApi-PomoqzKU.cjs → IndexerGrpcWeb3GwApi-BDH3Pyr6.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-DHTBupU-.cjs → MsgSetDenomMetadata-CebS5LD4.cjs} +2 -2
- package/dist/cjs/{OLPGrpcApi-Bs85G4Zy.cjs → OLPGrpcApi-C58l_b_2.cjs} +1 -1
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-C8v0BWFG.cjs → QueryTradingStrategyContractTotalStrategies-BiIMpmJw.cjs} +2 -2
- package/dist/cjs/{StreamManagerV2-Ccmpxsmw.cjs → StreamManagerV2-J45IvgwP.cjs} +70 -54
- package/dist/cjs/{TcAbacusGrpcApi-B4u8gG-7.cjs → TcAbacusGrpcApi-D81-wnP0.cjs} +14 -4
- package/dist/cjs/{chain-DiG3S2xE.cjs → chain-DlfCX5eV.cjs} +3 -3
- package/dist/cjs/client/abacus.cjs +3 -2
- package/dist/cjs/client/abacus.d.cts +2 -2
- package/dist/cjs/client/chain.cjs +6 -5
- package/dist/cjs/client/chain.d.cts +5 -5
- package/dist/cjs/client/indexer.cjs +7 -6
- package/dist/cjs/client/indexer.d.cts +6 -6
- package/dist/cjs/client/olp.cjs +4 -3
- package/dist/cjs/client/olp.d.cts +2 -2
- package/dist/cjs/client/tcAbacus.cjs +3 -2
- package/dist/cjs/client/tcAbacus.d.cts +2 -2
- package/dist/cjs/client/wasm.cjs +8 -7
- package/dist/cjs/core/accounts.d.cts +5 -5
- package/dist/cjs/core/modules.cjs +10 -9
- package/dist/cjs/core/modules.d.cts +5 -5
- package/dist/cjs/core/tx.cjs +7 -6
- package/dist/cjs/core/tx.d.cts +5 -5
- package/dist/cjs/cosmjs.cjs +8 -7
- package/dist/cjs/exports.cjs +8 -7
- package/dist/cjs/{index-DDlyRc5p.d.cts → index-BOgI4kn6.d.cts} +1 -1
- package/dist/cjs/{index-CZNmjWot.d.cts → index-BqITpFrq.d.cts} +72 -23
- package/dist/cjs/{index-B1LZt9Ba.d.cts → index-DXUIh6mX.d.cts} +1 -1
- package/dist/{esm/index-CfdDw4LQ.d.ts → cjs/index-Y7y9XqgY.d.cts} +15 -3
- package/dist/cjs/index.cjs +22 -21
- package/dist/cjs/index.d.cts +6 -6
- package/dist/cjs/{service-D7PCdXqp.cjs → service-V-f8W7rn.cjs} +1 -1
- package/dist/cjs/service.cjs +3 -2
- package/dist/cjs/stream-CfBvG3Ln.cjs +87 -0
- package/dist/cjs/{tx-CfOqIbPJ.cjs → tx-DW1Z6i1x.cjs} +3 -3
- package/dist/cjs/{types-BSrt7JzM.cjs → types-Cn54Lzf-.cjs} +0 -86
- package/dist/cjs/types.cjs +6 -5
- package/dist/cjs/utils.d.cts +5 -5
- package/dist/esm/{AbacusGrpcApi-5_yoQhYn.js → AbacusGrpcApi-B4YWpm-V.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-CK201Yfq.js → BaseGrpcConsumer-1Fv9J-Lp.js} +49 -4
- package/dist/esm/{BaseGrpcConsumer-BnUgov1D.d.ts → BaseGrpcConsumer-D__FlbC_.d.ts} +10 -2
- package/dist/esm/{BaseIndexerGrpcConsumer-Cig9Weiv.js → BaseIndexerGrpcConsumer-Ek6rfBH7.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-p4Qb1h7v.js → ChainGrpcExchangeApi-BApB4VXN.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-C_NNsrIz.js → ChainRestTendermintApi-DQdsD1Kf.js} +2 -2
- package/dist/esm/{IndexerGrpcWeb3GwApi-ClF9dNYJ.js → IndexerGrpcWeb3GwApi-QDeKgWsp.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-BdGx_g0q.js → MsgSetDenomMetadata-B8R3A3Z2.js} +2 -2
- package/dist/esm/{OLPGrpcApi-B8nlTHBl.js → OLPGrpcApi-Cn6LmYcu.js} +1 -1
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-DFvMhigV.js → QueryTradingStrategyContractTotalStrategies-BhAe-C30.js} +2 -2
- package/dist/esm/{StreamManagerV2-Cr6RZ_2B.js → StreamManagerV2-CukGXKvI.js} +22 -6
- package/dist/esm/{TcAbacusGrpcApi-DJfPZVC1.js → TcAbacusGrpcApi-DUch8B-a.js} +14 -4
- package/dist/esm/{chain-B3A9VY7_.js → chain-CrzcdwXB.js} +3 -3
- package/dist/esm/client/abacus.d.ts +3 -3
- package/dist/esm/client/abacus.js +3 -2
- package/dist/esm/client/chain.d.ts +8 -8
- package/dist/esm/client/chain.js +6 -5
- package/dist/esm/client/indexer.d.ts +9 -9
- package/dist/esm/client/indexer.js +7 -6
- package/dist/esm/client/olp.d.ts +3 -3
- package/dist/esm/client/olp.js +4 -3
- package/dist/esm/client/tcAbacus.d.ts +3 -3
- package/dist/esm/client/tcAbacus.js +3 -2
- package/dist/esm/client/wasm.d.ts +2 -2
- package/dist/esm/client/wasm.js +8 -7
- package/dist/esm/core/accounts.d.ts +8 -8
- package/dist/esm/core/modules.d.ts +8 -8
- package/dist/esm/core/modules.js +10 -9
- package/dist/esm/core/tx.d.ts +8 -8
- package/dist/esm/core/tx.js +7 -6
- package/dist/esm/cosmjs.d.ts +1 -1
- package/dist/esm/cosmjs.js +8 -7
- package/dist/esm/exports.d.ts +1 -1
- package/dist/esm/exports.js +8 -7
- package/dist/esm/{index-DM2SYxwn.d.ts → index-B23H1gkY.d.ts} +74 -25
- package/dist/esm/{index-DhfsaTNU.d.ts → index-BArbGWnC.d.ts} +1 -1
- package/dist/esm/{index-ECwAlIYI.d.ts → index-CFBKZfge.d.ts} +1 -1
- package/dist/{cjs/index-DVrmzkJ7.d.cts → esm/index-CTo6Ykx5.d.ts} +15 -3
- package/dist/esm/{index-Dc_UE3NR.d.ts → index-DldKexyA.d.ts} +1 -1
- package/dist/esm/{index-DSXLogeY.d.ts → index-gSJSfilR.d.ts} +1 -1
- package/dist/esm/index.d.ts +9 -9
- package/dist/esm/index.js +18 -17
- package/dist/esm/{service-CuS3psRy.js → service-CpGjjdLV.js} +1 -1
- package/dist/esm/service.d.ts +2 -2
- package/dist/esm/service.js +3 -2
- package/dist/esm/stream-76M0PY9K.js +63 -0
- package/dist/esm/{tx-C696L2a1.js → tx-DoXJcHMC.js} +3 -3
- package/dist/esm/{types-WE16qNvL.js → types-tAnfZSw9.js} +1 -63
- package/dist/esm/types.d.ts +1 -1
- package/dist/esm/types.js +2 -1
- package/dist/esm/utils.d.ts +8 -8
- package/package.json +7 -7
- /package/dist/cjs/{BaseRestConsumer-CRkyjiSo.cjs → BaseRestConsumer-uSzCOit7.cjs} +0 -0
- /package/dist/cjs/{DirectEthSecp256k1Wallet-fFpCA8sp.cjs → DirectEthSecp256k1Wallet-B47wfyu3.cjs} +0 -0
- /package/dist/cjs/{ExecArgNeptuneWithdraw--tacGqxE.cjs → ExecArgNeptuneWithdraw-DJWhAi2w.cjs} +0 -0
- /package/dist/esm/{BaseRestConsumer-BySVL6Rh.js → BaseRestConsumer-Ca8S09Yp.js} +0 -0
- /package/dist/esm/{DirectEthSecp256k1Wallet--KKmwr9n.js → DirectEthSecp256k1Wallet-bZZ4bjk5.js} +0 -0
- /package/dist/esm/{ExecArgNeptuneWithdraw-DRip7cop.js → ExecArgNeptuneWithdraw-DRCUYj-r.js} +0 -0
- /package/dist/esm/{index-C8crIAg1.d.ts → index-CKcfmB-c.d.ts} +0 -0
- /package/dist/esm/{index-CZDITwmg.d.ts → index-QxYC3RN5.d.ts} +0 -0
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./tx_pb-B9KzLX7v.js";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { $d as
|
|
4
|
-
import "./BaseGrpcConsumer-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
2
|
+
import "./index-CKcfmB-c.js";
|
|
3
|
+
import { $d as spotQuantityToChainQuantity, $u as uint8ArrayToBase64, Ad as derivativePriceToChainPrice, Af as ripemd160, Au as grpcPagingToPagingV2, Bd as formatPriceToAllowableDecimals, Bf as protobufTimestampToUnixMs, Bu as DEFAULT_DERIVATION_PATH, Cd as denomAmountToGrpcChainDenomAmount, Cf as hashToHex, Dd as derivativeMarginToChainMarginToFixed, Df as privateKeyToPublicKey, Du as fetchAllWithPagination, Eb as GrpcWebFetchTransport, Ed as derivativeMarginToChainMargin, Ef as privateKeyHashToPublicKeyBase64, Eu as recoverTypedSignaturePubKey, Fd as derivativeQuantityToChainQuantityToFixed, Ff as getGrpcWebTransport, Fu as BECH32_ADDR_CONS_PREFIX, Gd as isNumber, Gu as fromBase64, Hd as getExactDecimalsFromNumber, Hu as base64ToUtf8, Id as formatAmountToAllowableAmount, If as getGasPriceBasedOnMessage, Iu as BECH32_ADDR_VAL_PREFIX, Jd as spotPriceFromChainPriceToFixed, Ju as hexToBuff, Kd as numberToCosmosSdkDecString, Ku as fromUtf8, Ld as formatAmountToAllowableDecimals, Lf as makeTimeoutTimestamp, Lu as BECH32_PUBKEY_ACC_PREFIX, Md as derivativeQuantityFromChainQuantity, Mf as sha256, Mu as paginationRequestFromPagination, Nd as derivativeQuantityFromChainQuantityToFixed, Nf as parseCoins, Nu as paginationUint8ArrayToString, Od as derivativePriceFromChainPrice, Of as privateKeyToPublicKeyBase64, Ou as grpcPaginationToPagination, Pd as derivativeQuantityToChainQuantity, Pf as ofacList, Pu as BECH32_ADDR_ACC_PREFIX, Qd as spotQuantityFromChainQuantityToFixed, Qu as toUtf8, Rd as formatNumberToAllowableDecimals, Rf as makeTimeoutTimestampInNs, Ru as BECH32_PUBKEY_CONS_PREFIX, Sd as denomAmountToChainDenomAmountToFixed, Sf as domainHash, Td as derivativeMarginFromChainMarginToFixed, Tf as privateKeyHashToPublicKey, Ud as getSignificantDecimalsFromNumber, Uu as binaryToBase64, Vd as formatPriceToAllowablePrice, Vf as protobufTimestampToUnixSeconds, Vu as base64ToUint8Array, Wd as getTensMultiplier, Wu as concatUint8Arrays, Xd as spotPriceToChainPriceToFixed, Xu as stringToUint8Array, Yd as spotPriceToChainPrice, Yu as hexToUint8Array, Zd as spotQuantityFromChainQuantity, Zu as toBase64, _d as cosmosSdkDecToBigNumber, _f as SignTypedDataVersionV4, ad as getDefaultSubaccountId, af as grpcCoinToUiCoin, bd as denomAmountFromGrpcChainDenomAmount, bf as TypedMessageV4, cd as getInjectiveAddressFromSubaccountId, cf as isJsonString, dd as removeHexPrefix, df as isServerSide, ed as uint8ArrayToHex, ef as spotQuantityToChainQuantityToFixed, fd as getDerivativeMarketDecimals, ff as objectToJson, gd as amountToCosmosSdkDecAmount, gf as sortObjectByKeysWithReduce, hd as getSpotMarketTensMultiplier, hf as sortObjectByKeys, id as getChecksumAddress, if as getErrorMessage, jd as derivativePriceToChainPriceToFixed, jf as sanitizeTypedData, ju as pageRequestToGrpcPageRequestV2, kd as derivativePriceFromChainPriceToFixed, kf as publicKeyToAddress, ku as grpcPagingToPaging, ld as getSubaccountId, lf as isNode, md as getSpotMarketDecimals, mf as safeBigIntStringify, nd as addHexPrefix, nf as bigIntToNumber, od as getEthereumAddress, of as hexToNumber, pd as getDerivativeMarketTensMultiplier, pf as protoObjectToJson, qd as spotPriceFromChainPrice, qu as hexToBase64, rd as getAddressFromInjectiveAddress, rf as bigIntToString, sd as getInjectiveAddress, sf as isBrowser, td as uint8ArrayToString, tf as bigIntReplacer, ud as isCw20ContractAddress, uf as isReactNative, vd as denomAmountFromChainDenomAmount, vf as TypedDataUtilsHashStruct, wd as derivativeMarginFromChainMargin, wf as messageHash, xd as denomAmountToChainDenomAmount, xf as decompressPubKey, yd as denomAmountFromChainDenomAmountToFixed, yf as TypedDataUtilsSanitizeData, zd as formatNumberToAllowableTensMultiplier, zf as protobufTimestampToDate, zu as BECH32_PUBKEY_VAL_PREFIX } from "./index-B23H1gkY.js";
|
|
4
|
+
import "./BaseGrpcConsumer-D__FlbC_.js";
|
|
5
|
+
import "./index-gSJSfilR.js";
|
|
6
|
+
import "./index-CFBKZfge.js";
|
|
7
|
+
import "./index-DldKexyA.js";
|
|
8
|
+
import "./index-CTo6Ykx5.js";
|
|
9
|
+
import "./index-BArbGWnC.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.18.
|
|
3
|
+
"version": "1.18.24",
|
|
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": {
|
|
@@ -331,10 +331,10 @@
|
|
|
331
331
|
"@injectivelabs/grpc-web": "^0.0.1",
|
|
332
332
|
"@injectivelabs/grpc-web-node-http-transport": "^0.0.2",
|
|
333
333
|
"@injectivelabs/grpc-web-react-native-transport": "^0.0.2",
|
|
334
|
-
"@injectivelabs/indexer-proto-ts-v2": "1.18.
|
|
334
|
+
"@injectivelabs/indexer-proto-ts-v2": "1.18.16",
|
|
335
335
|
"@injectivelabs/mito-proto-ts-v2": "1.17.3",
|
|
336
336
|
"@injectivelabs/olp-proto-ts-v2": "1.17.6",
|
|
337
|
-
"@injectivelabs/tc-abacus-proto-ts-v2": "1.18.
|
|
337
|
+
"@injectivelabs/tc-abacus-proto-ts-v2": "1.18.6",
|
|
338
338
|
"@noble/curves": "^1.9.0",
|
|
339
339
|
"@noble/hashes": "^1.8.0",
|
|
340
340
|
"@protobuf-ts/grpcweb-transport": "^2.11.1",
|
|
@@ -350,10 +350,10 @@
|
|
|
350
350
|
"rxjs": "7.8.2",
|
|
351
351
|
"snakecase-keys": "^5.4.1",
|
|
352
352
|
"viem": "^2.41.2",
|
|
353
|
-
"@injectivelabs/exceptions": "1.18.
|
|
354
|
-
"@injectivelabs/
|
|
355
|
-
"@injectivelabs/
|
|
356
|
-
"@injectivelabs/
|
|
353
|
+
"@injectivelabs/exceptions": "1.18.24",
|
|
354
|
+
"@injectivelabs/networks": "1.18.24",
|
|
355
|
+
"@injectivelabs/ts-types": "1.18.24",
|
|
356
|
+
"@injectivelabs/utils": "1.18.24"
|
|
357
357
|
},
|
|
358
358
|
"publishConfig": {
|
|
359
359
|
"access": "public"
|
|
File without changes
|
/package/dist/cjs/{DirectEthSecp256k1Wallet-fFpCA8sp.cjs → DirectEthSecp256k1Wallet-B47wfyu3.cjs}
RENAMED
|
File without changes
|
/package/dist/cjs/{ExecArgNeptuneWithdraw--tacGqxE.cjs → ExecArgNeptuneWithdraw-DJWhAi2w.cjs}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/{DirectEthSecp256k1Wallet--KKmwr9n.js → DirectEthSecp256k1Wallet-bZZ4bjk5.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|