@xswap-link/sdk 0.11.0 → 0.11.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.
@@ -22,7 +22,7 @@ jobs:
22
22
  version: 7
23
23
  - uses: actions/setup-node@v3
24
24
  with:
25
- node-version: 16.x
25
+ node-version: 18.x
26
26
  cache: "pnpm"
27
27
 
28
28
  - run: pnpm install
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fffae4f: added support for new chains
8
+
3
9
  ## 0.11.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -105,7 +105,6 @@ type GetPricesPayload = {
105
105
  };
106
106
 
107
107
  type GetRoutePayload = {
108
- integratorId: string;
109
108
  fromChain: string;
110
109
  toChain: string;
111
110
  fromToken: string;
@@ -114,19 +113,17 @@ type GetRoutePayload = {
114
113
  fromAddress: string;
115
114
  toAddress: string;
116
115
  paymentToken: string;
116
+ integratorId: string;
117
117
  slippage: number;
118
118
  expressDelivery: boolean;
119
- quoteOnly?: boolean;
120
- enableExpress?: boolean;
119
+ infiniteApproval?: boolean;
121
120
  customContractCalls?: ContractCall[];
122
121
  sourceChainDexes?: string[];
123
122
  destinationChainDexes?: string[];
124
- receiveGasOnDestination?: boolean;
125
- collectFees?: CollectFees;
126
- fallbackAddresses?: CoinTypeAddress[];
127
- infiniteApproval: boolean;
128
123
  integratorFee?: number;
129
124
  integratorFeeReceiverAddress?: string;
125
+ gasLimit?: number;
126
+ swapRouteProviders?: string[];
130
127
  };
131
128
 
132
129
  type GetSolanaRoutePayload = {
package/dist/index.d.ts CHANGED
@@ -105,7 +105,6 @@ type GetPricesPayload = {
105
105
  };
106
106
 
107
107
  type GetRoutePayload = {
108
- integratorId: string;
109
108
  fromChain: string;
110
109
  toChain: string;
111
110
  fromToken: string;
@@ -114,19 +113,17 @@ type GetRoutePayload = {
114
113
  fromAddress: string;
115
114
  toAddress: string;
116
115
  paymentToken: string;
116
+ integratorId: string;
117
117
  slippage: number;
118
118
  expressDelivery: boolean;
119
- quoteOnly?: boolean;
120
- enableExpress?: boolean;
119
+ infiniteApproval?: boolean;
121
120
  customContractCalls?: ContractCall[];
122
121
  sourceChainDexes?: string[];
123
122
  destinationChainDexes?: string[];
124
- receiveGasOnDestination?: boolean;
125
- collectFees?: CollectFees;
126
- fallbackAddresses?: CoinTypeAddress[];
127
- infiniteApproval: boolean;
128
123
  integratorFee?: number;
129
124
  integratorFeeReceiverAddress?: string;
125
+ gasLimit?: number;
126
+ swapRouteProviders?: string[];
130
127
  };
131
128
 
132
129
  type GetSolanaRoutePayload = {