@xswap-link/sdk 0.0.11 → 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 +12 -0
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/package.json +1 -1
- package/src/models/Route.ts +2 -2
- package/src/models/XSwapFee.ts +2 -2
- package/src/models/XSwapFees.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -114,13 +114,13 @@ type Protocol = {
|
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
type XSwapFee = {
|
|
117
|
-
tokenFee
|
|
118
|
-
nativeFee
|
|
117
|
+
tokenFee: string;
|
|
118
|
+
nativeFee: string;
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
type XSwapFees = {
|
|
122
122
|
ccipFee?: string;
|
|
123
|
-
xSwapFee
|
|
123
|
+
xSwapFee: XSwapFee;
|
|
124
124
|
expressDeliveryFee?: string;
|
|
125
125
|
};
|
|
126
126
|
|
|
@@ -128,10 +128,10 @@ type Route = {
|
|
|
128
128
|
estAmountOut: string;
|
|
129
129
|
minAmountOut: string;
|
|
130
130
|
transactions: {
|
|
131
|
-
approve
|
|
131
|
+
approve?: TransactionRequest;
|
|
132
132
|
swap: TransactionRequest;
|
|
133
133
|
};
|
|
134
|
-
xSwapFees
|
|
134
|
+
xSwapFees: XSwapFees;
|
|
135
135
|
message?: string;
|
|
136
136
|
};
|
|
137
137
|
|
package/dist/index.d.ts
CHANGED
|
@@ -114,13 +114,13 @@ type Protocol = {
|
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
type XSwapFee = {
|
|
117
|
-
tokenFee
|
|
118
|
-
nativeFee
|
|
117
|
+
tokenFee: string;
|
|
118
|
+
nativeFee: string;
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
type XSwapFees = {
|
|
122
122
|
ccipFee?: string;
|
|
123
|
-
xSwapFee
|
|
123
|
+
xSwapFee: XSwapFee;
|
|
124
124
|
expressDeliveryFee?: string;
|
|
125
125
|
};
|
|
126
126
|
|
|
@@ -128,10 +128,10 @@ type Route = {
|
|
|
128
128
|
estAmountOut: string;
|
|
129
129
|
minAmountOut: string;
|
|
130
130
|
transactions: {
|
|
131
|
-
approve
|
|
131
|
+
approve?: TransactionRequest;
|
|
132
132
|
swap: TransactionRequest;
|
|
133
133
|
};
|
|
134
|
-
xSwapFees
|
|
134
|
+
xSwapFees: XSwapFees;
|
|
135
135
|
message?: string;
|
|
136
136
|
};
|
|
137
137
|
|
package/package.json
CHANGED
package/src/models/Route.ts
CHANGED
|
@@ -5,9 +5,9 @@ export type Route = {
|
|
|
5
5
|
estAmountOut: string;
|
|
6
6
|
minAmountOut: string;
|
|
7
7
|
transactions: {
|
|
8
|
-
approve
|
|
8
|
+
approve?: TransactionRequest;
|
|
9
9
|
swap: TransactionRequest;
|
|
10
10
|
};
|
|
11
|
-
xSwapFees
|
|
11
|
+
xSwapFees: XSwapFees;
|
|
12
12
|
message?: string;
|
|
13
13
|
};
|
package/src/models/XSwapFee.ts
CHANGED