@xswap-link/sdk 0.0.12 → 0.0.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - f5225bc: make Route.transactions.approve optional
8
+
3
9
  ## 0.0.12
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -128,7 +128,7 @@ type Route = {
128
128
  estAmountOut: string;
129
129
  minAmountOut: string;
130
130
  transactions: {
131
- approve: TransactionRequest;
131
+ approve?: TransactionRequest;
132
132
  swap: TransactionRequest;
133
133
  };
134
134
  xSwapFees: XSwapFees;
package/dist/index.d.ts CHANGED
@@ -128,7 +128,7 @@ type Route = {
128
128
  estAmountOut: string;
129
129
  minAmountOut: string;
130
130
  transactions: {
131
- approve: TransactionRequest;
131
+ approve?: TransactionRequest;
132
132
  swap: TransactionRequest;
133
133
  };
134
134
  xSwapFees: XSwapFees;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xswap-link/sdk",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "JavaScript SDK for XSwap platform",
5
5
  "homepage": "https://github.com/xswap-link/xswap-sdk",
6
6
  "repository": {
@@ -5,7 +5,7 @@ export type Route = {
5
5
  estAmountOut: string;
6
6
  minAmountOut: string;
7
7
  transactions: {
8
- approve: TransactionRequest;
8
+ approve?: TransactionRequest;
9
9
  swap: TransactionRequest;
10
10
  };
11
11
  xSwapFees: XSwapFees;