@injectivelabs/sdk-ts 1.17.2-alpha.8 → 1.17.2-alpha.9
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/{ChainGrpcExchangeApi-VVmtAGW5.cjs → ChainGrpcExchangeApi-DLpkgEyg.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-CW49Mtmx.cjs → ChainRestTendermintApi-BiZOeKcG.cjs} +1 -1
- package/dist/cjs/{DirectEthSecp256k1Wallet-Chd5kOwo.cjs → DirectEthSecp256k1Wallet-CU18lti3.cjs} +2 -2
- package/dist/cjs/{ExecArgNeptuneWithdraw-BqrKFTTp.cjs → ExecArgNeptuneWithdraw-DOHeo3AJ.cjs} +6 -6
- package/dist/cjs/{IndexerGrpcAccountPortfolioStream-CGaNa5R7.cjs → IndexerGrpcAccountPortfolioStream-DO5_FF4l.cjs} +2 -2
- package/dist/cjs/{IndexerGrpcWeb3GwApi-RL0sxzNw.cjs → IndexerGrpcWeb3GwApi-BgWT2tWK.cjs} +6 -6
- package/dist/cjs/{MsgBase-BJ1-Qh5c.cjs → MsgBase-DqOmzCyS.cjs} +1 -0
- package/dist/cjs/{MsgSetDenomMetadata-BzFtwh7v.cjs → MsgSetDenomMetadata-CUoGqV8P.cjs} +9 -9
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-t-5fuyN_.cjs → QueryTradingStrategyContractTotalStrategies-Bh8AXm4k.cjs} +3 -3
- package/dist/cjs/{accounts-DC6uKJZm.cjs → accounts-CXaUasU5.cjs} +6 -6
- package/dist/cjs/{chain-CdI97AzZ.cjs → chain-Cs9sNuT1.cjs} +2 -2
- package/dist/cjs/client/chain.cjs +4 -4
- package/dist/cjs/client/chain.d.cts +1 -1
- package/dist/cjs/client/indexer.cjs +3 -3
- package/dist/cjs/client/indexer.d.cts +1 -1
- package/dist/cjs/client/wasm.cjs +7 -7
- package/dist/cjs/core/accounts.cjs +3 -3
- package/dist/cjs/core/accounts.d.cts +1 -1
- package/dist/cjs/core/modules.cjs +9 -9
- package/dist/cjs/core/modules.d.cts +1 -1
- package/dist/cjs/core/tx.cjs +6 -6
- package/dist/cjs/core/tx.d.cts +1 -1
- package/dist/cjs/cosmjs.cjs +7 -7
- package/dist/cjs/exports.cjs +7 -7
- package/dist/cjs/{index-9KV6P3U_.d.cts → index-1Wy-0PTh.d.cts} +20 -4
- package/dist/cjs/index.cjs +16 -14
- package/dist/cjs/index.d.cts +2 -2
- package/dist/cjs/{service-Do5zpuEu.cjs → service-DcwwCSxu.cjs} +1 -1
- package/dist/cjs/service.cjs +2 -2
- package/dist/cjs/{tx-D51SCHxX.cjs → tx-Cn0j2SRh.cjs} +4 -4
- package/dist/cjs/{utils-CaAHoOvO.cjs → utils-V1uXtT51.cjs} +115 -81
- package/dist/cjs/utils.cjs +3 -1
- package/dist/cjs/utils.d.cts +2 -2
- package/dist/esm/{ChainGrpcExchangeApi-CDMDxAJf.js → ChainGrpcExchangeApi-C-2XsVVs.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-Cy7hYJYp.js → ChainRestTendermintApi-CMrAg0Zm.js} +1 -1
- package/dist/esm/{DirectEthSecp256k1Wallet-VC6TDitT.js → DirectEthSecp256k1Wallet-a9KiF9fA.js} +2 -2
- package/dist/esm/{ExecArgNeptuneWithdraw-yQxlQZWQ.js → ExecArgNeptuneWithdraw-DEljIeLd.js} +6 -6
- package/dist/esm/{IndexerGrpcAccountPortfolioStream-BOLdMeVd.js → IndexerGrpcAccountPortfolioStream-3AGGiB1c.js} +2 -2
- package/dist/esm/{IndexerGrpcWeb3GwApi-BngLjriD.js → IndexerGrpcWeb3GwApi-CtUYowus.js} +6 -6
- package/dist/esm/{MsgBase-aKq3ln6R.js → MsgBase-BkRgVbdY.js} +1 -0
- package/dist/esm/{MsgSetDenomMetadata-CTc1ec1M.js → MsgSetDenomMetadata-BhJMebO9.js} +9 -9
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-DnsH6JLf.js → QueryTradingStrategyContractTotalStrategies-7IjWZLsc.js} +3 -3
- package/dist/esm/{accounts-DXee44Zk.js → accounts-DFC9RYDH.js} +6 -6
- package/dist/esm/{chain-BquCFi0h.js → chain-phKWVf8c.js} +2 -2
- package/dist/esm/client/chain.d.ts +1 -1
- package/dist/esm/client/chain.js +4 -4
- package/dist/esm/client/indexer.d.ts +1 -1
- package/dist/esm/client/indexer.js +3 -3
- package/dist/esm/client/wasm.js +7 -7
- package/dist/esm/core/accounts.d.ts +1 -1
- package/dist/esm/core/accounts.js +3 -3
- package/dist/esm/core/modules.d.ts +1 -1
- package/dist/esm/core/modules.js +9 -9
- package/dist/esm/core/tx.d.ts +1 -1
- package/dist/esm/core/tx.js +6 -6
- package/dist/esm/cosmjs.js +7 -7
- package/dist/esm/exports.js +7 -7
- package/dist/esm/{index-CIU3qLo9.d.ts → index-IV55OZfT.d.ts} +20 -4
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +14 -14
- package/dist/esm/{service-DYSaTvVz.js → service-CoINtWpF.js} +1 -1
- package/dist/esm/service.js +2 -2
- package/dist/esm/{tx-B9VusHOP.js → tx-CcaVBSym.js} +4 -4
- package/dist/esm/{utils-DlnuXIe8.js → utils-DwGoPRTL.js} +104 -82
- package/dist/esm/utils.d.ts +2 -2
- package/dist/esm/utils.js +2 -2
- package/package.json +5 -5
|
@@ -6,6 +6,108 @@ import { sha256 } from "@noble/hashes/sha2";
|
|
|
6
6
|
import { ripemd160 } from "@noble/hashes/legacy";
|
|
7
7
|
import * as CosmosBaseQueryV1Beta1PaginationPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/base/query/v1beta1/pagination_pb";
|
|
8
8
|
|
|
9
|
+
//#region src/utils/helpers.ts
|
|
10
|
+
const isServerSide = () => typeof window === "undefined";
|
|
11
|
+
const isReactNative = () => {
|
|
12
|
+
return typeof document === "undefined" && typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
13
|
+
};
|
|
14
|
+
const isNode = () => {
|
|
15
|
+
if (typeof window === "undefined") return true;
|
|
16
|
+
return typeof process !== "undefined" && typeof process.versions !== "undefined" && typeof process.versions.node !== "undefined";
|
|
17
|
+
};
|
|
18
|
+
const isBrowser = () => {
|
|
19
|
+
if (isReactNative()) return false;
|
|
20
|
+
if (isNode()) return false;
|
|
21
|
+
return typeof window !== "undefined";
|
|
22
|
+
};
|
|
23
|
+
const objectToJson = (object, params) => {
|
|
24
|
+
const { replacer, indentation } = params || {
|
|
25
|
+
replacer: void 0,
|
|
26
|
+
indentation: 2
|
|
27
|
+
};
|
|
28
|
+
return safeBigIntStringify(object, replacer, indentation);
|
|
29
|
+
};
|
|
30
|
+
const protoObjectToJson = (object, params) => {
|
|
31
|
+
const { replacer, indentation } = params || {
|
|
32
|
+
replacer: void 0,
|
|
33
|
+
indentation: 2
|
|
34
|
+
};
|
|
35
|
+
if (object.toObject !== void 0) return safeBigIntStringify(object.toObject(), replacer, indentation);
|
|
36
|
+
return objectToJson(object, {
|
|
37
|
+
replacer,
|
|
38
|
+
indentation
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
const grpcCoinToUiCoin = (coin) => ({
|
|
42
|
+
amount: coin.amount,
|
|
43
|
+
denom: coin.denom
|
|
44
|
+
});
|
|
45
|
+
const sortObjectByKeysWithReduce = (obj) => {
|
|
46
|
+
if (typeof obj !== "object" || obj === null) return obj;
|
|
47
|
+
if (Array.isArray(obj)) return obj.map((e) => sortObjectByKeysWithReduce(e)).sort();
|
|
48
|
+
return Object.keys(obj).sort().reduce((sorted, k) => {
|
|
49
|
+
const key = k;
|
|
50
|
+
sorted[key] = sortObjectByKeysWithReduce(obj[key]);
|
|
51
|
+
return sorted;
|
|
52
|
+
}, {});
|
|
53
|
+
};
|
|
54
|
+
const sortObjectByKeys = (obj) => {
|
|
55
|
+
if (typeof obj !== "object" || obj === null) return obj;
|
|
56
|
+
if (Array.isArray(obj)) return obj.map(sortObjectByKeys);
|
|
57
|
+
const sortedKeys = Object.keys(obj).sort();
|
|
58
|
+
const result = {};
|
|
59
|
+
sortedKeys.forEach((key) => {
|
|
60
|
+
result[key] = sortObjectByKeys(obj[key]);
|
|
61
|
+
});
|
|
62
|
+
return result;
|
|
63
|
+
};
|
|
64
|
+
const getErrorMessage = (error, endpoint) => {
|
|
65
|
+
if (!error.response) return `The request to ${endpoint} has failed.`;
|
|
66
|
+
return error.response.data ? error.response.data.message || error.response.data : error.response.statusText;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Converts value to it's number representation
|
|
70
|
+
*/
|
|
71
|
+
const hexToNumber = (value) => {
|
|
72
|
+
const [negative, hexValue] = value.startsWith("-") ? [true, value.slice(1)] : [false, value];
|
|
73
|
+
const num = BigInt(hexValue);
|
|
74
|
+
if (num > Number.MAX_SAFE_INTEGER) return Number(negative ? -num : num);
|
|
75
|
+
if (num < Number.MIN_SAFE_INTEGER) return Number(num);
|
|
76
|
+
return negative ? -1 * Number(num) : Number(num);
|
|
77
|
+
};
|
|
78
|
+
function isJsonString(str) {
|
|
79
|
+
if (typeof str !== "string") return false;
|
|
80
|
+
try {
|
|
81
|
+
JSON.parse(str);
|
|
82
|
+
} catch (_unused) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* BigInt-safe JSON replacer function.
|
|
89
|
+
* Converts BigInt values to strings during JSON serialization.
|
|
90
|
+
*/
|
|
91
|
+
const bigIntReplacer = (_key, value) => typeof value === "bigint" ? value.toString() : value;
|
|
92
|
+
/**
|
|
93
|
+
* Stringify an object to JSON with BigInt support.
|
|
94
|
+
* Converts BigInt values to strings during serialization to prevent
|
|
95
|
+
* "Do not know how to serialize a BigInt" errors.
|
|
96
|
+
*
|
|
97
|
+
* @param value - The value to serialize
|
|
98
|
+
* @param replacer - Optional custom replacer function (BigInt handling is applied first)
|
|
99
|
+
* @param space - Optional indentation for pretty printing
|
|
100
|
+
* @returns JSON string
|
|
101
|
+
*/
|
|
102
|
+
const safeBigIntStringify = (value, replacer, space) => {
|
|
103
|
+
const combinedReplacer = (key, val) => {
|
|
104
|
+
const bigIntHandled = bigIntReplacer(key, val);
|
|
105
|
+
return replacer ? replacer(key, bigIntHandled) : bigIntHandled;
|
|
106
|
+
};
|
|
107
|
+
return JSON.stringify(value, combinedReplacer, space);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
//#endregion
|
|
9
111
|
//#region src/utils/encoding.ts
|
|
10
112
|
/**
|
|
11
113
|
* Encoding/decoding utilities using industry-standard libraries
|
|
@@ -144,7 +246,7 @@ function binaryToBase64(data) {
|
|
|
144
246
|
* @returns Base64 encoded string
|
|
145
247
|
*/
|
|
146
248
|
function toBase64(data) {
|
|
147
|
-
return uint8ArrayToBase64(stringToUint8Array(
|
|
249
|
+
return uint8ArrayToBase64(stringToUint8Array(safeBigIntStringify(data)));
|
|
148
250
|
}
|
|
149
251
|
/**
|
|
150
252
|
* Convert a base64 string to JSON object
|
|
@@ -461,86 +563,6 @@ const TypedDataUtilsSanitizeData = sanitizeTypedData;
|
|
|
461
563
|
const TypedDataUtilsHashStruct = hashStruct;
|
|
462
564
|
const SignTypedDataVersionV4 = "V4";
|
|
463
565
|
|
|
464
|
-
//#endregion
|
|
465
|
-
//#region src/utils/helpers.ts
|
|
466
|
-
const isServerSide = () => typeof window === "undefined";
|
|
467
|
-
const isReactNative = () => {
|
|
468
|
-
return typeof document === "undefined" && typeof navigator !== "undefined" && navigator.product === "ReactNative";
|
|
469
|
-
};
|
|
470
|
-
const isNode = () => {
|
|
471
|
-
if (typeof window === "undefined") return true;
|
|
472
|
-
return typeof process !== "undefined" && typeof process.versions !== "undefined" && typeof process.versions.node !== "undefined";
|
|
473
|
-
};
|
|
474
|
-
const isBrowser = () => {
|
|
475
|
-
if (isReactNative()) return false;
|
|
476
|
-
if (isNode()) return false;
|
|
477
|
-
return typeof window !== "undefined";
|
|
478
|
-
};
|
|
479
|
-
const objectToJson = (object, params) => {
|
|
480
|
-
const { replacer, indentation } = params || {
|
|
481
|
-
replacer: null,
|
|
482
|
-
indentation: 2
|
|
483
|
-
};
|
|
484
|
-
return JSON.stringify(object, replacer, indentation);
|
|
485
|
-
};
|
|
486
|
-
const protoObjectToJson = (object, params) => {
|
|
487
|
-
const { replacer, indentation } = params || {
|
|
488
|
-
replacer: null,
|
|
489
|
-
indentation: 2
|
|
490
|
-
};
|
|
491
|
-
if (object.toObject !== void 0) return JSON.stringify(object.toObject(), replacer, indentation);
|
|
492
|
-
return objectToJson(object, {
|
|
493
|
-
replacer,
|
|
494
|
-
indentation
|
|
495
|
-
});
|
|
496
|
-
};
|
|
497
|
-
const grpcCoinToUiCoin = (coin) => ({
|
|
498
|
-
amount: coin.amount,
|
|
499
|
-
denom: coin.denom
|
|
500
|
-
});
|
|
501
|
-
const sortObjectByKeysWithReduce = (obj) => {
|
|
502
|
-
if (typeof obj !== "object" || obj === null) return obj;
|
|
503
|
-
if (Array.isArray(obj)) return obj.map((e) => sortObjectByKeysWithReduce(e)).sort();
|
|
504
|
-
return Object.keys(obj).sort().reduce((sorted, k) => {
|
|
505
|
-
const key = k;
|
|
506
|
-
sorted[key] = sortObjectByKeysWithReduce(obj[key]);
|
|
507
|
-
return sorted;
|
|
508
|
-
}, {});
|
|
509
|
-
};
|
|
510
|
-
const sortObjectByKeys = (obj) => {
|
|
511
|
-
if (typeof obj !== "object" || obj === null) return obj;
|
|
512
|
-
if (Array.isArray(obj)) return obj.map(sortObjectByKeys);
|
|
513
|
-
const sortedKeys = Object.keys(obj).sort();
|
|
514
|
-
const result = {};
|
|
515
|
-
sortedKeys.forEach((key) => {
|
|
516
|
-
result[key] = sortObjectByKeys(obj[key]);
|
|
517
|
-
});
|
|
518
|
-
return result;
|
|
519
|
-
};
|
|
520
|
-
const getErrorMessage = (error, endpoint) => {
|
|
521
|
-
if (!error.response) return `The request to ${endpoint} has failed.`;
|
|
522
|
-
return error.response.data ? error.response.data.message || error.response.data : error.response.statusText;
|
|
523
|
-
};
|
|
524
|
-
/**
|
|
525
|
-
* Converts value to it's number representation
|
|
526
|
-
*/
|
|
527
|
-
const hexToNumber = (value) => {
|
|
528
|
-
const [negative, hexValue] = value.startsWith("-") ? [true, value.slice(1)] : [false, value];
|
|
529
|
-
const num = BigInt(hexValue);
|
|
530
|
-
if (num > Number.MAX_SAFE_INTEGER) return Number(negative ? -num : num);
|
|
531
|
-
if (num < Number.MIN_SAFE_INTEGER) return Number(num);
|
|
532
|
-
return negative ? -1 * Number(num) : Number(num);
|
|
533
|
-
};
|
|
534
|
-
function isJsonString(str) {
|
|
535
|
-
if (typeof str !== "string") return false;
|
|
536
|
-
try {
|
|
537
|
-
JSON.parse(str);
|
|
538
|
-
} catch (_unused) {
|
|
539
|
-
return false;
|
|
540
|
-
}
|
|
541
|
-
return true;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
566
|
//#endregion
|
|
545
567
|
//#region src/utils/numbers.ts
|
|
546
568
|
const $BigNumber = BigNumber.clone({ ROUNDING_MODE: BigNumber.ROUND_DOWN });
|
|
@@ -1090,4 +1112,4 @@ const recoverTypedSignaturePubKey = async (data, signature) => {
|
|
|
1090
1112
|
};
|
|
1091
1113
|
|
|
1092
1114
|
//#endregion
|
|
1093
|
-
export { isNumber as $,
|
|
1115
|
+
export { isNumber as $, isBrowser as $t, denomAmountToChainDenomAmountToFixed as A, BECH32_PUBKEY_ACC_PREFIX as At, derivativeQuantityFromChainQuantity as B, hexToBase64 as Bt, getSpotMarketTensMultiplier as C, sha256$1 as Ct, denomAmountFromChainDenomAmountToFixed as D, BECH32_ADDR_ACC_PREFIX as Dt, denomAmountFromChainDenomAmount as E, getGasPriceBasedOnMessage as Et, derivativeMarginToChainMarginToFixed as F, base64ToUtf8 as Ft, formatAmountToAllowableDecimals as G, toUtf8 as Gt, derivativeQuantityToChainQuantity as H, hexToUint8Array as Ht, derivativePriceFromChainPrice as I, binaryToBase64 as It, formatPriceToAllowableDecimals as J, uint8ArrayToString as Jt, formatNumberToAllowableDecimals as K, uint8ArrayToBase64 as Kt, derivativePriceFromChainPriceToFixed as L, concatUint8Arrays as Lt, derivativeMarginFromChainMargin as M, BECH32_PUBKEY_VAL_PREFIX as Mt, derivativeMarginFromChainMarginToFixed as N, DEFAULT_DERIVATION_PATH as Nt, denomAmountFromGrpcChainDenomAmount as O, BECH32_ADDR_CONS_PREFIX as Ot, derivativeMarginToChainMargin as P, base64ToUint8Array as Pt, getTensMultiplier as Q, hexToNumber as Qt, derivativePriceToChainPrice as R, fromBase64 as Rt, getSpotMarketDecimals as S, sanitizeTypedData as St, cosmosSdkDecToBigNumber as T, ofacList as Tt, derivativeQuantityToChainQuantityToFixed as U, stringToUint8Array as Ut, derivativeQuantityFromChainQuantityToFixed as V, hexToBuff as Vt, formatAmountToAllowableAmount as W, toBase64 as Wt, getExactDecimalsFromNumber as X, getErrorMessage as Xt, formatPriceToAllowablePrice as Y, bigIntReplacer as Yt, getSignificantDecimalsFromNumber as Z, grpcCoinToUiCoin as Zt, getSubaccountId as _, privateKeyHashToPublicKeyBase64 as _t, grpcPagingToPagingV2 as a, protoObjectToJson as an, spotQuantityFromChainQuantity as at, getDerivativeMarketDecimals as b, publicKeyToAddress as bt, paginationUint8ArrayToString as c, sortObjectByKeysWithReduce as cn, spotQuantityToChainQuantityToFixed as ct, getAddressFromInjectiveAddress as d, TypedDataUtilsSanitizeData as dt, isJsonString as en, numberToCosmosSdkDecString as et, getChecksumAddress as f, decompressPubKey as ft, getInjectiveAddressFromSubaccountId as g, privateKeyHashToPublicKey as gt, getInjectiveAddress as h, messageHash as ht, grpcPagingToPaging as i, objectToJson as in, spotPriceToChainPriceToFixed as it, denomAmountToGrpcChainDenomAmount as j, BECH32_PUBKEY_CONS_PREFIX as jt, denomAmountToChainDenomAmount as k, BECH32_ADDR_VAL_PREFIX as kt, ChainGrpcCommonTransformer as l, SignTypedDataVersionV4 as lt, getEthereumAddress as m, hashToHex as mt, fetchAllWithPagination as n, isReactNative as nn, spotPriceFromChainPriceToFixed as nt, pageRequestToGrpcPageRequestV2 as o, safeBigIntStringify as on, spotQuantityFromChainQuantityToFixed as ot, getDefaultSubaccountId as p, domainHash as pt, formatNumberToAllowableTensMultiplier as q, uint8ArrayToHex as qt, grpcPaginationToPagination as r, isServerSide as rn, spotPriceToChainPrice as rt, paginationRequestFromPagination as s, sortObjectByKeys as sn, spotQuantityToChainQuantity as st, recoverTypedSignaturePubKey as t, isNode as tn, spotPriceFromChainPrice as tt, addHexPrefix as u, TypedDataUtilsHashStruct as ut, isCw20ContractAddress as v, privateKeyToPublicKey as vt, amountToCosmosSdkDecAmount as w, parseCoins as wt, getDerivativeMarketTensMultiplier as x, ripemd160$1 as xt, removeHexPrefix as y, privateKeyToPublicKeyBase64 as yt, derivativePriceToChainPriceToFixed as z, fromUtf8 as zt };
|
package/dist/esm/utils.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import "./tx_pb-TiSRD5ay.js";
|
|
|
2
2
|
import "./BaseGrpcConsumer-BbvNzhrS.js";
|
|
3
3
|
import "./index-qFCOVI7n.js";
|
|
4
4
|
import "./any_pb-B1YYUSUf.js";
|
|
5
|
-
import { $c as cosmosSdkDecToBigNumber, $l as
|
|
5
|
+
import { $c as cosmosSdkDecToBigNumber, $l as TypedDataUtilsSanitizeData, Ac as hexToBuff, Al as spotPriceFromChainPriceToFixed, Bc as getChecksumAddress, Bl as hexToNumber, Cc as base64ToUint8Array, Cl as formatPriceToAllowablePrice, Dc as fromBase64, Dl as isNumber, Ec as concatUint8Arrays, El as getTensMultiplier, Fc as uint8ArrayToBase64, Fl as spotQuantityToChainQuantity, Gc as getSubaccountId, Gl as isServerSide, Hc as getEthereumAddress, Hl as isJsonString, Ic as uint8ArrayToHex, Il as spotQuantityToChainQuantityToFixed, Jc as getDerivativeMarketDecimals, Jl as safeBigIntStringify, Kc as isCw20ContractAddress, Kl as objectToJson, Lc as uint8ArrayToString, Ll as bigIntReplacer, Mc as stringToUint8Array, Ml as spotPriceToChainPriceToFixed, Nc as toBase64, Nl as spotQuantityFromChainQuantity, Oc as fromUtf8, Ol as numberToCosmosSdkDecString, Pc as toUtf8, Pl as spotQuantityFromChainQuantityToFixed, Qc as amountToCosmosSdkDecAmount, Ql as TypedDataUtilsHashStruct, Rc as addHexPrefix, Rl as getErrorMessage, Sc as DEFAULT_DERIVATION_PATH, Sl as formatPriceToAllowableDecimals, Su as protobufTimestampToUnixSeconds, Tc as binaryToBase64, Tl as getSignificantDecimalsFromNumber, Uc as getInjectiveAddress, Ul as isNode, Vc as getDefaultSubaccountId, Vl as isBrowser, Wc as getInjectiveAddressFromSubaccountId, Wl as isReactNative, Xc as getSpotMarketDecimals, Xl as sortObjectByKeysWithReduce, Yc as getDerivativeMarketTensMultiplier, Yl as sortObjectByKeys, Zc as getSpotMarketTensMultiplier, Zl as SignTypedDataVersionV4, _c as BECH32_ADDR_CONS_PREFIX, _l as derivativeQuantityToChainQuantityToFixed, _u as getGasPriceBasedOnMessage, al as denomAmountToGrpcChainDenomAmount, au as privateKeyHashToPublicKey, bc as BECH32_PUBKEY_CONS_PREFIX, bl as formatNumberToAllowableDecimals, bu as protobufTimestampToDate, cc as recoverTypedSignaturePubKey, cl as derivativeMarginToChainMargin, cu as privateKeyToPublicKeyBase64, dc as grpcPagingToPaging, dl as derivativePriceFromChainPriceToFixed, du as sanitizeTypedData, el as denomAmountFromChainDenomAmount, eu as TypedMessageV4, fc as grpcPagingToPagingV2, fl as derivativePriceToChainPrice, fu as sha256, gc as BECH32_ADDR_ACC_PREFIX, gl as derivativeQuantityToChainQuantity, gu as GrpcWebFetchTransport, hc as paginationUint8ArrayToString, hl as derivativeQuantityFromChainQuantityToFixed, hu as getGrpcWebTransport, il as denomAmountToChainDenomAmountToFixed, iu as messageHash, jc as hexToUint8Array, jl as spotPriceToChainPrice, kc as hexToBase64, kl as spotPriceFromChainPrice, lc as fetchAllWithPagination, ll as derivativeMarginToChainMarginToFixed, lu as publicKeyToAddress, mc as paginationRequestFromPagination, ml as derivativeQuantityFromChainQuantity, mu as ofacList, nl as denomAmountFromGrpcChainDenomAmount, nu as domainHash, ol as derivativeMarginFromChainMargin, ou as privateKeyHashToPublicKeyBase64, pc as pageRequestToGrpcPageRequestV2, pl as derivativePriceToChainPriceToFixed, pu as parseCoins, qc as removeHexPrefix, ql as protoObjectToJson, rl as denomAmountToChainDenomAmount, ru as hashToHex, sl as derivativeMarginFromChainMarginToFixed, su as privateKeyToPublicKey, tl as denomAmountFromChainDenomAmountToFixed, tu as decompressPubKey, uc as grpcPaginationToPagination, ul as derivativePriceFromChainPrice, uu as ripemd160, vc as BECH32_ADDR_VAL_PREFIX, vl as formatAmountToAllowableAmount, vu as makeTimeoutTimestamp, wc as base64ToUtf8, wl as getExactDecimalsFromNumber, xc as BECH32_PUBKEY_VAL_PREFIX, xl as formatNumberToAllowableTensMultiplier, xu as protobufTimestampToUnixMs, yc as BECH32_PUBKEY_ACC_PREFIX, yl as formatAmountToAllowableDecimals, yu as makeTimeoutTimestampInNs, zc as getAddressFromInjectiveAddress, zl as grpcCoinToUiCoin } from "./index-IV55OZfT.js";
|
|
6
6
|
import "./index-DdGVE3_u.js";
|
|
7
7
|
import "./index-B1R417vW.js";
|
|
8
8
|
import "./index-aNMYd-s0.js";
|
|
9
9
|
import "./index-DS6aJrL5.js";
|
|
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, 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, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
|
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, 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/dist/esm/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as isNumber, $t as
|
|
1
|
+
import { $ as isNumber, $t as isBrowser, A as denomAmountToChainDenomAmountToFixed, At as BECH32_PUBKEY_ACC_PREFIX, B as derivativeQuantityFromChainQuantity, Bt as hexToBase64, C as getSpotMarketTensMultiplier, Ct as sha256, D as denomAmountFromChainDenomAmountToFixed, Dt as BECH32_ADDR_ACC_PREFIX, E as denomAmountFromChainDenomAmount, Et as getGasPriceBasedOnMessage, F as derivativeMarginToChainMarginToFixed, Ft as base64ToUtf8, G as formatAmountToAllowableDecimals, Gt as toUtf8, H as derivativeQuantityToChainQuantity, Ht as hexToUint8Array, I as derivativePriceFromChainPrice, It as binaryToBase64, J as formatPriceToAllowableDecimals, Jt as uint8ArrayToString, K as formatNumberToAllowableDecimals, Kt as uint8ArrayToBase64, L as derivativePriceFromChainPriceToFixed, Lt as concatUint8Arrays, M as derivativeMarginFromChainMargin, Mt as BECH32_PUBKEY_VAL_PREFIX, N as derivativeMarginFromChainMarginToFixed, Nt as DEFAULT_DERIVATION_PATH, O as denomAmountFromGrpcChainDenomAmount, Ot as BECH32_ADDR_CONS_PREFIX, P as derivativeMarginToChainMargin, Pt as base64ToUint8Array, Q as getTensMultiplier, Qt as hexToNumber, R as derivativePriceToChainPrice, Rt as fromBase64, S as getSpotMarketDecimals, St as sanitizeTypedData, T as cosmosSdkDecToBigNumber, Tt as ofacList, U as derivativeQuantityToChainQuantityToFixed, Ut as stringToUint8Array, V as derivativeQuantityFromChainQuantityToFixed, Vt as hexToBuff, W as formatAmountToAllowableAmount, Wt as toBase64, X as getExactDecimalsFromNumber, Xt as getErrorMessage, Y as formatPriceToAllowablePrice, Yt as bigIntReplacer, Z as getSignificantDecimalsFromNumber, Zt as grpcCoinToUiCoin, _ as getSubaccountId, _t as privateKeyHashToPublicKeyBase64, a as grpcPagingToPagingV2, an as protoObjectToJson, at as spotQuantityFromChainQuantity, b as getDerivativeMarketDecimals, bt as publicKeyToAddress, c as paginationUint8ArrayToString, cn as sortObjectByKeysWithReduce, ct as spotQuantityToChainQuantityToFixed, d as getAddressFromInjectiveAddress, dt as TypedDataUtilsSanitizeData, en as isJsonString, et as numberToCosmosSdkDecString, f as getChecksumAddress, ft as decompressPubKey, g as getInjectiveAddressFromSubaccountId, gt as privateKeyHashToPublicKey, h as getInjectiveAddress, ht as messageHash, i as grpcPagingToPaging, in as objectToJson, it as spotPriceToChainPriceToFixed, j as denomAmountToGrpcChainDenomAmount, jt as BECH32_PUBKEY_CONS_PREFIX, k as denomAmountToChainDenomAmount, kt as BECH32_ADDR_VAL_PREFIX, lt as SignTypedDataVersionV4, m as getEthereumAddress, mt as hashToHex, n as fetchAllWithPagination, nn as isReactNative, nt as spotPriceFromChainPriceToFixed, o as pageRequestToGrpcPageRequestV2, on as safeBigIntStringify, ot as spotQuantityFromChainQuantityToFixed, p as getDefaultSubaccountId, pt as domainHash, q as formatNumberToAllowableTensMultiplier, qt as uint8ArrayToHex, r as grpcPaginationToPagination, rn as isServerSide, rt as spotPriceToChainPrice, s as paginationRequestFromPagination, sn as sortObjectByKeys, st as spotQuantityToChainQuantity, t as recoverTypedSignaturePubKey, tn as isNode, tt as spotPriceFromChainPrice, u as addHexPrefix, ut as TypedDataUtilsHashStruct, v as isCw20ContractAddress, vt as privateKeyToPublicKey, w as amountToCosmosSdkDecAmount, wt as parseCoins, x as getDerivativeMarketTensMultiplier, xt as ripemd160, y as removeHexPrefix, yt as privateKeyToPublicKeyBase64, z as derivativePriceToChainPriceToFixed, zt as fromUtf8 } from "./utils-DwGoPRTL.js";
|
|
2
2
|
import { a as protobufTimestampToUnixSeconds, i as protobufTimestampToUnixMs, n as makeTimeoutTimestampInNs, r as protobufTimestampToDate, t as makeTimeoutTimestamp } from "./time-DYEqYFao.js";
|
|
3
3
|
import { n as getGrpcWebTransport, t as GrpcWebFetchTransport } from "./grpc-lYZqzL0k.js";
|
|
4
4
|
|
|
5
|
-
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, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, 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, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
|
5
|
+
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, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, 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.2-alpha.
|
|
3
|
+
"version": "1.17.2-alpha.9",
|
|
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": {
|
|
@@ -328,10 +328,10 @@
|
|
|
328
328
|
"rxjs": "7.8.2",
|
|
329
329
|
"snakecase-keys": "^5.4.1",
|
|
330
330
|
"viem": "^2.41.2",
|
|
331
|
-
"@injectivelabs/exceptions": "1.17.2-alpha.
|
|
332
|
-
"@injectivelabs/networks": "1.17.2-alpha.
|
|
333
|
-
"@injectivelabs/
|
|
334
|
-
"@injectivelabs/
|
|
331
|
+
"@injectivelabs/exceptions": "1.17.2-alpha.9",
|
|
332
|
+
"@injectivelabs/networks": "1.17.2-alpha.9",
|
|
333
|
+
"@injectivelabs/ts-types": "1.17.2-alpha.9",
|
|
334
|
+
"@injectivelabs/utils": "1.17.2-alpha.9"
|
|
335
335
|
},
|
|
336
336
|
"devDependencies": {
|
|
337
337
|
"shx": "^0.3.4"
|