@injectivelabs/sdk-ts 1.20.16 → 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-CIMZFwl6.cjs → AbacusGrpcApi-Dwlpk6jY.cjs} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-CrbGIyOg.d.cts → BaseGrpcConsumer-CUdc9vEY.d.cts} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-BCGDaVy8.cjs → BaseGrpcConsumer-zA9DIfEw.cjs} +1 -1
- package/dist/cjs/{BaseIndexerGrpcConsumer-CoMGNooL.cjs → BaseIndexerGrpcConsumer-CQBZ05BC.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-ChrfB9cv.cjs → ChainGrpcExchangeApi-vxOV2B57.cjs} +2 -2
- package/dist/cjs/{ChainRestTendermintApi-utYZ9cZL.cjs → ChainRestTendermintApi-Sni05dAJ.cjs} +1 -1
- package/dist/cjs/{IndexerGrpcWeb3GwApi-Di6ko7ub.cjs → IndexerGrpcWeb3GwApi-KVLJE-jW.cjs} +1 -1
- package/dist/cjs/{MsgSetDenomMetadata-ycI5AKU4.cjs → MsgSetDenomMetadata-BQbzOfkE.cjs} +1 -1
- package/dist/cjs/{OLPGrpcApi-fdkKcWVJ.cjs → OLPGrpcApi-BNAfesZy.cjs} +1 -1
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-CIlJC3Cq.cjs → QueryTradingStrategyContractTotalStrategies-i7GNf-2z.cjs} +1 -1
- package/dist/cjs/{StreamManagerV2-B3ar_Wxz.cjs → StreamManagerV2-qxdppofP.cjs} +4 -4
- package/dist/cjs/{TcAbacusGrpcApi-B7wlTqfE.cjs → TcAbacusGrpcApi-DRKR_enO.cjs} +1 -1
- package/dist/cjs/{chain-D--KOL1m.cjs → chain-DHppVc1K.cjs} +2 -2
- package/dist/cjs/client/abacus.cjs +3 -3
- package/dist/cjs/client/abacus.d.cts +4 -4
- package/dist/cjs/client/chain.cjs +5 -5
- package/dist/cjs/client/chain.d.cts +9 -9
- package/dist/cjs/client/indexer.cjs +5 -5
- package/dist/cjs/client/indexer.d.cts +9 -9
- package/dist/cjs/client/olp.cjs +4 -4
- package/dist/cjs/client/olp.d.cts +4 -4
- package/dist/cjs/client/tcAbacus.cjs +3 -3
- package/dist/cjs/client/tcAbacus.d.cts +4 -4
- package/dist/cjs/client/wasm.cjs +6 -6
- package/dist/cjs/client/wasm.d.cts +3 -3
- package/dist/cjs/core/accounts.d.cts +9 -9
- package/dist/cjs/core/modules.cjs +8 -8
- package/dist/cjs/core/modules.d.cts +9 -9
- package/dist/cjs/core/tx.cjs +6 -6
- package/dist/cjs/core/tx.d.cts +9 -9
- package/dist/cjs/cosmjs.cjs +6 -6
- package/dist/cjs/exports.cjs +6 -6
- package/dist/cjs/{index-DE9mGZGH.d.cts → index-2SjhKIkh.d.cts} +1 -1
- package/dist/cjs/{index-nXX5E77u.d.cts → index-BEwaspW_.d.cts} +6 -6
- package/dist/cjs/{index-CBmgjh-q.d.cts → index-BG-nzcNI.d.cts} +1 -1
- package/dist/cjs/{index-C4k2HkhI.d.cts → index-BOj_EXVL.d.cts} +1 -1
- package/dist/cjs/{index-i4yKnGpI.d.cts → index-CtkDjIwH.d.cts} +1 -1
- package/dist/cjs/{index-BINBkEIb.d.cts → index-D5xZvGoG.d.cts} +1 -1
- package/dist/cjs/{index-eG3KUAK0.d.cts → index-DmanIXY9.d.cts} +2 -2
- package/dist/cjs/index.cjs +15 -15
- package/dist/cjs/index.d.cts +9 -9
- package/dist/{esm/light-CrlUMC8c.d.ts → cjs/light-4nNsYXxr.d.cts} +123 -1
- package/dist/cjs/{light-Qbh16DQE.cjs → light-CrajlUvd.cjs} +123 -0
- package/dist/cjs/{service-WTWXJzS1.cjs → service-nm5Ct4_w.cjs} +1 -1
- package/dist/cjs/service.cjs +2 -2
- package/dist/cjs/service.d.cts +3 -3
- package/dist/cjs/{tx-eQttrX5b.cjs → tx-BlFLQ52d.cjs} +3 -3
- package/dist/cjs/types/light.cjs +8 -1
- package/dist/cjs/types/light.d.cts +2 -2
- package/dist/cjs/types.cjs +1 -1
- package/dist/cjs/types.d.cts +2 -2
- package/dist/cjs/utils.d.cts +9 -9
- package/dist/esm/{AbacusGrpcApi-DVniM62M.js → AbacusGrpcApi-DVO7c0mB.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-D-uEnIgH.js → BaseGrpcConsumer-Ci8sUY5h.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-B9J3abKI.d.ts → BaseGrpcConsumer-DnPFbzJi.d.ts} +1 -1
- package/dist/esm/{BaseIndexerGrpcConsumer-BUcOBQHD.js → BaseIndexerGrpcConsumer-MGB306RP.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-CT0WW59O.js → ChainGrpcExchangeApi-S5nJzebX.js} +2 -2
- package/dist/esm/{ChainRestTendermintApi-C5sizTTA.js → ChainRestTendermintApi-D_FQwKrf.js} +1 -1
- package/dist/esm/{IndexerGrpcWeb3GwApi-D9GO0m1v.js → IndexerGrpcWeb3GwApi-BWuDmOjX.js} +1 -1
- package/dist/esm/{MsgSetDenomMetadata-DJaQwf94.js → MsgSetDenomMetadata-B4Ke5u9_.js} +1 -1
- package/dist/esm/{OLPGrpcApi-thWMIX2S.js → OLPGrpcApi-BSFkBk80.js} +1 -1
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-NKplhQpi.js → QueryTradingStrategyContractTotalStrategies-Cfz9KGFD.js} +1 -1
- package/dist/esm/{StreamManagerV2-BdSq7ThE.js → StreamManagerV2-CLqrfNTn.js} +4 -4
- package/dist/esm/{TcAbacusGrpcApi-0zuZRiGi.js → TcAbacusGrpcApi-k3COziPh.js} +1 -1
- package/dist/esm/{chain-CFXdQ_RS.js → chain-DD4YqzP5.js} +2 -2
- package/dist/esm/client/abacus.d.ts +4 -4
- package/dist/esm/client/abacus.js +3 -3
- package/dist/esm/client/chain.d.ts +9 -9
- package/dist/esm/client/chain.js +5 -5
- package/dist/esm/client/indexer.d.ts +9 -9
- package/dist/esm/client/indexer.js +5 -5
- package/dist/esm/client/olp.d.ts +4 -4
- package/dist/esm/client/olp.js +4 -4
- package/dist/esm/client/tcAbacus.d.ts +4 -4
- package/dist/esm/client/tcAbacus.js +3 -3
- package/dist/esm/client/wasm.d.ts +3 -3
- package/dist/esm/client/wasm.js +6 -6
- package/dist/esm/core/accounts.d.ts +9 -9
- package/dist/esm/core/modules.d.ts +9 -9
- package/dist/esm/core/modules.js +8 -8
- package/dist/esm/core/tx.d.ts +9 -9
- package/dist/esm/core/tx.js +6 -6
- package/dist/esm/cosmjs.js +6 -6
- package/dist/esm/exports.js +6 -6
- package/dist/esm/{index-DPmNu-i9.d.ts → index-81riAHnR.d.ts} +2 -2
- package/dist/esm/{index-lki5l2NS.d.ts → index-B73CV7nM.d.ts} +1 -1
- package/dist/esm/{index-fqs5eTyD.d.ts → index-BJJNBulw.d.ts} +1 -1
- package/dist/esm/{index-BAxR1qDR.d.ts → index-D3kPbyYA.d.ts} +1 -1
- package/dist/esm/{index-reHqEgGi.d.ts → index-DcPKOj0m.d.ts} +1 -1
- package/dist/esm/{index-CnGE9D2Q.d.ts → index-DuNPINdp.d.ts} +6 -6
- package/dist/esm/{index-DIP5sGCK.d.ts → index-SZeXNgo8.d.ts} +1 -1
- package/dist/esm/index.d.ts +9 -9
- package/dist/esm/index.js +15 -15
- package/dist/esm/{light-ClZwkrDK.js → light-BflupdEX.js} +82 -1
- package/dist/{cjs/light-BhvqsgHj.d.cts → esm/light-Cr4m0DAA.d.ts} +123 -1
- package/dist/esm/{service-B2z6s85o.js → service-BER-mZkG.js} +1 -1
- package/dist/esm/service.d.ts +3 -3
- package/dist/esm/service.js +2 -2
- package/dist/esm/{tx-Bh9bfmCB.js → tx-Pg714BW8.js} +3 -3
- package/dist/esm/types/light.d.ts +2 -2
- package/dist/esm/types/light.js +2 -2
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/types.js +1 -1
- package/dist/esm/utils.d.ts +9 -9
- package/package.json +5 -5
|
@@ -43,6 +43,128 @@ declare const OrderSide: {
|
|
|
43
43
|
readonly Unrecognized: "unrecognized";
|
|
44
44
|
};
|
|
45
45
|
type OrderSide = (typeof OrderSide)[keyof typeof OrderSide];
|
|
46
|
+
declare const GrpcOrderTypeMap: {
|
|
47
|
+
readonly 0: "UNSPECIFIED";
|
|
48
|
+
readonly 1: "BUY";
|
|
49
|
+
readonly 2: "SELL";
|
|
50
|
+
readonly 3: "STOP_BUY";
|
|
51
|
+
readonly 4: "STOP_SELL";
|
|
52
|
+
readonly 5: "TAKE_BUY";
|
|
53
|
+
readonly 6: "TAKE_SELL";
|
|
54
|
+
readonly 7: "BUY_PO";
|
|
55
|
+
readonly 8: "SELL_PO";
|
|
56
|
+
readonly 9: "BUY_ATOMIC";
|
|
57
|
+
readonly 10: "SELL_ATOMIC";
|
|
58
|
+
readonly UNSPECIFIED: 0;
|
|
59
|
+
readonly BUY: 1;
|
|
60
|
+
readonly SELL: 2;
|
|
61
|
+
readonly STOP_BUY: 3;
|
|
62
|
+
readonly STOP_SELL: 4;
|
|
63
|
+
readonly TAKE_BUY: 5;
|
|
64
|
+
readonly TAKE_SELL: 6;
|
|
65
|
+
readonly BUY_PO: 7;
|
|
66
|
+
readonly SELL_PO: 8;
|
|
67
|
+
readonly BUY_ATOMIC: 9;
|
|
68
|
+
readonly SELL_ATOMIC: 10;
|
|
69
|
+
};
|
|
70
|
+
type GrpcOrderType = Exclude<(typeof GrpcOrderTypeMap)[keyof typeof GrpcOrderTypeMap], string>;
|
|
71
|
+
declare const OrderTypeMap: {
|
|
72
|
+
readonly 0: "UNSPECIFIED";
|
|
73
|
+
readonly 1: "BUY";
|
|
74
|
+
readonly 2: "SELL";
|
|
75
|
+
readonly 3: "STOP_BUY";
|
|
76
|
+
readonly 4: "STOP_SELL";
|
|
77
|
+
readonly 5: "TAKE_BUY";
|
|
78
|
+
readonly 6: "TAKE_SELL";
|
|
79
|
+
readonly 7: "BUY_PO";
|
|
80
|
+
readonly 8: "SELL_PO";
|
|
81
|
+
readonly 9: "BUY_ATOMIC";
|
|
82
|
+
readonly 10: "SELL_ATOMIC";
|
|
83
|
+
readonly UNSPECIFIED: 0;
|
|
84
|
+
readonly BUY: 1;
|
|
85
|
+
readonly SELL: 2;
|
|
86
|
+
readonly STOP_BUY: 3;
|
|
87
|
+
readonly STOP_SELL: 4;
|
|
88
|
+
readonly TAKE_BUY: 5;
|
|
89
|
+
readonly TAKE_SELL: 6;
|
|
90
|
+
readonly BUY_PO: 7;
|
|
91
|
+
readonly SELL_PO: 8;
|
|
92
|
+
readonly BUY_ATOMIC: 9;
|
|
93
|
+
readonly SELL_ATOMIC: 10;
|
|
94
|
+
};
|
|
95
|
+
type OrderType = GrpcOrderType;
|
|
96
|
+
declare const GrpcMarketStatusMap: {
|
|
97
|
+
readonly 0: "Unspecified";
|
|
98
|
+
readonly 1: "Active";
|
|
99
|
+
readonly 2: "Paused";
|
|
100
|
+
readonly 3: "Demolished";
|
|
101
|
+
readonly 4: "Expired";
|
|
102
|
+
readonly Unspecified: 0;
|
|
103
|
+
readonly Active: 1;
|
|
104
|
+
readonly Paused: 2;
|
|
105
|
+
readonly Demolished: 3;
|
|
106
|
+
readonly Expired: 4;
|
|
107
|
+
};
|
|
108
|
+
type GrpcMarketStatus = Exclude<(typeof GrpcMarketStatusMap)[keyof typeof GrpcMarketStatusMap], string>;
|
|
109
|
+
declare const MarketStatusMap: {
|
|
110
|
+
readonly 0: "Unspecified";
|
|
111
|
+
readonly 1: "Active";
|
|
112
|
+
readonly 2: "Paused";
|
|
113
|
+
readonly 3: "Demolished";
|
|
114
|
+
readonly 4: "Expired";
|
|
115
|
+
readonly Unspecified: 0;
|
|
116
|
+
readonly Active: 1;
|
|
117
|
+
readonly Paused: 2;
|
|
118
|
+
readonly Demolished: 3;
|
|
119
|
+
readonly Expired: 4;
|
|
120
|
+
};
|
|
121
|
+
type MarketStatus = GrpcMarketStatus;
|
|
122
|
+
declare const OracleTypeMap: {
|
|
123
|
+
readonly 0: "Unspecified";
|
|
124
|
+
readonly 1: "Band";
|
|
125
|
+
readonly 2: "PriceFeed";
|
|
126
|
+
readonly 3: "Coinbase";
|
|
127
|
+
readonly 4: "Chainlink";
|
|
128
|
+
readonly 5: "Razor";
|
|
129
|
+
readonly 6: "Dia";
|
|
130
|
+
readonly 7: "API3";
|
|
131
|
+
readonly 8: "Uma";
|
|
132
|
+
readonly 9: "Pyth";
|
|
133
|
+
readonly 10: "BandIBC";
|
|
134
|
+
readonly 11: "Provider";
|
|
135
|
+
readonly 12: "Stork";
|
|
136
|
+
readonly 13: "ChainlinkDataStreams";
|
|
137
|
+
readonly 14: "PythPro";
|
|
138
|
+
readonly 15: "SedaFast";
|
|
139
|
+
readonly Unspecified: 0;
|
|
140
|
+
readonly Band: 1;
|
|
141
|
+
readonly PriceFeed: 2;
|
|
142
|
+
readonly Coinbase: 3;
|
|
143
|
+
readonly Chainlink: 4;
|
|
144
|
+
readonly Razor: 5;
|
|
145
|
+
readonly Dia: 6;
|
|
146
|
+
readonly API3: 7;
|
|
147
|
+
readonly Uma: 8;
|
|
148
|
+
readonly Pyth: 9;
|
|
149
|
+
readonly BandIBC: 10;
|
|
150
|
+
readonly Provider: 11;
|
|
151
|
+
readonly Stork: 12;
|
|
152
|
+
readonly ChainlinkDataStreams: 13;
|
|
153
|
+
readonly PythPro: 14;
|
|
154
|
+
readonly SedaFast: 15;
|
|
155
|
+
};
|
|
156
|
+
type OracleType = Exclude<(typeof OracleTypeMap)[keyof typeof OracleTypeMap], string>;
|
|
157
|
+
declare const MarketType: {
|
|
158
|
+
readonly Spot: "spot";
|
|
159
|
+
readonly Derivative: "derivative";
|
|
160
|
+
};
|
|
161
|
+
type MarketType = (typeof MarketType)[keyof typeof MarketType];
|
|
162
|
+
declare const GridStrategyType: {
|
|
163
|
+
readonly Geometric: "geometric";
|
|
164
|
+
readonly Arithmetic: "arithmetic";
|
|
165
|
+
readonly Perpetual: "perpetual";
|
|
166
|
+
};
|
|
167
|
+
type GridStrategyType = (typeof GridStrategyType)[keyof typeof GridStrategyType];
|
|
46
168
|
declare const TokenType: {
|
|
47
169
|
readonly Ibc: "ibc";
|
|
48
170
|
readonly Cw20: "cw20";
|
|
@@ -116,4 +238,4 @@ declare const StreamEvent: {
|
|
|
116
238
|
};
|
|
117
239
|
type StreamEvent = (typeof StreamEvent)[keyof typeof StreamEvent];
|
|
118
240
|
//#endregion
|
|
119
|
-
export { StreamEvent as a, TokenVerification as c,
|
|
241
|
+
export { TradeExecutionType as C, TradeExecutionSide as S, StreamEvent as _, GrpcOrderTypeMap as a, TokenVerification as b, MarketStatusMap as c, OracleTypeMap as d, OrderSide as f, StreamDisconnectReason as g, OrderTypeMap as h, GrpcOrderType as i, MarketType as l, OrderType as m, GrpcMarketStatus as n, GrpcStatusCode as o, OrderState as p, GrpcMarketStatusMap as r, MarketStatus as s, GridStrategyType as t, OracleType as u, StreamOperation as v, TradeDirection as x, TokenType as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
2
2
|
import { u as isCw20ContractAddress } from "./address-light-C9skTx0P.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h as TokenVerification, m as TokenType } from "./light-BflupdEX.js";
|
|
4
4
|
import { HttpRestClient } from "@injectivelabs/utils";
|
|
5
5
|
import { Network, isDevnet, isTestnet } from "@injectivelabs/networks";
|
|
6
6
|
|
package/dist/esm/service.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./tx_pb-DhFh6sWY.js";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-
|
|
2
|
+
import "./index-BJJNBulw.js";
|
|
3
|
+
import "./light-Cr4m0DAA.js";
|
|
4
|
+
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./index-81riAHnR.js";
|
|
5
5
|
export { TokenFactoryStatic, TokenPrice, TokenStaticFactory };
|
package/dist/esm/service.js
CHANGED
|
@@ -5,9 +5,9 @@ import "./utils-B3t50ZnB.js";
|
|
|
5
5
|
import "./grpc-aI_RLGoG.js";
|
|
6
6
|
import "./coins-D4vONigS.js";
|
|
7
7
|
import "./address-light-C9skTx0P.js";
|
|
8
|
-
import "./light-
|
|
8
|
+
import "./light-BflupdEX.js";
|
|
9
9
|
import "./stream-BqkNM_6g.js";
|
|
10
10
|
import "./types-BAV0654v.js";
|
|
11
|
-
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./service-
|
|
11
|
+
import { n as TokenFactoryStatic, r as TokenPrice, t as TokenStaticFactory } from "./service-BER-mZkG.js";
|
|
12
12
|
|
|
13
13
|
export { TokenFactoryStatic, TokenPrice, TokenStaticFactory };
|
|
@@ -2,9 +2,9 @@ import { f as toUtf8, m as uint8ArrayToHex, p as uint8ArrayToBase64, t as base64
|
|
|
2
2
|
import { t as _defineProperty } from "./defineProperty-C0TI9N8m.js";
|
|
3
3
|
import { S as createSignDoc, T as createSigners, b as createFee, n as PrivateKey, t as BaseAccount, v as createAuthInfo, y as createBody } from "./accounts-3rypojw1.js";
|
|
4
4
|
import { Mt as getGasPriceBasedOnMessage, at as hashToHex, jt as ofacList, kt as sortObjectByKeys, vt as getErrorMessage } from "./utils-B3t50ZnB.js";
|
|
5
|
-
import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-
|
|
6
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
7
|
-
import { t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-
|
|
5
|
+
import { i as ChainGrpcAuthApi, n as ChainRestAuthApi, r as ChainGrpcTendermintApi, t as ChainRestTendermintApi } from "./ChainRestTendermintApi-D_FQwKrf.js";
|
|
6
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ci8sUY5h.js";
|
|
7
|
+
import { t as IndexerGrpcWeb3GwApi } from "./IndexerGrpcWeb3GwApi-BWuDmOjX.js";
|
|
8
8
|
import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
|
|
9
9
|
import { keccak256 } from "viem";
|
|
10
10
|
import { DEFAULT_BLOCK_TIMEOUT_HEIGHT, DEFAULT_BLOCK_TIME_IN_SECONDS, DEFAULT_TX_BLOCK_INCLUSION_TIMEOUT_IN_MS, DEFAULT_TX_POLL_CALL_TIMEOUT_MS, DEFAULT_TX_POLL_INTERVAL_MS, HttpClient, getDefaultStdFee, getStdFee, getStdFeeFromString, sleep, toBigNumber } from "@injectivelabs/utils";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { GrpcStatusCode, OrderSide, OrderState, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
|
1
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, a as GrpcOrderTypeMap, b as TokenVerification, c as MarketStatusMap, d as OracleTypeMap, f as OrderSide, g as StreamDisconnectReason, h as OrderTypeMap, i as GrpcOrderType, l as MarketType, m as OrderType, n as GrpcMarketStatus, o as GrpcStatusCode, p as OrderState, r as GrpcMarketStatusMap, s as MarketStatus, t as GridStrategyType, u as OracleType, v as StreamOperation, x as TradeDirection, y as TokenType } from "../light-Cr4m0DAA.js";
|
|
2
|
+
export { GridStrategyType, GrpcMarketStatus, GrpcMarketStatusMap, GrpcOrderType, GrpcOrderTypeMap, GrpcStatusCode, MarketStatus, MarketStatusMap, MarketType, OracleType, OracleTypeMap, OrderSide, OrderState, OrderType, OrderTypeMap, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
package/dist/esm/types/light.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { _ as TradeExecutionSide, a as MarketStatusMap, c as OrderSide, d as StreamDisconnectReason, f as StreamEvent, g as TradeDirection, h as TokenVerification, i as GrpcStatusCode, l as OrderState, m as TokenType, n as GrpcMarketStatusMap, o as MarketType, p as StreamOperation, r as GrpcOrderTypeMap, s as OracleTypeMap, t as GridStrategyType, u as OrderTypeMap, v as TradeExecutionType } from "../light-BflupdEX.js";
|
|
2
2
|
|
|
3
|
-
export { GrpcStatusCode, OrderSide, OrderState, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
|
3
|
+
export { GridStrategyType, GrpcMarketStatusMap, GrpcOrderTypeMap, GrpcStatusCode, MarketStatusMap, MarketType, OracleTypeMap, OrderSide, OrderState, OrderTypeMap, StreamDisconnectReason, StreamEvent, StreamOperation, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType };
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./tx_pb-DhFh6sWY.js";
|
|
2
|
-
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { a as AminoSignResponse, at as StreamManagerConfig, c as GrpcCoin, ct as StreamState, d as GrpcWebTransportAdditionalOptions, dt as TokenSource, ft as TokenStatic, i as PaginationOption, it as StreamError, l as SignDoc, lt as StreamSubscription, m as OrderMaskMap, n as PagePagination, o as Coin, ot as StreamManagerEvents, p as OrderMask, r as Pagination, rt as ResolvedStreamManagerConfig, s as DirectSignResponse, st as StreamManagerRetryConfig, t as ExchangePagination, u as TxRaw, ut as TokenMeta } from "./index-BJJNBulw.js";
|
|
3
|
+
import { C as TradeExecutionType, S as TradeExecutionSide, _ as StreamEvent, b as TokenVerification, f as OrderSide, g as StreamDisconnectReason, o as GrpcStatusCode, p as OrderState, v as StreamOperation, x as TradeDirection, y as TokenType } from "./light-Cr4m0DAA.js";
|
|
4
4
|
export { AminoSignResponse, Coin, DirectSignResponse, ExchangePagination, GrpcCoin, GrpcStatusCode, GrpcWebTransportAdditionalOptions, OrderMask, OrderMaskMap, OrderSide, OrderState, PagePagination, Pagination, PaginationOption, ResolvedStreamManagerConfig, SignDoc, StreamDisconnectReason, StreamError, StreamEvent, StreamManagerConfig, StreamManagerEvents, StreamManagerRetryConfig, StreamOperation, StreamState, StreamSubscription, TokenMeta, TokenSource, TokenStatic, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TxRaw };
|
package/dist/esm/types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as TradeExecutionSide, c as OrderSide, d as StreamDisconnectReason, f as StreamEvent, g as TradeDirection, h as TokenVerification, i as GrpcStatusCode, l as OrderState, m as TokenType, p as StreamOperation, v as TradeExecutionType } from "./light-BflupdEX.js";
|
|
2
2
|
import { t as StreamState } from "./stream-BqkNM_6g.js";
|
|
3
3
|
import { n as TokenSource, t as OrderMaskMap } from "./types-BAV0654v.js";
|
|
4
4
|
|
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./tx_pb-DhFh6sWY.js";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./light-
|
|
4
|
-
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-
|
|
5
|
-
import "./BaseGrpcConsumer-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
2
|
+
import "./index-BJJNBulw.js";
|
|
3
|
+
import "./light-Cr4m0DAA.js";
|
|
4
|
+
import { $d as derivativeQuantityFromChainQuantityToFixed, $f as ofacList, Ad as paginationUint8ArrayToString, Af as isReactNative, Ax as GrpcWebFetchTransport, Bd as denomAmountFromGrpcChainDenomAmount, Bf as TypedMessageV4, Cd as recoverTypedSignaturePubKey, Cf as bigIntToString, Dd as grpcPagingToPagingV2, Df as isBrowser, Ed as grpcPagingToPaging, Ef as hexToNumber, Fd as getSpotMarketTensMultiplier, Ff as sortObjectByKeys, Gd as derivativeMarginFromChainMarginToFixed, Gf as privateKeyHashToPublicKey, Hd as denomAmountToChainDenomAmountToFixed, Hf as domainHash, Id as amountToCosmosSdkDecAmount, If as sortObjectByKeysWithReduce, Jd as derivativePriceFromChainPrice, Jf as privateKeyToPublicKeyBase64, Kd as derivativeMarginToChainMargin, Kf as privateKeyHashToPublicKeyBase64, Ld as cosmosSdkDecToBigNumber, Lf as SignTypedDataVersionV4, Md as getDerivativeMarketDecimals, Mf as objectToJson, Nd as getDerivativeMarketTensMultiplier, Nf as protoObjectToJson, Od as pageRequestToGrpcPageRequestV2, Of as isJsonString, Pd as getSpotMarketDecimals, Pf as safeBigIntStringify, Qd as derivativeQuantityFromChainQuantity, Qf as sha256, Rd as denomAmountFromChainDenomAmount, Rf as TypedDataUtilsHashStruct, Sf as bigIntToNumber, Td as grpcPaginationToPagination, Tf as grpcCoinToUiCoin, Ud as denomAmountToGrpcChainDenomAmount, Uf as hashToHex, Vd as denomAmountToChainDenomAmount, Vf as decompressPubKey, Wd as derivativeMarginFromChainMargin, Wf as messageHash, Xd as derivativePriceToChainPrice, Xf as ripemd160, Yd as derivativePriceFromChainPriceToFixed, Yf as publicKeyToAddress, Zd as derivativePriceToChainPriceToFixed, Zf as sanitizeTypedData, _f as spotQuantityFromChainQuantity, af as formatNumberToAllowableTensMultiplier, ap as protobufTimestampToUnixMs, bf as spotQuantityToChainQuantityToFixed, cf as getExactDecimalsFromNumber, df as isNumber, ef as derivativeQuantityToChainQuantity, ep as getGrpcWebTransport, ff as numberToCosmosSdkDecString, gf as spotPriceToChainPriceToFixed, hf as spotPriceToChainPrice, if as formatNumberToAllowableDecimals, ip as protobufTimestampToDate, jd as getChecksumAddress, jf as isServerSide, kd as paginationRequestFromPagination, kf as isNode, lf as getSignificantDecimalsFromNumber, mf as spotPriceFromChainPriceToFixed, nf as formatAmountToAllowableAmount, np as makeTimeoutTimestamp, of as formatPriceToAllowableDecimals, op as protobufTimestampToUnixSeconds, pf as spotPriceFromChainPrice, qd as derivativeMarginToChainMarginToFixed, qf as privateKeyToPublicKey, rf as formatAmountToAllowableDecimals, rp as makeTimeoutTimestampInNs, sf as formatPriceToAllowablePrice, tf as derivativeQuantityToChainQuantityToFixed, tp as getGasPriceBasedOnMessage, uf as getTensMultiplier, vf as spotQuantityFromChainQuantityToFixed, wd as fetchAllWithPagination, wf as getErrorMessage, xf as bigIntReplacer, yf as spotQuantityToChainQuantity, zd as denomAmountFromChainDenomAmountToFixed, zf as TypedDataUtilsSanitizeData } from "./index-DuNPINdp.js";
|
|
5
|
+
import "./BaseGrpcConsumer-DnPFbzJi.js";
|
|
6
|
+
import "./index-SZeXNgo8.js";
|
|
7
|
+
import "./index-DcPKOj0m.js";
|
|
8
8
|
import { t as parseCoins } from "./coins-ceq0Id0M.js";
|
|
9
9
|
import { a as getEthereumAddress, c as getSubaccountId, d as removeHexPrefix, i as getDefaultSubaccountId, l as hexToBytes, n as bytesToHex, o as getInjectiveAddress, r as getAddressFromInjectiveAddress, s as getInjectiveAddressFromSubaccountId, t as addHexPrefix, u as isCw20ContractAddress } from "./address-light-BcZDS-ks.js";
|
|
10
10
|
import { a as fromBase64, c as hexToBuff, d as toBase64, f as toUtf8, h as uint8ArrayToString, i as concatUint8Arrays, l as hexToUint8Array, m as uint8ArrayToHex, n as base64ToUtf8, o as fromUtf8, p as uint8ArrayToBase64, r as binaryToBase64, s as hexToBase64, t as base64ToUint8Array, u as stringToUint8Array } from "./encoding-light-18k0e_8v.js";
|
|
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-BZ28P_pH.js";
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
12
|
+
import "./index-D3kPbyYA.js";
|
|
13
|
+
import "./index-B73CV7nM.js";
|
|
14
|
+
import "./index-81riAHnR.js";
|
|
15
15
|
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.17",
|
|
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": {
|
|
@@ -471,10 +471,10 @@
|
|
|
471
471
|
"rxjs": "7.8.2",
|
|
472
472
|
"snakecase-keys": "^5.4.1",
|
|
473
473
|
"viem": "^2.41.2",
|
|
474
|
-
"@injectivelabs/networks": "1.20.
|
|
475
|
-
"@injectivelabs/
|
|
476
|
-
"@injectivelabs/
|
|
477
|
-
"@injectivelabs/
|
|
474
|
+
"@injectivelabs/networks": "1.20.17",
|
|
475
|
+
"@injectivelabs/ts-types": "1.20.17",
|
|
476
|
+
"@injectivelabs/utils": "1.20.17",
|
|
477
|
+
"@injectivelabs/exceptions": "1.20.17"
|
|
478
478
|
},
|
|
479
479
|
"publishConfig": {
|
|
480
480
|
"access": "public"
|