@skip-go/client 1.0.2 → 1.0.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.
Files changed (106) hide show
  1. package/dist/api/getAssets.cjs +15 -0
  2. package/dist/api/{getAssets.d.ts → getAssets.d.cts} +2 -2
  3. package/dist/api/getAssetsBetweenChains.cjs +11 -0
  4. package/dist/api/{getAssetsBetweenChains.d.ts → getAssetsBetweenChains.d.cts} +2 -2
  5. package/dist/api/getBridges.cjs +11 -0
  6. package/dist/api/{getBridges.d.ts → getBridges.d.cts} +2 -2
  7. package/dist/api/getChains.cjs +11 -0
  8. package/dist/api/{getChains.d.ts → getChains.d.cts} +2 -2
  9. package/dist/api/getVenues.cjs +11 -0
  10. package/dist/api/{getVenues.d.ts → getVenues.d.cts} +1 -1
  11. package/dist/api/postAssetsFromSource.cjs +12 -0
  12. package/dist/api/{postAssetsFromSource.d.ts → postAssetsFromSource.d.cts} +2 -2
  13. package/dist/api/postBalances.cjs +11 -0
  14. package/dist/api/{postBalances.d.ts → postBalances.d.cts} +3 -3
  15. package/dist/api/postIbcOriginAssets.cjs +11 -0
  16. package/dist/api/{postIbcOriginAssets.d.ts → postIbcOriginAssets.d.cts} +1 -1
  17. package/dist/api/postMessages.cjs +11 -0
  18. package/dist/api/{postMessages.d.ts → postMessages.d.cts} +186 -186
  19. package/dist/api/postMessagesDirect.cjs +11 -0
  20. package/dist/api/{postMessagesDirect.d.ts → postMessagesDirect.d.cts} +185 -185
  21. package/dist/api/postRecommendAssets.cjs +11 -0
  22. package/dist/api/{postRecommendAssets.d.ts → postRecommendAssets.d.cts} +2 -2
  23. package/dist/api/postRoute.cjs +11 -0
  24. package/dist/api/{postRoute.d.ts → postRoute.d.cts} +163 -163
  25. package/dist/api/postSubmitTransaction.cjs +11 -0
  26. package/dist/api/{postSubmitTransaction.d.ts → postSubmitTransaction.d.cts} +1 -1
  27. package/dist/api/postTrackTransaction.cjs +11 -0
  28. package/dist/api/{postTrackTransaction.d.ts → postTrackTransaction.d.cts} +1 -1
  29. package/dist/api/postTransactionStatus.cjs +11 -0
  30. package/dist/api/{postTransactionStatus.d.ts → postTransactionStatus.d.cts} +3 -3
  31. package/dist/chunk-32MRDO7V.cjs +12 -0
  32. package/dist/chunk-44PBLFB5.cjs +24 -0
  33. package/dist/{chunk-VQ5SIQWU.js → chunk-4R6OCWRR.cjs} +3 -1
  34. package/dist/{chunk-SQGWZAUC.js → chunk-5IAEEEOQ.cjs} +243 -221
  35. package/dist/{chunk-4JJWOILI.js → chunk-77ITCT75.cjs} +5 -3
  36. package/dist/{chunk-3OZQ35X3.js → chunk-7OIZPQJB.cjs} +174 -111
  37. package/dist/{chunk-JTIHU43D.js → chunk-7SK3IFXJ.cjs} +6 -1
  38. package/dist/chunk-DAMZSSOH.cjs +12 -0
  39. package/dist/{chunk-BRMONS6A.js → chunk-ED2OY55G.cjs} +11 -5
  40. package/dist/{chunk-735L35R6.js → chunk-G7BBDZ7C.cjs} +208 -186
  41. package/dist/{chunk-W6TBGBV3.js → chunk-HAR3IXDE.cjs} +31 -1
  42. package/dist/chunk-ISHM4QWP.cjs +16 -0
  43. package/dist/{chunk-VMPFHQ7U.js → chunk-J4LI33TK.cjs} +11 -9
  44. package/dist/chunk-KDN7RCGP.cjs +13 -0
  45. package/dist/{chunk-SWYON2RG.js → chunk-KZOSEIWH.cjs} +4 -1
  46. package/dist/chunk-L5V5PASH.cjs +12 -0
  47. package/dist/chunk-LXYLWTNZ.cjs +12 -0
  48. package/dist/{chunk-C2EDPY6J.js → chunk-PNWIJSMA.cjs} +5 -3
  49. package/dist/{chunk-PRQ2NHRZ.js → chunk-RDOSNDAQ.cjs} +5 -3
  50. package/dist/{chunk-GARVPN2H.js → chunk-SFMBRLUS.cjs} +6 -4
  51. package/dist/{chunk-3N7XVGLX.js → chunk-SW3SEQMJ.cjs} +51 -47
  52. package/dist/chunk-URLFWBSC.cjs +11 -0
  53. package/dist/{chunk-KNV72XRZ.js → chunk-VI7UMBQ7.cjs} +5 -3
  54. package/dist/{chunk-TW77BXMT.js → chunk-ZNXE6PUV.cjs} +9 -7
  55. package/dist/{client-types-CxjtffyG.d.ts → client-types-qvyKvyFh.d.cts} +1 -1
  56. package/dist/{executeRoute-BKvMVd1I.d.ts → executeRoute-BKRpODCc.d.cts} +3 -3
  57. package/dist/{generateApi-DqCp36fX.d.ts → generateApi-C0amiydg.d.cts} +1 -1
  58. package/dist/index.cjs +209 -0
  59. package/dist/{index.d.ts → index.d.cts} +25 -25
  60. package/dist/public-functions/executeRoute.cjs +21 -0
  61. package/dist/public-functions/{executeRoute.d.ts → executeRoute.d.cts} +4 -4
  62. package/dist/public-functions/getFeeInfoForChain.cjs +14 -0
  63. package/dist/public-functions/{getFeeInfoForChain.d.ts → getFeeInfoForChain.d.cts} +2 -2
  64. package/dist/public-functions/getRecommendedGasPrice.cjs +16 -0
  65. package/dist/public-functions/{getRecommendedGasPrice.d.ts → getRecommendedGasPrice.d.cts} +1 -1
  66. package/dist/public-functions/getSigningStargateClient.cjs +13 -0
  67. package/dist/public-functions/setApiOptions.cjs +11 -0
  68. package/dist/public-functions/{setApiOptions.d.ts → setApiOptions.d.cts} +2 -2
  69. package/dist/public-functions/setClientOptions.cjs +13 -0
  70. package/dist/public-functions/setClientOptions.d.cts +9 -0
  71. package/dist/{setClientOptions-DbanEIwL.d.ts → setClientOptions-CT6CHI9I.d.cts} +2 -2
  72. package/package.json +6 -6
  73. package/dist/api/getAssets.js +0 -2
  74. package/dist/api/getAssetsBetweenChains.js +0 -2
  75. package/dist/api/getBridges.js +0 -2
  76. package/dist/api/getChains.js +0 -2
  77. package/dist/api/getVenues.js +0 -2
  78. package/dist/api/postAssetsFromSource.js +0 -3
  79. package/dist/api/postBalances.js +0 -2
  80. package/dist/api/postIbcOriginAssets.js +0 -2
  81. package/dist/api/postMessages.js +0 -2
  82. package/dist/api/postMessagesDirect.js +0 -2
  83. package/dist/api/postRecommendAssets.js +0 -2
  84. package/dist/api/postRoute.js +0 -2
  85. package/dist/api/postSubmitTransaction.js +0 -2
  86. package/dist/api/postTrackTransaction.js +0 -2
  87. package/dist/api/postTransactionStatus.js +0 -2
  88. package/dist/chunk-33K6EESX.js +0 -10
  89. package/dist/chunk-BQTQJQ5E.js +0 -10
  90. package/dist/chunk-BRJDNGYH.js +0 -22
  91. package/dist/chunk-DW4U6YI6.js +0 -10
  92. package/dist/chunk-MGVXJ2U4.js +0 -11
  93. package/dist/chunk-MTMPHY3Y.js +0 -9
  94. package/dist/chunk-RDRDFJQE.js +0 -10
  95. package/dist/chunk-RMP3HM5N.js +0 -14
  96. package/dist/index.js +0 -24
  97. package/dist/public-functions/executeRoute.js +0 -12
  98. package/dist/public-functions/getFeeInfoForChain.js +0 -5
  99. package/dist/public-functions/getRecommendedGasPrice.js +0 -7
  100. package/dist/public-functions/getSigningStargateClient.js +0 -4
  101. package/dist/public-functions/setApiOptions.js +0 -2
  102. package/dist/public-functions/setClientOptions.d.ts +0 -9
  103. package/dist/public-functions/setClientOptions.js +0 -4
  104. /package/dist/{apiState-CdzxTxYd.d.ts → apiState-CdzxTxYd.d.cts} +0 -0
  105. /package/dist/public-functions/{getSigningStargateClient.d.ts → getSigningStargateClient.d.cts} +0 -0
  106. /package/dist/{swaggerTypes-O9-gvCT1.d.ts → swaggerTypes-O9-gvCT1.d.cts} +0 -0
package/dist/index.cjs ADDED
@@ -0,0 +1,209 @@
1
+ 'use strict';
2
+
3
+ var chunkG7BBDZ7C_cjs = require('./chunk-G7BBDZ7C.cjs');
4
+ var chunk44PBLFB5_cjs = require('./chunk-44PBLFB5.cjs');
5
+ require('./chunk-4R6OCWRR.cjs');
6
+ var chunkJ4LI33TK_cjs = require('./chunk-J4LI33TK.cjs');
7
+ var chunkKZOSEIWH_cjs = require('./chunk-KZOSEIWH.cjs');
8
+ var chunkSW3SEQMJ_cjs = require('./chunk-SW3SEQMJ.cjs');
9
+ require('./chunk-7SK3IFXJ.cjs');
10
+ var chunkZNXE6PUV_cjs = require('./chunk-ZNXE6PUV.cjs');
11
+ var chunk5IAEEEOQ_cjs = require('./chunk-5IAEEEOQ.cjs');
12
+ require('./chunk-7OIZPQJB.cjs');
13
+ var chunkRDOSNDAQ_cjs = require('./chunk-RDOSNDAQ.cjs');
14
+ var chunk32MRDO7V_cjs = require('./chunk-32MRDO7V.cjs');
15
+ var chunkLXYLWTNZ_cjs = require('./chunk-LXYLWTNZ.cjs');
16
+ var chunk77ITCT75_cjs = require('./chunk-77ITCT75.cjs');
17
+ var chunkSFMBRLUS_cjs = require('./chunk-SFMBRLUS.cjs');
18
+ var chunkL5V5PASH_cjs = require('./chunk-L5V5PASH.cjs');
19
+ var chunkKDN7RCGP_cjs = require('./chunk-KDN7RCGP.cjs');
20
+ var chunkDAMZSSOH_cjs = require('./chunk-DAMZSSOH.cjs');
21
+ var chunkURLFWBSC_cjs = require('./chunk-URLFWBSC.cjs');
22
+ var chunkVI7UMBQ7_cjs = require('./chunk-VI7UMBQ7.cjs');
23
+ var chunkPNWIJSMA_cjs = require('./chunk-PNWIJSMA.cjs');
24
+ var chunkISHM4QWP_cjs = require('./chunk-ISHM4QWP.cjs');
25
+ var chunkED2OY55G_cjs = require('./chunk-ED2OY55G.cjs');
26
+ var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
27
+
28
+
29
+
30
+ Object.defineProperty(exports, "executeRoute", {
31
+ enumerable: true,
32
+ get: function () { return chunkG7BBDZ7C_cjs.executeRoute; }
33
+ });
34
+ Object.defineProperty(exports, "getRecommendedGasPrice", {
35
+ enumerable: true,
36
+ get: function () { return chunk44PBLFB5_cjs.getRecommendedGasPrice; }
37
+ });
38
+ Object.defineProperty(exports, "getFeeInfoForChain", {
39
+ enumerable: true,
40
+ get: function () { return chunkJ4LI33TK_cjs.getFeeInfoForChain; }
41
+ });
42
+ Object.defineProperty(exports, "GAS_STATION_CHAIN_IDS", {
43
+ enumerable: true,
44
+ get: function () { return chunkKZOSEIWH_cjs.GAS_STATION_CHAIN_IDS; }
45
+ });
46
+ Object.defineProperty(exports, "getSigningStargateClient", {
47
+ enumerable: true,
48
+ get: function () { return chunkSW3SEQMJ_cjs.getSigningStargateClient; }
49
+ });
50
+ Object.defineProperty(exports, "setApiOptions", {
51
+ enumerable: true,
52
+ get: function () { return chunkZNXE6PUV_cjs.setApiOptions; }
53
+ });
54
+ Object.defineProperty(exports, "setClientOptions", {
55
+ enumerable: true,
56
+ get: function () { return chunk5IAEEEOQ_cjs.setClientOptions; }
57
+ });
58
+ Object.defineProperty(exports, "ibcOriginAssets", {
59
+ enumerable: true,
60
+ get: function () { return chunkRDOSNDAQ_cjs.ibcOriginAssets; }
61
+ });
62
+ Object.defineProperty(exports, "messages", {
63
+ enumerable: true,
64
+ get: function () { return chunk32MRDO7V_cjs.messages; }
65
+ });
66
+ Object.defineProperty(exports, "messagesDirect", {
67
+ enumerable: true,
68
+ get: function () { return chunkLXYLWTNZ_cjs.messagesDirect; }
69
+ });
70
+ Object.defineProperty(exports, "recommendAssets", {
71
+ enumerable: true,
72
+ get: function () { return chunk77ITCT75_cjs.recommendAssets; }
73
+ });
74
+ Object.defineProperty(exports, "route", {
75
+ enumerable: true,
76
+ get: function () { return chunkSFMBRLUS_cjs.route; }
77
+ });
78
+ Object.defineProperty(exports, "submitTransaction", {
79
+ enumerable: true,
80
+ get: function () { return chunkL5V5PASH_cjs.submitTransaction; }
81
+ });
82
+ Object.defineProperty(exports, "trackTransaction", {
83
+ enumerable: true,
84
+ get: function () { return chunkKDN7RCGP_cjs.trackTransaction; }
85
+ });
86
+ Object.defineProperty(exports, "transactionStatus", {
87
+ enumerable: true,
88
+ get: function () { return chunkDAMZSSOH_cjs.transactionStatus; }
89
+ });
90
+ Object.defineProperty(exports, "assetsBetweenChains", {
91
+ enumerable: true,
92
+ get: function () { return chunkURLFWBSC_cjs.assetsBetweenChains; }
93
+ });
94
+ Object.defineProperty(exports, "bridges", {
95
+ enumerable: true,
96
+ get: function () { return chunkVI7UMBQ7_cjs.bridges; }
97
+ });
98
+ Object.defineProperty(exports, "venues", {
99
+ enumerable: true,
100
+ get: function () { return chunkPNWIJSMA_cjs.venues; }
101
+ });
102
+ Object.defineProperty(exports, "assetsFromSource", {
103
+ enumerable: true,
104
+ get: function () { return chunkISHM4QWP_cjs.assetsFromSource; }
105
+ });
106
+ Object.defineProperty(exports, "assets", {
107
+ enumerable: true,
108
+ get: function () { return chunkED2OY55G_cjs.assets; }
109
+ });
110
+ Object.defineProperty(exports, "balances", {
111
+ enumerable: true,
112
+ get: function () { return chunkED2OY55G_cjs.balances; }
113
+ });
114
+ Object.defineProperty(exports, "chains", {
115
+ enumerable: true,
116
+ get: function () { return chunkED2OY55G_cjs.chains; }
117
+ });
118
+ Object.defineProperty(exports, "Api", {
119
+ enumerable: true,
120
+ get: function () { return chunkHAR3IXDE_cjs.Api; }
121
+ });
122
+ Object.defineProperty(exports, "AutopilotAction", {
123
+ enumerable: true,
124
+ get: function () { return chunkHAR3IXDE_cjs.AutopilotAction; }
125
+ });
126
+ Object.defineProperty(exports, "AxelarTransferState", {
127
+ enumerable: true,
128
+ get: function () { return chunkHAR3IXDE_cjs.AxelarTransferState; }
129
+ });
130
+ Object.defineProperty(exports, "AxelarTransferType", {
131
+ enumerable: true,
132
+ get: function () { return chunkHAR3IXDE_cjs.AxelarTransferType; }
133
+ });
134
+ Object.defineProperty(exports, "BridgeType", {
135
+ enumerable: true,
136
+ get: function () { return chunkHAR3IXDE_cjs.BridgeType; }
137
+ });
138
+ Object.defineProperty(exports, "CCTPTransferState", {
139
+ enumerable: true,
140
+ get: function () { return chunkHAR3IXDE_cjs.CCTPTransferState; }
141
+ });
142
+ Object.defineProperty(exports, "ChainType", {
143
+ enumerable: true,
144
+ get: function () { return chunkHAR3IXDE_cjs.ChainType; }
145
+ });
146
+ Object.defineProperty(exports, "ContentType", {
147
+ enumerable: true,
148
+ get: function () { return chunkHAR3IXDE_cjs.ContentType; }
149
+ });
150
+ Object.defineProperty(exports, "ContractCallWithTokenErrorType", {
151
+ enumerable: true,
152
+ get: function () { return chunkHAR3IXDE_cjs.ContractCallWithTokenErrorType; }
153
+ });
154
+ Object.defineProperty(exports, "FeeType", {
155
+ enumerable: true,
156
+ get: function () { return chunkHAR3IXDE_cjs.FeeType; }
157
+ });
158
+ Object.defineProperty(exports, "GoFastTransferState", {
159
+ enumerable: true,
160
+ get: function () { return chunkHAR3IXDE_cjs.GoFastTransferState; }
161
+ });
162
+ Object.defineProperty(exports, "HttpClient", {
163
+ enumerable: true,
164
+ get: function () { return chunkHAR3IXDE_cjs.HttpClient; }
165
+ });
166
+ Object.defineProperty(exports, "HyperlaneTransferState", {
167
+ enumerable: true,
168
+ get: function () { return chunkHAR3IXDE_cjs.HyperlaneTransferState; }
169
+ });
170
+ Object.defineProperty(exports, "LayerZeroTransferState", {
171
+ enumerable: true,
172
+ get: function () { return chunkHAR3IXDE_cjs.LayerZeroTransferState; }
173
+ });
174
+ Object.defineProperty(exports, "OPInitTransferState", {
175
+ enumerable: true,
176
+ get: function () { return chunkHAR3IXDE_cjs.OPInitTransferState; }
177
+ });
178
+ Object.defineProperty(exports, "PacketErrorType", {
179
+ enumerable: true,
180
+ get: function () { return chunkHAR3IXDE_cjs.PacketErrorType; }
181
+ });
182
+ Object.defineProperty(exports, "Reason", {
183
+ enumerable: true,
184
+ get: function () { return chunkHAR3IXDE_cjs.Reason; }
185
+ });
186
+ Object.defineProperty(exports, "RoutePriceWarningType", {
187
+ enumerable: true,
188
+ get: function () { return chunkHAR3IXDE_cjs.RoutePriceWarningType; }
189
+ });
190
+ Object.defineProperty(exports, "SendTokenErrorType", {
191
+ enumerable: true,
192
+ get: function () { return chunkHAR3IXDE_cjs.SendTokenErrorType; }
193
+ });
194
+ Object.defineProperty(exports, "StargateTransferState", {
195
+ enumerable: true,
196
+ get: function () { return chunkHAR3IXDE_cjs.StargateTransferState; }
197
+ });
198
+ Object.defineProperty(exports, "StatusErrorType", {
199
+ enumerable: true,
200
+ get: function () { return chunkHAR3IXDE_cjs.StatusErrorType; }
201
+ });
202
+ Object.defineProperty(exports, "TransactionState", {
203
+ enumerable: true,
204
+ get: function () { return chunkHAR3IXDE_cjs.TransactionState; }
205
+ });
206
+ Object.defineProperty(exports, "TransferState", {
207
+ enumerable: true,
208
+ get: function () { return chunkHAR3IXDE_cjs.TransferState; }
209
+ });
@@ -1,33 +1,33 @@
1
- export { A as AcknowledgementErrorDetails, a as Affiliate, bc as Api, b8 as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, D as BalanceResponseChainEntry, z as BalanceResponseDenomEntry, E as BankSend, F as BankSendWrapper, H as Bridge, I as BridgeType, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, J as Chain, L as ChainAffiliates, al as ChainTransaction, K as ChainType, ba as ContentType, M as ContractCallWithTokenError, N as ContractCallWithTokenErrorType, O as ContractCallWithTokenTxs, P as CosmWasmContractMsg, Q as CosmWasmContractMsgWrapper, b0 as CosmosModuleSupport, V as CosmosMsg, W as CosmosTx, X as CosmosTxWrapper, R as Erc20Approval, U as Error, T as ErrorDetail, aV as EurekaTransfer, aW as EurekaTransferInfo, aX as EurekaTransferWrapper, Y as EvmSwap, Z as EvmSwapWrapper, _ as EvmTx, $ as EvmTxWrapper, b3 as Fee, a2 as FeeAsset, b2 as FeeType, b6 as FullRequestParams, a4 as GRPCStatusCode, a3 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, bb as HttpClient, b9 as HttpResponse, a5 as HyperlaneTransfer, a6 as HyperlaneTransferInfo, a7 as HyperlaneTransferState, a8 as HyperlaneTransferTransactions, a9 as HyperlaneTransferWrapper, aa as IBCTransferInfo, b1 as IbcCapabilities, aY as LayerZeroTransfer, aZ as LayerZeroTransferInfo, aO as LayerZeroTransferState, ah as LayerZeroTransferTransactions, a_ as LayerZeroTransferWrapper, ab as Msg, ad as MultiChainMsg, ae as MultiChainMsgWrapper, aJ as OPInitTransfer, aL as OPInitTransferInfo, aN as OPInitTransferState, aM as OPInitTransferTxs, aK as OPInitTransferWrapper, af as Operation, ag as OptionalAsset, ai as Packet, aj as PacketError, ak as PacketErrorType, am as PostHandler, b4 as QueryParamsType, an as Reason, a$ as RecommendationRequest, b7 as RequestParams, b5 as ResponseFormat, ao as RoutePriceWarningType, ap as RouteResponse, aq as SendTokenError, ar as SendTokenErrorType, as as SendTokenTxs, S as SmartRelayFeeQuote, aC as SmartSwapExactCoinIn, aE as SmartSwapInWrapper, aD as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, at as StatusError, au as StatusErrorType, a0 as SvmTx, a1 as SvmTxWrapper, av as Swap, aw as SwapExactCoinIn, ax as SwapExactCoinOut, ay as SwapInWrapper, az as SwapOperation, aA as SwapOutWrapper, aB as SwapRoute, aF as SwapVenue, aG as SwapWrapper, aH as TransactionExecutionErrorDetails, aI as TransactionState, aP as Transfer, aS as TransferAssetRelease, aQ as TransferEvent, aR as TransferState, aT as TransferStatus, aU as TransferWrapper, ac as Tx } from './swaggerTypes-O9-gvCT1.js';
2
- export { E as ExecuteRouteOptions, T as TransactionCallbacks, e as executeRoute } from './executeRoute-BKvMVd1I.js';
3
- export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-CxjtffyG.js';
4
- export { assets } from './api/getAssets.js';
5
- export { assetsBetweenChains } from './api/getAssetsBetweenChains.js';
6
- export { bridges } from './api/getBridges.js';
7
- export { chains } from './api/getChains.js';
8
- export { venues } from './api/getVenues.js';
9
- export { ibcOriginAssets } from './api/postIbcOriginAssets.js';
10
- export { MessagesRequest, MessagesResponse, messages } from './api/postMessages.js';
11
- export { messagesDirect } from './api/postMessagesDirect.js';
12
- export { recommendAssets } from './api/postRecommendAssets.js';
13
- export { assetsFromSource } from './api/postAssetsFromSource.js';
14
- export { BalanceRequest, BalanceResponse, balances } from './api/postBalances.js';
15
- export { RouteRequest, route } from './api/postRoute.js';
16
- export { submitTransaction } from './api/postSubmitTransaction.js';
17
- export { trackTransaction } from './api/postTrackTransaction.js';
18
- export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.js';
19
- export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.js';
20
- export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-DbanEIwL.js';
21
- export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.js';
22
- export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.js';
23
- export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.js';
24
- import './generateApi-DqCp36fX.js';
1
+ export { A as AcknowledgementErrorDetails, a as Affiliate, bc as Api, b8 as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, D as BalanceResponseChainEntry, z as BalanceResponseDenomEntry, E as BankSend, F as BankSendWrapper, H as Bridge, I as BridgeType, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, J as Chain, L as ChainAffiliates, al as ChainTransaction, K as ChainType, ba as ContentType, M as ContractCallWithTokenError, N as ContractCallWithTokenErrorType, O as ContractCallWithTokenTxs, P as CosmWasmContractMsg, Q as CosmWasmContractMsgWrapper, b0 as CosmosModuleSupport, V as CosmosMsg, W as CosmosTx, X as CosmosTxWrapper, R as Erc20Approval, U as Error, T as ErrorDetail, aV as EurekaTransfer, aW as EurekaTransferInfo, aX as EurekaTransferWrapper, Y as EvmSwap, Z as EvmSwapWrapper, _ as EvmTx, $ as EvmTxWrapper, b3 as Fee, a2 as FeeAsset, b2 as FeeType, b6 as FullRequestParams, a4 as GRPCStatusCode, a3 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, bb as HttpClient, b9 as HttpResponse, a5 as HyperlaneTransfer, a6 as HyperlaneTransferInfo, a7 as HyperlaneTransferState, a8 as HyperlaneTransferTransactions, a9 as HyperlaneTransferWrapper, aa as IBCTransferInfo, b1 as IbcCapabilities, aY as LayerZeroTransfer, aZ as LayerZeroTransferInfo, aO as LayerZeroTransferState, ah as LayerZeroTransferTransactions, a_ as LayerZeroTransferWrapper, ab as Msg, ad as MultiChainMsg, ae as MultiChainMsgWrapper, aJ as OPInitTransfer, aL as OPInitTransferInfo, aN as OPInitTransferState, aM as OPInitTransferTxs, aK as OPInitTransferWrapper, af as Operation, ag as OptionalAsset, ai as Packet, aj as PacketError, ak as PacketErrorType, am as PostHandler, b4 as QueryParamsType, an as Reason, a$ as RecommendationRequest, b7 as RequestParams, b5 as ResponseFormat, ao as RoutePriceWarningType, ap as RouteResponse, aq as SendTokenError, ar as SendTokenErrorType, as as SendTokenTxs, S as SmartRelayFeeQuote, aC as SmartSwapExactCoinIn, aE as SmartSwapInWrapper, aD as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, at as StatusError, au as StatusErrorType, a0 as SvmTx, a1 as SvmTxWrapper, av as Swap, aw as SwapExactCoinIn, ax as SwapExactCoinOut, ay as SwapInWrapper, az as SwapOperation, aA as SwapOutWrapper, aB as SwapRoute, aF as SwapVenue, aG as SwapWrapper, aH as TransactionExecutionErrorDetails, aI as TransactionState, aP as Transfer, aS as TransferAssetRelease, aQ as TransferEvent, aR as TransferState, aT as TransferStatus, aU as TransferWrapper, ac as Tx } from './swaggerTypes-O9-gvCT1.cjs';
2
+ export { E as ExecuteRouteOptions, T as TransactionCallbacks, e as executeRoute } from './executeRoute-BKRpODCc.cjs';
3
+ export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-qvyKvyFh.cjs';
4
+ export { assets } from './api/getAssets.cjs';
5
+ export { assetsBetweenChains } from './api/getAssetsBetweenChains.cjs';
6
+ export { bridges } from './api/getBridges.cjs';
7
+ export { chains } from './api/getChains.cjs';
8
+ export { venues } from './api/getVenues.cjs';
9
+ export { ibcOriginAssets } from './api/postIbcOriginAssets.cjs';
10
+ export { MessagesRequest, MessagesResponse, messages } from './api/postMessages.cjs';
11
+ export { messagesDirect } from './api/postMessagesDirect.cjs';
12
+ export { recommendAssets } from './api/postRecommendAssets.cjs';
13
+ export { assetsFromSource } from './api/postAssetsFromSource.cjs';
14
+ export { BalanceRequest, BalanceResponse, balances } from './api/postBalances.cjs';
15
+ export { RouteRequest, route } from './api/postRoute.cjs';
16
+ export { submitTransaction } from './api/postSubmitTransaction.cjs';
17
+ export { trackTransaction } from './api/postTrackTransaction.cjs';
18
+ export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.cjs';
19
+ export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.cjs';
20
+ export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-CT6CHI9I.cjs';
21
+ export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.cjs';
22
+ export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.cjs';
23
+ export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.cjs';
24
+ import './generateApi-C0amiydg.cjs';
25
25
  import '@cosmjs/amino';
26
26
  import '@cosmjs/proto-signing';
27
27
  import '@cosmjs/stargate';
28
28
  import 'viem';
29
29
  import '@solana/wallet-adapter-base';
30
- import './apiState-CdzxTxYd.js';
30
+ import './apiState-CdzxTxYd.cjs';
31
31
  import '@cosmjs/proto-signing/build/signer';
32
32
 
33
33
  declare const GAS_STATION_CHAIN_IDS: string[];
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var chunkG7BBDZ7C_cjs = require('../chunk-G7BBDZ7C.cjs');
4
+ require('../chunk-4R6OCWRR.cjs');
5
+ require('../chunk-KZOSEIWH.cjs');
6
+ require('../chunk-SW3SEQMJ.cjs');
7
+ require('../chunk-7SK3IFXJ.cjs');
8
+ require('../chunk-7OIZPQJB.cjs');
9
+ require('../chunk-32MRDO7V.cjs');
10
+ require('../chunk-L5V5PASH.cjs');
11
+ require('../chunk-KDN7RCGP.cjs');
12
+ require('../chunk-DAMZSSOH.cjs');
13
+ require('../chunk-ED2OY55G.cjs');
14
+ require('../chunk-HAR3IXDE.cjs');
15
+
16
+
17
+
18
+ Object.defineProperty(exports, "executeRoute", {
19
+ enumerable: true,
20
+ get: function () { return chunkG7BBDZ7C_cjs.executeRoute; }
21
+ });
@@ -1,7 +1,7 @@
1
- export { E as ExecuteRouteOptions, e as executeRoute } from '../executeRoute-BKvMVd1I.js';
2
- import '../swaggerTypes-O9-gvCT1.js';
3
- import '../generateApi-DqCp36fX.js';
4
- import '../client-types-CxjtffyG.js';
1
+ export { E as ExecuteRouteOptions, e as executeRoute } from '../executeRoute-BKRpODCc.cjs';
2
+ import '../swaggerTypes-O9-gvCT1.cjs';
3
+ import '../generateApi-C0amiydg.cjs';
4
+ import '../client-types-qvyKvyFh.cjs';
5
5
  import '@cosmjs/amino';
6
6
  import '@cosmjs/proto-signing';
7
7
  import '@cosmjs/stargate';
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var chunkJ4LI33TK_cjs = require('../chunk-J4LI33TK.cjs');
4
+ require('../chunk-KZOSEIWH.cjs');
5
+ require('../chunk-7SK3IFXJ.cjs');
6
+ require('../chunk-ED2OY55G.cjs');
7
+ require('../chunk-HAR3IXDE.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "getFeeInfoForChain", {
12
+ enumerable: true,
13
+ get: function () { return chunkJ4LI33TK_cjs.getFeeInfoForChain; }
14
+ });
@@ -1,5 +1,5 @@
1
- import { a2 as FeeAsset } from '../swaggerTypes-O9-gvCT1.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { a2 as FeeAsset } from '../swaggerTypes-O9-gvCT1.cjs';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
3
3
 
4
4
  type GetFeeInfoForChainProps = {
5
5
  chainId: string;
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunk44PBLFB5_cjs = require('../chunk-44PBLFB5.cjs');
4
+ require('../chunk-4R6OCWRR.cjs');
5
+ require('../chunk-J4LI33TK.cjs');
6
+ require('../chunk-KZOSEIWH.cjs');
7
+ require('../chunk-7SK3IFXJ.cjs');
8
+ require('../chunk-ED2OY55G.cjs');
9
+ require('../chunk-HAR3IXDE.cjs');
10
+
11
+
12
+
13
+ Object.defineProperty(exports, "getRecommendedGasPrice", {
14
+ enumerable: true,
15
+ get: function () { return chunk44PBLFB5_cjs.getRecommendedGasPrice; }
16
+ });
@@ -1,5 +1,5 @@
1
1
  import { GasPrice } from '@cosmjs/stargate';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
3
3
 
4
4
  type getRecommendedGasPriceProps = {
5
5
  chainId: string;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkSW3SEQMJ_cjs = require('../chunk-SW3SEQMJ.cjs');
4
+ require('../chunk-7SK3IFXJ.cjs');
5
+ require('../chunk-ED2OY55G.cjs');
6
+ require('../chunk-HAR3IXDE.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "getSigningStargateClient", {
11
+ enumerable: true,
12
+ get: function () { return chunkSW3SEQMJ_cjs.getSigningStargateClient; }
13
+ });
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkZNXE6PUV_cjs = require('../chunk-ZNXE6PUV.cjs');
4
+ require('../chunk-HAR3IXDE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "setApiOptions", {
9
+ enumerable: true,
10
+ get: function () { return chunkZNXE6PUV_cjs.setApiOptions; }
11
+ });
@@ -1,5 +1,5 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
- import { L as ChainAffiliates } from '../swaggerTypes-O9-gvCT1.js';
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
2
+ import { L as ChainAffiliates } from '../swaggerTypes-O9-gvCT1.cjs';
3
3
 
4
4
  type SetApiOptionsProps = {
5
5
  chainIdsToAffiliates?: Record<string, ChainAffiliates>;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunk5IAEEEOQ_cjs = require('../chunk-5IAEEEOQ.cjs');
4
+ require('../chunk-7OIZPQJB.cjs');
5
+ require('../chunk-ED2OY55G.cjs');
6
+ require('../chunk-HAR3IXDE.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "setClientOptions", {
11
+ enumerable: true,
12
+ get: function () { return chunk5IAEEEOQ_cjs.setClientOptions; }
13
+ });
@@ -0,0 +1,9 @@
1
+ export { s as setClientOptions } from '../setClientOptions-CT6CHI9I.cjs';
2
+ import '@cosmjs/proto-signing';
3
+ import '@cosmjs/stargate';
4
+ import '../apiState-CdzxTxYd.cjs';
5
+ import '../client-types-qvyKvyFh.cjs';
6
+ import '@cosmjs/amino';
7
+ import 'viem';
8
+ import '@solana/wallet-adapter-base';
9
+ import '../swaggerTypes-O9-gvCT1.cjs';
@@ -1,7 +1,7 @@
1
1
  import { GeneratedType } from '@cosmjs/proto-signing';
2
2
  import { AminoConverters } from '@cosmjs/stargate';
3
- import { S as SkipApiOptions } from './apiState-CdzxTxYd.js';
4
- import { E as EndpointOptions } from './client-types-CxjtffyG.js';
3
+ import { S as SkipApiOptions } from './apiState-CdzxTxYd.cjs';
4
+ import { E as EndpointOptions } from './client-types-qvyKvyFh.cjs';
5
5
 
6
6
  type SkipClientOptions = SkipApiOptions & {
7
7
  endpointOptions?: {
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@skip-go/client",
3
3
  "description": "JavaScript SDK for Skip Go API",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "repository": "https://github.com/skip-mev/skip-go",
6
6
  "type": "module",
7
- "main": "./dist/index.js",
8
- "module": "./dist/index.js",
9
- "types": "./dist/index.d.ts",
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.cjs",
9
+ "types": "./dist/index.d.cts",
10
10
  "exports": {
11
11
  ".": {
12
- "import": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
12
+ "import": "./dist/index.cjs",
13
+ "types": "./dist/index.d.cts"
14
14
  },
15
15
  "./package.json": "./package.json"
16
16
  },
@@ -1,2 +0,0 @@
1
- export { assets, transformAssetsMap } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { assetsBetweenChains } from '../chunk-MTMPHY3Y.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { bridges } from '../chunk-KNV72XRZ.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { chains } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { venues } from '../chunk-C2EDPY6J.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,3 +0,0 @@
1
- export { assetsFromSource } from '../chunk-RMP3HM5N.js';
2
- import '../chunk-BRMONS6A.js';
3
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { balances } from '../chunk-BRMONS6A.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { ibcOriginAssets } from '../chunk-PRQ2NHRZ.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { messages } from '../chunk-DW4U6YI6.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { messagesDirect } from '../chunk-BQTQJQ5E.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { recommendAssets } from '../chunk-4JJWOILI.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { route } from '../chunk-GARVPN2H.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { submitTransaction } from '../chunk-RDRDFJQE.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { trackTransaction } from '../chunk-MGVXJ2U4.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,2 +0,0 @@
1
- export { transactionStatus } from '../chunk-33K6EESX.js';
2
- import '../chunk-W6TBGBV3.js';
@@ -1,10 +0,0 @@
1
- import { pollingApi } from './chunk-W6TBGBV3.js';
2
-
3
- // src/api/postTransactionStatus.ts
4
- var transactionStatus = pollingApi({
5
- methodName: "getTransactionStatusV2",
6
- path: "/v2/tx/status",
7
- method: "get"
8
- });
9
-
10
- export { transactionStatus };
@@ -1,10 +0,0 @@
1
- import { api } from './chunk-W6TBGBV3.js';
2
-
3
- // src/api/postMessagesDirect.ts
4
- var messagesDirect = api({
5
- methodName: "getMsgsDirectV2",
6
- method: "post",
7
- path: "/v2/fungible/msgs_direct"
8
- });
9
-
10
- export { messagesDirect };
@@ -1,22 +0,0 @@
1
- import { BigNumber } from './chunk-VQ5SIQWU.js';
2
- import { getFeeInfoForChain } from './chunk-VMPFHQ7U.js';
3
- import { Decimal } from '@cosmjs/math/build/decimal';
4
- import { GasPrice } from '@cosmjs/stargate';
5
-
6
- var getRecommendedGasPrice = async (props) => {
7
- const feeInfo = await getFeeInfoForChain(props);
8
- if (!feeInfo || !feeInfo.gasPrice) {
9
- return void 0;
10
- }
11
- let price = feeInfo.gasPrice.average;
12
- if (price === "") {
13
- price = feeInfo.gasPrice.high;
14
- }
15
- if (price === "") {
16
- price = feeInfo.gasPrice.low;
17
- }
18
- if (!price) return;
19
- return new GasPrice(Decimal.fromUserInput(BigNumber(price).toFixed(), 18), feeInfo.denom);
20
- };
21
-
22
- export { getRecommendedGasPrice };
@@ -1,10 +0,0 @@
1
- import { api } from './chunk-W6TBGBV3.js';
2
-
3
- // src/api/postMessages.ts
4
- var messages = api({
5
- methodName: "getMsgsV2",
6
- method: "post",
7
- path: "/v2/fungible/msgs"
8
- });
9
-
10
- export { messages };
@@ -1,11 +0,0 @@
1
- import { pollingApi } from './chunk-W6TBGBV3.js';
2
-
3
- // src/api/postTrackTransaction.ts
4
- var trackTransaction = pollingApi({
5
- methodName: "trackTransactionV2",
6
- path: "/v2/tx/track",
7
- method: "post",
8
- backoffMultiplier: 2.5
9
- });
10
-
11
- export { trackTransaction };
@@ -1,9 +0,0 @@
1
- import { api } from './chunk-W6TBGBV3.js';
2
-
3
- // src/api/getAssetsBetweenChains.ts
4
- var assetsBetweenChains = api({
5
- methodName: "fungibleAssetsBetweenChainsCreate",
6
- path: "/v2/fungible/assets_between_chains"
7
- });
8
-
9
- export { assetsBetweenChains };
@@ -1,10 +0,0 @@
1
- import { api } from './chunk-W6TBGBV3.js';
2
-
3
- // src/api/postSubmitTransaction.ts
4
- var submitTransaction = api({
5
- methodName: "submitTransactionV2",
6
- method: "post",
7
- path: "/v2/tx/submit"
8
- });
9
-
10
- export { submitTransaction };
@@ -1,14 +0,0 @@
1
- import { transformAssetsMap } from './chunk-BRMONS6A.js';
2
- import { api } from './chunk-W6TBGBV3.js';
3
-
4
- // src/api/postAssetsFromSource.ts
5
- var assetsFromSource = api({
6
- methodName: "getAssetsFromSource",
7
- method: "post",
8
- path: "/v2/fungible/assets_from_source",
9
- transformResponse(response) {
10
- return transformAssetsMap(response.destAssets);
11
- }
12
- });
13
-
14
- export { assetsFromSource };