@lifi/sdk 4.6.0 → 4.7.0

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 (217) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/actions/getChains.d.ts +2 -3
  3. package/dist/cjs/actions/getConnections.d.ts +1 -2
  4. package/dist/cjs/actions/getContractCallsQuote.d.ts +1 -2
  5. package/dist/cjs/actions/getGasRecommendation.d.ts +1 -2
  6. package/dist/cjs/actions/getNameServiceAddress.d.ts +1 -2
  7. package/dist/cjs/actions/getQuote.d.ts +2 -3
  8. package/dist/cjs/actions/getRelayedTransactionStatus.d.ts +1 -2
  9. package/dist/cjs/actions/getRelayerQuote.d.ts +1 -2
  10. package/dist/cjs/actions/getRoutes.d.ts +1 -2
  11. package/dist/cjs/actions/getStatus.d.ts +1 -2
  12. package/dist/cjs/actions/getStepTransaction.d.ts +1 -2
  13. package/dist/cjs/actions/getToken.d.ts +1 -2
  14. package/dist/cjs/actions/getTokenBalance.d.ts +1 -2
  15. package/dist/cjs/actions/getTokenBalances.d.ts +1 -2
  16. package/dist/cjs/actions/getTokenBalancesByChain.d.ts +1 -2
  17. package/dist/cjs/actions/getTokens.d.ts +2 -3
  18. package/dist/cjs/actions/getTools.d.ts +1 -2
  19. package/dist/cjs/actions/getTransactionHistory.d.ts +1 -2
  20. package/dist/cjs/actions/index.d.ts +2 -3
  21. package/dist/cjs/actions/patchContractCalls.d.ts +2 -3
  22. package/dist/cjs/actions/relayTransaction.d.ts +1 -2
  23. package/dist/cjs/client/createClient.d.ts +1 -2
  24. package/dist/cjs/client/getClientStorage.d.ts +2 -3
  25. package/dist/cjs/core/BaseStepExecutionTask.d.ts +1 -2
  26. package/dist/cjs/core/BaseStepExecutor.d.ts +1 -2
  27. package/dist/cjs/core/StatusManager.d.ts +1 -2
  28. package/dist/cjs/core/TaskPipeline.d.ts +1 -2
  29. package/dist/cjs/core/actionMessages.d.ts +2 -3
  30. package/dist/cjs/core/execution.d.ts +6 -7
  31. package/dist/cjs/core/executionState.d.ts +1 -2
  32. package/dist/cjs/core/prepareRestart.d.ts +1 -2
  33. package/dist/cjs/core/storage.d.ts +4 -5
  34. package/dist/cjs/core/tasks/CheckBalanceTask.d.ts +1 -2
  35. package/dist/cjs/core/tasks/PrepareTransactionTask.d.ts +1 -2
  36. package/dist/cjs/core/tasks/WaitForTransactionStatusTask.d.ts +1 -2
  37. package/dist/cjs/core/tasks/helpers/checkBalance.d.ts +2 -3
  38. package/dist/cjs/core/tasks/helpers/getTransactionRequestData.d.ts +1 -2
  39. package/dist/cjs/core/tasks/helpers/stepComparison.d.ts +1 -2
  40. package/dist/cjs/core/tasks/helpers/waitForTransactionStatus.d.ts +1 -2
  41. package/dist/cjs/core/utils.d.ts +2 -3
  42. package/dist/cjs/errors/SDKError.d.ts +1 -2
  43. package/dist/cjs/errors/baseError.d.ts +1 -2
  44. package/dist/cjs/errors/constants.d.ts +4 -5
  45. package/dist/cjs/errors/errors.d.ts +8 -9
  46. package/dist/cjs/errors/httpError.d.ts +1 -2
  47. package/dist/cjs/errors/utils/baseErrorRootCause.d.ts +2 -3
  48. package/dist/cjs/errors/utils/rootCause.d.ts +1 -2
  49. package/dist/cjs/types/actions.d.ts +6 -7
  50. package/dist/cjs/types/core.d.ts +41 -36
  51. package/dist/cjs/types/execution.d.ts +4 -5
  52. package/dist/cjs/types/request.d.ts +1 -2
  53. package/dist/cjs/utils/checkPackageUpdates.d.ts +1 -2
  54. package/dist/cjs/utils/checkPackageUpdates.js +1 -1
  55. package/dist/cjs/utils/convertQuoteToRoute.d.ts +2 -3
  56. package/dist/cjs/utils/decode.d.ts +1 -2
  57. package/dist/cjs/utils/fetchTxErrorDetails.d.ts +1 -2
  58. package/dist/cjs/utils/formatUnits.d.ts +1 -2
  59. package/dist/cjs/utils/getTransactionMessage.d.ts +1 -2
  60. package/dist/cjs/utils/isHex.d.ts +2 -3
  61. package/dist/cjs/utils/isRoutesRequest.d.ts +1 -2
  62. package/dist/cjs/utils/isStep.d.ts +1 -2
  63. package/dist/cjs/utils/isToken.d.ts +1 -2
  64. package/dist/cjs/utils/parseUnits.d.ts +1 -2
  65. package/dist/cjs/utils/request.d.ts +2 -3
  66. package/dist/cjs/utils/sleep.d.ts +1 -2
  67. package/dist/cjs/utils/toQueryString.d.ts +1 -2
  68. package/dist/cjs/utils/waitForResult.d.ts +1 -2
  69. package/dist/cjs/utils/withDedupe.d.ts +2 -3
  70. package/dist/cjs/utils/withTimeout.d.ts +1 -2
  71. package/dist/cjs/version.d.ts +2 -3
  72. package/dist/cjs/version.js +1 -1
  73. package/dist/cjs/version.js.map +1 -1
  74. package/dist/esm/actions/getChains.d.ts +2 -3
  75. package/dist/esm/actions/getChains.d.ts.map +1 -1
  76. package/dist/esm/actions/getConnections.d.ts +1 -2
  77. package/dist/esm/actions/getConnections.d.ts.map +1 -1
  78. package/dist/esm/actions/getContractCallsQuote.d.ts +1 -2
  79. package/dist/esm/actions/getContractCallsQuote.d.ts.map +1 -1
  80. package/dist/esm/actions/getGasRecommendation.d.ts +1 -2
  81. package/dist/esm/actions/getGasRecommendation.d.ts.map +1 -1
  82. package/dist/esm/actions/getNameServiceAddress.d.ts +1 -2
  83. package/dist/esm/actions/getNameServiceAddress.d.ts.map +1 -1
  84. package/dist/esm/actions/getQuote.d.ts +2 -3
  85. package/dist/esm/actions/getQuote.d.ts.map +1 -1
  86. package/dist/esm/actions/getRelayedTransactionStatus.d.ts +1 -2
  87. package/dist/esm/actions/getRelayedTransactionStatus.d.ts.map +1 -1
  88. package/dist/esm/actions/getRelayerQuote.d.ts +1 -2
  89. package/dist/esm/actions/getRelayerQuote.d.ts.map +1 -1
  90. package/dist/esm/actions/getRoutes.d.ts +1 -2
  91. package/dist/esm/actions/getRoutes.d.ts.map +1 -1
  92. package/dist/esm/actions/getStatus.d.ts +1 -2
  93. package/dist/esm/actions/getStatus.d.ts.map +1 -1
  94. package/dist/esm/actions/getStepTransaction.d.ts +1 -2
  95. package/dist/esm/actions/getStepTransaction.d.ts.map +1 -1
  96. package/dist/esm/actions/getToken.d.ts +1 -2
  97. package/dist/esm/actions/getToken.d.ts.map +1 -1
  98. package/dist/esm/actions/getTokenBalance.d.ts +1 -2
  99. package/dist/esm/actions/getTokenBalance.d.ts.map +1 -1
  100. package/dist/esm/actions/getTokenBalances.d.ts +1 -2
  101. package/dist/esm/actions/getTokenBalances.d.ts.map +1 -1
  102. package/dist/esm/actions/getTokenBalancesByChain.d.ts +1 -2
  103. package/dist/esm/actions/getTokenBalancesByChain.d.ts.map +1 -1
  104. package/dist/esm/actions/getTokens.d.ts +2 -3
  105. package/dist/esm/actions/getTokens.d.ts.map +1 -1
  106. package/dist/esm/actions/getTools.d.ts +1 -2
  107. package/dist/esm/actions/getTools.d.ts.map +1 -1
  108. package/dist/esm/actions/getTransactionHistory.d.ts +1 -2
  109. package/dist/esm/actions/getTransactionHistory.d.ts.map +1 -1
  110. package/dist/esm/actions/index.d.ts +2 -3
  111. package/dist/esm/actions/index.d.ts.map +1 -1
  112. package/dist/esm/actions/patchContractCalls.d.ts +2 -3
  113. package/dist/esm/actions/patchContractCalls.d.ts.map +1 -1
  114. package/dist/esm/actions/relayTransaction.d.ts +1 -2
  115. package/dist/esm/actions/relayTransaction.d.ts.map +1 -1
  116. package/dist/esm/client/createClient.d.ts +1 -2
  117. package/dist/esm/client/createClient.d.ts.map +1 -1
  118. package/dist/esm/client/getClientStorage.d.ts +2 -3
  119. package/dist/esm/client/getClientStorage.d.ts.map +1 -1
  120. package/dist/esm/core/BaseStepExecutionTask.d.ts +1 -2
  121. package/dist/esm/core/BaseStepExecutionTask.d.ts.map +1 -1
  122. package/dist/esm/core/BaseStepExecutor.d.ts +1 -2
  123. package/dist/esm/core/BaseStepExecutor.d.ts.map +1 -1
  124. package/dist/esm/core/StatusManager.d.ts +1 -2
  125. package/dist/esm/core/StatusManager.d.ts.map +1 -1
  126. package/dist/esm/core/TaskPipeline.d.ts +1 -2
  127. package/dist/esm/core/TaskPipeline.d.ts.map +1 -1
  128. package/dist/esm/core/actionMessages.d.ts +2 -3
  129. package/dist/esm/core/actionMessages.d.ts.map +1 -1
  130. package/dist/esm/core/execution.d.ts +6 -7
  131. package/dist/esm/core/execution.d.ts.map +1 -1
  132. package/dist/esm/core/executionState.d.ts +1 -2
  133. package/dist/esm/core/executionState.d.ts.map +1 -1
  134. package/dist/esm/core/prepareRestart.d.ts +1 -2
  135. package/dist/esm/core/prepareRestart.d.ts.map +1 -1
  136. package/dist/esm/core/storage.d.ts +4 -5
  137. package/dist/esm/core/storage.d.ts.map +1 -1
  138. package/dist/esm/core/tasks/CheckBalanceTask.d.ts +1 -2
  139. package/dist/esm/core/tasks/CheckBalanceTask.d.ts.map +1 -1
  140. package/dist/esm/core/tasks/PrepareTransactionTask.d.ts +1 -2
  141. package/dist/esm/core/tasks/PrepareTransactionTask.d.ts.map +1 -1
  142. package/dist/esm/core/tasks/WaitForTransactionStatusTask.d.ts +1 -2
  143. package/dist/esm/core/tasks/WaitForTransactionStatusTask.d.ts.map +1 -1
  144. package/dist/esm/core/tasks/helpers/checkBalance.d.ts +2 -3
  145. package/dist/esm/core/tasks/helpers/checkBalance.d.ts.map +1 -1
  146. package/dist/esm/core/tasks/helpers/getTransactionRequestData.d.ts +1 -2
  147. package/dist/esm/core/tasks/helpers/getTransactionRequestData.d.ts.map +1 -1
  148. package/dist/esm/core/tasks/helpers/stepComparison.d.ts +1 -2
  149. package/dist/esm/core/tasks/helpers/stepComparison.d.ts.map +1 -1
  150. package/dist/esm/core/tasks/helpers/waitForTransactionStatus.d.ts +1 -2
  151. package/dist/esm/core/tasks/helpers/waitForTransactionStatus.d.ts.map +1 -1
  152. package/dist/esm/core/utils.d.ts +2 -3
  153. package/dist/esm/core/utils.d.ts.map +1 -1
  154. package/dist/esm/errors/SDKError.d.ts +1 -2
  155. package/dist/esm/errors/SDKError.d.ts.map +1 -1
  156. package/dist/esm/errors/baseError.d.ts +1 -2
  157. package/dist/esm/errors/baseError.d.ts.map +1 -1
  158. package/dist/esm/errors/constants.d.ts +4 -5
  159. package/dist/esm/errors/constants.d.ts.map +1 -1
  160. package/dist/esm/errors/errors.d.ts +8 -9
  161. package/dist/esm/errors/errors.d.ts.map +1 -1
  162. package/dist/esm/errors/httpError.d.ts +1 -2
  163. package/dist/esm/errors/httpError.d.ts.map +1 -1
  164. package/dist/esm/errors/utils/baseErrorRootCause.d.ts +2 -3
  165. package/dist/esm/errors/utils/baseErrorRootCause.d.ts.map +1 -1
  166. package/dist/esm/errors/utils/rootCause.d.ts +1 -2
  167. package/dist/esm/errors/utils/rootCause.d.ts.map +1 -1
  168. package/dist/esm/types/actions.d.ts +6 -7
  169. package/dist/esm/types/actions.d.ts.map +1 -1
  170. package/dist/esm/types/core.d.ts +41 -36
  171. package/dist/esm/types/core.d.ts.map +1 -1
  172. package/dist/esm/types/execution.d.ts +4 -5
  173. package/dist/esm/types/execution.d.ts.map +1 -1
  174. package/dist/esm/types/request.d.ts +1 -2
  175. package/dist/esm/types/request.d.ts.map +1 -1
  176. package/dist/esm/utils/checkPackageUpdates.d.ts +1 -2
  177. package/dist/esm/utils/checkPackageUpdates.d.ts.map +1 -1
  178. package/dist/esm/utils/checkPackageUpdates.js +1 -1
  179. package/dist/esm/utils/convertQuoteToRoute.d.ts +2 -3
  180. package/dist/esm/utils/convertQuoteToRoute.d.ts.map +1 -1
  181. package/dist/esm/utils/decode.d.ts +1 -2
  182. package/dist/esm/utils/decode.d.ts.map +1 -1
  183. package/dist/esm/utils/fetchTxErrorDetails.d.ts +1 -2
  184. package/dist/esm/utils/fetchTxErrorDetails.d.ts.map +1 -1
  185. package/dist/esm/utils/formatUnits.d.ts +1 -2
  186. package/dist/esm/utils/formatUnits.d.ts.map +1 -1
  187. package/dist/esm/utils/getTransactionMessage.d.ts +1 -2
  188. package/dist/esm/utils/getTransactionMessage.d.ts.map +1 -1
  189. package/dist/esm/utils/isHex.d.ts +2 -3
  190. package/dist/esm/utils/isHex.d.ts.map +1 -1
  191. package/dist/esm/utils/isRoutesRequest.d.ts +1 -2
  192. package/dist/esm/utils/isRoutesRequest.d.ts.map +1 -1
  193. package/dist/esm/utils/isStep.d.ts +1 -2
  194. package/dist/esm/utils/isStep.d.ts.map +1 -1
  195. package/dist/esm/utils/isToken.d.ts +1 -2
  196. package/dist/esm/utils/isToken.d.ts.map +1 -1
  197. package/dist/esm/utils/parseUnits.d.ts +1 -2
  198. package/dist/esm/utils/parseUnits.d.ts.map +1 -1
  199. package/dist/esm/utils/request.d.ts +2 -3
  200. package/dist/esm/utils/request.d.ts.map +1 -1
  201. package/dist/esm/utils/sleep.d.ts +1 -2
  202. package/dist/esm/utils/sleep.d.ts.map +1 -1
  203. package/dist/esm/utils/toQueryString.d.ts +1 -2
  204. package/dist/esm/utils/toQueryString.d.ts.map +1 -1
  205. package/dist/esm/utils/waitForResult.d.ts +1 -2
  206. package/dist/esm/utils/waitForResult.d.ts.map +1 -1
  207. package/dist/esm/utils/withDedupe.d.ts +2 -3
  208. package/dist/esm/utils/withDedupe.d.ts.map +1 -1
  209. package/dist/esm/utils/withTimeout.d.ts +1 -2
  210. package/dist/esm/utils/withTimeout.d.ts.map +1 -1
  211. package/dist/esm/version.d.ts +2 -3
  212. package/dist/esm/version.d.ts.map +1 -1
  213. package/dist/esm/version.js +1 -1
  214. package/dist/esm/version.js.map +1 -1
  215. package/package.json +2 -2
  216. package/src/types/core.ts +6 -0
  217. package/src/version.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @lifi/sdk
2
2
 
3
+ ## 4.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#471](https://github.com/lifinance/sdk/pull/471) [`a57b439`](https://github.com/lifinance/sdk/commit/a57b4391b52d9bc535577dcbfad1523ab4d2e32f) Thanks [@chybisov](https://github.com/chybisov)! - Add optional `SDKProvider.isTokenAddress`, so callers can validate a token identifier without knowing how each ecosystem shapes one: `C…` contract ids on Stellar, `0x…::module::TYPE` coin types on Sui, an address in any letter case on Ethereum, and the wallet format on Solana and Tron. `BitcoinProvider` omits the method, because the token list names its native coin `bitcoin` rather than giving it an address. A missing method means the ecosystem has no token address format, so a caller must not fall back to `isAddress`.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#473](https://github.com/lifinance/sdk/pull/473) [`d7d8abb`](https://github.com/lifinance/sdk/commit/d7d8abb776aa943aafda62d17926b8575f770478) Thanks [@chybisov](https://github.com/chybisov)! - Bump runtime dependencies. `@lifi/sdk` moves `@lifi/types` to `^18.5.0`;
12
+ `@lifi/sdk-provider-bitcoin` moves `@bigmi/core` to `^0.9.1` and `bitcoinjs-lib` to
13
+ `^7.0.2`; `@lifi/sdk-provider-sui` moves `@mysten/sui` to `^2.29.0`; and
14
+ `@lifi/sdk-provider-tron` moves `@tronweb3/tronwallet-abstract-adapter` to `^1.3.0`.
15
+
16
+ ## 4.6.1
17
+
18
+ ### Patch Changes
19
+
20
+ - [#459](https://github.com/lifinance/sdk/pull/459) [`954bc4b`](https://github.com/lifinance/sdk/commit/954bc4bda013b470102041810daf95cb4f9181a1) Thanks [@chybisov](https://github.com/chybisov)! - Bump runtime dependencies: `@lifi/types` to 18.4.0, `viem` to 2.56.0, `@mysten/sui` to 2.27.0.
21
+
3
22
  ## 4.6.0
4
23
 
5
24
  ### Minor Changes
@@ -9,8 +9,7 @@ import { ChainsRequest, ExtendedChain, RequestOptions } from "@lifi/types";
9
9
  * @returns A list of all available chains
10
10
  * @throws {LiFiError} Throws a LiFiError if request fails.
11
11
  */
12
- declare const getChains: (client: SDKClient, params?: ChainsRequest, options?: RequestOptions) => Promise<ExtendedChain[]>;
13
- declare const _getChains: (config: SDKBaseConfig, params?: ChainsRequest, options?: RequestOptions) => Promise<ExtendedChain[]>;
12
+ export declare const getChains: (client: SDKClient, params?: ChainsRequest, options?: RequestOptions) => Promise<ExtendedChain[]>;
13
+ export declare const _getChains: (config: SDKBaseConfig, params?: ChainsRequest, options?: RequestOptions) => Promise<ExtendedChain[]>;
14
14
  //#endregion
15
- export { _getChains, getChains };
16
15
  //# sourceMappingURL=getChains.d.ts.map
@@ -8,7 +8,6 @@ import { ConnectionsRequest, ConnectionsResponse, RequestOptions } from "@lifi/t
8
8
  * @param options - Request options
9
9
  * @returns ConnectionsResponse
10
10
  */
11
- declare const getConnections: (client: SDKClient, connectionRequest: ConnectionsRequest, options?: RequestOptions) => Promise<ConnectionsResponse>;
11
+ export declare const getConnections: (client: SDKClient, connectionRequest: ConnectionsRequest, options?: RequestOptions) => Promise<ConnectionsResponse>;
12
12
  //#endregion
13
- export { getConnections };
14
13
  //# sourceMappingURL=getConnections.d.ts.map
@@ -9,7 +9,6 @@ import { ContractCallsQuoteRequest, LiFiStep, RequestOptions } from "@lifi/types
9
9
  * @throws {LiFiError} - Throws a LiFiError if request fails
10
10
  * @returns - Returns step.
11
11
  */
12
- declare const getContractCallsQuote: (client: SDKClient, params: ContractCallsQuoteRequest, options?: RequestOptions) => Promise<LiFiStep>;
12
+ export declare const getContractCallsQuote: (client: SDKClient, params: ContractCallsQuoteRequest, options?: RequestOptions) => Promise<LiFiStep>;
13
13
  //#endregion
14
- export { getContractCallsQuote };
15
14
  //# sourceMappingURL=getContractCallsQuote.d.ts.map
@@ -9,7 +9,6 @@ import { GasRecommendationRequest, GasRecommendationResponse, RequestOptions } f
9
9
  * @throws {LiFiError} Throws a LiFiError if request fails.
10
10
  * @returns Gas recommendation response.
11
11
  */
12
- declare const getGasRecommendation: (client: SDKClient, params: GasRecommendationRequest, options?: RequestOptions) => Promise<GasRecommendationResponse>;
12
+ export declare const getGasRecommendation: (client: SDKClient, params: GasRecommendationRequest, options?: RequestOptions) => Promise<GasRecommendationResponse>;
13
13
  //#endregion
14
- export { getGasRecommendation };
15
14
  //# sourceMappingURL=getGasRecommendation.d.ts.map
@@ -8,7 +8,6 @@ import { ChainType } from "@lifi/types";
8
8
  * @param chainType - The chain type to resolve the name on
9
9
  * @returns The address of the name service
10
10
  */
11
- declare const getNameServiceAddress: (client: SDKClient, name: string, chainType?: ChainType) => Promise<string | undefined>;
11
+ export declare const getNameServiceAddress: (client: SDKClient, name: string, chainType?: ChainType) => Promise<string | undefined>;
12
12
  //#endregion
13
- export { getNameServiceAddress };
14
13
  //# sourceMappingURL=getNameServiceAddress.d.ts.map
@@ -10,8 +10,7 @@ import { LiFiStep, RequestOptions } from "@lifi/types";
10
10
  * @throws {LiFiError} - Throws a LiFiError if request fails
11
11
  * @returns Quote for a token transfer
12
12
  */
13
- declare function getQuote(client: SDKClient, params: QuoteRequestFromAmount, options?: RequestOptions): Promise<LiFiStep>;
14
- declare function getQuote(client: SDKClient, params: QuoteRequestToAmount, options?: RequestOptions): Promise<LiFiStep>;
13
+ export declare function getQuote(client: SDKClient, params: QuoteRequestFromAmount, options?: RequestOptions): Promise<LiFiStep>;
14
+ export declare function getQuote(client: SDKClient, params: QuoteRequestToAmount, options?: RequestOptions): Promise<LiFiStep>;
15
15
  //#endregion
16
- export { getQuote };
17
16
  //# sourceMappingURL=getQuote.d.ts.map
@@ -9,7 +9,6 @@ import { RelayStatusRequest, RelayStatusResponseData, RequestOptions } from "@li
9
9
  * @throws {LiFiError} - Throws a LiFiError if request fails
10
10
  * @returns Status of the relayed transaction
11
11
  */
12
- declare const getRelayedTransactionStatus: (client: SDKClient, params: RelayStatusRequest, options?: RequestOptions) => Promise<RelayStatusResponseData>;
12
+ export declare const getRelayedTransactionStatus: (client: SDKClient, params: RelayStatusRequest, options?: RequestOptions) => Promise<RelayStatusResponseData>;
13
13
  //#endregion
14
- export { getRelayedTransactionStatus };
15
14
  //# sourceMappingURL=getRelayedTransactionStatus.d.ts.map
@@ -10,7 +10,6 @@ import { LiFiStep, RequestOptions } from "@lifi/types";
10
10
  * @throws {LiFiError} - Throws a LiFiError if request fails
11
11
  * @returns Relayer quote for a token transfer
12
12
  */
13
- declare const getRelayerQuote: (client: SDKClient, params: QuoteRequestFromAmount, options?: RequestOptions) => Promise<LiFiStep>;
13
+ export declare const getRelayerQuote: (client: SDKClient, params: QuoteRequestFromAmount, options?: RequestOptions) => Promise<LiFiStep>;
14
14
  //#endregion
15
- export { getRelayerQuote };
16
15
  //# sourceMappingURL=getRelayerQuote.d.ts.map
@@ -10,7 +10,6 @@ import { RequestOptions, RoutesResponse } from "@lifi/types";
10
10
  * @returns The resulting routes that can be used to realize the described transfer of tokens.
11
11
  * @throws {LiFiError} Throws a LiFiError if request fails.
12
12
  */
13
- declare const getRoutes: (client: SDKClient, params: RoutesRequest$1, options?: RequestOptions) => Promise<RoutesResponse>;
13
+ export declare const getRoutes: (client: SDKClient, params: RoutesRequest$1, options?: RequestOptions) => Promise<RoutesResponse>;
14
14
  //#endregion
15
- export { getRoutes };
16
15
  //# sourceMappingURL=getRoutes.d.ts.map
@@ -10,7 +10,6 @@ import { RequestOptions, StatusResponse } from "@lifi/types";
10
10
  * @throws {LiFiError} - Throws a LiFiError if request fails
11
11
  * @returns Returns status response.
12
12
  */
13
- declare const getStatus: (client: SDKClient, params: GetStatusRequestExtended, options?: RequestOptions) => Promise<StatusResponse>;
13
+ export declare const getStatus: (client: SDKClient, params: GetStatusRequestExtended, options?: RequestOptions) => Promise<StatusResponse>;
14
14
  //#endregion
15
- export { getStatus };
16
15
  //# sourceMappingURL=getStatus.d.ts.map
@@ -10,7 +10,6 @@ import { LiFiStep, RequestOptions } from "@lifi/types";
10
10
  * @returns The step populated with the transaction data.
11
11
  * @throws {LiFiError} Throws a LiFiError if request fails.
12
12
  */
13
- declare const getStepTransaction: (client: SDKClient, step: LiFiStepRequest, options?: RequestOptions) => Promise<LiFiStep>;
13
+ export declare const getStepTransaction: (client: SDKClient, step: LiFiStepRequest, options?: RequestOptions) => Promise<LiFiStep>;
14
14
  //#endregion
15
- export { getStepTransaction };
16
15
  //# sourceMappingURL=getStepTransaction.d.ts.map
@@ -10,7 +10,6 @@ import { ChainId, ChainKey, RequestOptions, TokenExtended } from "@lifi/types";
10
10
  * @throws {LiFiError} - Throws a LiFiError if request fails
11
11
  * @returns Token information
12
12
  */
13
- declare const getToken: (client: SDKClient, chain: ChainKey | ChainId, token: string, options?: RequestOptions) => Promise<TokenExtended>;
13
+ export declare const getToken: (client: SDKClient, chain: ChainKey | ChainId, token: string, options?: RequestOptions) => Promise<TokenExtended>;
14
14
  //#endregion
15
- export { getToken };
16
15
  //# sourceMappingURL=getToken.d.ts.map
@@ -10,7 +10,6 @@ import { Token, TokenAmount } from "@lifi/types";
10
10
  * @throws {ValidationError} Throws a ValidationError if validation fails.
11
11
  * @throws {Error} Throws an Error if the SDK Provider for the wallet address is not found.
12
12
  */
13
- declare const getTokenBalance: (client: SDKClient, walletAddress: string, token: Token) => Promise<TokenAmount | null>;
13
+ export declare const getTokenBalance: (client: SDKClient, walletAddress: string, token: Token) => Promise<TokenAmount | null>;
14
14
  //#endregion
15
- export { getTokenBalance };
16
15
  //# sourceMappingURL=getTokenBalance.d.ts.map
@@ -10,7 +10,6 @@ import { Token, TokenAmount } from "@lifi/types";
10
10
  * @throws {ValidationError} Throws a ValidationError if validation fails.
11
11
  * @throws {Error} Throws an Error if the SDK Provider for the wallet address is not found.
12
12
  */
13
- declare function getTokenBalances(client: SDKClient, walletAddress: string, tokens: Token[]): Promise<TokenAmount[]>;
13
+ export declare function getTokenBalances(client: SDKClient, walletAddress: string, tokens: Token[]): Promise<TokenAmount[]>;
14
14
  //#endregion
15
- export { getTokenBalances };
16
15
  //# sourceMappingURL=getTokenBalances.d.ts.map
@@ -10,11 +10,10 @@ import { Token, TokenAmount } from "@lifi/types";
10
10
  * @throws {ValidationError} Throws a ValidationError if validation fails.
11
11
  * @throws {Error} Throws an Error if the SDK Provider for the wallet address is not found.
12
12
  */
13
- declare function getTokenBalancesByChain(client: SDKClient, walletAddress: string, tokensByChain: {
13
+ export declare function getTokenBalancesByChain(client: SDKClient, walletAddress: string, tokensByChain: {
14
14
  [chainId: number]: Token[];
15
15
  }): Promise<{
16
16
  [chainId: number]: TokenAmount[];
17
17
  }>;
18
18
  //#endregion
19
- export { getTokenBalancesByChain };
20
19
  //# sourceMappingURL=getTokenBalancesByChain.d.ts.map
@@ -8,12 +8,11 @@ import { RequestOptions, TokensExtendedResponse, TokensRequest, TokensResponse }
8
8
  * @param options - Request options
9
9
  * @returns The tokens that are available on the requested chains
10
10
  */
11
- declare function getTokens(client: SDKClient, params?: TokensRequest & {
11
+ export declare function getTokens(client: SDKClient, params?: TokensRequest & {
12
12
  extended?: false | undefined;
13
13
  }, options?: RequestOptions): Promise<TokensResponse>;
14
- declare function getTokens(client: SDKClient, params: TokensRequest & {
14
+ export declare function getTokens(client: SDKClient, params: TokensRequest & {
15
15
  extended: true;
16
16
  }, options?: RequestOptions): Promise<TokensExtendedResponse>;
17
17
  //#endregion
18
- export { getTokens };
19
18
  //# sourceMappingURL=getTokens.d.ts.map
@@ -8,7 +8,6 @@ import { RequestOptions, ToolsRequest, ToolsResponse } from "@lifi/types";
8
8
  * @param options - Request options
9
9
  * @returns The tools that are available on the requested chains
10
10
  */
11
- declare const getTools: (client: SDKClient, params?: ToolsRequest, options?: RequestOptions) => Promise<ToolsResponse>;
11
+ export declare const getTools: (client: SDKClient, params?: ToolsRequest, options?: RequestOptions) => Promise<ToolsResponse>;
12
12
  //#endregion
13
- export { getTools };
14
13
  //# sourceMappingURL=getTools.d.ts.map
@@ -14,7 +14,6 @@ import { RequestOptions, TransactionAnalyticsRequest, TransactionAnalyticsRespon
14
14
  * @throws {LiFiError} - Throws a LiFiError if request fails.
15
15
  * @returns The transaction history response
16
16
  */
17
- declare const getTransactionHistory: (client: SDKClient, { wallet, status, fromTimestamp, toTimestamp }: TransactionAnalyticsRequest, options?: RequestOptions) => Promise<TransactionAnalyticsResponse>;
17
+ export declare const getTransactionHistory: (client: SDKClient, { wallet, status, fromTimestamp, toTimestamp }: TransactionAnalyticsRequest, options?: RequestOptions) => Promise<TransactionAnalyticsResponse>;
18
18
  //#endregion
19
- export { getTransactionHistory };
20
19
  //# sourceMappingURL=getTransactionHistory.d.ts.map
@@ -4,7 +4,7 @@ import { getQuote } from "./getQuote.js";
4
4
  import { PatchContractCallsResponse } from "./patchContractCalls.js";
5
5
  import { ChainId, ChainKey, ChainType, ChainsRequest, ConnectionsRequest, ConnectionsResponse, ContractCallsQuoteRequest, ExtendedChain, GasRecommendationRequest, GasRecommendationResponse, LiFiStep, PatchCallDataRequest, RelayRequest, RelayResponseData, RelayStatusRequest, RelayStatusResponseData, RequestOptions, RoutesResponse, StatusResponse, Token, TokenAmount, TokenExtended, TokensExtendedResponse, TokensRequest, TokensResponse, ToolsRequest, ToolsResponse, TransactionAnalyticsRequest, TransactionAnalyticsResponse } from "@lifi/types";
6
6
  //#region src/actions/index.d.ts
7
- type Actions = {
7
+ export type Actions = {
8
8
  /**
9
9
  * Get all available chains
10
10
  * @param params - The configuration of the requested chains
@@ -161,7 +161,6 @@ type Actions = {
161
161
  */
162
162
  patchContractCalls: (params: PatchCallDataRequest, options?: RequestOptions) => Promise<PatchContractCallsResponse[]>;
163
163
  };
164
- declare function actions(client: SDKClient): Actions;
164
+ export declare function actions(client: SDKClient): Actions;
165
165
  //#endregion
166
- export { Actions, actions };
167
166
  //# sourceMappingURL=index.d.ts.map
@@ -1,14 +1,13 @@
1
1
  import { SDKClient } from "../types/core.js";
2
2
  import { PatchCallDataRequest, RequestOptions } from "@lifi/types";
3
3
  //#region src/actions/patchContractCalls.d.ts
4
- interface PatchContractCallsResponse {
4
+ export interface PatchContractCallsResponse {
5
5
  target: string;
6
6
  value: bigint;
7
7
  callData: string;
8
8
  allowFailure: boolean;
9
9
  isDelegateCall: boolean;
10
10
  }
11
- declare const patchContractCalls: (client: SDKClient, params: PatchCallDataRequest, options?: RequestOptions) => Promise<PatchContractCallsResponse[]>;
11
+ export declare const patchContractCalls: (client: SDKClient, params: PatchCallDataRequest, options?: RequestOptions) => Promise<PatchContractCallsResponse[]>;
12
12
  //#endregion
13
- export { PatchContractCallsResponse, patchContractCalls };
14
13
  //# sourceMappingURL=patchContractCalls.d.ts.map
@@ -9,7 +9,6 @@ import { RelayRequest, RelayResponseData, RequestOptions } from "@lifi/types";
9
9
  * @throws {LiFiError} - Throws a LiFiError if request fails
10
10
  * @returns Task ID and transaction link for the relayed transaction
11
11
  */
12
- declare const relayTransaction: (client: SDKClient, params: RelayRequest, options?: RequestOptions) => Promise<RelayResponseData>;
12
+ export declare const relayTransaction: (client: SDKClient, params: RelayRequest, options?: RequestOptions) => Promise<RelayResponseData>;
13
13
  //#endregion
14
- export { relayTransaction };
15
14
  //# sourceMappingURL=relayTransaction.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import { SDKClient, SDKConfig } from "../types/core.js";
2
2
  //#region src/client/createClient.d.ts
3
- declare function createClient(options: SDKConfig): SDKClient;
3
+ export declare function createClient(options: SDKConfig): SDKClient;
4
4
  //#endregion
5
- export { createClient };
6
5
  //# sourceMappingURL=createClient.d.ts.map
@@ -1,13 +1,12 @@
1
1
  import { RPCUrls, SDKBaseConfig } from "../types/core.js";
2
2
  import { ExtendedChain } from "@lifi/types";
3
3
  //#region src/client/getClientStorage.d.ts
4
- interface ClientStorage {
4
+ export interface ClientStorage {
5
5
  readonly needReset: boolean;
6
6
  setChains(chains: ExtendedChain[]): void;
7
7
  getChains(): Promise<ExtendedChain[]>;
8
8
  getRpcUrls(): Promise<RPCUrls>;
9
9
  }
10
- declare const getClientStorage: (config: SDKBaseConfig) => ClientStorage;
10
+ export declare const getClientStorage: (config: SDKBaseConfig) => ClientStorage;
11
11
  //#endregion
12
- export { ClientStorage, getClientStorage };
13
12
  //# sourceMappingURL=getClientStorage.d.ts.map
@@ -1,9 +1,8 @@
1
1
  import { StepExecutorContext, TaskResult } from "../types/execution.js";
2
2
  //#region src/core/BaseStepExecutionTask.d.ts
3
- declare abstract class BaseStepExecutionTask {
3
+ export declare abstract class BaseStepExecutionTask {
4
4
  shouldRun(_context: StepExecutorContext): Promise<boolean>;
5
5
  abstract run(context: StepExecutorContext): Promise<TaskResult>;
6
6
  }
7
7
  //#endregion
8
- export { BaseStepExecutionTask };
9
8
  //# sourceMappingURL=BaseStepExecutionTask.d.ts.map
@@ -5,7 +5,7 @@ import { ExecuteStepRetryError } from "../errors/errors.js";
5
5
  import { SDKError } from "../errors/SDKError.js";
6
6
  import { TaskPipeline } from "./TaskPipeline.js";
7
7
  //#region src/core/BaseStepExecutor.d.ts
8
- declare abstract class BaseStepExecutor implements StepExecutor {
8
+ export declare abstract class BaseStepExecutor implements StepExecutor {
9
9
  protected executionOptions?: ExecutionOptions;
10
10
  protected statusManager: StatusManager;
11
11
  allowUserInteraction: boolean;
@@ -19,5 +19,4 @@ declare abstract class BaseStepExecutor implements StepExecutor {
19
19
  executeStep: (client: SDKClient, step: LiFiStepExtended, retryParams?: ExecuteStepRetryParams) => Promise<LiFiStepExtended>;
20
20
  }
21
21
  //#endregion
22
- export { BaseStepExecutor };
23
22
  //# sourceMappingURL=BaseStepExecutor.d.ts.map
@@ -10,7 +10,7 @@ type ActionProps = {
10
10
  /**
11
11
  * Manages status updates of a route and provides various functions for tracking actions.
12
12
  */
13
- declare class StatusManager {
13
+ export declare class StatusManager {
14
14
  private readonly routeId;
15
15
  private shouldUpdate;
16
16
  constructor(routeId: string);
@@ -68,5 +68,4 @@ declare class StatusManager {
68
68
  allowUpdates(value: boolean): void;
69
69
  }
70
70
  //#endregion
71
- export { StatusManager };
72
71
  //# sourceMappingURL=StatusManager.d.ts.map
@@ -1,11 +1,10 @@
1
1
  import { StepExecutorContext, TaskResult } from "../types/execution.js";
2
2
  import { BaseStepExecutionTask } from "./BaseStepExecutionTask.js";
3
3
  //#region src/core/TaskPipeline.d.ts
4
- declare class TaskPipeline {
4
+ export declare class TaskPipeline {
5
5
  private readonly tasks;
6
6
  constructor(tasks: BaseStepExecutionTask[]);
7
7
  run(context: StepExecutorContext): Promise<TaskResult>;
8
8
  }
9
9
  //#endregion
10
- export { TaskPipeline };
11
10
  //# sourceMappingURL=TaskPipeline.d.ts.map
@@ -1,8 +1,7 @@
1
1
  import { ExecutionActionStatus, ExecutionActionType } from "../types/core.js";
2
2
  import { StatusMessage, Substatus } from "@lifi/types";
3
3
  //#region src/core/actionMessages.d.ts
4
- declare function getActionMessage(type: ExecutionActionType, status: ExecutionActionStatus): string | undefined;
5
- declare function getSubstatusMessage(status: StatusMessage, substatus?: Substatus): string | undefined;
4
+ export declare function getActionMessage(type: ExecutionActionType, status: ExecutionActionStatus): string | undefined;
5
+ export declare function getSubstatusMessage(status: StatusMessage, substatus?: Substatus): string | undefined;
6
6
  //#endregion
7
- export { getActionMessage, getSubstatusMessage };
8
7
  //# sourceMappingURL=actionMessages.d.ts.map
@@ -9,7 +9,7 @@ import { Route } from "@lifi/types";
9
9
  * @returns The executed route.
10
10
  * @throws {LiFiError} Throws a LiFiError if the execution fails.
11
11
  */
12
- declare const executeRoute: (client: SDKClient, route: Route, executionOptions?: ExecutionOptions) => Promise<RouteExtended>;
12
+ export declare const executeRoute: (client: SDKClient, route: Route, executionOptions?: ExecutionOptions) => Promise<RouteExtended>;
13
13
  /**
14
14
  * Resume the execution of a route that has been stopped or had an error while executing.
15
15
  * @param client - The SDK client.
@@ -18,30 +18,29 @@ declare const executeRoute: (client: SDKClient, route: Route, executionOptions?:
18
18
  * @returns The executed route.
19
19
  * @throws {LiFiError} Throws a LiFiError if the execution fails.
20
20
  */
21
- declare const resumeRoute: (client: SDKClient, route: Route, executionOptions?: ExecutionOptions) => Promise<RouteExtended>;
21
+ export declare const resumeRoute: (client: SDKClient, route: Route, executionOptions?: ExecutionOptions) => Promise<RouteExtended>;
22
22
  /**
23
23
  * Updates route execution to background or foreground state.
24
24
  * @param route - A route that is currently in execution.
25
25
  * @param options - An object with execution settings.
26
26
  */
27
- declare const updateRouteExecution: (route: Route, options: ExecutionOptions) => void;
27
+ export declare const updateRouteExecution: (route: Route, options: ExecutionOptions) => void;
28
28
  /**
29
29
  * Stops the execution of an active route.
30
30
  * @param route - A route that is currently in execution.
31
31
  * @returns The stopped route.
32
32
  */
33
- declare const stopRouteExecution: (route: Route) => Route;
33
+ export declare const stopRouteExecution: (route: Route) => Route;
34
34
  /**
35
35
  * Get the list of active routes.
36
36
  * @returns A list of routes.
37
37
  */
38
- declare const getActiveRoutes: () => RouteExtended[];
38
+ export declare const getActiveRoutes: () => RouteExtended[];
39
39
  /**
40
40
  * Return the current route information for given route. The route has to be active.
41
41
  * @param routeId - A route id.
42
42
  * @returns The updated route.
43
43
  */
44
- declare const getActiveRoute: (routeId: string) => RouteExtended | undefined;
44
+ export declare const getActiveRoute: (routeId: string) => RouteExtended | undefined;
45
45
  //#endregion
46
- export { executeRoute, getActiveRoute, getActiveRoutes, resumeRoute, stopRouteExecution, updateRouteExecution };
47
46
  //# sourceMappingURL=execution.d.ts.map
@@ -14,7 +14,6 @@ interface ExecutionState {
14
14
  update(params: ExecutionStateParams): void;
15
15
  delete(routeId: string): void;
16
16
  }
17
- declare const executionState: ExecutionState;
17
+ export declare const executionState: ExecutionState;
18
18
  //#endregion
19
- export { executionState };
20
19
  //# sourceMappingURL=executionState.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import { RouteExtended } from "../types/core.js";
2
2
  //#region src/core/prepareRestart.d.ts
3
- declare const prepareRestart: (route: RouteExtended) => void;
3
+ export declare const prepareRestart: (route: RouteExtended) => void;
4
4
  //#endregion
5
- export { prepareRestart };
6
5
  //# sourceMappingURL=prepareRestart.d.ts.map
@@ -1,21 +1,20 @@
1
1
  //#region src/core/storage.d.ts
2
- interface SDKStorage {
2
+ export interface SDKStorage {
3
3
  get(key: string): string | null | Promise<string | null>;
4
4
  set(key: string, value: string): void | Promise<void>;
5
5
  remove(key: string): void | Promise<void>;
6
6
  }
7
- declare class LocalStorageAdapter implements SDKStorage {
7
+ export declare class LocalStorageAdapter implements SDKStorage {
8
8
  get(key: string): string | null;
9
9
  set(key: string, value: string): void;
10
10
  remove(key: string): void;
11
11
  }
12
- declare class InMemoryStorage implements SDKStorage {
12
+ export declare class InMemoryStorage implements SDKStorage {
13
13
  private store;
14
14
  get(key: string): string | null;
15
15
  set(key: string, value: string): void;
16
16
  remove(key: string): void;
17
17
  }
18
- declare function createDefaultStorage(): SDKStorage;
18
+ export declare function createDefaultStorage(): SDKStorage;
19
19
  //#endregion
20
- export { InMemoryStorage, LocalStorageAdapter, SDKStorage, createDefaultStorage };
21
20
  //# sourceMappingURL=storage.d.ts.map
@@ -2,7 +2,7 @@ import { StepExecutorContext, TaskResult } from "../../types/execution.js";
2
2
  import { BaseStepExecutionTask } from "../BaseStepExecutionTask.js";
3
3
  import { CheckBalanceOptions } from "./helpers/checkBalance.js";
4
4
  //#region src/core/tasks/CheckBalanceTask.d.ts
5
- declare class CheckBalanceTask extends BaseStepExecutionTask {
5
+ export declare class CheckBalanceTask extends BaseStepExecutionTask {
6
6
  /**
7
7
  * Per-step options hook for chain-specific subclasses (e.g. skip the
8
8
  * gas check for smart-contract wallets or relayed steps). Default `{}`
@@ -14,5 +14,4 @@ declare class CheckBalanceTask extends BaseStepExecutionTask {
14
14
  run(context: StepExecutorContext): Promise<TaskResult>;
15
15
  }
16
16
  //#endregion
17
- export { CheckBalanceTask };
18
17
  //# sourceMappingURL=CheckBalanceTask.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { StepExecutorContext, TaskResult } from "../../types/execution.js";
2
2
  import { BaseStepExecutionTask } from "../BaseStepExecutionTask.js";
3
3
  //#region src/core/tasks/PrepareTransactionTask.d.ts
4
- declare class PrepareTransactionTask extends BaseStepExecutionTask {
4
+ export declare class PrepareTransactionTask extends BaseStepExecutionTask {
5
5
  /**
6
6
  * Whether `run()` has to fetch a fresh transaction request. The default asks
7
7
  * only when the step carries none, which keeps every existing provider
@@ -12,5 +12,4 @@ declare class PrepareTransactionTask extends BaseStepExecutionTask {
12
12
  run(context: StepExecutorContext): Promise<TaskResult>;
13
13
  }
14
14
  //#endregion
15
- export { PrepareTransactionTask };
16
15
  //# sourceMappingURL=PrepareTransactionTask.d.ts.map
@@ -2,11 +2,10 @@ import { ExecutionActionType } from "../../types/core.js";
2
2
  import { StepExecutorContext, TaskResult } from "../../types/execution.js";
3
3
  import { BaseStepExecutionTask } from "../BaseStepExecutionTask.js";
4
4
  //#region src/core/tasks/WaitForTransactionStatusTask.d.ts
5
- declare class WaitForTransactionStatusTask extends BaseStepExecutionTask {
5
+ export declare class WaitForTransactionStatusTask extends BaseStepExecutionTask {
6
6
  readonly actionType: ExecutionActionType;
7
7
  constructor(actionType: ExecutionActionType);
8
8
  run(context: StepExecutorContext): Promise<TaskResult>;
9
9
  }
10
10
  //#endregion
11
- export { WaitForTransactionStatusTask };
12
11
  //# sourceMappingURL=WaitForTransactionStatusTask.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { SDKClient } from "../../../types/core.js";
2
2
  import { LiFiStep } from "@lifi/types";
3
3
  //#region src/core/tasks/helpers/checkBalance.d.ts
4
- type CheckBalanceOptions = {
4
+ export type CheckBalanceOptions = {
5
5
  /**
6
6
  * Set to `false` when outer-tx gas is paid by something other than
7
7
  * `walletAddress` (SCA executor, 4337 bundler / paymaster, relayer):
@@ -23,7 +23,6 @@ type CheckBalanceOptions = {
23
23
  * BalanceError("Could not read wallet balance.") if the balance can't be read
24
24
  * after retries.
25
25
  */
26
- declare const checkBalance: (client: SDKClient, walletAddress: string, step: LiFiStep, options?: CheckBalanceOptions) => Promise<void>;
26
+ export declare const checkBalance: (client: SDKClient, walletAddress: string, step: LiFiStep, options?: CheckBalanceOptions) => Promise<void>;
27
27
  //#endregion
28
- export { CheckBalanceOptions, checkBalance };
29
28
  //# sourceMappingURL=checkBalance.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import { ExecutionOptions, LiFiStepExtended } from "../../../types/core.js";
2
2
  //#region src/core/tasks/helpers/getTransactionRequestData.d.ts
3
- declare const getTransactionRequestData: (step: LiFiStepExtended, executionOptions?: ExecutionOptions) => Promise<string>;
3
+ export declare const getTransactionRequestData: (step: LiFiStepExtended, executionOptions?: ExecutionOptions) => Promise<string>;
4
4
  //#endregion
5
- export { getTransactionRequestData };
6
5
  //# sourceMappingURL=getTransactionRequestData.d.ts.map
@@ -14,7 +14,6 @@ import { LiFiStep } from "@lifi/types";
14
14
  * @param executionOptions
15
15
  * @returns Return LiFiStep
16
16
  */
17
- declare const stepComparison: (statusManager: StatusManager, oldStep: LiFiStep, newStep: LiFiStep, allowUserInteraction: boolean, executionOptions?: ExecutionOptions) => Promise<LiFiStep>;
17
+ export declare const stepComparison: (statusManager: StatusManager, oldStep: LiFiStep, newStep: LiFiStep, allowUserInteraction: boolean, executionOptions?: ExecutionOptions) => Promise<LiFiStep>;
18
18
  //#endregion
19
- export { stepComparison };
20
19
  //# sourceMappingURL=stepComparison.d.ts.map
@@ -2,7 +2,6 @@ import { ExecutionActionType, SDKClient } from "../../../types/core.js";
2
2
  import { StatusManager } from "../../StatusManager.js";
3
3
  import { LiFiStep, StatusResponse } from "@lifi/types";
4
4
  //#region src/core/tasks/helpers/waitForTransactionStatus.d.ts
5
- declare function waitForTransactionStatus(client: SDKClient, statusManager: StatusManager, txHash: string, step: LiFiStep, actionType: ExecutionActionType, interval?: number): Promise<StatusResponse>;
5
+ export declare function waitForTransactionStatus(client: SDKClient, statusManager: StatusManager, txHash: string, step: LiFiStep, actionType: ExecutionActionType, interval?: number): Promise<StatusResponse>;
6
6
  //#endregion
7
- export { waitForTransactionStatus };
8
7
  //# sourceMappingURL=waitForTransactionStatus.d.ts.map
@@ -9,8 +9,7 @@ import { ChainId, ExtendedChain, LiFiStep } from "@lifi/types";
9
9
  * @param newStep - new step
10
10
  * @returns Boolean
11
11
  */
12
- declare function checkStepSlippageThreshold(oldStep: LiFiStep, newStep: LiFiStep): boolean;
13
- declare function getRpcUrlsFromChains(existingRpcUrls: RPCUrls, chains: ExtendedChain[], skipChains?: ChainId[]): RPCUrls;
12
+ export declare function checkStepSlippageThreshold(oldStep: LiFiStep, newStep: LiFiStep): boolean;
13
+ export declare function getRpcUrlsFromChains(existingRpcUrls: RPCUrls, chains: ExtendedChain[], skipChains?: ChainId[]): RPCUrls;
14
14
  //#endregion
15
- export { checkStepSlippageThreshold, getRpcUrlsFromChains };
16
15
  //# sourceMappingURL=utils.d.ts.map
@@ -3,7 +3,7 @@ import { ErrorCode } from "./constants.js";
3
3
  import { BaseError } from "./baseError.js";
4
4
  import { LiFiStep } from "@lifi/types";
5
5
  //#region src/errors/SDKError.d.ts
6
- declare class SDKError extends Error {
6
+ export declare class SDKError extends Error {
7
7
  step?: LiFiStep;
8
8
  action?: ExecutionAction;
9
9
  code: ErrorCode;
@@ -12,5 +12,4 @@ declare class SDKError extends Error {
12
12
  constructor(cause: BaseError, step?: LiFiStep, action?: ExecutionAction);
13
13
  }
14
14
  //#endregion
15
- export { SDKError };
16
15
  //# sourceMappingURL=SDKError.d.ts.map
@@ -1,10 +1,9 @@
1
1
  import { ErrorCode, ErrorName } from "./constants.js";
2
2
  //#region src/errors/baseError.d.ts
3
- declare class BaseError extends Error {
3
+ export declare class BaseError extends Error {
4
4
  code: ErrorCode;
5
5
  override cause?: Error;
6
6
  constructor(name: ErrorName, code: number, message: string, cause?: Error);
7
7
  }
8
8
  //#endregion
9
- export { BaseError };
10
9
  //# sourceMappingURL=baseError.d.ts.map