@skip-go/client 1.1.0 → 1.1.1
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/api/getAssets.d.ts +1 -1
- package/dist/api/getAssets.js +2 -2
- package/dist/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/api/getAssetsBetweenChains.js +2 -2
- package/dist/api/getBridges.d.ts +1 -1
- package/dist/api/getBridges.js +2 -2
- package/dist/api/getChains.d.ts +1 -1
- package/dist/api/getChains.js +2 -2
- package/dist/api/getVenues.js +2 -2
- package/dist/api/postAssetsFromSource.d.ts +1 -1
- package/dist/api/postAssetsFromSource.js +3 -3
- package/dist/api/postBalances.d.ts +4 -4
- package/dist/api/postBalances.js +2 -2
- package/dist/api/postIbcOriginAssets.js +2 -2
- package/dist/api/postMessages.d.ts +42 -4
- package/dist/api/postMessages.js +2 -2
- package/dist/api/postMessagesDirect.d.ts +40 -2
- package/dist/api/postMessagesDirect.js +2 -2
- package/dist/api/postRecommendAssets.d.ts +1 -1
- package/dist/api/postRecommendAssets.js +2 -2
- package/dist/api/postRoute.d.ts +42 -4
- package/dist/api/postRoute.js +2 -2
- package/dist/api/postSubmitTransaction.js +2 -2
- package/dist/api/postTrackTransaction.js +2 -2
- package/dist/api/postTransactionStatus.d.ts +4 -4
- package/dist/api/postTransactionStatus.js +2 -2
- package/dist/{chunk-33K6EESX.js → chunk-2NYWLY5S.js} +2 -2
- package/dist/{chunk-RMP3HM5N.js → chunk-5EU3SRDQ.js} +3 -3
- package/dist/{chunk-DW4U6YI6.js → chunk-7FSLD7Y4.js} +2 -2
- package/dist/{chunk-RDRDFJQE.js → chunk-7P6AOFMX.js} +2 -2
- package/dist/{chunk-MGVXJ2U4.js → chunk-BCN2WD5Q.js} +2 -2
- package/dist/{chunk-BRMONS6A.js → chunk-EAUM5JYS.js} +4 -4
- package/dist/{chunk-L2KVKJG4.js → chunk-GTJ2EDUG.js} +2 -2
- package/dist/{chunk-BQTQJQ5E.js → chunk-H6RXHDUX.js} +2 -2
- package/dist/{chunk-TW77BXMT.js → chunk-KWVMUF5R.js} +1 -1
- package/dist/{chunk-F75DC5RW.js → chunk-MTXTFZRN.js} +7 -7
- package/dist/{chunk-UNF72WYO.js → chunk-PWSY2PQJ.js} +1 -1
- package/dist/{chunk-4JJWOILI.js → chunk-PZM2IB6H.js} +2 -2
- package/dist/{chunk-GARVPN2H.js → chunk-R2N4D2PY.js} +2 -2
- package/dist/{chunk-MTMPHY3Y.js → chunk-R3KHKN33.js} +1 -1
- package/dist/{chunk-C2EDPY6J.js → chunk-RL5AVCSG.js} +2 -2
- package/dist/{chunk-W6TBGBV3.js → chunk-SOGMQT4H.js} +68 -28
- package/dist/{chunk-VMPFHQ7U.js → chunk-T2TOUPEA.js} +1 -1
- package/dist/{chunk-SONZJVQM.js → chunk-UPL6CT4S.js} +1 -1
- package/dist/{chunk-KNV72XRZ.js → chunk-VRPPVMXO.js} +2 -2
- package/dist/{chunk-PRQ2NHRZ.js → chunk-WWDCZAB5.js} +2 -2
- package/dist/{client-types-CRJ3C0Fs.d.ts → client-types-BvdIj_Nf.d.ts} +1 -1
- package/dist/{executeRoute-DuwZ4QCT.d.ts → executeRoute-CxEpxhJ4.d.ts} +4 -4
- package/dist/{generateApi-B9tL1Q3P.d.ts → generateApi-BXIkShKU.d.ts} +1 -1
- package/dist/index.d.ts +155 -9
- package/dist/index.js +20 -20
- package/dist/public-functions/executeRoute.d.ts +4 -4
- package/dist/public-functions/executeRoute.js +8 -8
- package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/public-functions/getFeeInfoForChain.js +3 -3
- package/dist/public-functions/getRecommendedGasPrice.js +4 -4
- package/dist/public-functions/getSigningStargateClient.js +3 -3
- package/dist/public-functions/setApiOptions.d.ts +1 -1
- package/dist/public-functions/setApiOptions.js +2 -2
- package/dist/public-functions/setClientOptions.d.ts +3 -3
- package/dist/public-functions/setClientOptions.js +3 -3
- package/dist/{setClientOptions-BvZ71LJa.d.ts → setClientOptions-BkD-BMo7.d.ts} +1 -1
- package/dist/{swaggerTypes-zXseZjSi.d.ts → swaggerTypes-A72fxJ5y.d.ts} +228 -162
- package/package.json +1 -1
package/dist/api/getAssets.d.ts
CHANGED
package/dist/api/getAssets.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { assets, transformAssetsMap } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { assets, transformAssetsMap } from '../chunk-EAUM5JYS.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { assetsBetweenChains } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { assetsBetweenChains } from '../chunk-R3KHKN33.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
package/dist/api/getBridges.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
2
|
-
import {
|
|
2
|
+
import { bu as ContentType, J as BridgeType } from '../swaggerTypes-A72fxJ5y.js';
|
|
3
3
|
|
|
4
4
|
declare const bridges: (options?: ({
|
|
5
5
|
cache?: RequestCache | undefined;
|
package/dist/api/getBridges.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { bridges } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { bridges } from '../chunk-VRPPVMXO.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
package/dist/api/getChains.d.ts
CHANGED
package/dist/api/getChains.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { chains } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { chains } from '../chunk-EAUM5JYS.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
package/dist/api/getVenues.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { venues } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { venues } from '../chunk-RL5AVCSG.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { assetsFromSource } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { assetsFromSource } from '../chunk-5EU3SRDQ.js';
|
|
2
|
+
import '../chunk-EAUM5JYS.js';
|
|
3
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-BXIkShKU.js';
|
|
3
|
+
import '../swaggerTypes-A72fxJ5y.js';
|
|
4
4
|
|
|
5
5
|
declare const balances: (options?: ({
|
|
6
6
|
chains?: {
|
|
@@ -29,7 +29,7 @@ declare const balances: (options?: ({
|
|
|
29
29
|
};
|
|
30
30
|
} | undefined;
|
|
31
31
|
} | undefined>;
|
|
32
|
-
type BalanceRequest = ApiRequest<"
|
|
33
|
-
type BalanceResponse = ApiResponse<"
|
|
32
|
+
type BalanceRequest = ApiRequest<"balances">;
|
|
33
|
+
type BalanceResponse = ApiResponse<"balances">;
|
|
34
34
|
|
|
35
35
|
export { type BalanceRequest, type BalanceResponse, balances };
|
package/dist/api/postBalances.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { balances } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { balances } from '../chunk-EAUM5JYS.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ibcOriginAssets } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ibcOriginAssets } from '../chunk-WWDCZAB5.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
2
|
-
import {
|
|
3
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
2
|
+
import { J as BridgeType, f as AutopilotAction, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
|
|
3
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-BXIkShKU.js';
|
|
4
4
|
|
|
5
5
|
declare const messages: (options?: ({
|
|
6
6
|
sourceAssetDenom: string;
|
|
@@ -153,6 +153,44 @@ declare const messages: (options?: ({
|
|
|
153
153
|
txIndex: number;
|
|
154
154
|
amountIn: string;
|
|
155
155
|
amountOut: string;
|
|
156
|
+
} | {
|
|
157
|
+
goFastTransfer?: {
|
|
158
|
+
fromChainId?: string | undefined;
|
|
159
|
+
toChainId?: string | undefined;
|
|
160
|
+
bridgeId?: BridgeType | undefined;
|
|
161
|
+
denomIn?: string | undefined;
|
|
162
|
+
denomOut?: string | undefined;
|
|
163
|
+
fee?: {
|
|
164
|
+
feeAsset: {
|
|
165
|
+
chainId: string;
|
|
166
|
+
coingeckoId?: string | undefined;
|
|
167
|
+
decimals?: number | undefined;
|
|
168
|
+
denom: string;
|
|
169
|
+
description?: string | undefined;
|
|
170
|
+
isCw20: boolean;
|
|
171
|
+
isEvm: boolean;
|
|
172
|
+
isSvm: boolean;
|
|
173
|
+
logoUri?: string | undefined;
|
|
174
|
+
name?: string | undefined;
|
|
175
|
+
originChainId: string;
|
|
176
|
+
originDenom: string;
|
|
177
|
+
recommendedSymbol?: string | undefined;
|
|
178
|
+
symbol?: string | undefined;
|
|
179
|
+
tokenContract?: string | undefined;
|
|
180
|
+
trace: string;
|
|
181
|
+
};
|
|
182
|
+
bpsFee?: string | undefined;
|
|
183
|
+
bpsFeeAmount?: string | undefined;
|
|
184
|
+
bpsFeeUsd?: string | undefined;
|
|
185
|
+
sourceChainFeeAmount?: string | undefined;
|
|
186
|
+
sourceChainFeeUsd?: string | undefined;
|
|
187
|
+
destinationChainFeeAmount?: string | undefined;
|
|
188
|
+
destinationChainFeeUsd?: string | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
txIndex: number;
|
|
192
|
+
amountIn: string;
|
|
193
|
+
amountOut: string;
|
|
156
194
|
} | {
|
|
157
195
|
bankSend?: {
|
|
158
196
|
chainId?: string | undefined;
|
|
@@ -522,7 +560,7 @@ declare const messages: (options?: ({
|
|
|
522
560
|
operationIndex?: number | undefined;
|
|
523
561
|
}[] | undefined;
|
|
524
562
|
} | undefined>;
|
|
525
|
-
type MessagesRequest = ApiRequest<"
|
|
526
|
-
type MessagesResponse = ApiResponse<"
|
|
563
|
+
type MessagesRequest = ApiRequest<"msgs">;
|
|
564
|
+
type MessagesResponse = ApiResponse<"msgs">;
|
|
527
565
|
|
|
528
566
|
export { type MessagesRequest, type MessagesResponse, messages };
|
package/dist/api/postMessages.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { messages } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { messages } from '../chunk-7FSLD7Y4.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
2
|
-
import { f as AutopilotAction,
|
|
2
|
+
import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
|
|
3
3
|
|
|
4
4
|
declare const messagesDirect: (options?: ({
|
|
5
5
|
sourceAssetDenom?: string | undefined;
|
|
@@ -264,6 +264,44 @@ declare const messagesDirect: (options?: ({
|
|
|
264
264
|
txIndex: number;
|
|
265
265
|
amountIn: string;
|
|
266
266
|
amountOut: string;
|
|
267
|
+
} | {
|
|
268
|
+
goFastTransfer?: {
|
|
269
|
+
fromChainId?: string | undefined;
|
|
270
|
+
toChainId?: string | undefined;
|
|
271
|
+
bridgeId?: BridgeType | undefined;
|
|
272
|
+
denomIn?: string | undefined;
|
|
273
|
+
denomOut?: string | undefined;
|
|
274
|
+
fee?: {
|
|
275
|
+
feeAsset: {
|
|
276
|
+
chainId: string;
|
|
277
|
+
coingeckoId?: string | undefined;
|
|
278
|
+
decimals?: number | undefined;
|
|
279
|
+
denom: string;
|
|
280
|
+
description?: string | undefined;
|
|
281
|
+
isCw20: boolean;
|
|
282
|
+
isEvm: boolean;
|
|
283
|
+
isSvm: boolean;
|
|
284
|
+
logoUri?: string | undefined;
|
|
285
|
+
name?: string | undefined;
|
|
286
|
+
originChainId: string;
|
|
287
|
+
originDenom: string;
|
|
288
|
+
recommendedSymbol?: string | undefined;
|
|
289
|
+
symbol?: string | undefined;
|
|
290
|
+
tokenContract?: string | undefined;
|
|
291
|
+
trace: string;
|
|
292
|
+
};
|
|
293
|
+
bpsFee?: string | undefined;
|
|
294
|
+
bpsFeeAmount?: string | undefined;
|
|
295
|
+
bpsFeeUsd?: string | undefined;
|
|
296
|
+
sourceChainFeeAmount?: string | undefined;
|
|
297
|
+
sourceChainFeeUsd?: string | undefined;
|
|
298
|
+
destinationChainFeeAmount?: string | undefined;
|
|
299
|
+
destinationChainFeeUsd?: string | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
} | undefined;
|
|
302
|
+
txIndex: number;
|
|
303
|
+
amountIn: string;
|
|
304
|
+
amountOut: string;
|
|
267
305
|
} | {
|
|
268
306
|
bankSend?: {
|
|
269
307
|
chainId?: string | undefined;
|
|
@@ -561,7 +599,7 @@ declare const messagesDirect: (options?: ({
|
|
|
561
599
|
txIndex?: number | undefined;
|
|
562
600
|
operationIndex?: number | undefined;
|
|
563
601
|
}[] | undefined;
|
|
564
|
-
estimatedRouteDurationSeconds
|
|
602
|
+
estimatedRouteDurationSeconds: number;
|
|
565
603
|
} | undefined;
|
|
566
604
|
} | undefined>;
|
|
567
605
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { messagesDirect } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { messagesDirect } from '../chunk-H6RXHDUX.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { recommendAssets } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { recommendAssets } from '../chunk-PZM2IB6H.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
package/dist/api/postRoute.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-A72fxJ5y.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-BXIkShKU.js';
|
|
4
4
|
|
|
5
5
|
declare const route: (request: RouteRequest) => Promise<{
|
|
6
6
|
amountIn: string;
|
|
@@ -154,6 +154,44 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
154
154
|
txIndex: number;
|
|
155
155
|
amountIn: string;
|
|
156
156
|
amountOut: string;
|
|
157
|
+
} | {
|
|
158
|
+
goFastTransfer?: {
|
|
159
|
+
fromChainId?: string | undefined;
|
|
160
|
+
toChainId?: string | undefined;
|
|
161
|
+
bridgeId?: BridgeType | undefined;
|
|
162
|
+
denomIn?: string | undefined;
|
|
163
|
+
denomOut?: string | undefined;
|
|
164
|
+
fee?: {
|
|
165
|
+
feeAsset: {
|
|
166
|
+
chainId: string;
|
|
167
|
+
coingeckoId?: string | undefined;
|
|
168
|
+
decimals?: number | undefined;
|
|
169
|
+
denom: string;
|
|
170
|
+
description?: string | undefined;
|
|
171
|
+
isCw20: boolean;
|
|
172
|
+
isEvm: boolean;
|
|
173
|
+
isSvm: boolean;
|
|
174
|
+
logoUri?: string | undefined;
|
|
175
|
+
name?: string | undefined;
|
|
176
|
+
originChainId: string;
|
|
177
|
+
originDenom: string;
|
|
178
|
+
recommendedSymbol?: string | undefined;
|
|
179
|
+
symbol?: string | undefined;
|
|
180
|
+
tokenContract?: string | undefined;
|
|
181
|
+
trace: string;
|
|
182
|
+
};
|
|
183
|
+
bpsFee?: string | undefined;
|
|
184
|
+
bpsFeeAmount?: string | undefined;
|
|
185
|
+
bpsFeeUsd?: string | undefined;
|
|
186
|
+
sourceChainFeeAmount?: string | undefined;
|
|
187
|
+
sourceChainFeeUsd?: string | undefined;
|
|
188
|
+
destinationChainFeeAmount?: string | undefined;
|
|
189
|
+
destinationChainFeeUsd?: string | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
} | undefined;
|
|
192
|
+
txIndex: number;
|
|
193
|
+
amountIn: string;
|
|
194
|
+
amountOut: string;
|
|
157
195
|
} | {
|
|
158
196
|
bankSend?: {
|
|
159
197
|
chainId?: string | undefined;
|
|
@@ -451,9 +489,9 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
451
489
|
txIndex?: number | undefined;
|
|
452
490
|
operationIndex?: number | undefined;
|
|
453
491
|
}[] | undefined;
|
|
454
|
-
estimatedRouteDurationSeconds
|
|
492
|
+
estimatedRouteDurationSeconds: number;
|
|
455
493
|
} | undefined>;
|
|
456
|
-
type RouteRequest = ApiRequest<"
|
|
494
|
+
type RouteRequest = ApiRequest<"route"> & SkipApiOptions & {
|
|
457
495
|
abortDuplicateRequests?: boolean;
|
|
458
496
|
};
|
|
459
497
|
|
package/dist/api/postRoute.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { route } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { route } from '../chunk-R2N4D2PY.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { submitTransaction } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { submitTransaction } from '../chunk-7P6AOFMX.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { trackTransaction } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { trackTransaction } from '../chunk-BCN2WD5Q.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { av as StatusErrorType, aJ as TransactionState, al as PacketErrorType, aS as TransferState, k as AxelarTransferState, O as ContractCallWithTokenErrorType, as as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a8 as HyperlaneTransferState, aO as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aP as LayerZeroTransferState } from '../swaggerTypes-A72fxJ5y.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
3
|
-
import { a as ApiResponse } from '../generateApi-
|
|
3
|
+
import { a as ApiResponse } from '../generateApi-BXIkShKU.js';
|
|
4
4
|
|
|
5
5
|
declare const transactionStatus: (params?: ({
|
|
6
6
|
txHash: string;
|
|
@@ -601,7 +601,7 @@ declare const transactionStatus: (params?: ({
|
|
|
601
601
|
}[];
|
|
602
602
|
nextBlockingTransfer?: {
|
|
603
603
|
transferSequenceIndex?: number | undefined;
|
|
604
|
-
} |
|
|
604
|
+
} | undefined;
|
|
605
605
|
transferAssetRelease?: {
|
|
606
606
|
chainId?: string | undefined;
|
|
607
607
|
denom?: string | undefined;
|
|
@@ -618,6 +618,6 @@ declare const transactionStatus: (params?: ({
|
|
|
618
618
|
} | null | undefined;
|
|
619
619
|
status?: string | undefined;
|
|
620
620
|
}>;
|
|
621
|
-
type TxStatusResponse = ApiResponse<"
|
|
621
|
+
type TxStatusResponse = ApiResponse<"status">;
|
|
622
622
|
|
|
623
623
|
export { type TxStatusResponse, transactionStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { transactionStatus } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { transactionStatus } from '../chunk-2NYWLY5S.js';
|
|
2
|
+
import '../chunk-SOGMQT4H.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { pollingApi } from './chunk-
|
|
1
|
+
import { pollingApi } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/api/postTransactionStatus.ts
|
|
4
4
|
var transactionStatus = pollingApi({
|
|
5
|
-
methodName: "
|
|
5
|
+
methodName: "status",
|
|
6
6
|
path: "/v2/tx/status",
|
|
7
7
|
method: "get"
|
|
8
8
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { transformAssetsMap } from './chunk-
|
|
2
|
-
import { api } from './chunk-
|
|
1
|
+
import { transformAssetsMap } from './chunk-EAUM5JYS.js';
|
|
2
|
+
import { api } from './chunk-SOGMQT4H.js';
|
|
3
3
|
|
|
4
4
|
// src/api/postAssetsFromSource.ts
|
|
5
5
|
var assetsFromSource = api({
|
|
6
|
-
methodName: "
|
|
6
|
+
methodName: "assetsFromSource",
|
|
7
7
|
method: "post",
|
|
8
8
|
path: "/v2/fungible/assets_from_source",
|
|
9
9
|
transformResponse(response) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { api } from './chunk-
|
|
1
|
+
import { api } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/api/postSubmitTransaction.ts
|
|
4
4
|
var submitTransaction = api({
|
|
5
|
-
methodName: "
|
|
5
|
+
methodName: "submit",
|
|
6
6
|
method: "post",
|
|
7
7
|
path: "/v2/tx/submit"
|
|
8
8
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { pollingApi } from './chunk-
|
|
1
|
+
import { pollingApi } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/api/postTrackTransaction.ts
|
|
4
4
|
var trackTransaction = pollingApi({
|
|
5
|
-
methodName: "
|
|
5
|
+
methodName: "track",
|
|
6
6
|
path: "/v2/tx/track",
|
|
7
7
|
method: "post",
|
|
8
8
|
backoffMultiplier: 2.5
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { api } from './chunk-
|
|
1
|
+
import { api } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/private-functions/getMainnetAndTestnetChains.ts
|
|
4
4
|
var getMainnetAndTestnetChains = async (apiOptions) => {
|
|
@@ -22,7 +22,7 @@ var getMainnetAndTestnetChains = async (apiOptions) => {
|
|
|
22
22
|
|
|
23
23
|
// src/api/getAssets.ts
|
|
24
24
|
var assets = api({
|
|
25
|
-
methodName: "
|
|
25
|
+
methodName: "assets",
|
|
26
26
|
path: "/v2/fungible/assets",
|
|
27
27
|
transformResponse: (response) => {
|
|
28
28
|
return transformAssetsMap(response.chainToAssetsMap);
|
|
@@ -69,7 +69,7 @@ var getMainnetAndTestnetAssets = async ({
|
|
|
69
69
|
|
|
70
70
|
// src/api/postBalances.ts
|
|
71
71
|
var balances = api({
|
|
72
|
-
methodName: "
|
|
72
|
+
methodName: "balances",
|
|
73
73
|
method: "post",
|
|
74
74
|
path: "/v2/info/balances",
|
|
75
75
|
onSuccess: (response, options) => {
|
|
@@ -117,7 +117,7 @@ var ClientState = class {
|
|
|
117
117
|
|
|
118
118
|
// src/api/getChains.ts
|
|
119
119
|
var chains = api({
|
|
120
|
-
methodName: "
|
|
120
|
+
methodName: "chains",
|
|
121
121
|
path: "/v2/info/chains",
|
|
122
122
|
transformResponse: (response) => response.chains,
|
|
123
123
|
onSuccess: (response, options) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MsgAcceptOwner, MsgAddRemoteTokenMessenger, MsgDepositForBurn, MsgDepositForBurnWithCaller, MsgDisableAttester, MsgEnableAttester, MsgLinkTokenPair, MsgPauseBurningAndMinting, MsgPauseSendingAndReceivingMessages, MsgReceiveMessage, MsgRemoveRemoteTokenMessenger, MsgReplaceDepositForBurn, MsgReplaceMessage, MsgSendMessage, MsgSendMessageWithCaller, MsgUnlinkTokenPair, MsgUnpauseBurningAndMinting, MsgUnpauseSendingAndReceivingMessages, MsgUpdateOwner, MsgUpdateAttesterManager, MsgUpdateTokenController, MsgUpdatePauser, MsgUpdateMaxMessageBodySize, MsgSetMaxBurnAmountPerMessage, MsgUpdateSignatureThreshold, MsgExecute, MsgInitiateTokenDeposit, Coin, isSet, Long, Timestamp, toTimestamp, Period, fromTimestamp, fromJsonTimestamp, padDecimal } from './chunk-TD63P2AG.js';
|
|
2
|
-
import { ClientState } from './chunk-
|
|
3
|
-
import { ApiState, createRequestClient } from './chunk-
|
|
2
|
+
import { ClientState } from './chunk-EAUM5JYS.js';
|
|
3
|
+
import { ApiState, createRequestClient } from './chunk-SOGMQT4H.js';
|
|
4
4
|
import { AminoTypes, createDefaultAminoConverters, defaultRegistryTypes } from '@cosmjs/stargate';
|
|
5
5
|
import { createWasmAminoConverters } from '@cosmjs/cosmwasm-stargate';
|
|
6
6
|
import { Registry } from '@cosmjs/proto-signing';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { api } from './chunk-
|
|
1
|
+
import { api } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/api/postMessagesDirect.ts
|
|
4
4
|
var messagesDirect = api({
|
|
5
|
-
methodName: "
|
|
5
|
+
methodName: "msgsDirect",
|
|
6
6
|
method: "post",
|
|
7
7
|
path: "/v2/fungible/msgs_direct"
|
|
8
8
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { BigNumber } from './chunk-VQ5SIQWU.js';
|
|
2
2
|
import { GAS_STATION_CHAIN_IDS } from './chunk-SWYON2RG.js';
|
|
3
|
-
import { getSigningStargateClient, getRpcEndpointForChain, accountParser } from './chunk-
|
|
3
|
+
import { getSigningStargateClient, getRpcEndpointForChain, accountParser } from './chunk-UPL6CT4S.js';
|
|
4
4
|
import { chains, findFirstWorkingEndpoint, getIsEthermint, getIsInitia } from './chunk-JTIHU43D.js';
|
|
5
5
|
import { MsgDepositForBurn, MsgDepositForBurnWithCaller, MsgExecute, MsgInitiateTokenDeposit, BaseVestingAccount, Timestamp, toTimestamp, Period, fromTimestamp, isSet, fromJsonTimestamp } from './chunk-TD63P2AG.js';
|
|
6
|
-
import { messages } from './chunk-
|
|
7
|
-
import { submitTransaction } from './chunk-
|
|
8
|
-
import { trackTransaction } from './chunk-
|
|
9
|
-
import { transactionStatus } from './chunk-
|
|
10
|
-
import { ClientState, balances } from './chunk-
|
|
11
|
-
import { ApiState, wait, createRequestClient, toCamel } from './chunk-
|
|
6
|
+
import { messages } from './chunk-7FSLD7Y4.js';
|
|
7
|
+
import { submitTransaction } from './chunk-7P6AOFMX.js';
|
|
8
|
+
import { trackTransaction } from './chunk-BCN2WD5Q.js';
|
|
9
|
+
import { transactionStatus } from './chunk-2NYWLY5S.js';
|
|
10
|
+
import { ClientState, balances } from './chunk-EAUM5JYS.js';
|
|
11
|
+
import { ApiState, wait, createRequestClient, toCamel } from './chunk-SOGMQT4H.js';
|
|
12
12
|
import { PublicKey, Transaction, Connection, LAMPORTS_PER_SOL } from '@solana/web3.js';
|
|
13
13
|
import { bech32m, bech32 } from 'bech32';
|
|
14
14
|
import { StargateClient, GasPrice, calculateFee } from '@cosmjs/stargate';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { api } from './chunk-
|
|
1
|
+
import { api } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/api/postRecommendAssets.ts
|
|
4
4
|
var recommendAssets = api({
|
|
5
|
-
methodName: "
|
|
5
|
+
methodName: "assetRecommendations",
|
|
6
6
|
method: "post",
|
|
7
7
|
path: "/v2/fungible/recommend_assets",
|
|
8
8
|
transformResponse(response) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiState, api } from './chunk-
|
|
1
|
+
import { ApiState, api } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/api/postRoute.ts
|
|
4
4
|
var route = async (request) => {
|
|
@@ -7,7 +7,7 @@ var route = async (request) => {
|
|
|
7
7
|
cumulativeAffiliateFeeBps: ApiState.cumulativeAffiliateFeeBPS
|
|
8
8
|
};
|
|
9
9
|
return api({
|
|
10
|
-
methodName: "
|
|
10
|
+
methodName: "route",
|
|
11
11
|
method: "post",
|
|
12
12
|
path: "/v2/fungible/route"
|
|
13
13
|
})(requestWithAffiliateFeeBps);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { api } from './chunk-
|
|
1
|
+
import { api } from './chunk-SOGMQT4H.js';
|
|
2
2
|
|
|
3
3
|
// src/api/getVenues.ts
|
|
4
4
|
var venues = api({
|
|
5
|
-
methodName: "
|
|
5
|
+
methodName: "venues",
|
|
6
6
|
path: "/v2/fungible/venues",
|
|
7
7
|
transformResponse: (response) => response.venues
|
|
8
8
|
});
|