@injectivelabs/sdk-ts 1.20.15 → 1.20.17
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-xrQAr-fH.cjs → AbacusGrpcApi-Dwlpk6jY.cjs} +2 -2
- package/dist/cjs/{BaseGrpcConsumer-CgIbwIvJ.d.cts → BaseGrpcConsumer-CUdc9vEY.d.cts} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-DHYpiqn5.cjs → BaseGrpcConsumer-zA9DIfEw.cjs} +24 -24
- package/dist/cjs/{BaseIndexerGrpcConsumer-GHyeUHdH.cjs → BaseIndexerGrpcConsumer-CQBZ05BC.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-MspF9deW.cjs → ChainGrpcExchangeApi-vxOV2B57.cjs} +4 -4
- package/dist/cjs/{ChainRestTendermintApi-TZoqfN-E.cjs → ChainRestTendermintApi-Sni05dAJ.cjs} +7 -6
- package/dist/cjs/{DirectEthSecp256k1Wallet-D_rQWJR4.cjs → DirectEthSecp256k1Wallet-CbsATe2T.cjs} +14 -14
- package/dist/cjs/{ExecArgNeptuneWithdraw-ChJ7QUin.cjs → ExecArgNeptuneWithdraw-Sqk_zPQx.cjs} +7 -6
- package/dist/cjs/{IndexerGrpcWeb3GwApi-Cj9gotHt.cjs → IndexerGrpcWeb3GwApi-KVLJE-jW.cjs} +11 -10
- package/dist/cjs/{MsgBase-CAiwUyBz.cjs → MsgBase-BJmf0IHm.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-BDNtlSxx.cjs → MsgSetDenomMetadata-BQbzOfkE.cjs} +33 -31
- package/dist/cjs/{OLPGrpcApi-BqcMEdma.cjs → OLPGrpcApi-BNAfesZy.cjs} +2 -2
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-CbfuOlxa.cjs → QueryTradingStrategyContractTotalStrategies-i7GNf-2z.cjs} +29 -29
- package/dist/cjs/{StreamManagerV2-Bo7m_nUZ.cjs → StreamManagerV2-qxdppofP.cjs} +72 -71
- package/dist/cjs/{TcAbacusGrpcApi-7a0vFnWK.cjs → TcAbacusGrpcApi-DRKR_enO.cjs} +2 -2
- package/dist/cjs/{accounts-gu3aR3dJ.cjs → accounts-pXwUOxWb.cjs} +38 -35
- package/dist/cjs/address-light-B5-DYwES.d.cts +14 -0
- package/dist/cjs/address-light-C_a6b8yF.cjs +114 -0
- package/dist/cjs/{chain-lo3Cyc0M.cjs → chain-DHppVc1K.cjs} +36 -35
- package/dist/cjs/client/abacus.cjs +6 -5
- package/dist/cjs/client/abacus.d.cts +5 -4
- package/dist/cjs/client/chain.cjs +14 -9
- package/dist/cjs/client/chain.d.cts +14 -9
- package/dist/cjs/client/indexer.cjs +15 -10
- package/dist/cjs/client/indexer.d.cts +14 -9
- package/dist/cjs/client/olp.cjs +7 -6
- package/dist/cjs/client/olp.d.cts +5 -4
- package/dist/cjs/client/tcAbacus.cjs +6 -5
- package/dist/cjs/client/tcAbacus.d.cts +5 -4
- package/dist/cjs/client/wasm.cjs +17 -12
- package/dist/cjs/client/wasm.d.cts +4 -3
- package/dist/cjs/coins-DRrEtaSG.cjs +20 -0
- package/dist/cjs/coins-JbAREn6e.d.cts +7 -0
- package/dist/cjs/constants-DSzHAIp3.d.cts +10 -0
- package/dist/cjs/constants-tPGACRGC.cjs +53 -0
- package/dist/cjs/core/accounts.cjs +9 -5
- package/dist/cjs/core/accounts.d.cts +14 -9
- package/dist/cjs/core/modules.cjs +20 -15
- package/dist/cjs/core/modules.d.cts +14 -9
- package/dist/cjs/core/tx.cjs +17 -12
- package/dist/cjs/core/tx.d.cts +14 -9
- package/dist/cjs/cosmjs.cjs +18 -13
- package/dist/cjs/cosmjs.d.cts +2 -2
- package/dist/cjs/encoding-light-CrQ0cICT.d.cts +18 -0
- package/dist/cjs/encoding-light-D96nxVLW.cjs +176 -0
- package/dist/cjs/exports.cjs +18 -13
- package/dist/cjs/exports.d.cts +2 -2
- package/dist/cjs/{index-DfNpbUN6.d.cts → index-2SjhKIkh.d.cts} +1 -1
- package/dist/cjs/{index-BEK8esHW.d.cts → index-BEwaspW_.d.cts} +7 -188
- package/dist/{esm/index-DCxzFRMk.d.ts → cjs/index-BG-nzcNI.d.cts} +3 -146
- package/dist/cjs/{index-uJW9LUqV.d.cts → index-BOj_EXVL.d.cts} +1 -1
- package/dist/cjs/{index-D3pv75E_.d.cts → index-BaPRB8bU.d.cts} +1 -1
- package/dist/cjs/{index-Ckay0hId.d.cts → index-CtkDjIwH.d.cts} +2 -2
- package/dist/cjs/{index-DiXeIFAS.d.cts → index-D5xZvGoG.d.cts} +1 -1
- package/dist/{esm/index-Bw9qjGRX.d.ts → cjs/index-DmanIXY9.d.cts} +2 -1
- package/dist/cjs/index.cjs +74 -67
- package/dist/cjs/index.d.cts +15 -10
- package/dist/cjs/light-4nNsYXxr.d.cts +241 -0
- package/dist/cjs/light-CrajlUvd.cjs +298 -0
- package/dist/cjs/proto/cosmos-tx.d.cts +1 -1
- package/dist/cjs/{service-2B8kFWdK.cjs → service-nm5Ct4_w.cjs} +18 -18
- package/dist/cjs/service.cjs +11 -6
- package/dist/cjs/service.d.cts +4 -3
- package/dist/cjs/stream-CcqYpdwJ.cjs +20 -0
- package/dist/cjs/{tx-C2jfAA8Y.cjs → tx-BlFLQ52d.cjs} +14 -13
- package/dist/cjs/types/light.cjs +20 -0
- package/dist/cjs/types/light.d.cts +2 -0
- package/dist/cjs/types-BJpWW-Rx.cjs +37 -0
- package/dist/cjs/types.cjs +14 -13
- package/dist/cjs/types.d.cts +3 -2
- package/dist/cjs/utils/address.cjs +13 -0
- package/dist/cjs/utils/address.d.cts +2 -0
- package/dist/cjs/utils/constants.cjs +9 -0
- package/dist/cjs/utils/constants.d.cts +2 -0
- package/dist/cjs/utils/encoding.cjs +17 -0
- package/dist/cjs/utils/encoding.d.cts +2 -0
- package/dist/cjs/utils/light.cjs +39 -0
- package/dist/cjs/utils/light.d.cts +5 -0
- package/dist/cjs/{utils-DbzXsOHS.cjs → utils-CH1Ojxun.cjs} +132 -592
- package/dist/cjs/utils.cjs +40 -34
- package/dist/cjs/utils.d.cts +15 -10
- package/dist/esm/{AbacusGrpcApi-CtwUxhbH.js → AbacusGrpcApi-DVO7c0mB.js} +2 -2
- package/dist/esm/{BaseGrpcConsumer-C2_ejXG6.js → BaseGrpcConsumer-Ci8sUY5h.js} +3 -3
- package/dist/esm/{BaseGrpcConsumer-C8YhjVn6.d.ts → BaseGrpcConsumer-DnPFbzJi.d.ts} +1 -1
- package/dist/esm/{BaseIndexerGrpcConsumer-B7ubNh4y.js → BaseIndexerGrpcConsumer-MGB306RP.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-46tg3Hzg.js → ChainGrpcExchangeApi-S5nJzebX.js} +4 -4
- package/dist/esm/{ChainRestTendermintApi-J6BTcNft.js → ChainRestTendermintApi-D_FQwKrf.js} +5 -4
- package/dist/esm/{DirectEthSecp256k1Wallet-DOuSBBhp.js → DirectEthSecp256k1Wallet-Daky9CEn.js} +3 -3
- package/dist/esm/{ExecArgNeptuneWithdraw-DiiRJIyN.js → ExecArgNeptuneWithdraw-ljDnPI2p.js} +4 -3
- package/dist/esm/{IndexerGrpcWeb3GwApi-43sbzWOe.js → IndexerGrpcWeb3GwApi-BWuDmOjX.js} +4 -3
- package/dist/esm/{MsgBase-C7o5mYq2.js → MsgBase-CishJWMN.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-k1Be2o9j.js → MsgSetDenomMetadata-B4Ke5u9_.js} +8 -6
- package/dist/esm/{OLPGrpcApi-DJHRAhPY.js → OLPGrpcApi-BSFkBk80.js} +2 -2
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-NvpGnD6O.js → QueryTradingStrategyContractTotalStrategies-Cfz9KGFD.js} +4 -4
- package/dist/esm/{StreamManagerV2-DiRDW-5W.js → StreamManagerV2-CLqrfNTn.js} +9 -8
- package/dist/esm/{TcAbacusGrpcApi-Dat50xET.js → TcAbacusGrpcApi-k3COziPh.js} +2 -2
- package/dist/esm/{accounts-Bu0DRjk4.js → accounts-3rypojw1.js} +6 -3
- package/dist/esm/address-light-BcZDS-ks.d.ts +14 -0
- package/dist/esm/address-light-C9skTx0P.js +48 -0
- package/dist/esm/{chain-DDGdMRsP.js → chain-DD4YqzP5.js} +6 -5
- package/dist/esm/client/abacus.d.ts +5 -4
- package/dist/esm/client/abacus.js +6 -5
- package/dist/esm/client/chain.d.ts +14 -9
- package/dist/esm/client/chain.js +14 -9
- package/dist/esm/client/indexer.d.ts +14 -9
- package/dist/esm/client/indexer.js +15 -10
- package/dist/esm/client/olp.d.ts +5 -4
- package/dist/esm/client/olp.js +7 -6
- package/dist/esm/client/tcAbacus.d.ts +5 -4
- package/dist/esm/client/tcAbacus.js +6 -5
- package/dist/esm/client/wasm.d.ts +4 -3
- package/dist/esm/client/wasm.js +17 -12
- package/dist/esm/coins-D4vONigS.js +14 -0
- package/dist/esm/coins-ceq0Id0M.d.ts +7 -0
- package/dist/esm/constants-BZ28P_pH.d.ts +10 -0
- package/dist/esm/constants-CCVyqUU9.js +11 -0
- package/dist/esm/core/accounts.d.ts +14 -9
- package/dist/esm/core/accounts.js +9 -5
- package/dist/esm/core/modules.d.ts +14 -9
- package/dist/esm/core/modules.js +20 -15
- package/dist/esm/core/tx.d.ts +14 -9
- package/dist/esm/core/tx.js +17 -12
- package/dist/esm/cosmjs.d.ts +2 -2
- package/dist/esm/cosmjs.js +18 -13
- package/dist/esm/encoding-light-18k0e_8v.d.ts +18 -0
- package/dist/esm/encoding-light-DHtTGSg1.js +86 -0
- package/dist/esm/exports.d.ts +2 -2
- package/dist/esm/exports.js +18 -13
- package/dist/{cjs/index-DpsYFbif.d.cts → esm/index-81riAHnR.d.ts} +2 -1
- package/dist/esm/{index-JlA-uSsc.d.ts → index-B73CV7nM.d.ts} +1 -1
- package/dist/{cjs/index-DYAz6OYS.d.cts → esm/index-BJJNBulw.d.ts} +3 -146
- package/dist/esm/{index-DA42BIjg.d.ts → index-CFTXl2dv.d.ts} +1 -1
- package/dist/esm/{index-BrfNx2yV.d.ts → index-D3kPbyYA.d.ts} +1 -1
- package/dist/esm/{index-CZhX_Ynf.d.ts → index-DcPKOj0m.d.ts} +2 -2
- package/dist/esm/{index-CTAobhk3.d.ts → index-DuNPINdp.d.ts} +7 -188
- package/dist/esm/{index-B0mpSZSK.d.ts → index-SZeXNgo8.d.ts} +1 -1
- package/dist/esm/index.d.ts +15 -10
- package/dist/esm/index.js +29 -24
- package/dist/esm/light-BflupdEX.js +190 -0
- package/dist/esm/light-Cr4m0DAA.d.ts +241 -0
- package/dist/esm/proto/cosmos-tx.d.ts +1 -1
- package/dist/esm/{service-Uo4J-lwR.js → service-BER-mZkG.js} +3 -3
- package/dist/esm/service.d.ts +4 -3
- package/dist/esm/service.js +11 -6
- package/dist/esm/stream-BqkNM_6g.js +14 -0
- package/dist/esm/{tx-Ajrd7cHg.js → tx-Pg714BW8.js} +7 -6
- package/dist/esm/types/light.d.ts +2 -0
- package/dist/esm/types/light.js +3 -0
- package/dist/esm/types-BAV0654v.js +24 -0
- package/dist/esm/types.d.ts +3 -2
- package/dist/esm/types.js +3 -2
- package/dist/esm/utils/address.d.ts +2 -0
- package/dist/esm/utils/address.js +3 -0
- package/dist/esm/utils/constants.d.ts +2 -0
- package/dist/esm/utils/constants.js +3 -0
- package/dist/esm/utils/encoding.d.ts +2 -0
- package/dist/esm/utils/encoding.js +3 -0
- package/dist/esm/utils/light.d.ts +5 -0
- package/dist/esm/utils/light.js +6 -0
- package/dist/esm/{utils-bfl-Zimr.js → utils-B3t50ZnB.js} +125 -393
- package/dist/esm/utils.d.ts +15 -10
- package/dist/esm/utils.js +7 -3
- package/package.json +105 -5
- package/dist/cjs/stream-CfBvG3Ln.cjs +0 -87
- package/dist/cjs/types-Cn54Lzf-.cjs +0 -161
- package/dist/esm/stream-Cdx47Nhx.js +0 -63
- package/dist/esm/types-DQ7rwavH.js +0 -100
- /package/dist/cjs/{BaseRestConsumer-uSzCOit7.cjs → BaseRestConsumer-BcHgNcNh.cjs} +0 -0
- /package/dist/cjs/{defineProperty-DAtJs5JQ.cjs → defineProperty-C3FP2y9Y.cjs} +0 -0
- /package/dist/cjs/{grpc-FG2z-ICE.cjs → grpc-3Z8ffFdZ.cjs} +0 -0
- /package/dist/cjs/{tx_pb-7h617od9.d.cts → tx_pb-BmZhAoWC.d.cts} +0 -0
- /package/dist/esm/{BaseRestConsumer-DMS02DwS.js → BaseRestConsumer-L3j9-i4T.js} +0 -0
- /package/dist/esm/{defineProperty-CmydwPCD.js → defineProperty-C0TI9N8m.js} +0 -0
- /package/dist/esm/{grpc-lYZqzL0k.js → grpc-aI_RLGoG.js} +0 -0
- /package/dist/esm/{tx_pb-Bb9pvoP6.d.ts → tx_pb-DhFh6sWY.d.ts} +0 -0
package/dist/esm/core/tx.js
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import
|
|
1
|
+
import "../encoding-light-DHtTGSg1.js";
|
|
2
|
+
import "../constants-CCVyqUU9.js";
|
|
3
|
+
import "../defineProperty-C0TI9N8m.js";
|
|
4
|
+
import { A as getTransactionPartsFromTxRaw, C as createSignDocFromTransaction, D as createWeb3Extension, E as createTxRawEIP712, M as createAnyMessage, N as getEthereumSignerAddress, O as getAminoStdSignDoc, P as getInjectiveSignerAddress, S as createSignDoc, T as createSigners, _ as getTypesIncludingFeeOptions, b as createFee, c as getEip712TypedDataV2, d as getEip712Domain, f as getEip712DomainV2, g as getEipTxDetails, h as getEipTxContext, j as createAny, k as getPublicKey, l as getDefaultEip712Types, m as getEip712FeeV2, p as getEip712Fee, r as MsgDecoder, s as getEip712TypedData, u as getDefaultEip712TypesV2, v as createAuthInfo, w as createSignerInfo, x as createNonCriticalExtensionFromObject, y as createBody } from "../accounts-3rypojw1.js";
|
|
5
|
+
import "../utils-B3t50ZnB.js";
|
|
6
|
+
import "../grpc-aI_RLGoG.js";
|
|
7
|
+
import "../coins-D4vONigS.js";
|
|
8
|
+
import "../address-light-C9skTx0P.js";
|
|
9
|
+
import { a as objectKeysToEip712Types, c as stringTypeToReflectionStringType, i as numberTypeToReflectionNumberType, o as patchOrderTypesWithExpirationBlock, r as getObjectEip712PropertyType, s as protoTypeToAminoType } from "../MsgBase-CishJWMN.js";
|
|
10
|
+
import "../ChainRestTendermintApi-D_FQwKrf.js";
|
|
11
|
+
import "../light-BflupdEX.js";
|
|
12
|
+
import "../stream-BqkNM_6g.js";
|
|
13
|
+
import "../BaseGrpcConsumer-Ci8sUY5h.js";
|
|
14
|
+
import "../BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
15
|
+
import "../BaseRestConsumer-L3j9-i4T.js";
|
|
16
|
+
import "../IndexerGrpcWeb3GwApi-BWuDmOjX.js";
|
|
17
|
+
import { C as SIGN_DIRECT, D as isTxNotFoundError, E as errorToErrorMessage, S as SIGN_AMINO, T as SIGN_EIP712_V2, _ as createTransactionWithSigners, a as BroadcastMode, b as CosmosTxV1Beta1TxPb, c as normalizeTendermintWebSocketEndpoint, d as TxInclusionStrategy, f as createTransaction, g as createTransactionFromMsg, h as createTransactionForAddressAndMsg, i as TxRestApi, l as subscribeToTendermintTxEvent, m as createTransactionAndCosmosSignDocForAddressAndMsg, n as generateArbitrarySignDoc, o as BroadcastModeKeplr, p as createTransactionAndCosmosSignDoc, r as waitTxBroadcasted, s as TxGrpcApi, t as MsgBroadcasterWithPk, u as TxClientMode, v as createTxRawFromSigResponse, w as SIGN_EIP712, x as TxClient, y as getTxRawFromTxRawOrDirectSignResponse } from "../tx-Pg714BW8.js";
|
|
13
18
|
|
|
14
19
|
export { BroadcastMode, BroadcastModeKeplr, CosmosTxV1Beta1TxPb, MsgBroadcasterWithPk, MsgDecoder, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, TxClient, TxClientMode, TxGrpcApi, TxInclusionStrategy, TxRestApi, createAny, createAnyMessage, createAuthInfo, createBody, createFee, createNonCriticalExtensionFromObject, createSignDoc, createSignDocFromTransaction, createSignerInfo, createSigners, createTransaction, createTransactionAndCosmosSignDoc, createTransactionAndCosmosSignDocForAddressAndMsg, createTransactionForAddressAndMsg, createTransactionFromMsg, createTransactionWithSigners, createTxRawEIP712, createTxRawFromSigResponse, createWeb3Extension, errorToErrorMessage, generateArbitrarySignDoc, getAminoStdSignDoc, getDefaultEip712Types, getDefaultEip712TypesV2, getEip712Domain, getEip712DomainV2, getEip712Fee, getEip712FeeV2, getEip712TypedData, getEip712TypedDataV2, getEipTxContext, getEipTxDetails, getEthereumSignerAddress, getInjectiveSignerAddress, getObjectEip712PropertyType, getPublicKey, getTransactionPartsFromTxRaw, getTxRawFromTxRawOrDirectSignResponse, getTypesIncludingFeeOptions, isTxNotFoundError, normalizeTendermintWebSocketEndpoint, numberTypeToReflectionNumberType, objectKeysToEip712Types, patchOrderTypesWithExpirationBlock, protoTypeToAminoType, stringTypeToReflectionStringType, subscribeToTendermintTxEvent, waitTxBroadcasted };
|
package/dist/esm/cosmjs.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-
|
|
1
|
+
import "./tx_pb-DhFh6sWY.js";
|
|
2
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-CFTXl2dv.js";
|
|
3
3
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
package/dist/esm/cosmjs.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import
|
|
1
|
+
import "./encoding-light-DHtTGSg1.js";
|
|
2
|
+
import "./constants-CCVyqUU9.js";
|
|
3
|
+
import "./defineProperty-C0TI9N8m.js";
|
|
4
|
+
import "./accounts-3rypojw1.js";
|
|
5
|
+
import "./utils-B3t50ZnB.js";
|
|
6
|
+
import "./grpc-aI_RLGoG.js";
|
|
7
|
+
import "./coins-D4vONigS.js";
|
|
8
|
+
import "./address-light-C9skTx0P.js";
|
|
9
|
+
import "./MsgBase-CishJWMN.js";
|
|
10
|
+
import "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
11
|
+
import "./light-BflupdEX.js";
|
|
12
|
+
import "./stream-BqkNM_6g.js";
|
|
13
|
+
import "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
14
|
+
import "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
15
|
+
import "./BaseRestConsumer-L3j9-i4T.js";
|
|
16
|
+
import "./IndexerGrpcWeb3GwApi-BWuDmOjX.js";
|
|
17
|
+
import "./tx-Pg714BW8.js";
|
|
18
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./DirectEthSecp256k1Wallet-Daky9CEn.js";
|
|
14
19
|
|
|
15
20
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/utils/encoding-light.d.ts
|
|
2
|
+
declare function hexToUint8Array(hex: string): Uint8Array;
|
|
3
|
+
declare function uint8ArrayToHex(arr: Uint8Array): string;
|
|
4
|
+
declare function base64ToUint8Array(base64String: string): Uint8Array;
|
|
5
|
+
declare function uint8ArrayToBase64(arr: Uint8Array): string;
|
|
6
|
+
declare function stringToUint8Array(str: string): Uint8Array;
|
|
7
|
+
declare function hexToBuff(hex: string): Uint8Array;
|
|
8
|
+
declare function hexToBase64(hex: string): string;
|
|
9
|
+
declare function base64ToUtf8(base64String: string): string;
|
|
10
|
+
declare function fromUtf8(str: Uint8Array | string): Uint8Array;
|
|
11
|
+
declare function toUtf8(data: Uint8Array | string): string;
|
|
12
|
+
declare function uint8ArrayToString(string: string | Uint8Array | null | undefined): string;
|
|
13
|
+
declare function binaryToBase64(data: string | Uint8Array): string;
|
|
14
|
+
declare function toBase64(data: Record<string, any>): string;
|
|
15
|
+
declare function fromBase64(payload: string): Record<string, any>;
|
|
16
|
+
declare function concatUint8Arrays(arrays: Uint8Array[]): Uint8Array;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { fromBase64 as a, hexToBuff as c, toBase64 as d, toUtf8 as f, uint8ArrayToString as h, concatUint8Arrays as i, hexToUint8Array as l, uint8ArrayToHex as m, base64ToUtf8 as n, fromUtf8 as o, uint8ArrayToBase64 as p, binaryToBase64 as r, hexToBase64 as s, base64ToUint8Array as t, stringToUint8Array as u };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { base64 } from "@scure/base";
|
|
2
|
+
|
|
3
|
+
//#region src/utils/encoding-light.ts
|
|
4
|
+
const HEX_PATTERN = /^[0-9a-fA-F]*$/;
|
|
5
|
+
const normalizeHex = (hex) => {
|
|
6
|
+
if (typeof hex !== "string") throw new Error("Hex string must be a string");
|
|
7
|
+
if (hex.trim() === "") throw new Error("Hex string cannot be empty");
|
|
8
|
+
const actualHex = hex.replace(/^0x/i, "");
|
|
9
|
+
if (!HEX_PATTERN.test(actualHex) || actualHex.length % 2 !== 0) throw new Error(`Invalid hex string: ${hex}`);
|
|
10
|
+
return actualHex;
|
|
11
|
+
};
|
|
12
|
+
const bigIntReplacer = (_key, value) => typeof value === "bigint" ? value.toString() : value;
|
|
13
|
+
function hexToUint8Array(hex) {
|
|
14
|
+
var _actualHex$match;
|
|
15
|
+
const actualHex = normalizeHex(hex);
|
|
16
|
+
return Uint8Array.from(((_actualHex$match = actualHex.match(/.{1,2}/g)) === null || _actualHex$match === void 0 ? void 0 : _actualHex$match.map((byte) => Number.parseInt(byte, 16))) || []);
|
|
17
|
+
}
|
|
18
|
+
function uint8ArrayToHex(arr) {
|
|
19
|
+
return Array.from(arr, (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
20
|
+
}
|
|
21
|
+
function base64ToUint8Array(base64String) {
|
|
22
|
+
if (typeof base64String !== "string") throw new Error("Base64 string must be a string");
|
|
23
|
+
if (base64String.trim() === "") throw new Error("Base64 string cannot be empty");
|
|
24
|
+
try {
|
|
25
|
+
return base64.decode(base64String);
|
|
26
|
+
} catch (_unused) {
|
|
27
|
+
throw new Error(`Invalid base64 string: ${base64String}`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function uint8ArrayToBase64(arr) {
|
|
31
|
+
return base64.encode(arr);
|
|
32
|
+
}
|
|
33
|
+
function stringToUint8Array(str) {
|
|
34
|
+
return new TextEncoder().encode(str);
|
|
35
|
+
}
|
|
36
|
+
function hexToBuff(hex) {
|
|
37
|
+
return hexToUint8Array(hex.startsWith("0x") ? hex.slice(2) : hex);
|
|
38
|
+
}
|
|
39
|
+
function hexToBase64(hex) {
|
|
40
|
+
return uint8ArrayToBase64(hexToUint8Array(hex.startsWith("0x") ? hex.slice(2) : hex));
|
|
41
|
+
}
|
|
42
|
+
function base64ToUtf8(base64String) {
|
|
43
|
+
return toUtf8(base64ToUint8Array(base64String));
|
|
44
|
+
}
|
|
45
|
+
function fromUtf8(str) {
|
|
46
|
+
if (typeof str !== "string") return str;
|
|
47
|
+
return stringToUint8Array(str);
|
|
48
|
+
}
|
|
49
|
+
function toUtf8(data) {
|
|
50
|
+
if (typeof data === "string") return data;
|
|
51
|
+
return new TextDecoder().decode(data);
|
|
52
|
+
}
|
|
53
|
+
function uint8ArrayToString(string) {
|
|
54
|
+
if (!string) return "";
|
|
55
|
+
if (!(string instanceof Uint8Array)) return string;
|
|
56
|
+
return new TextDecoder().decode(string);
|
|
57
|
+
}
|
|
58
|
+
function binaryToBase64(data) {
|
|
59
|
+
return typeof data === "string" ? data : uint8ArrayToBase64(data);
|
|
60
|
+
}
|
|
61
|
+
function toBase64(data) {
|
|
62
|
+
return uint8ArrayToBase64(stringToUint8Array(JSON.stringify(data, bigIntReplacer)));
|
|
63
|
+
}
|
|
64
|
+
function fromBase64(payload) {
|
|
65
|
+
if (typeof payload !== "string") throw new Error("Base64 payload must be a string");
|
|
66
|
+
if (payload.trim() === "") throw new Error("Base64 payload cannot be empty");
|
|
67
|
+
try {
|
|
68
|
+
const decoded = new TextDecoder().decode(base64ToUint8Array(payload));
|
|
69
|
+
return JSON.parse(decoded);
|
|
70
|
+
} catch (_unused2) {
|
|
71
|
+
throw new Error(`Failed to decode base64 JSON: ${payload}`);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
function concatUint8Arrays(arrays) {
|
|
75
|
+
const totalLength = arrays.reduce((sum, arr) => sum + arr.length, 0);
|
|
76
|
+
const result = new Uint8Array(totalLength);
|
|
77
|
+
let offset = 0;
|
|
78
|
+
for (const arr of arrays) {
|
|
79
|
+
result.set(arr, offset);
|
|
80
|
+
offset += arr.length;
|
|
81
|
+
}
|
|
82
|
+
return result;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
//#endregion
|
|
86
|
+
export { fromBase64 as a, hexToBuff as c, toBase64 as d, toUtf8 as f, uint8ArrayToString as h, concatUint8Arrays as i, hexToUint8Array as l, uint8ArrayToHex as m, base64ToUtf8 as n, fromUtf8 as o, uint8ArrayToBase64 as p, binaryToBase64 as r, hexToBase64 as s, base64ToUint8Array as t, stringToUint8Array as u };
|
package/dist/esm/exports.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-
|
|
1
|
+
import "./tx_pb-DhFh6sWY.js";
|
|
2
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./index-CFTXl2dv.js";
|
|
3
3
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
package/dist/esm/exports.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import
|
|
1
|
+
import "./encoding-light-DHtTGSg1.js";
|
|
2
|
+
import "./constants-CCVyqUU9.js";
|
|
3
|
+
import "./defineProperty-C0TI9N8m.js";
|
|
4
|
+
import "./accounts-3rypojw1.js";
|
|
5
|
+
import "./utils-B3t50ZnB.js";
|
|
6
|
+
import "./grpc-aI_RLGoG.js";
|
|
7
|
+
import "./coins-D4vONigS.js";
|
|
8
|
+
import "./address-light-C9skTx0P.js";
|
|
9
|
+
import "./MsgBase-CishJWMN.js";
|
|
10
|
+
import "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
11
|
+
import "./light-BflupdEX.js";
|
|
12
|
+
import "./stream-BqkNM_6g.js";
|
|
13
|
+
import "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
14
|
+
import "./BaseIndexerGrpcConsumer-MGB306RP.js";
|
|
15
|
+
import "./BaseRestConsumer-L3j9-i4T.js";
|
|
16
|
+
import "./IndexerGrpcWeb3GwApi-BWuDmOjX.js";
|
|
17
|
+
import "./tx-Pg714BW8.js";
|
|
18
|
+
import { a as accountParser, i as StargateClient, n as EthSecp256k1Wallet, o as MsgTransferCosmjs, r as SigningStargateClient, t as DirectEthSecp256k1Wallet } from "./DirectEthSecp256k1Wallet-Daky9CEn.js";
|
|
14
19
|
|
|
15
20
|
export { DirectEthSecp256k1Wallet as InjectiveDirectEthSecp256k1Wallet, EthSecp256k1Wallet as InjectiveEthSecp256k1Wallet, SigningStargateClient as InjectiveSigningStargateClient, StargateClient as InjectiveStargateClient, MsgTransferCosmjs, accountParser as injectiveAccountParser };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dt as TokenSource, ft as TokenStatic } from "./index-BJJNBulw.js";
|
|
2
|
+
import { b as TokenVerification, y as TokenType } from "./light-Cr4m0DAA.js";
|
|
2
3
|
import { Network } from "@injectivelabs/networks";
|
|
3
4
|
|
|
4
5
|
//#region src/service/TokenPrice.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
1
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DnPFbzJi.js";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.6/node_modules/@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.d.ts
|
|
4
4
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { d as Coin$1, i as SignDoc$1, s as TxRaw$1 } from "./tx_pb-
|
|
1
|
+
import { d as Coin$1, i as SignDoc$1, s as TxRaw$1 } from "./tx_pb-DhFh6sWY.js";
|
|
2
|
+
import { b as TokenVerification, g as StreamDisconnectReason, y as TokenType } from "./light-Cr4m0DAA.js";
|
|
2
3
|
import { AminoSignResponse as AminoSignResponse$1 } from "@cosmjs/amino";
|
|
3
4
|
import { DirectSignResponse as DirectSignResponse$1 } from "@cosmjs/proto-signing";
|
|
4
5
|
|
|
@@ -1766,28 +1767,6 @@ interface RpcOptions {
|
|
|
1766
1767
|
}
|
|
1767
1768
|
//#endregion
|
|
1768
1769
|
//#region src/types/token.d.ts
|
|
1769
|
-
declare const TokenType: {
|
|
1770
|
-
readonly Ibc: "ibc";
|
|
1771
|
-
readonly Cw20: "cw20";
|
|
1772
|
-
readonly Spl: "spl";
|
|
1773
|
-
readonly Erc20: "erc20";
|
|
1774
|
-
readonly Lp: "lp";
|
|
1775
|
-
readonly Evm: "evm";
|
|
1776
|
-
readonly Native: "native";
|
|
1777
|
-
readonly Symbol: "symbol";
|
|
1778
|
-
readonly TokenFactory: "tokenFactory";
|
|
1779
|
-
readonly InsuranceFund: "insuranceFund";
|
|
1780
|
-
readonly Unknown: "unknown";
|
|
1781
|
-
};
|
|
1782
|
-
type TokenType = (typeof TokenType)[keyof typeof TokenType];
|
|
1783
|
-
declare const TokenVerification: {
|
|
1784
|
-
readonly Verified: "verified";
|
|
1785
|
-
readonly Submitted: "submitted";
|
|
1786
|
-
readonly Internal: "internal";
|
|
1787
|
-
readonly External: "external";
|
|
1788
|
-
readonly Unverified: "unverified";
|
|
1789
|
-
};
|
|
1790
|
-
type TokenVerification = (typeof TokenVerification)[keyof typeof TokenVerification];
|
|
1791
1770
|
declare const TokenSource: {
|
|
1792
1771
|
readonly Aptos: "aptos";
|
|
1793
1772
|
readonly Solana: "solana";
|
|
@@ -1833,67 +1812,6 @@ interface TokenMeta {
|
|
|
1833
1812
|
}
|
|
1834
1813
|
//#endregion
|
|
1835
1814
|
//#region src/types/stream.d.ts
|
|
1836
|
-
/**
|
|
1837
|
-
* Subscription interface for stream management with event-based lifecycle
|
|
1838
|
-
*/
|
|
1839
|
-
/**
|
|
1840
|
-
* gRPC Status Codes
|
|
1841
|
-
* @see https://grpc.io/docs/guides/status-codes/
|
|
1842
|
-
*/
|
|
1843
|
-
declare const GrpcStatusCode: {
|
|
1844
|
-
readonly OK: 0;
|
|
1845
|
-
readonly CANCELLED: 1;
|
|
1846
|
-
readonly UNKNOWN: 2;
|
|
1847
|
-
readonly INVALID_ARGUMENT: 3;
|
|
1848
|
-
readonly DEADLINE_EXCEEDED: 4;
|
|
1849
|
-
readonly NOT_FOUND: 5;
|
|
1850
|
-
readonly ALREADY_EXISTS: 6;
|
|
1851
|
-
readonly PERMISSION_DENIED: 7;
|
|
1852
|
-
readonly RESOURCE_EXHAUSTED: 8;
|
|
1853
|
-
readonly FAILED_PRECONDITION: 9;
|
|
1854
|
-
readonly ABORTED: 10;
|
|
1855
|
-
readonly OUT_OF_RANGE: 11;
|
|
1856
|
-
readonly UNIMPLEMENTED: 12;
|
|
1857
|
-
readonly INTERNAL: 13;
|
|
1858
|
-
readonly UNAVAILABLE: 14;
|
|
1859
|
-
readonly DATA_LOSS: 15;
|
|
1860
|
-
readonly UNAUTHENTICATED: 16;
|
|
1861
|
-
};
|
|
1862
|
-
type GrpcStatusCode = (typeof GrpcStatusCode)[keyof typeof GrpcStatusCode];
|
|
1863
|
-
/**
|
|
1864
|
-
* Enhanced disconnect reasons with gRPC error code mapping
|
|
1865
|
-
*/
|
|
1866
|
-
declare const StreamDisconnectReason: {
|
|
1867
|
-
/** User explicitly called stop() */
|
|
1868
|
-
readonly UserStopped: "user-stopped";
|
|
1869
|
-
/** Stream encountered an error */
|
|
1870
|
-
readonly StreamError: "stream-error";
|
|
1871
|
-
/** Network unavailable (gRPC code 14) */
|
|
1872
|
-
readonly NetworkError: "network-error";
|
|
1873
|
-
/** Request timeout (gRPC code 4) */
|
|
1874
|
-
readonly Timeout: "timeout";
|
|
1875
|
-
/** Authentication/authorization failed (gRPC code 7 or 16) */
|
|
1876
|
-
readonly AuthenticationError: "authentication-error";
|
|
1877
|
-
/** Invalid request - non-retryable (gRPC code 3, 5, 6, 11, 12) */
|
|
1878
|
-
readonly InvalidRequest: "invalid-request";
|
|
1879
|
-
/** Rate limited (gRPC code 8) */
|
|
1880
|
-
readonly RateLimited: "rate-limited";
|
|
1881
|
-
/** Max retry attempts reached */
|
|
1882
|
-
readonly MaxRetries: "max-retries";
|
|
1883
|
-
/** Stream ended normally */
|
|
1884
|
-
readonly StreamEnded: "stream-ended";
|
|
1885
|
-
};
|
|
1886
|
-
type StreamDisconnectReason = (typeof StreamDisconnectReason)[keyof typeof StreamDisconnectReason];
|
|
1887
|
-
declare const StreamEvent: {
|
|
1888
|
-
readonly Data: "data";
|
|
1889
|
-
readonly Connect: "connect";
|
|
1890
|
-
readonly Disconnect: "disconnect";
|
|
1891
|
-
readonly Retry: "retry";
|
|
1892
|
-
readonly StateChange: "state:change";
|
|
1893
|
-
readonly Error: "error";
|
|
1894
|
-
readonly Warn: "warn";
|
|
1895
|
-
};
|
|
1896
|
-
type StreamEvent = (typeof StreamEvent)[keyof typeof StreamEvent];
|
|
1897
1815
|
interface StreamSubscription {
|
|
1898
1816
|
/** Unsubscribe from the stream and cancel it */
|
|
1899
1817
|
unsubscribe(): void;
|
|
@@ -3995,53 +3913,6 @@ declare const EffectiveGrant = new EffectiveGrant$Type();
|
|
|
3995
3913
|
declare const DenomMinNotional = new DenomMinNotional$Type();
|
|
3996
3914
|
//#endregion
|
|
3997
3915
|
//#region src/types/exchange.d.ts
|
|
3998
|
-
/**
|
|
3999
|
-
* Trade and Order types
|
|
4000
|
-
*/
|
|
4001
|
-
declare const TradeExecutionType: {
|
|
4002
|
-
readonly Market: "market";
|
|
4003
|
-
readonly LimitFill: "limitFill";
|
|
4004
|
-
readonly LimitMatchRestingOrder: "limitMatchRestingOrder";
|
|
4005
|
-
readonly LimitMatchNewOrder: "limitMatchNewOrder";
|
|
4006
|
-
};
|
|
4007
|
-
type TradeExecutionType = (typeof TradeExecutionType)[keyof typeof TradeExecutionType];
|
|
4008
|
-
declare const TradeExecutionSide: {
|
|
4009
|
-
readonly Maker: "maker";
|
|
4010
|
-
readonly Taker: "taker";
|
|
4011
|
-
};
|
|
4012
|
-
type TradeExecutionSide = (typeof TradeExecutionSide)[keyof typeof TradeExecutionSide];
|
|
4013
|
-
declare const TradeDirection: {
|
|
4014
|
-
readonly Buy: "buy";
|
|
4015
|
-
readonly Sell: "sell";
|
|
4016
|
-
readonly Long: "long";
|
|
4017
|
-
readonly Short: "short";
|
|
4018
|
-
};
|
|
4019
|
-
type TradeDirection = (typeof TradeDirection)[keyof typeof TradeDirection];
|
|
4020
|
-
declare const OrderState: {
|
|
4021
|
-
readonly Unfilled: "unfilled";
|
|
4022
|
-
readonly Booked: "booked";
|
|
4023
|
-
readonly PartialFilled: "partial_filled";
|
|
4024
|
-
readonly PartiallyFilled: "partially_filled";
|
|
4025
|
-
readonly Filled: "filled";
|
|
4026
|
-
readonly Canceled: "canceled";
|
|
4027
|
-
readonly Triggered: "triggered";
|
|
4028
|
-
};
|
|
4029
|
-
type OrderState = (typeof OrderState)[keyof typeof OrderState];
|
|
4030
|
-
declare const OrderSide: {
|
|
4031
|
-
readonly Unspecified: "unspecified";
|
|
4032
|
-
readonly Buy: "buy";
|
|
4033
|
-
readonly Sell: "sell";
|
|
4034
|
-
readonly StopBuy: "stop_buy";
|
|
4035
|
-
readonly StopSell: "stop_sell";
|
|
4036
|
-
readonly TakeBuy: "take_buy";
|
|
4037
|
-
readonly TakeSell: "take_sell";
|
|
4038
|
-
readonly BuyPO: "buy_po";
|
|
4039
|
-
readonly SellPO: "sell_po";
|
|
4040
|
-
readonly BuyAtomic: "buy_atomic";
|
|
4041
|
-
readonly SellAtomic: "sell_atomic";
|
|
4042
|
-
readonly Unrecognized: "unrecognized";
|
|
4043
|
-
};
|
|
4044
|
-
type OrderSide = (typeof OrderSide)[keyof typeof OrderSide];
|
|
4045
3916
|
type OrderMask = OrderMask$1;
|
|
4046
3917
|
declare const OrderMaskMap: typeof OrderMask$1;
|
|
4047
3918
|
//#endregion
|
|
@@ -4094,20 +3965,6 @@ type TxRaw = TxRaw$1;
|
|
|
4094
3965
|
type SignDoc = SignDoc$1;
|
|
4095
3966
|
type GrpcCoin = Coin$1;
|
|
4096
3967
|
//#endregion
|
|
4097
|
-
//#region src/types/stream-legacy.d.ts
|
|
4098
|
-
/**
|
|
4099
|
-
* Legacy stream operation types
|
|
4100
|
-
* Used by indexer stream transformers
|
|
4101
|
-
*/
|
|
4102
|
-
declare const StreamOperation: {
|
|
4103
|
-
readonly Insert: "insert";
|
|
4104
|
-
readonly Delete: "delete";
|
|
4105
|
-
readonly Replace: "replace";
|
|
4106
|
-
readonly Update: "update";
|
|
4107
|
-
readonly Invalidate: "invalidate";
|
|
4108
|
-
};
|
|
4109
|
-
type StreamOperation = (typeof StreamOperation)[keyof typeof StreamOperation];
|
|
4110
|
-
//#endregion
|
|
4111
3968
|
//#region src/types/pagination.d.ts
|
|
4112
3969
|
interface PaginationOption {
|
|
4113
3970
|
key?: string;
|
|
@@ -4138,4 +3995,4 @@ interface ExchangePagination {
|
|
|
4138
3995
|
next?: string[];
|
|
4139
3996
|
}
|
|
4140
3997
|
//#endregion
|
|
4141
|
-
export {
|
|
3998
|
+
export { BandIBCParams as $, FeeDiscountTierInfo as A, Params as B, DerivativeMarket as C, EffectiveGrant as D, DerivativeOrder as E, MarketVolume as F, SpotLimitOrder as G, PerpetualMarketInfo as H, MidPriceAndTOB as I, SpotOrder as J, SpotMarket as K, OrderInfo as L, GrantAuthorization as M, MarketFeeMultiplier as N, ExpiryFuturesMarketInfo as O, MarketStatus as P, TradingRewardCampaignInfo as Q, OrderMask$1 as R, DerivativeLimitOrder as S, DerivativeMarketSettlementInfo as T, PointsMultiplier as U, PerpetualMarketFunding as V, Position as W, TradeRecords as X, SubaccountTradeNonce as Y, TradingRewardCampaignBoostInfo as Z, BinaryOptionsMarket as _, ClientStreamingCall as _t, AminoSignResponse$1 as a, StreamManagerConfig as at, DenomMinNotional as b, GrpcCoin as c, StreamState as ct, GrpcWebTransportAdditionalOptions as d, TokenSource as dt, BandOracleRequest as et, GrpcWebOptions as f, TokenStatic as ft, AggregateSubaccountVolumeRecord as g, DuplexStreamingCall as gt, ActiveGrant as h, UnaryCall as ht, PaginationOption as i, StreamError as it, FeeDiscountTierTTL as j, FeeDiscountSchedule as k, SignDoc as l, StreamSubscription as lt, OrderMaskMap as m, RpcTransport as mt, PagePagination as n, Params$1 as nt, Coin as o, StreamManagerEvents as ot, OrderMask as p, RpcOptions as pt, SpotMarketOrder as q, Pagination as r, ResolvedStreamManagerConfig as rt, DirectSignResponse$1 as s, StreamManagerRetryConfig as st, ExchangePagination as t, OracleType as tt, TxRaw as u, TokenMeta as ut, CampaignRewardPool as v, ServerStreamingCall as vt, DerivativeMarketOrder as w, Deposit as x, DenomDecimals as y, MethodInfo as yt, OrderType as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as SignDoc } from "./tx_pb-
|
|
1
|
+
import { i as SignDoc } from "./tx_pb-DhFh6sWY.js";
|
|
2
2
|
import { Account, AminoTypes, DeliverTxResponse, GasPrice, StargateClient, StargateClientOptions } from "@cosmjs/stargate";
|
|
3
3
|
import { CometClient, HttpEndpoint } from "@cosmjs/tendermint-rpc";
|
|
4
4
|
import { AccountData, Algo, AminoSignResponse, OfflineAminoSigner, StdFee, StdSignDoc } from "@cosmjs/amino";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
1
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DnPFbzJi.js";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/@injectivelabs+olp-proto-ts-v2@1.17.6/node_modules/@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb.d.ts
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as Any } from "./tx_pb-
|
|
2
|
-
import {
|
|
1
|
+
import { u as Any } from "./tx_pb-DhFh6sWY.js";
|
|
2
|
+
import { d as GrpcWebTransportAdditionalOptions } from "./index-BJJNBulw.js";
|
|
3
3
|
import { ChainId, Coin } from "@injectivelabs/ts-types";
|
|
4
4
|
import { Network, NetworkEndpoints } from "@injectivelabs/networks";
|
|
5
5
|
import { SnakeCase } from "type-fest";
|