@chainflip/sdk 1.1.0-rc.2 → 1.1.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/swap.js CHANGED
@@ -8615,6 +8615,13 @@ var _SwapSDK = class _SwapSDK {
8615
8615
  if (!result.success)
8616
8616
  throw new Error(result.reason);
8617
8617
  }
8618
+ async getSwapLimits() {
8619
+ const { swapping: { minimumSwapAmounts, maximumSwapAmounts } } = await this.getStateChainEnvironment();
8620
+ return {
8621
+ minimumSwapAmounts,
8622
+ maximumSwapAmounts
8623
+ };
8624
+ }
8618
8625
  };
8619
8626
  __name(_SwapSDK, "SwapSDK");
8620
8627
  var SwapSDK = _SwapSDK;
package/dist/swap.mjs CHANGED
@@ -2611,6 +2611,13 @@ var _SwapSDK = class _SwapSDK {
2611
2611
  if (!result.success)
2612
2612
  throw new Error(result.reason);
2613
2613
  }
2614
+ async getSwapLimits() {
2615
+ const { swapping: { minimumSwapAmounts, maximumSwapAmounts } } = await this.getStateChainEnvironment();
2616
+ return {
2617
+ minimumSwapAmounts,
2618
+ maximumSwapAmounts
2619
+ };
2620
+ }
2614
2621
  };
2615
2622
  __name(_SwapSDK, "SwapSDK");
2616
2623
  var SwapSDK = _SwapSDK;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/sdk",
3
- "version": "1.1.0-rc.2",
3
+ "version": "1.1.0-rc.3",
4
4
  "description": "",
5
5
  "exports": {
6
6
  "./swap": {