@injectivelabs/sdk-ts 1.17.2 → 1.17.3
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-DXSuhb6R.cjs → AbacusGrpcApi-BSFhRFgK.cjs} +6 -5
- package/dist/cjs/{BaseGrpcConsumer-EtEQfhmo.cjs → BaseGrpcConsumer-B_mvIpmK.cjs} +34 -5
- package/dist/cjs/BaseGrpcConsumer-DjBlHZXf.d.cts +96 -0
- package/dist/cjs/{BaseIndexerGrpcConsumer-CW1kTn-_.cjs → BaseIndexerGrpcConsumer-DRpriWCr.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-CF9ATYqN.cjs → ChainGrpcExchangeApi-6SEFLrhR.cjs} +7 -6
- package/dist/cjs/{ChainRestTendermintApi-vL0g-BF-.cjs → ChainRestTendermintApi-B2934YcX.cjs} +11 -9
- package/dist/cjs/{IndexerGrpcWeb3GwApi-C7kkr4Il.cjs → IndexerGrpcWeb3GwApi-DzqoC5Jw.cjs} +8 -7
- package/dist/cjs/{MsgSetDenomMetadata-CKvxIq_t.cjs → MsgSetDenomMetadata-CJFO-LDN.cjs} +1 -1
- package/dist/cjs/{OLPGrpcApi-BCCb6fBZ.cjs → OLPGrpcApi-REqBM4Dt.cjs} +6 -5
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-Ayot_18R.cjs → QueryTradingStrategyContractTotalStrategies-BWV29f7F.cjs} +3 -3
- package/dist/cjs/{StreamManagerV2-igv0mn2I.cjs → StreamManagerV2-bxmrwMoi.cjs} +78 -63
- package/dist/cjs/{chain-CGHrf7gg.cjs → chain-CtjB0xod.cjs} +92 -74
- package/dist/cjs/client/abacus.cjs +2 -2
- package/dist/cjs/client/abacus.d.cts +4 -2
- package/dist/cjs/client/chain.cjs +4 -4
- package/dist/cjs/client/chain.d.cts +8 -9
- package/dist/cjs/client/indexer.cjs +4 -4
- package/dist/cjs/client/indexer.d.cts +8 -9
- package/dist/cjs/client/olp.cjs +3 -3
- package/dist/cjs/client/olp.d.cts +4 -2
- package/dist/cjs/client/wasm.cjs +5 -5
- package/dist/cjs/client/wasm.d.cts +3 -2
- package/dist/cjs/core/accounts.d.cts +8 -9
- package/dist/cjs/core/modules.cjs +7 -7
- package/dist/cjs/core/modules.d.cts +8 -9
- package/dist/cjs/core/tx.cjs +5 -5
- package/dist/cjs/core/tx.d.cts +8 -9
- package/dist/cjs/cosmjs.cjs +5 -5
- package/dist/cjs/cosmjs.d.cts +2 -3
- package/dist/cjs/exports.cjs +5 -5
- package/dist/cjs/exports.d.cts +2 -3
- package/dist/cjs/{index-D6ubyMlR.d.cts → index-B-ODtCMF.d.cts} +7 -7
- package/dist/{esm/index-DOyiZiUK.d.ts → cjs/index-B3Hd6YoY.d.cts} +2 -3
- package/dist/{esm/index-BJQt8IpY.d.ts → cjs/index-BdSf-iSf.d.cts} +2 -3
- package/dist/cjs/{index-DjRtDAy5.d.cts → index-Bp-AQIP3.d.cts} +2925 -1124
- package/dist/{esm/index-Dn4OxoMy.d.ts → cjs/index-CSWj2FPd.d.cts} +4 -3
- package/dist/cjs/{index-DemZnO3c.d.cts → index-C_ioefRg.d.cts} +81 -175
- package/dist/{esm/index-C_3bL-y4.d.ts → cjs/index-k83cbNQj.d.cts} +1 -1
- package/dist/cjs/index.cjs +12 -12
- package/dist/cjs/index.d.cts +9 -10
- package/dist/cjs/service.d.cts +3 -4
- package/dist/cjs/{tx-VwbP3UdI.cjs → tx-BXn3eqwi.cjs} +8 -7
- package/dist/{esm/tx_pb-zz4o4hHG.d.ts → cjs/tx_pb-Wr-aZfKH.d.cts} +186 -6
- package/dist/cjs/types.d.cts +3 -4
- package/dist/cjs/utils.d.cts +8 -9
- package/dist/esm/{AbacusGrpcApi-Ce1hRKuD.js → AbacusGrpcApi-Ccjmvton.js} +6 -5
- package/dist/esm/BaseGrpcConsumer-CBQRoq72.d.ts +96 -0
- package/dist/esm/{BaseGrpcConsumer-BTWyD665.js → BaseGrpcConsumer-D3CPxlPN.js} +34 -5
- package/dist/esm/{BaseIndexerGrpcConsumer-BTZzA_Eg.js → BaseIndexerGrpcConsumer-DQUmeane.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-DqdCst2Z.js → ChainGrpcExchangeApi-DQvLWB5R.js} +7 -6
- package/dist/esm/{ChainRestTendermintApi-BT_yOkAV.js → ChainRestTendermintApi-DUK7FvxW.js} +11 -9
- package/dist/esm/{IndexerGrpcWeb3GwApi-B2mgt9tE.js → IndexerGrpcWeb3GwApi-yHniiZ22.js} +8 -7
- package/dist/esm/{MsgSetDenomMetadata-CXgkQ3LF.js → MsgSetDenomMetadata-BNYIha2C.js} +1 -1
- package/dist/esm/{OLPGrpcApi-DUCfcca_.js → OLPGrpcApi-8NQqfKhT.js} +6 -5
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-CZWdw3BE.js → QueryTradingStrategyContractTotalStrategies-D_4tvQEy.js} +3 -3
- package/dist/esm/{StreamManagerV2-B9xiJYLj.js → StreamManagerV2-BGjxaWMK.js} +78 -63
- package/dist/esm/{chain-CHX5uSpc.js → chain-DKislBAW.js} +92 -74
- package/dist/esm/client/abacus.d.ts +4 -2
- package/dist/esm/client/abacus.js +2 -2
- package/dist/esm/client/chain.d.ts +8 -9
- package/dist/esm/client/chain.js +4 -4
- package/dist/esm/client/indexer.d.ts +8 -9
- package/dist/esm/client/indexer.js +4 -4
- package/dist/esm/client/olp.d.ts +4 -2
- package/dist/esm/client/olp.js +3 -3
- package/dist/esm/client/wasm.d.ts +3 -2
- package/dist/esm/client/wasm.js +5 -5
- package/dist/esm/core/accounts.d.ts +8 -9
- package/dist/esm/core/modules.d.ts +8 -9
- package/dist/esm/core/modules.js +7 -7
- package/dist/esm/core/tx.d.ts +8 -9
- package/dist/esm/core/tx.js +5 -5
- package/dist/esm/cosmjs.d.ts +2 -3
- package/dist/esm/cosmjs.js +5 -5
- package/dist/esm/exports.d.ts +2 -3
- package/dist/esm/exports.js +5 -5
- package/dist/esm/{index-B-SD0p02.d.ts → index-BVWIwmli.d.ts} +2925 -1124
- package/dist/{cjs/index-CO3Y9drx.d.cts → esm/index-BhVscuMR.d.ts} +2 -3
- package/dist/{cjs/index-lRWP4rKg.d.cts → esm/index-BhybypN9.d.ts} +2 -3
- package/dist/esm/{index-Ch477yfL.d.ts → index-Bn3JkjMQ.d.ts} +80 -174
- package/dist/esm/{index--sg5xbEP.d.ts → index-BqYLsIZe.d.ts} +1 -1
- package/dist/{cjs/index-DWbxb1AB.d.cts → esm/index-Dh15HnVF.d.ts} +4 -3
- package/dist/{cjs/index-CGvISJoE.d.cts → esm/index-DpjBqbbT.d.ts} +1 -1
- package/dist/esm/index.d.ts +9 -10
- package/dist/esm/index.js +12 -12
- package/dist/esm/service.d.ts +3 -4
- package/dist/esm/{tx-DsGG15fH.js → tx-D0NTtgOO.js} +8 -7
- package/dist/{cjs/tx_pb-D-cNmrlO.d.cts → esm/tx_pb-DiV92WM9.d.ts} +186 -6
- package/dist/esm/types.d.ts +3 -4
- package/dist/esm/utils.d.ts +8 -9
- package/package.json +5 -5
- package/dist/cjs/BaseGrpcConsumer-Vvj4lzyS.d.cts +0 -1841
- package/dist/cjs/any_pb-CutLnOUR.d.cts +0 -187
- package/dist/esm/BaseGrpcConsumer-6x4RlZ16.d.ts +0 -1841
- package/dist/esm/any_pb-DBt7qvTr.d.ts +0 -187
|
@@ -1,10 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
//#endregion
|
|
2
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/cosmos/base/v1beta1/coin_pb.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Coin defines a token with a denomination and an amount.
|
|
5
|
+
*
|
|
6
|
+
* NOTE: The amount field is an Int which implements the custom method
|
|
7
|
+
* signatures required by gogoproto.
|
|
8
|
+
*
|
|
9
|
+
* @generated from protobuf message cosmos.base.v1beta1.Coin
|
|
10
|
+
*/
|
|
11
|
+
interface Coin {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf field: string denom = 1
|
|
14
|
+
*/
|
|
15
|
+
denom: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf field: string amount = 2
|
|
18
|
+
*/
|
|
19
|
+
amount: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* DecCoin defines a token with a denomination and a decimal amount.
|
|
23
|
+
*
|
|
24
|
+
* NOTE: The amount field is an Dec which implements the custom method
|
|
25
|
+
* signatures required by gogoproto.
|
|
26
|
+
*
|
|
27
|
+
* @generated from protobuf message cosmos.base.v1beta1.DecCoin
|
|
28
|
+
*/
|
|
29
|
+
interface DecCoin {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf field: string denom = 1
|
|
32
|
+
*/
|
|
33
|
+
denom: string;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf field: string amount = 2
|
|
36
|
+
*/
|
|
37
|
+
amount: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @generated MessageType for protobuf message cosmos.base.v1beta1.Coin
|
|
41
|
+
*/
|
|
42
|
+
declare const Coin = new Coin$Type();
|
|
43
|
+
/**
|
|
44
|
+
* @generated MessageType for protobuf message cosmos.base.v1beta1.DecCoin
|
|
45
|
+
*/
|
|
46
|
+
declare const DecCoin = new DecCoin$Type();
|
|
5
47
|
//#endregion
|
|
6
48
|
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/cosmos/crypto/multisig/v1beta1/multisig_pb.d.ts
|
|
7
|
-
|
|
8
49
|
/**
|
|
9
50
|
* CompactBitArray is an implementation of a space efficient bit array.
|
|
10
51
|
* This is used to ensure that the encoded data takes up a minimal amount of
|
|
@@ -28,6 +69,145 @@ interface CompactBitArray {
|
|
|
28
69
|
*/
|
|
29
70
|
declare const CompactBitArray = new CompactBitArray$Type();
|
|
30
71
|
//#endregion
|
|
72
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/google/protobuf/any_pb.d.ts
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
76
|
+
* URL that describes the type of the serialized message.
|
|
77
|
+
*
|
|
78
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
79
|
+
* of utility functions or additional generated methods of the Any type.
|
|
80
|
+
*
|
|
81
|
+
* Example 1: Pack and unpack a message in C++.
|
|
82
|
+
*
|
|
83
|
+
* Foo foo = ...;
|
|
84
|
+
* Any any;
|
|
85
|
+
* any.PackFrom(foo);
|
|
86
|
+
* ...
|
|
87
|
+
* if (any.UnpackTo(&foo)) {
|
|
88
|
+
* ...
|
|
89
|
+
* }
|
|
90
|
+
*
|
|
91
|
+
* Example 2: Pack and unpack a message in Java.
|
|
92
|
+
*
|
|
93
|
+
* Foo foo = ...;
|
|
94
|
+
* Any any = Any.pack(foo);
|
|
95
|
+
* ...
|
|
96
|
+
* if (any.is(Foo.class)) {
|
|
97
|
+
* foo = any.unpack(Foo.class);
|
|
98
|
+
* }
|
|
99
|
+
* // or ...
|
|
100
|
+
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
101
|
+
* foo = any.unpack(Foo.getDefaultInstance());
|
|
102
|
+
* }
|
|
103
|
+
*
|
|
104
|
+
* Example 3: Pack and unpack a message in Python.
|
|
105
|
+
*
|
|
106
|
+
* foo = Foo(...)
|
|
107
|
+
* any = Any()
|
|
108
|
+
* any.Pack(foo)
|
|
109
|
+
* ...
|
|
110
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
111
|
+
* any.Unpack(foo)
|
|
112
|
+
* ...
|
|
113
|
+
*
|
|
114
|
+
* Example 4: Pack and unpack a message in Go
|
|
115
|
+
*
|
|
116
|
+
* foo := &pb.Foo{...}
|
|
117
|
+
* any, err := anypb.New(foo)
|
|
118
|
+
* if err != nil {
|
|
119
|
+
* ...
|
|
120
|
+
* }
|
|
121
|
+
* ...
|
|
122
|
+
* foo := &pb.Foo{}
|
|
123
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
124
|
+
* ...
|
|
125
|
+
* }
|
|
126
|
+
*
|
|
127
|
+
* The pack methods provided by protobuf library will by default use
|
|
128
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
129
|
+
* methods only use the fully qualified type name after the last '/'
|
|
130
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
131
|
+
* name "y.z".
|
|
132
|
+
*
|
|
133
|
+
* JSON
|
|
134
|
+
* ====
|
|
135
|
+
* The JSON representation of an `Any` value uses the regular
|
|
136
|
+
* representation of the deserialized, embedded message, with an
|
|
137
|
+
* additional field `@type` which contains the type URL. Example:
|
|
138
|
+
*
|
|
139
|
+
* package google.profile;
|
|
140
|
+
* message Person {
|
|
141
|
+
* string first_name = 1;
|
|
142
|
+
* string last_name = 2;
|
|
143
|
+
* }
|
|
144
|
+
*
|
|
145
|
+
* {
|
|
146
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
147
|
+
* "firstName": <string>,
|
|
148
|
+
* "lastName": <string>
|
|
149
|
+
* }
|
|
150
|
+
*
|
|
151
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
152
|
+
* representation, that representation will be embedded adding a field
|
|
153
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
154
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
155
|
+
*
|
|
156
|
+
* {
|
|
157
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
158
|
+
* "value": "1.212s"
|
|
159
|
+
* }
|
|
160
|
+
*
|
|
161
|
+
*
|
|
162
|
+
* @generated from protobuf message google.protobuf.Any
|
|
163
|
+
*/
|
|
164
|
+
interface Any {
|
|
165
|
+
/**
|
|
166
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
167
|
+
* protocol buffer message. This string must contain at least
|
|
168
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
169
|
+
* the fully qualified name of the type (as in
|
|
170
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
171
|
+
* (e.g., leading "." is not accepted).
|
|
172
|
+
*
|
|
173
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
174
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
175
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
176
|
+
* server that maps type URLs to message definitions as follows:
|
|
177
|
+
*
|
|
178
|
+
* * If no scheme is provided, `https` is assumed.
|
|
179
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
180
|
+
* value in binary format, or produce an error.
|
|
181
|
+
* * Applications are allowed to cache lookup results based on the
|
|
182
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
183
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
184
|
+
* on changes to types. (Use versioned type names to manage
|
|
185
|
+
* breaking changes.)
|
|
186
|
+
*
|
|
187
|
+
* Note: this functionality is not currently available in the official
|
|
188
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
189
|
+
* type.googleapis.com. As of May 2023, there are no widely used type server
|
|
190
|
+
* implementations and no plans to implement one.
|
|
191
|
+
*
|
|
192
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
193
|
+
* used with implementation specific semantics.
|
|
194
|
+
*
|
|
195
|
+
*
|
|
196
|
+
* @generated from protobuf field: string type_url = 1
|
|
197
|
+
*/
|
|
198
|
+
typeUrl: string;
|
|
199
|
+
/**
|
|
200
|
+
* Must be a valid serialized protocol buffer of the above specified type.
|
|
201
|
+
*
|
|
202
|
+
* @generated from protobuf field: bytes value = 2
|
|
203
|
+
*/
|
|
204
|
+
value: Uint8Array;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* @generated MessageType for protobuf message google.protobuf.Any
|
|
208
|
+
*/
|
|
209
|
+
declare const Any = new Any$Type();
|
|
210
|
+
//#endregion
|
|
31
211
|
//#region ../../node_modules/.pnpm/@injectivelabs+core-proto-ts-v2@1.17.3/node_modules/@injectivelabs/core-proto-ts-v2/esm/generated/cosmos/tx/signing/v1beta1/signing_pb.d.ts
|
|
32
212
|
|
|
33
213
|
/**
|
|
@@ -596,4 +776,4 @@ declare const Tip = new Tip$Type();
|
|
|
596
776
|
*/
|
|
597
777
|
declare const AuxSignerData = new AuxSignerData$Type();
|
|
598
778
|
//#endregion
|
|
599
|
-
export { SignerInfo as a, tx_pb_d_exports as c, SignDoc as i, SignMode as l, Fee as n, TxBody as o, ModeInfo as r, TxRaw as s, AuthInfo as t };
|
|
779
|
+
export { SignerInfo as a, tx_pb_d_exports as c, Coin as d, DecCoin as f, SignDoc as i, SignMode as l, Fee as n, TxBody as o, ModeInfo as r, TxRaw as s, AuthInfo as t, Any as u };
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import "./
|
|
3
|
-
|
|
4
|
-
export { AminoSignResponse, Coin, DirectSignResponse, ExchangePagination, GrpcCoin, GrpcStatusCode, 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 };
|
|
1
|
+
import "./tx_pb-DiV92WM9.js";
|
|
2
|
+
import { Ct as TokenVerification, St as TokenType, _ as OrderState, _t as StreamState, a as StreamOperation, b as TradeExecutionType, bt as TokenSource, c as DirectSignResponse, d as TxRaw, dt as StreamDisconnectReason, f as GrpcWebTransportAdditionalOptions, ft as StreamError, g as OrderSide, gt as StreamManagerRetryConfig, h as OrderMaskMap, ht as StreamManagerEvents, i as PaginationOption, l as GrpcCoin, lt as GrpcStatusCode, m as OrderMask, mt as StreamManagerConfig, n as PagePagination, o as AminoSignResponse, pt as StreamEvent, r as Pagination, s as Coin, t as ExchangePagination, u as SignDoc, ut as ResolvedStreamManagerConfig, v as TradeDirection, vt as StreamSubscription, xt as TokenStatic, y as TradeExecutionSide, yt as TokenMeta } from "./index-BVWIwmli.js";
|
|
3
|
+
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/utils.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import "./tx_pb-
|
|
2
|
-
import "./
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-C_3bL-y4.js";
|
|
1
|
+
import "./tx_pb-DiV92WM9.js";
|
|
2
|
+
import "./index-BVWIwmli.js";
|
|
3
|
+
import { $c as grpcPagingToPagingV2, $l as derivativePriceToChainPrice, $u as ripemd160, Al as getInjectiveAddress, Au as isBrowser, Bl as cosmosSdkDecToBigNumber, Bu as SignTypedDataVersionV4, Cl as uint8ArrayToHex, Cu as spotQuantityToChainQuantityToFixed, Dl as getChecksumAddress, Du as getErrorMessage, El as getAddressFromInjectiveAddress, Eu as bigIntToString, Fl as getDerivativeMarketDecimals, Fu as objectToJson, Gl as denomAmountToChainDenomAmountToFixed, Gu as domainHash, Hl as denomAmountFromChainDenomAmountToFixed, Hu as TypedDataUtilsSanitizeData, Hv as GrpcWebFetchTransport, Il as getDerivativeMarketTensMultiplier, Iu as protoObjectToJson, Jl as derivativeMarginFromChainMarginToFixed, Ju as privateKeyHashToPublicKey, Kl as denomAmountToGrpcChainDenomAmount, Ku as hashToHex, Ll as getSpotMarketDecimals, Lu as safeBigIntStringify, Ml as getSubaccountId, Mu as isNode, Nl as isCw20ContractAddress, Nu as isReactNative, Ol as getDefaultSubaccountId, Ou as grpcCoinToUiCoin, Pl as removeHexPrefix, Pu as isServerSide, Qc as grpcPagingToPaging, Ql as derivativePriceFromChainPriceToFixed, Qu as publicKeyToAddress, Rl as getSpotMarketTensMultiplier, Ru as sortObjectByKeys, Sl as uint8ArrayToBase64, Su as spotQuantityToChainQuantity, Tl as addHexPrefix, Tu as bigIntToNumber, Ul as denomAmountFromGrpcChainDenomAmount, Uu as TypedMessageV4, Vl as denomAmountFromChainDenomAmount, Vu as TypedDataUtilsHashStruct, Wl as denomAmountToChainDenomAmount, Wu as decompressPubKey, Xc as fetchAllWithPagination, Xl as derivativeMarginToChainMarginToFixed, Xu as privateKeyToPublicKey, Yc as recoverTypedSignaturePubKey, Yl as derivativeMarginToChainMargin, Yu as privateKeyHashToPublicKeyBase64, Zc as grpcPaginationToPagination, Zl as derivativePriceFromChainPrice, Zu as privateKeyToPublicKeyBase64, _l as hexToBuff, _u as spotPriceFromChainPriceToFixed, ad as getGasPriceBasedOnMessage, al as BECH32_ADDR_VAL_PREFIX, au as formatAmountToAllowableAmount, bl as toBase64, bu as spotQuantityFromChainQuantity, cd as protobufTimestampToDate, cl as BECH32_PUBKEY_VAL_PREFIX, cu as formatNumberToAllowableTensMultiplier, dl as base64ToUtf8, du as getExactDecimalsFromNumber, ed as sanitizeTypedData, el as pageRequestToGrpcPageRequestV2, eu as derivativePriceToChainPriceToFixed, fl as binaryToBase64, fu as getSignificantDecimalsFromNumber, gl as hexToBase64, gu as spotPriceFromChainPrice, hl as fromUtf8, hu as numberToCosmosSdkDecString, id as getGrpcWebTransport, il as BECH32_ADDR_CONS_PREFIX, iu as derivativeQuantityToChainQuantityToFixed, jl as getInjectiveAddressFromSubaccountId, ju as isJsonString, kl as getEthereumAddress, ku as hexToNumber, ld as protobufTimestampToUnixMs, ll as DEFAULT_DERIVATION_PATH, lu as formatPriceToAllowableDecimals, ml as fromBase64, mu as isNumber, nd as parseCoins, nl as paginationUint8ArrayToString, nu as derivativeQuantityFromChainQuantityToFixed, od as makeTimeoutTimestamp, ol as BECH32_PUBKEY_ACC_PREFIX, ou as formatAmountToAllowableDecimals, pl as concatUint8Arrays, pu as getTensMultiplier, ql as derivativeMarginFromChainMargin, qu as messageHash, rd as ofacList, rl as BECH32_ADDR_ACC_PREFIX, ru as derivativeQuantityToChainQuantity, sd as makeTimeoutTimestampInNs, sl as BECH32_PUBKEY_CONS_PREFIX, su as formatNumberToAllowableDecimals, td as sha256, tl as paginationRequestFromPagination, tu as derivativeQuantityFromChainQuantity, ud as protobufTimestampToUnixSeconds, ul as base64ToUint8Array, uu as formatPriceToAllowablePrice, vl as hexToUint8Array, vu as spotPriceToChainPrice, wl as uint8ArrayToString, wu as bigIntReplacer, xl as toUtf8, xu as spotQuantityFromChainQuantityToFixed, yl as stringToUint8Array, yu as spotPriceToChainPriceToFixed, zl as amountToCosmosSdkDecAmount, zu as sortObjectByKeysWithReduce } from "./index-Bn3JkjMQ.js";
|
|
4
|
+
import "./BaseGrpcConsumer-CBQRoq72.js";
|
|
5
|
+
import "./index-BhybypN9.js";
|
|
6
|
+
import "./index-Dh15HnVF.js";
|
|
7
|
+
import "./index-BhVscuMR.js";
|
|
8
|
+
import "./index-DpjBqbbT.js";
|
|
10
9
|
export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, bigIntToNumber, bigIntToString, binaryToBase64, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/sdk-ts",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.3",
|
|
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": {
|
|
@@ -329,10 +329,10 @@
|
|
|
329
329
|
"rxjs": "7.8.2",
|
|
330
330
|
"snakecase-keys": "^5.4.1",
|
|
331
331
|
"viem": "^2.41.2",
|
|
332
|
-
"@injectivelabs/
|
|
333
|
-
"@injectivelabs/
|
|
334
|
-
"@injectivelabs/
|
|
335
|
-
"@injectivelabs/
|
|
332
|
+
"@injectivelabs/exceptions": "1.17.3",
|
|
333
|
+
"@injectivelabs/ts-types": "1.17.3",
|
|
334
|
+
"@injectivelabs/networks": "1.17.3",
|
|
335
|
+
"@injectivelabs/utils": "1.17.3"
|
|
336
336
|
},
|
|
337
337
|
"publishConfig": {
|
|
338
338
|
"access": "public"
|