@injectivelabs/sdk-ts 1.20.39 → 1.20.40
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/{SocialTradingGrpcApi-D4VP25kb.cjs → SocialTradingGrpcApi-B5lkURaG.cjs} +3 -3
- package/dist/cjs/client/chain.d.cts +2 -2
- package/dist/cjs/client/indexer.d.cts +2 -2
- package/dist/cjs/client/platformServices.cjs +1 -1
- package/dist/cjs/client/platformServices.d.cts +2 -2
- package/dist/cjs/core/accounts.d.cts +2 -2
- package/dist/cjs/core/modules.d.cts +2 -2
- package/dist/cjs/core/tx.d.cts +2 -2
- package/dist/cjs/{index-kJ_CPpgJ.d.cts → index-BgG-Ygmg.d.cts} +1 -1
- package/dist/cjs/{index-CqL8tEwj.d.cts → index-Bi_QOX1c.d.cts} +16 -13
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.d.cts +3 -3
- package/dist/cjs/utils.d.cts +2 -2
- package/dist/esm/{SocialTradingGrpcApi-B6GPo0bs.js → SocialTradingGrpcApi-6l_bh26-.js} +3 -3
- package/dist/esm/client/chain.d.ts +2 -2
- package/dist/esm/client/indexer.d.ts +2 -2
- package/dist/esm/client/platformServices.d.ts +2 -2
- package/dist/esm/client/platformServices.js +1 -1
- package/dist/esm/core/accounts.d.ts +2 -2
- package/dist/esm/core/modules.d.ts +2 -2
- package/dist/esm/core/tx.d.ts +2 -2
- package/dist/esm/{index-E_jnQfJl.d.ts → index-3oRwOCmE.d.ts} +1 -1
- package/dist/esm/{index-CVozxeeD.d.ts → index-CMEOc5cJ.d.ts} +16 -13
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils.d.ts +2 -2
- package/package.json +6 -6
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./tx_pb-DMlxbcd8.js";
|
|
2
2
|
import "./index-D8HsSSPt.js";
|
|
3
3
|
import "./light-BFGvKXwS.js";
|
|
4
|
-
import { $d as derivativePriceFromChainPriceToFixed, $f as publicKeyToAddress, Ad as grpcPagingToPaging, Af as hexToNumber, Bd as amountToCosmosSdkDecAmount, Bf as sortObjectByKeysWithReduce, Bx as GrpcWebFetchTransport, Cf as spotQuantityToChainQuantity, Dd as recoverTypedSignaturePubKey, Df as bigIntToString, Ef as bigIntToNumber, Fd as getChecksumAddress, Ff as isServerSide, Gd as denomAmountToChainDenomAmount, Gf as decompressPubKey, Hd as denomAmountFromChainDenomAmount, Hf as TypedDataUtilsHashStruct, Id as getDerivativeMarketDecimals, If as objectToJson, Jd as derivativeMarginFromChainMargin, Jf as messageHash, Kd as denomAmountToChainDenomAmountToFixed, Kf as domainHash, Ld as getDerivativeMarketTensMultiplier, Lf as protoObjectToJson, Md as pageRequestToGrpcPageRequestV2, Mf as isJsonString, Nd as paginationRequestFromPagination, Nf as isNode, Od as fetchAllWithPagination, Of as getErrorMessage, Pd as paginationUint8ArrayToString, Pf as isReactNative, Qd as derivativePriceFromChainPrice, Qf as privateKeyToPublicKeyBase64, Rd as getSpotMarketDecimals, Rf as safeBigIntStringify, Sf as spotQuantityFromChainQuantityToFixed, Tf as bigIntReplacer, Ud as denomAmountFromChainDenomAmountToFixed, Uf as TypedDataUtilsSanitizeData, Vd as cosmosSdkDecToBigNumber, Vf as SignTypedDataVersionV4, Wd as denomAmountFromGrpcChainDenomAmount, Wf as TypedMessageV4, Xd as derivativeMarginToChainMargin, Xf as privateKeyHashToPublicKeyBase64, Yd as derivativeMarginFromChainMarginToFixed, Yf as privateKeyHashToPublicKey, Zd as derivativeMarginToChainMarginToFixed, Zf as privateKeyToPublicKey, _f as spotPriceFromChainPrice, af as derivativeQuantityToChainQuantityToFixed, ap as getGasPriceBasedOnMessage, bf as spotPriceToChainPriceToFixed, cf as formatNumberToAllowableDecimals, cp as protobufTimestampToDate, df as formatPriceToAllowablePrice, ef as derivativePriceToChainPrice, ep as ripemd160, ff as getExactDecimalsFromNumber, gf as numberToCosmosSdkDecString, hf as isNumber, if as derivativeQuantityToChainQuantity, ip as getGrpcWebTransport, jd as grpcPagingToPagingV2, jf as isBrowser, kd as grpcPaginationToPagination, kf as grpcCoinToUiCoin, lf as formatNumberToAllowableTensMultiplier, lp as protobufTimestampToUnixMs, mf as getTensMultiplier, nf as derivativeQuantityFromChainQuantity, np as sha256, of as formatAmountToAllowableAmount, op as makeTimeoutTimestamp, pf as getSignificantDecimalsFromNumber, qd as denomAmountToGrpcChainDenomAmount, qf as hashToHex, rf as derivativeQuantityFromChainQuantityToFixed, rp as ofacList, sf as formatAmountToAllowableDecimals, sp as makeTimeoutTimestampInNs, tf as derivativePriceToChainPriceToFixed, tp as sanitizeTypedData, uf as formatPriceToAllowableDecimals, up as protobufTimestampToUnixSeconds, vf as spotPriceFromChainPriceToFixed, wf as spotQuantityToChainQuantityToFixed, xf as spotQuantityFromChainQuantity, yf as spotPriceToChainPrice, zd as getSpotMarketTensMultiplier, zf as sortObjectByKeys } from "./index-
|
|
4
|
+
import { $d as derivativePriceFromChainPriceToFixed, $f as publicKeyToAddress, Ad as grpcPagingToPaging, Af as hexToNumber, Bd as amountToCosmosSdkDecAmount, Bf as sortObjectByKeysWithReduce, Bx as GrpcWebFetchTransport, Cf as spotQuantityToChainQuantity, Dd as recoverTypedSignaturePubKey, Df as bigIntToString, Ef as bigIntToNumber, Fd as getChecksumAddress, Ff as isServerSide, Gd as denomAmountToChainDenomAmount, Gf as decompressPubKey, Hd as denomAmountFromChainDenomAmount, Hf as TypedDataUtilsHashStruct, Id as getDerivativeMarketDecimals, If as objectToJson, Jd as derivativeMarginFromChainMargin, Jf as messageHash, Kd as denomAmountToChainDenomAmountToFixed, Kf as domainHash, Ld as getDerivativeMarketTensMultiplier, Lf as protoObjectToJson, Md as pageRequestToGrpcPageRequestV2, Mf as isJsonString, Nd as paginationRequestFromPagination, Nf as isNode, Od as fetchAllWithPagination, Of as getErrorMessage, Pd as paginationUint8ArrayToString, Pf as isReactNative, Qd as derivativePriceFromChainPrice, Qf as privateKeyToPublicKeyBase64, Rd as getSpotMarketDecimals, Rf as safeBigIntStringify, Sf as spotQuantityFromChainQuantityToFixed, Tf as bigIntReplacer, Ud as denomAmountFromChainDenomAmountToFixed, Uf as TypedDataUtilsSanitizeData, Vd as cosmosSdkDecToBigNumber, Vf as SignTypedDataVersionV4, Wd as denomAmountFromGrpcChainDenomAmount, Wf as TypedMessageV4, Xd as derivativeMarginToChainMargin, Xf as privateKeyHashToPublicKeyBase64, Yd as derivativeMarginFromChainMarginToFixed, Yf as privateKeyHashToPublicKey, Zd as derivativeMarginToChainMarginToFixed, Zf as privateKeyToPublicKey, _f as spotPriceFromChainPrice, af as derivativeQuantityToChainQuantityToFixed, ap as getGasPriceBasedOnMessage, bf as spotPriceToChainPriceToFixed, cf as formatNumberToAllowableDecimals, cp as protobufTimestampToDate, df as formatPriceToAllowablePrice, ef as derivativePriceToChainPrice, ep as ripemd160, ff as getExactDecimalsFromNumber, gf as numberToCosmosSdkDecString, hf as isNumber, if as derivativeQuantityToChainQuantity, ip as getGrpcWebTransport, jd as grpcPagingToPagingV2, jf as isBrowser, kd as grpcPaginationToPagination, kf as grpcCoinToUiCoin, lf as formatNumberToAllowableTensMultiplier, lp as protobufTimestampToUnixMs, mf as getTensMultiplier, nf as derivativeQuantityFromChainQuantity, np as sha256, of as formatAmountToAllowableAmount, op as makeTimeoutTimestamp, pf as getSignificantDecimalsFromNumber, qd as denomAmountToGrpcChainDenomAmount, qf as hashToHex, rf as derivativeQuantityFromChainQuantityToFixed, rp as ofacList, sf as formatAmountToAllowableDecimals, sp as makeTimeoutTimestampInNs, tf as derivativePriceToChainPriceToFixed, tp as sanitizeTypedData, uf as formatPriceToAllowableDecimals, up as protobufTimestampToUnixSeconds, vf as spotPriceFromChainPriceToFixed, wf as spotQuantityToChainQuantityToFixed, xf as spotQuantityFromChainQuantity, yf as spotPriceToChainPrice, zd as getSpotMarketTensMultiplier, zf as sortObjectByKeys } from "./index-3oRwOCmE.js";
|
|
5
5
|
import "./BaseGrpcConsumer-B-As45Rt.js";
|
|
6
6
|
import "./index-CWDs9PX_.js";
|
|
7
7
|
import "./index-B0keqriy.js";
|
|
@@ -11,6 +11,6 @@ import { a as fromBase64, c as hexToBuff, d as toBase64, f as toUtf8, h as uint8
|
|
|
11
11
|
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-Cde3Np7d.js";
|
|
12
12
|
import "./index-npjAvTgI.js";
|
|
13
13
|
import "./index-RFuIuhwk.js";
|
|
14
|
-
import "./index-
|
|
14
|
+
import "./index-CMEOc5cJ.js";
|
|
15
15
|
import "./index-BX0RYyak.js";
|
|
16
16
|
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, bytesToHex, 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, hexToBytes, 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.40",
|
|
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": {
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
"@injectivelabs/indexer-proto-ts-v2": "1.20.4",
|
|
475
475
|
"@injectivelabs/mito-proto-ts-v2": "1.17.3",
|
|
476
476
|
"@injectivelabs/olp-proto-ts-v2": "1.17.6",
|
|
477
|
-
"@injectivelabs/platform-services-proto-ts-v2": "1.0.
|
|
477
|
+
"@injectivelabs/platform-services-proto-ts-v2": "1.0.3",
|
|
478
478
|
"@injectivelabs/tc-abacus-proto-ts-v2": "1.18.7",
|
|
479
479
|
"@injectivelabs/ws-price-oracle-proto-ts-v2": "1.0.5",
|
|
480
480
|
"@noble/curves": "^1.9.0",
|
|
@@ -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.
|
|
496
|
-
"@injectivelabs/
|
|
497
|
-
"@injectivelabs/
|
|
498
|
-
"@injectivelabs/
|
|
495
|
+
"@injectivelabs/exceptions": "1.20.40",
|
|
496
|
+
"@injectivelabs/networks": "1.20.40",
|
|
497
|
+
"@injectivelabs/utils": "1.20.40",
|
|
498
|
+
"@injectivelabs/ts-types": "1.20.40"
|
|
499
499
|
},
|
|
500
500
|
"publishConfig": {
|
|
501
501
|
"access": "public"
|