@swapkit/helpers 4.14.0 → 4.15.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.
- package/CHANGELOG.md +631 -0
- package/dist/api/index.js +1 -1
- package/dist/chunk-tf9f4rzs.js +5 -0
- package/dist/chunk-xkn2j41c.js +4 -0
- package/dist/index.js +1 -1
- package/dist/types/modules/swapKitConfig.d.ts +20 -0
- package/package.json +4 -4
- package/dist/chunk-5havr91f.js +0 -5
- package/dist/chunk-cj4r0f01.js +0 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,631 @@
|
|
|
1
|
+
# @swapkit/helpers
|
|
2
|
+
|
|
3
|
+
## 4.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#278](https://github.com/swapkit/sdk/pull/278) [`02cec19`](https://github.com/swapkit/sdk/commit/02cec190fa5688a75be4ec00d9fdf33f871a7962) Thanks [@towanTG](https://github.com/towanTG)! - Add `localMode` to SKConfig for routing quote and swap requests to locally running API services. When enabled, quote requests go to `http://localhost:3000` and swap requests to `http://localhost:3001` by default (both configurable via `quoteUrl`/`swapUrl`), while all other endpoints keep using the configured `apiUrl`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @swapkit/tokens@4.3.1
|
|
13
|
+
|
|
14
|
+
## 4.14.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [#274](https://github.com/swapkit/sdk/pull/274) [`d0a20af`](https://github.com/swapkit/sdk/commit/d0a20afe503343174c792a74f20102d9d06baa64) Thanks [@towanTG](https://github.com/towanTG)! - Ship `CHANGELOG.md` in the published package. Each package now lists `CHANGELOG.md` in its `files`, so the changelog ships in the npm tarball alongside `dist/`. Consumers (e.g. the wallets release tooling) can read the underlying SDK changes directly from `node_modules` instead of fetching them from the private GitHub repo.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`d0a20af`](https://github.com/swapkit/sdk/commit/d0a20afe503343174c792a74f20102d9d06baa64)]:
|
|
21
|
+
- @swapkit/contracts@4.1.5
|
|
22
|
+
- @swapkit/tokens@4.3.1
|
|
23
|
+
- @swapkit/types@0.8.1
|
|
24
|
+
|
|
25
|
+
## 4.14.0
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- [#262](https://github.com/swapkit/sdk/pull/262) [`9e84c7a`](https://github.com/swapkit/sdk/commit/9e84c7a0cce9ecd662c1b8cee49f1781271bc49f) Thanks [@towanTG](https://github.com/towanTG)! - Rename the HyperCore chain identifier to HYPE. Adds Chain.Hype and ChainId.Hype as the canonical enum members, keeps deprecated Chain.HyperCore aliases, and updates Hype asset identifiers to use the HYPE chain prefix.
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [[`9e84c7a`](https://github.com/swapkit/sdk/commit/9e84c7a0cce9ecd662c1b8cee49f1781271bc49f)]:
|
|
34
|
+
- @swapkit/types@0.8.0
|
|
35
|
+
- @swapkit/tokens@4.3.0
|
|
36
|
+
|
|
37
|
+
## 4.13.13
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- [`3623906`](https://github.com/swapkit/sdk/commit/3623906834927abfe6265fa91c21568da6adb852) Thanks [@towanTG](https://github.com/towanTG)! - Fix balance scam filtering for decimal string values returned by the SwapKit balance API.
|
|
42
|
+
|
|
43
|
+
- Updated dependencies []:
|
|
44
|
+
- @swapkit/tokens@4.2.8
|
|
45
|
+
|
|
46
|
+
## 4.13.12
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- [#257](https://github.com/swapkit/sdk/pull/257) [`8d33750`](https://github.com/swapkit/sdk/commit/8d33750f2c3e7c1cb6353c2a4dcfffe7936207c1) Thanks [@towanTG](https://github.com/towanTG)! - Fix Stellar Horizon handling, reduce EVM balance scam-filter false positives, and allow swap to accept route-with-transaction response types.
|
|
51
|
+
|
|
52
|
+
- Updated dependencies []:
|
|
53
|
+
- @swapkit/tokens@4.2.8
|
|
54
|
+
|
|
55
|
+
## 4.13.11
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- [#253](https://github.com/swapkit/sdk/pull/253) [`53882f1`](https://github.com/swapkit/sdk/commit/53882f116feff4eabf7bb714dddf4261f6f640d9) Thanks [@towanTG](https://github.com/towanTG)! - Accept NEAR route transaction metadata in SwapKit API response schemas.
|
|
60
|
+
|
|
61
|
+
- Updated dependencies []:
|
|
62
|
+
- @swapkit/tokens@4.2.8
|
|
63
|
+
|
|
64
|
+
## 4.13.10
|
|
65
|
+
|
|
66
|
+
### Patch Changes
|
|
67
|
+
|
|
68
|
+
- [#243](https://github.com/swapkit/sdk/pull/243) [`fe496eb`](https://github.com/swapkit/sdk/commit/fe496ebc69e24fb8679e13f0a9ff4ee10ce54699) Thanks [@towanTG](https://github.com/towanTG)! - Add Spark chain configuration and native BTC asset handling.
|
|
69
|
+
|
|
70
|
+
- Updated dependencies [[`fe496eb`](https://github.com/swapkit/sdk/commit/fe496ebc69e24fb8679e13f0a9ff4ee10ce54699)]:
|
|
71
|
+
- @swapkit/types@0.7.5
|
|
72
|
+
- @swapkit/tokens@4.2.8
|
|
73
|
+
|
|
74
|
+
## 4.13.9
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- [#238](https://github.com/swapkit/sdk/pull/238) [`dfdd850`](https://github.com/swapkit/sdk/commit/dfdd850f10d010f14187983f2082486333df4cd7) Thanks [@towanTG](https://github.com/towanTG)! - Route MAYAN and FLASHNET through the SwapKit plugin and add a Flashnet BTC transfer fallback for wallets without direct signing.
|
|
79
|
+
|
|
80
|
+
- Updated dependencies []:
|
|
81
|
+
- @swapkit/tokens@4.2.8
|
|
82
|
+
|
|
83
|
+
## 4.13.8
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- [#221](https://github.com/swapkit/sdk/pull/221) [`8cac8c3`](https://github.com/swapkit/sdk/commit/8cac8c34153c3620f186d614cf412700b8a1f44b) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Dependencies bump & installation cleanup
|
|
88
|
+
|
|
89
|
+
- Updated dependencies [[`8cac8c3`](https://github.com/swapkit/sdk/commit/8cac8c34153c3620f186d614cf412700b8a1f44b)]:
|
|
90
|
+
- @swapkit/contracts@4.1.4
|
|
91
|
+
- @swapkit/tokens@4.2.8
|
|
92
|
+
|
|
93
|
+
## 4.13.7
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- [`1bb5e02`](https://github.com/swapkit/sdk/commit/1bb5e023c929fd4772bfe2d639e624fcb038dd2c) Thanks [@towanTG](https://github.com/towanTG)! - Set the Origin header for widget-key authenticated SwapKit API requests.
|
|
98
|
+
|
|
99
|
+
- Updated dependencies []:
|
|
100
|
+
- @swapkit/tokens@4.2.7
|
|
101
|
+
|
|
102
|
+
## 4.13.6
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- [#225](https://github.com/swapkit/sdk/pull/225) [`13273d5`](https://github.com/swapkit/sdk/commit/13273d52ec6db5aa779e6a940c904f9ecb6a0821) Thanks [@mfaizan1](https://github.com/mfaizan1)! - - helpers/api/thornode/endpoints.ts: terminate the `baseUrl()` `match(...)` chain with `.otherwise(...)` so it resolves to the actual URL string instead of a `ts-pattern` builder, and default the path segment to `"thorchain"` when `type` is unset. Without this `${nodeUrl}/${type}` produced `"[object Object]/.../"` and broke `new URL()` for every thornode endpoint call where the caller didn't pass a type.
|
|
107
|
+
- utxo-signer/src/transaction.ts: `getOutputAddress` now returns `undefined` for OP_RETURN / unknown-type outputs (`OutScript.decode` returns `{ type: "unknown" }`) instead of letting `Address.encode` throw `Unknown address type=unknown`. Callers iterating tx outputs to detect change/recipient (e.g. the Trezor adapter) already treat `undefined` as "non-address output".
|
|
108
|
+
- Updated dependencies []:
|
|
109
|
+
- @swapkit/tokens@4.2.7
|
|
110
|
+
|
|
111
|
+
## 4.13.5
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- [#214](https://github.com/swapkit/sdk/pull/214) [`377c3d7`](https://github.com/swapkit/sdk/commit/377c3d75b8b8097794fa6913ea9662627ec4a55a) Thanks [@towanTG](https://github.com/towanTG)! - Update widget request authentication to include `x-widget-id` and sign `widgetId:origin:timestamp`.
|
|
116
|
+
|
|
117
|
+
- Updated dependencies []:
|
|
118
|
+
- @swapkit/tokens@4.2.7
|
|
119
|
+
|
|
120
|
+
## 4.13.4
|
|
121
|
+
|
|
122
|
+
### Patch Changes
|
|
123
|
+
|
|
124
|
+
- [#209](https://github.com/swapkit/sdk/pull/209) [`5cb7567`](https://github.com/swapkit/sdk/commit/5cb75672bc705fb82f35770dc1b33d3b87ab2dcf) Thanks [@0xepicode](https://github.com/0xepicode)! - Fix cosmos schema validation
|
|
125
|
+
|
|
126
|
+
- Updated dependencies []:
|
|
127
|
+
- @swapkit/tokens@4.2.7
|
|
128
|
+
|
|
129
|
+
## 4.13.3
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- [#205](https://github.com/swapkit/sdk/pull/205) [`b57e263`](https://github.com/swapkit/sdk/commit/b57e263961827fa95b9fbe5f83f12897026fad13) Thanks [@towanTG](https://github.com/towanTG)! - Resolve static HyperCore asset identifiers before falling back to async token lookup.
|
|
134
|
+
|
|
135
|
+
- Updated dependencies [[`61488c5`](https://github.com/swapkit/sdk/commit/61488c51a85570e6b9043f6a1dad91745bf2a324)]:
|
|
136
|
+
- @swapkit/tokens@4.2.7
|
|
137
|
+
|
|
138
|
+
## 4.13.2
|
|
139
|
+
|
|
140
|
+
### Patch Changes
|
|
141
|
+
|
|
142
|
+
- [#202](https://github.com/swapkit/sdk/pull/202) [`a1b9497`](https://github.com/swapkit/sdk/commit/a1b94971173e9499f48f20836b480908ed05149a) Thanks [@ice-chillios](https://github.com/ice-chillios)! - replace tc thornode and rpc default url + add thornode config
|
|
143
|
+
|
|
144
|
+
- Updated dependencies [[`a1b9497`](https://github.com/swapkit/sdk/commit/a1b94971173e9499f48f20836b480908ed05149a)]:
|
|
145
|
+
- @swapkit/types@0.7.4
|
|
146
|
+
- @swapkit/tokens@4.2.6
|
|
147
|
+
|
|
148
|
+
## 4.13.1
|
|
149
|
+
|
|
150
|
+
### Patch Changes
|
|
151
|
+
|
|
152
|
+
- [#200](https://github.com/swapkit/sdk/pull/200) [`1f80e1d`](https://github.com/swapkit/sdk/commit/1f80e1d78b9d6397a027ece5f410ccb5341dd7ba) Thanks [@towanTG](https://github.com/towanTG)! - Fix AssetValue.from() colon parsing for identifiers with `:` in the symbol (e.g. HYPERCORE tokens). The parser no longer misidentifies full identifiers like `CHAIN.SYMBOL:address` as `CHAIN:ADDRESS` shorthand.
|
|
153
|
+
|
|
154
|
+
- Updated dependencies [[`1f80e1d`](https://github.com/swapkit/sdk/commit/1f80e1d78b9d6397a027ece5f410ccb5341dd7ba)]:
|
|
155
|
+
- @swapkit/tokens@4.2.6
|
|
156
|
+
|
|
157
|
+
## 4.13.0
|
|
158
|
+
|
|
159
|
+
### Minor Changes
|
|
160
|
+
|
|
161
|
+
- [#196](https://github.com/swapkit/sdk/pull/196) [`616a3cb`](https://github.com/swapkit/sdk/commit/616a3cbf37fd9bd40e4412928e36859de24129de) Thanks [@towanTG](https://github.com/towanTG)! - Replace centralized `V3SwapFlowSupport` map with per-wallet `directSigningSupport`. Each wallet now declares which chains it can sign pre-built API txs for via `createWallet({ directSigningSupport })`. The flag flows to each `ChainWallet` as `supportsDirectSigning` and core reads it at swap time. Removes `V3SwapFlowSupport`, `supportsV3SwapFlow`, and `EVMWallets` from helpers.
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- Updated dependencies []:
|
|
166
|
+
- @swapkit/tokens@4.2.5
|
|
167
|
+
|
|
168
|
+
## 4.12.9
|
|
169
|
+
|
|
170
|
+
### Patch Changes
|
|
171
|
+
|
|
172
|
+
- [#192](https://github.com/swapkit/sdk/pull/192) [`ea63723`](https://github.com/swapkit/sdk/commit/ea63723b0b9b0d48f64612d22cc37e0ef43f2b07) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Release builder tools
|
|
173
|
+
|
|
174
|
+
- Updated dependencies [[`ea63723`](https://github.com/swapkit/sdk/commit/ea63723b0b9b0d48f64612d22cc37e0ef43f2b07)]:
|
|
175
|
+
- @swapkit/contracts@4.1.3
|
|
176
|
+
- @swapkit/tokens@4.2.5
|
|
177
|
+
- @swapkit/types@0.7.3
|
|
178
|
+
|
|
179
|
+
## 4.12.8
|
|
180
|
+
|
|
181
|
+
### Patch Changes
|
|
182
|
+
|
|
183
|
+
- [#190](https://github.com/swapkit/sdk/pull/190) [`acc279b`](https://github.com/swapkit/sdk/commit/acc279b4f7c7d6914df4cabf8115e487c1ce376e) Thanks [@towanTG](https://github.com/towanTG)! - Add FLASHNET to ProviderName enum, improve invalid asset identifier error message, and fix Arbitrum gas estimation (apply buffer + fee multipliers to prevent `maxFeePerGas < baseFee` errors)
|
|
184
|
+
|
|
185
|
+
- Updated dependencies []:
|
|
186
|
+
- @swapkit/tokens@4.2.4
|
|
187
|
+
|
|
188
|
+
## 4.12.7
|
|
189
|
+
|
|
190
|
+
### Patch Changes
|
|
191
|
+
|
|
192
|
+
- Updated dependencies [[`8e6532b`](https://github.com/swapkit/sdk/commit/8e6532beec425e35f9d5454cd2ec976516cbd7d5)]:
|
|
193
|
+
- @swapkit/tokens@4.2.4
|
|
194
|
+
|
|
195
|
+
## 4.12.6
|
|
196
|
+
|
|
197
|
+
### Patch Changes
|
|
198
|
+
|
|
199
|
+
- [#176](https://github.com/swapkit/sdk/pull/176) [`21447e8`](https://github.com/swapkit/sdk/commit/21447e8f43862c8a2775a5e89287e65aa2fad66d) Thanks [@towanTG](https://github.com/towanTG)! - feat: add HyperCore (Hyperliquid L1) chain integration
|
|
200
|
+
|
|
201
|
+
- Add Chain.HyperCore enum and chain configuration
|
|
202
|
+
- Add gas asset recognition, common asset info, and asset type detection for HYPE on HyperCore
|
|
203
|
+
- Create HyperCore toolbox with balance fetching, spot transfers, and address validation
|
|
204
|
+
- Wire toolbox into main routing and package exports
|
|
205
|
+
|
|
206
|
+
- Updated dependencies [[`21447e8`](https://github.com/swapkit/sdk/commit/21447e8f43862c8a2775a5e89287e65aa2fad66d)]:
|
|
207
|
+
- @swapkit/types@0.7.2
|
|
208
|
+
- @swapkit/tokens@4.2.3
|
|
209
|
+
|
|
210
|
+
## 4.12.5
|
|
211
|
+
|
|
212
|
+
### Patch Changes
|
|
213
|
+
|
|
214
|
+
- [#180](https://github.com/swapkit/sdk/pull/180) [`8a71a23`](https://github.com/swapkit/sdk/commit/8a71a232510c57fad651e84b1b6877269209856d) Thanks [@towanTG](https://github.com/towanTG)! - Fix quote response schema validation by making `sourceAddress` and `destinationAddress` optional on `QuoteResponseRouteItem`, matching the actual API response where these fields are not present until the `/swap` call.
|
|
215
|
+
|
|
216
|
+
- Updated dependencies []:
|
|
217
|
+
- @swapkit/tokens@4.2.3
|
|
218
|
+
|
|
219
|
+
## 4.12.4
|
|
220
|
+
|
|
221
|
+
### Patch Changes
|
|
222
|
+
|
|
223
|
+
- [#178](https://github.com/swapkit/sdk/pull/178) [`23f7099`](https://github.com/swapkit/sdk/commit/23f7099450b674b106b611c2a7166a12895e5686) Thanks [@towanTG](https://github.com/towanTG)! - fix(helpers): preserve data and fee_limit in TronTransactionSchema to prevent signature mismatch on v3 swap broadcast
|
|
224
|
+
|
|
225
|
+
- Updated dependencies []:
|
|
226
|
+
- @swapkit/tokens@4.2.3
|
|
227
|
+
|
|
228
|
+
## 4.12.3
|
|
229
|
+
|
|
230
|
+
### Patch Changes
|
|
231
|
+
|
|
232
|
+
- [#168](https://github.com/swapkit/sdk/pull/168) [`df5c67c`](https://github.com/swapkit/sdk/commit/df5c67cb9af27fe625959113bad47a74ad7cca58) Thanks [@towanTG](https://github.com/towanTG)! - fix: complete HyperEVM chain integration - gas asset recognition, common asset info, token address resolution, and chainId verification
|
|
233
|
+
|
|
234
|
+
- Updated dependencies [[`df5c67c`](https://github.com/swapkit/sdk/commit/df5c67cb9af27fe625959113bad47a74ad7cca58)]:
|
|
235
|
+
- @swapkit/types@0.7.1
|
|
236
|
+
- @swapkit/tokens@4.2.3
|
|
237
|
+
|
|
238
|
+
## 4.12.2
|
|
239
|
+
|
|
240
|
+
### Patch Changes
|
|
241
|
+
|
|
242
|
+
- Updated dependencies [[`551d65f`](https://github.com/swapkit/sdk/commit/551d65f8c761a7ff9a720ca54254f418a23d8dcd)]:
|
|
243
|
+
- @swapkit/types@0.7.0
|
|
244
|
+
- @swapkit/tokens@4.2.3
|
|
245
|
+
|
|
246
|
+
## 4.12.1
|
|
247
|
+
|
|
248
|
+
### Patch Changes
|
|
249
|
+
|
|
250
|
+
- [`674bce5`](https://github.com/swapkit/sdk/commit/674bce5d834ed6cf416282e60729fe9bd24fa698) Thanks [@towanTG](https://github.com/towanTG)! - Fix CI publish auth for private packages
|
|
251
|
+
|
|
252
|
+
- Updated dependencies []:
|
|
253
|
+
- @swapkit/tokens@4.2.3
|
|
254
|
+
|
|
255
|
+
## 4.12.0
|
|
256
|
+
|
|
257
|
+
### Minor Changes
|
|
258
|
+
|
|
259
|
+
- [#136](https://github.com/swapkit/sdk/pull/136) [`e770e34`](https://github.com/swapkit/sdk/commit/e770e34f008e9c96738ed9d445dc5680927ad719) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Add EIP-712 signTypedData handler
|
|
260
|
+
|
|
261
|
+
### Patch Changes
|
|
262
|
+
|
|
263
|
+
- Updated dependencies []:
|
|
264
|
+
- @swapkit/tokens@4.2.3
|
|
265
|
+
|
|
266
|
+
## 4.11.0
|
|
267
|
+
|
|
268
|
+
### Minor Changes
|
|
269
|
+
|
|
270
|
+
- [`9804504`](https://github.com/swapkit/sdk/commit/9804504d0500d2a30dcc2677dba084a8a77cbcc7) Thanks [@towanTG](https://github.com/towanTG)! - refactor(tron): replace tronweb SDK with direct HTTP API and noble crypto for proto handling
|
|
271
|
+
|
|
272
|
+
### Patch Changes
|
|
273
|
+
|
|
274
|
+
- Updated dependencies [[`9804504`](https://github.com/swapkit/sdk/commit/9804504d0500d2a30dcc2677dba084a8a77cbcc7)]:
|
|
275
|
+
- @swapkit/types@0.6.4
|
|
276
|
+
- @swapkit/tokens@4.2.3
|
|
277
|
+
|
|
278
|
+
## 4.10.7
|
|
279
|
+
|
|
280
|
+
### Patch Changes
|
|
281
|
+
|
|
282
|
+
- Updated dependencies [[`e68562d`](https://github.com/swapkit/sdk/commit/e68562deae49d1bca6217b379636f644746c271a), [`f44e47c`](https://github.com/swapkit/sdk/commit/f44e47c6538f842dcc4b0b824a8520aa57fe8036)]:
|
|
283
|
+
- @swapkit/types@0.6.3
|
|
284
|
+
- @swapkit/tokens@4.2.3
|
|
285
|
+
|
|
286
|
+
## 4.10.6
|
|
287
|
+
|
|
288
|
+
### Patch Changes
|
|
289
|
+
|
|
290
|
+
- Updated dependencies [[`0c31346`](https://github.com/swapkit/sdk/commit/0c313469a55ce48f7381bcdd3d70ec27ffc15ec6)]:
|
|
291
|
+
- @swapkit/types@0.6.2
|
|
292
|
+
- @swapkit/tokens@4.2.3
|
|
293
|
+
|
|
294
|
+
## 4.10.5
|
|
295
|
+
|
|
296
|
+
### Patch Changes
|
|
297
|
+
|
|
298
|
+
- [#127](https://github.com/swapkit/sdk/pull/127) [`6346a4a`](https://github.com/swapkit/sdk/commit/6346a4a3c5cdde95f282b841d80d79c8eece47a8) Thanks [@towanTG](https://github.com/towanTG)! - Fix Solana RPC requests failing with CORS errors due to non-standard headers. The @solana/web3.js Connection sends `Pragma` and `solana-client` headers that trigger CORS preflight failures on many RPC providers. Added a fetchMiddleware to strip these headers before requests are sent, and used optional chaining to handle cases where the init parameter may be undefined.
|
|
299
|
+
|
|
300
|
+
- Updated dependencies []:
|
|
301
|
+
- @swapkit/tokens@4.2.3
|
|
302
|
+
|
|
303
|
+
## 4.10.4
|
|
304
|
+
|
|
305
|
+
### Patch Changes
|
|
306
|
+
|
|
307
|
+
- [#120](https://github.com/swapkit/sdk/pull/120) [`0fd10ee`](https://github.com/swapkit/sdk/commit/0fd10eedd1c39324d4559c3e44f94ab1d55e644a) Thanks [@towanTG](https://github.com/towanTG)! - feat(utxo): replace bitcoinjs-lib with scure-btc-signer for all UTXO chains
|
|
308
|
+
|
|
309
|
+
Introduces @swapkit/utxo-signer as a standalone signing package built on @noble/hashes and @scure/btc-signer. Refactors UTXO toolbox with HD wallet derivation, RBF (replace-by-fee) support, Zcash PCZT transaction builder, improved fee estimation, and batch UTXO fetching for Dogecoin. Hardware wallets (Ledger, Trezor, KeepKey) and keystore wallet updated to use the new signer.
|
|
310
|
+
|
|
311
|
+
- Updated dependencies [[`0fd10ee`](https://github.com/swapkit/sdk/commit/0fd10eedd1c39324d4559c3e44f94ab1d55e644a)]:
|
|
312
|
+
- @swapkit/types@0.6.1
|
|
313
|
+
- @swapkit/tokens@4.2.3
|
|
314
|
+
|
|
315
|
+
## 4.10.3
|
|
316
|
+
|
|
317
|
+
### Patch Changes
|
|
318
|
+
|
|
319
|
+
- [`cb3f8b4`](https://github.com/swapkit/sdk/commit/cb3f8b426eda4e65513b0d1fbfc263dff961a30d) Thanks [@towanTG](https://github.com/towanTG)! - fix(helpers): normalize SwapTo asset identifiers to checksummed form so they match static asset lookups
|
|
320
|
+
|
|
321
|
+
fix(ui): source filtered assets from swapTo list when filterBySwapTo is active, ensuring tokens not in the local static list still appear in results
|
|
322
|
+
|
|
323
|
+
- Updated dependencies []:
|
|
324
|
+
- @swapkit/tokens@4.2.3
|
|
325
|
+
|
|
326
|
+
## 4.10.2
|
|
327
|
+
|
|
328
|
+
### Patch Changes
|
|
329
|
+
|
|
330
|
+
- [#101](https://github.com/swapkit/sdk/pull/101) [`3fbec61`](https://github.com/swapkit/sdk/commit/3fbec61cf9b4a5a6b8604c6c3b94d15a3e9de0d7) Thanks [@towanTG](https://github.com/towanTG)! - feat(ton): add TON transaction schema, plugin support, and refactor toolbox to message-based API with separate sign/broadcastTransaction
|
|
331
|
+
|
|
332
|
+
- Updated dependencies []:
|
|
333
|
+
- @swapkit/tokens@4.2.3
|
|
334
|
+
|
|
335
|
+
## 4.10.1
|
|
336
|
+
|
|
337
|
+
### Patch Changes
|
|
338
|
+
|
|
339
|
+
- [#95](https://github.com/swapkit/sdk/pull/95) [`d49a4f2`](https://github.com/swapkit/sdk/commit/d49a4f21cd8929212161321f3ed9956dceb8d7c1) Thanks [@towanTG](https://github.com/towanTG)! - Widget controls: Developer Mode and comprehensive improvements
|
|
340
|
+
|
|
341
|
+
**Developer Mode (New):**
|
|
342
|
+
|
|
343
|
+
- Add "Developer Mode" toggle that sets `SKConfig.setEnv("isDev", true/false)` to switch between production and development API endpoints
|
|
344
|
+
- Add "Dev API URL" input to override the development API URL
|
|
345
|
+
- Move "Use API Key" authentication into Developer Mode section
|
|
346
|
+
- Snippet generator uses dev CDN (`cdn-dev.swapkit.dev`) when Developer Mode is enabled
|
|
347
|
+
|
|
348
|
+
**Widget API Cleanup:**
|
|
349
|
+
|
|
350
|
+
- Remove deprecated `apiQuoteUrl` and `apiSwapUrl` props (use `apiBaseUrl` for prod URL override)
|
|
351
|
+
- Snippet generator outputs `wallets="none"` when all wallets are deselected
|
|
352
|
+
|
|
353
|
+
**UI Improvements:**
|
|
354
|
+
|
|
355
|
+
- Softer hover states on CollapsibleSection (4% white instead of 8%)
|
|
356
|
+
- Grey button styling for wallet selection toggle
|
|
357
|
+
- Add className prop support to CollapsibleSection
|
|
358
|
+
|
|
359
|
+
**Helpers:**
|
|
360
|
+
|
|
361
|
+
- Standardize widget authentication naming (`setWidgetKey` instead of `setWidgetSecret`)
|
|
362
|
+
|
|
363
|
+
**Plugins:**
|
|
364
|
+
|
|
365
|
+
- Fix chainflip plugin return variable naming for consistency
|
|
366
|
+
|
|
367
|
+
**Tokens:**
|
|
368
|
+
|
|
369
|
+
- Fix incorrect token identifier: `BTC.LTC` → `LTC.LTC`
|
|
370
|
+
|
|
371
|
+
- Updated dependencies [[`d49a4f2`](https://github.com/swapkit/sdk/commit/d49a4f21cd8929212161321f3ed9956dceb8d7c1)]:
|
|
372
|
+
- @swapkit/tokens@4.2.3
|
|
373
|
+
|
|
374
|
+
## 4.10.0
|
|
375
|
+
|
|
376
|
+
### Minor Changes
|
|
377
|
+
|
|
378
|
+
- [#90](https://github.com/swapkit/sdk/pull/90) [`f041b69`](https://github.com/swapkit/sdk/commit/f041b69431a9c891780c931e591b8691a2a85daa) Thanks [@olegpetroveth](https://github.com/olegpetroveth)! - Fix API response schemas for /price endpoint
|
|
379
|
+
|
|
380
|
+
### Patch Changes
|
|
381
|
+
|
|
382
|
+
- [#92](https://github.com/swapkit/sdk/pull/92) [`6b26d26`](https://github.com/swapkit/sdk/commit/6b26d26ab61fa4a05021bae1055fbefca14516f2) Thanks [@towanTG](https://github.com/towanTG)! - Standardize widget authentication naming and button link pattern
|
|
383
|
+
|
|
384
|
+
- Renamed `setWidgetSecret` to `setWidgetKey` in SKConfig for consistency with the `widgetKey` state property
|
|
385
|
+
- Renamed `widgetSecret` to `widgetKey` throughout the codebase (prop names, types, config state)
|
|
386
|
+
- Updated button link in widget controls to use consistent `Button asChild variant="link"` pattern
|
|
387
|
+
- Maintained backward compatibility migration for legacy `apiKey` and `widgetSecret` values in form persistence
|
|
388
|
+
|
|
389
|
+
- [#92](https://github.com/swapkit/sdk/pull/92) [`6b26d26`](https://github.com/swapkit/sdk/commit/6b26d26ab61fa4a05021bae1055fbefca14516f2) Thanks [@towanTG](https://github.com/towanTG)! - API improvements and widget authentication support
|
|
390
|
+
|
|
391
|
+
**Widget Authentication:**
|
|
392
|
+
|
|
393
|
+
- Add HMAC-SHA256 signature-based authentication for widgets
|
|
394
|
+
- SKRequestClient prioritizes widgetSecret over API key authentication
|
|
395
|
+
- Widget auth generates signatures with origin and timestamp headers
|
|
396
|
+
- Falls back to API key auth for server-side/Node.js environments
|
|
397
|
+
- Updated RequestClient to support async dynamicHeader functions
|
|
398
|
+
|
|
399
|
+
**API & Error Handling:**
|
|
400
|
+
|
|
401
|
+
- Fix retry logic to only retry transient errors (timeouts, network failures, 5xx, 429)
|
|
402
|
+
- Business errors now fail immediately instead of retrying
|
|
403
|
+
- Parse response body before checking status to capture API error messages
|
|
404
|
+
|
|
405
|
+
**Types:**
|
|
406
|
+
|
|
407
|
+
- Export `Eip1193Provider` type for EIP-6963 wallet integration
|
|
408
|
+
|
|
409
|
+
- Updated dependencies []:
|
|
410
|
+
- @swapkit/tokens@4.2.2
|
|
411
|
+
|
|
412
|
+
## 4.9.5
|
|
413
|
+
|
|
414
|
+
### Patch Changes
|
|
415
|
+
|
|
416
|
+
- [#86](https://github.com/swapkit/sdk/pull/86) [`61296c8`](https://github.com/swapkit/sdk/commit/61296c81f33981c96bfba590c98298ee5629a06f) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Move react dependent stuff to `ui` package
|
|
417
|
+
|
|
418
|
+
- Updated dependencies []:
|
|
419
|
+
- @swapkit/tokens@4.2.2
|
|
420
|
+
|
|
421
|
+
## 4.9.4
|
|
422
|
+
|
|
423
|
+
### Patch Changes
|
|
424
|
+
|
|
425
|
+
- [#9](https://github.com/swapkit/sdk/pull/9) [`01cfad6`](https://github.com/swapkit/sdk/commit/01cfad601398e39fb852f97f4fa6dbf6309bb680) Thanks [@towanTG](https://github.com/towanTG)! - Standardize widget authentication naming and button link pattern
|
|
426
|
+
|
|
427
|
+
- Renamed `setWidgetSecret` to `setWidgetKey` in SKConfig for consistency with the `widgetKey` state property
|
|
428
|
+
- Renamed `widgetSecret` to `widgetKey` throughout the codebase (prop names, types, config state)
|
|
429
|
+
- Updated button link in widget controls to use consistent `Button asChild variant="link"` pattern
|
|
430
|
+
- Maintained backward compatibility migration for legacy `apiKey` and `widgetSecret` values in form persistence
|
|
431
|
+
|
|
432
|
+
- [#9](https://github.com/swapkit/sdk/pull/9) [`01cfad6`](https://github.com/swapkit/sdk/commit/01cfad601398e39fb852f97f4fa6dbf6309bb680) Thanks [@towanTG](https://github.com/towanTG)! - API improvements and widget authentication support
|
|
433
|
+
|
|
434
|
+
**Widget Authentication:**
|
|
435
|
+
|
|
436
|
+
- Add HMAC-SHA256 signature-based authentication for widgets
|
|
437
|
+
- SKRequestClient prioritizes widgetSecret over API key authentication
|
|
438
|
+
- Widget auth generates signatures with origin and timestamp headers
|
|
439
|
+
- Falls back to API key auth for server-side/Node.js environments
|
|
440
|
+
- Updated RequestClient to support async dynamicHeader functions
|
|
441
|
+
|
|
442
|
+
**API & Error Handling:**
|
|
443
|
+
|
|
444
|
+
- Fix retry logic to only retry transient errors (timeouts, network failures, 5xx, 429)
|
|
445
|
+
- Business errors now fail immediately instead of retrying
|
|
446
|
+
- Parse response body before checking status to capture API error messages
|
|
447
|
+
|
|
448
|
+
**Types:**
|
|
449
|
+
|
|
450
|
+
- Export `Eip1193Provider` type for EIP-6963 wallet integration
|
|
451
|
+
|
|
452
|
+
- Updated dependencies []:
|
|
453
|
+
- @swapkit/tokens@4.2.2
|
|
454
|
+
|
|
455
|
+
## 4.9.3
|
|
456
|
+
|
|
457
|
+
### Patch Changes
|
|
458
|
+
|
|
459
|
+
- [#51](https://github.com/swapkit/sdk/pull/51) [`1640cd7`](https://github.com/swapkit/sdk/commit/1640cd7ba5ff3397d278ce6a08f84ee98cfd356f) Thanks [@ice-chillios](https://github.com/ice-chillios)! - chore: improve fee estimation for Cardano, NEAR, and TON
|
|
460
|
+
|
|
461
|
+
- Add dynamic fee estimation for TON using estimateExternalMessageFee
|
|
462
|
+
- Add dynamic fee estimation for Cardano using protocol parameters and tx size
|
|
463
|
+
- Add dynamic fee estimation for NEAR using EXPERIMENTAL_protocol_config
|
|
464
|
+
- Fix BigInt conversions for TON and Starknet
|
|
465
|
+
- Consolidate fee estimation error codes
|
|
466
|
+
- NEAR: Add `estimateGasLimit` (replaces `estimateGas` which is now deprecated)
|
|
467
|
+
|
|
468
|
+
- [#54](https://github.com/swapkit/sdk/pull/54) [`123f2d6`](https://github.com/swapkit/sdk/commit/123f2d6454e8023d28d0d878f95c876ca5738d10) Thanks [@ice-chillios](https://github.com/ice-chillios)! - feat(ripple): add XRPL token support with trust line management
|
|
469
|
+
|
|
470
|
+
- Add token transfer support for XRPL issued currencies
|
|
471
|
+
- Add trust line management: `getTrustLines`, `hasTrustLine`, `setTrustLine`, `setTrustLineAndBroadcast`
|
|
472
|
+
- Add currency encoding utilities for hex/ASCII XRPL currency codes
|
|
473
|
+
- Add known tokens list with verified issuers (USDC, RLUSD, Bitstamp, GateHub, Sologenic)
|
|
474
|
+
- Add Xaman wallet support for token transfers and trust line operations
|
|
475
|
+
- Add new Ripple-specific error codes
|
|
476
|
+
- Mark Ripple as case-sensitive chain for asset identifiers
|
|
477
|
+
|
|
478
|
+
- Updated dependencies []:
|
|
479
|
+
- @swapkit/tokens@4.2.2
|
|
480
|
+
|
|
481
|
+
## 4.9.2
|
|
482
|
+
|
|
483
|
+
### Patch Changes
|
|
484
|
+
|
|
485
|
+
- Updated dependencies [[`a8b4dd8`](https://github.com/swapkit/sdk/commit/a8b4dd839e617a476bbe1821b2f511816ec25d83)]:
|
|
486
|
+
- @swapkit/types@0.6.0
|
|
487
|
+
- @swapkit/tokens@4.2.2
|
|
488
|
+
|
|
489
|
+
## 4.9.1
|
|
490
|
+
|
|
491
|
+
### Patch Changes
|
|
492
|
+
|
|
493
|
+
- [`8d9fd7d`](https://github.com/swapkit/sdk/commit/8d9fd7d56dbfe57638204060d029680452e08c39) Thanks [@towanTG](https://github.com/towanTG)! - feat(toolbox): add Starknet chain support
|
|
494
|
+
|
|
495
|
+
- Updated dependencies []:
|
|
496
|
+
- @swapkit/tokens@4.2.2
|
|
497
|
+
|
|
498
|
+
## 4.9.0
|
|
499
|
+
|
|
500
|
+
### Minor Changes
|
|
501
|
+
|
|
502
|
+
- [#13](https://github.com/swapkit/sdk/pull/13) [`08d41d2`](https://github.com/swapkit/sdk/commit/08d41d2476c56a6f81f5ea83902e6c497278c995) Thanks [@towanTG](https://github.com/towanTG)! - feat: Add V3 swap flow support with SwapKitPlugin
|
|
503
|
+
|
|
504
|
+
### New Features
|
|
505
|
+
|
|
506
|
+
- **SwapKitPlugin**: New plugin for signing raw SwapKit API transactions directly
|
|
507
|
+
|
|
508
|
+
- Supports UTXO chains (BTC, BCH, LTC, DOGE, DASH, ZEC) via PSBT
|
|
509
|
+
- Supports all EVM chains via eth_sendTransaction
|
|
510
|
+
- Supports Cosmos chains, Solana, Near, Ripple, Tron, Sui, Cardano
|
|
511
|
+
- Includes transaction parsing validation with proper error handling
|
|
512
|
+
|
|
513
|
+
- **V3SwapFlowSupport**: Registry mapping chains to supported wallets for V3 flow
|
|
514
|
+
|
|
515
|
+
- Enables detection of wallet/chain capability for raw transaction signing
|
|
516
|
+
- Automatic fallback to named plugins when V3 not supported
|
|
517
|
+
|
|
518
|
+
- **signAndBroadcastTransaction**: New method on toolboxes for signing pre-built transactions
|
|
519
|
+
- Added to Cosmos, Cardano, Tron, Sui, Near, Ripple toolboxes
|
|
520
|
+
- Enables direct signing of API-provided transactions
|
|
521
|
+
|
|
522
|
+
### Improvements
|
|
523
|
+
|
|
524
|
+
- Added new error key `plugin_swapkit_invalid_transaction` for better error handling
|
|
525
|
+
- Improved test coverage across toolboxes (Near, Ripple, Solana, Substrate, Tron, UTXO)
|
|
526
|
+
- Enhanced UTXO coin selection and transaction size estimation
|
|
527
|
+
- Code cleanup in Cosmos toolbox (removed dead code)
|
|
528
|
+
|
|
529
|
+
### API Types
|
|
530
|
+
|
|
531
|
+
- Added `QuoteResponseRoute` schema for V3 quote responses
|
|
532
|
+
- Added transaction schemas for EVM, Cosmos, and Tron validation
|
|
533
|
+
|
|
534
|
+
### Patch Changes
|
|
535
|
+
|
|
536
|
+
- Updated dependencies []:
|
|
537
|
+
- @swapkit/tokens@4.2.2
|
|
538
|
+
|
|
539
|
+
## 4.8.4
|
|
540
|
+
|
|
541
|
+
### Patch Changes
|
|
542
|
+
|
|
543
|
+
- [#28](https://github.com/swapkit/sdk/pull/28) [`c11cd18`](https://github.com/swapkit/sdk/commit/c11cd18052ca4e2f8c8fe0d678378e8d880073cd) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Handle gas map within function instead of test
|
|
544
|
+
|
|
545
|
+
- [#39](https://github.com/swapkit/sdk/pull/39) [`5d34cc2`](https://github.com/swapkit/sdk/commit/5d34cc2feb111517058a355d5215c66658469df6) Thanks [@0xepicode](https://github.com/0xepicode)! - Fix error handling with bigint values
|
|
546
|
+
|
|
547
|
+
- Updated dependencies []:
|
|
548
|
+
- @swapkit/tokens@4.2.2
|
|
549
|
+
|
|
550
|
+
## 4.8.3
|
|
551
|
+
|
|
552
|
+
### Patch Changes
|
|
553
|
+
|
|
554
|
+
- [#34](https://github.com/swapkit/sdk/pull/34) [`34c9a02`](https://github.com/swapkit/sdk/commit/34c9a024716424e6b1ad0afe1d13097aca8aaca3) Thanks [@towanTG](https://github.com/towanTG)! - Adds XRP tx extension param to createTransaction. Fixes getMaxSendableAmount for UTXO toolboxes. Cleans up code.
|
|
555
|
+
|
|
556
|
+
- Updated dependencies []:
|
|
557
|
+
- @swapkit/tokens@4.2.2
|
|
558
|
+
|
|
559
|
+
## 4.8.2
|
|
560
|
+
|
|
561
|
+
### Patch Changes
|
|
562
|
+
|
|
563
|
+
- [#32](https://github.com/swapkit/sdk/pull/32) [`38b55e7`](https://github.com/swapkit/sdk/commit/38b55e7e1455149f932a575cac4837d2b0a144db) Thanks [@towanTG](https://github.com/towanTG)! - Improves code quality, removes decprecated providers and tokenlists and uses low lever ethers Provider for EVM toolboxes
|
|
564
|
+
|
|
565
|
+
- Updated dependencies [[`38b55e7`](https://github.com/swapkit/sdk/commit/38b55e7e1455149f932a575cac4837d2b0a144db)]:
|
|
566
|
+
- @swapkit/contracts@4.1.2
|
|
567
|
+
- @swapkit/tokens@4.2.2
|
|
568
|
+
|
|
569
|
+
## 4.8.1
|
|
570
|
+
|
|
571
|
+
### Patch Changes
|
|
572
|
+
|
|
573
|
+
- [`50c49f8`](https://github.com/swapkit/sdk/commit/50c49f88c22c149fede95b109bab1b3ea0b300c4) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Bump
|
|
574
|
+
|
|
575
|
+
- Updated dependencies [[`50c49f8`](https://github.com/swapkit/sdk/commit/50c49f88c22c149fede95b109bab1b3ea0b300c4)]:
|
|
576
|
+
- @swapkit/contracts@4.1.1
|
|
577
|
+
- @swapkit/tokens@4.2.1
|
|
578
|
+
- @swapkit/types@0.5.1
|
|
579
|
+
|
|
580
|
+
## 4.8.0
|
|
581
|
+
|
|
582
|
+
### Minor Changes
|
|
583
|
+
|
|
584
|
+
- [`a4402e9`](https://github.com/swapkit/sdk/commit/a4402e91de5d634da24aa0c752f5e473132a4c71) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - Removes async toolboxes and adapts code for it
|
|
585
|
+
|
|
586
|
+
- [#19](https://github.com/swapkit/sdk/pull/19) [`941d648`](https://github.com/swapkit/sdk/commit/941d648516ce8aca2c5e21827a27f75b34163cee) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Add sync resolving for toolboxes and server sync methods
|
|
587
|
+
|
|
588
|
+
### Patch Changes
|
|
589
|
+
|
|
590
|
+
- Updated dependencies [[`a4402e9`](https://github.com/swapkit/sdk/commit/a4402e91de5d634da24aa0c752f5e473132a4c71)]:
|
|
591
|
+
- @swapkit/contracts@4.1.0
|
|
592
|
+
- @swapkit/tokens@4.2.0
|
|
593
|
+
- @swapkit/types@0.5.0
|
|
594
|
+
|
|
595
|
+
## 4.7.2
|
|
596
|
+
|
|
597
|
+
### Patch Changes
|
|
598
|
+
|
|
599
|
+
- [`799ccc8`](https://github.com/swapkit/sdk/commit/799ccc82896823a3233a48f97745b979622d5076) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - Manual update to fix release
|
|
600
|
+
|
|
601
|
+
- Updated dependencies [[`799ccc8`](https://github.com/swapkit/sdk/commit/799ccc82896823a3233a48f97745b979622d5076)]:
|
|
602
|
+
- @swapkit/contracts@4.0.4
|
|
603
|
+
- @swapkit/tokens@4.1.5
|
|
604
|
+
- @swapkit/types@0.4.3
|
|
605
|
+
|
|
606
|
+
## 4.7.1
|
|
607
|
+
|
|
608
|
+
### Patch Changes
|
|
609
|
+
|
|
610
|
+
- [#16](https://github.com/swapkit/sdk/pull/16) [`14d610a`](https://github.com/swapkit/sdk/commit/14d610affddd04b432826d0fe51cf8617d737f70) Thanks [@towanTG](https://github.com/towanTG)! - Fixes transaction creation for TRON and ADA and token balances on SUI
|
|
611
|
+
|
|
612
|
+
## 4.7.0
|
|
613
|
+
|
|
614
|
+
### Minor Changes
|
|
615
|
+
|
|
616
|
+
- [#14](https://github.com/swapkit/sdk/pull/14) [`47f6375`](https://github.com/swapkit/sdk/commit/47f63757c4ab6f7ac06a494a347a1f2383b03f63) Thanks [@towanTG](https://github.com/towanTG)! - Adds Harbor Provider and plugin
|
|
617
|
+
|
|
618
|
+
## 4.6.0
|
|
619
|
+
|
|
620
|
+
### Minor Changes
|
|
621
|
+
|
|
622
|
+
- [#8](https://github.com/swapkit/sdk/pull/8) [`f6d9e39`](https://github.com/swapkit/sdk/commit/f6d9e390a3dc47d777c934d891626c2e8e97e45b) Thanks [@towanTG](https://github.com/towanTG)! - Adds SUI token transaction support
|
|
623
|
+
|
|
624
|
+
### Patch Changes
|
|
625
|
+
|
|
626
|
+
- [`4d60682`](https://github.com/swapkit/sdk/commit/4d606827eda5a8e1842cad9bcf1c88ff0d6f5517) Thanks [@towanTG](https://github.com/towanTG)! - Releases latest changes from public repo - enables monad for some wallets, fixes sui tokens tx building and fixes vultisig
|
|
627
|
+
|
|
628
|
+
- Updated dependencies [[`4d60682`](https://github.com/swapkit/sdk/commit/4d606827eda5a8e1842cad9bcf1c88ff0d6f5517)]:
|
|
629
|
+
- @swapkit/contracts@4.0.3
|
|
630
|
+
- @swapkit/tokens@4.1.4
|
|
631
|
+
- @swapkit/types@0.4.2
|
package/dist/api/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as n,Aa as O,Ba as P,Ca as Q,Da as R,Ea as S,Fa as T,Ga as U,Ha as V,Ia as W,Ja as X,Ka as Y,La as Z,Ma as _,Na as $,O as a,Oa as aa,P as b,Pa as ba,Q as c,Qa as ca,R as d,S as e,T as f,U as g,V as h,W as i,X as j,Y as k,Z as l,_ as m,aa as o,ba as p,ca as q,da as r,ea as s,fa as t,ga as u,ha as v,ia as w,ja as x,ka as y,la as z,ma as A,na as B,oa as C,pa as D,qa as E,ra as F,sa as G,ta as H,ua as I,va as J,wa as K,xa as L,ya as M,za as N}from"../chunk-
|
|
1
|
+
import{$ as n,Aa as O,Ba as P,Ca as Q,Da as R,Ea as S,Fa as T,Ga as U,Ha as V,Ia as W,Ja as X,Ka as Y,La as Z,Ma as _,Na as $,O as a,Oa as aa,P as b,Pa as ba,Q as c,Qa as ca,R as d,S as e,T as f,U as g,V as h,W as i,X as j,Y as k,Z as l,_ as m,aa as o,ba as p,ca as q,da as r,ea as s,fa as t,ga as u,ha as v,ia as w,ja as x,ka as y,la as z,ma as A,na as B,oa as C,pa as D,qa as E,ra as F,sa as G,ta as H,ua as I,va as J,wa as K,xa as L,ya as M,za as N}from"../chunk-tf9f4rzs.js";export{c as TxnType,e as TxnStatus,C as TronTransactionSchema,x as TransactionSchema,y as TransactionDTOSchema,f as TrackingStatus,h as TrackingRequestSchema,i as TrackingRequestQuerySchema,w as TrackerResponseSchema,g as TokenSchema,m as TokenDetailsMetadataSchema,H as TONTransactionSchema,Z as SwapToResponseSchema,X as SwapToRequestSchema,Y as SwapToAssetSchema,ba as SwapRouteV2ResponseSchema,ca as SwapKitApi,G as StarknetTransactionSchema,O as RouteQuoteWarningSchema,b as RouteQuoteTxType,$ as RouteQuoteProviderErrorSchema,N as RouteQuoteMetadataV2Schema,M as RouteQuoteMetadataSchema,K as RouteQuoteMetadataAssetSchema,J as RouteLegWithoutAddressesSchema,I as RouteLegSchema,W as QuoteV3ResponseSchema,aa as QuoteV2ResponseSchema,_ as QuoteRouteV2Response,Q as QuoteResponseSchema,P as QuoteResponseRouteItem,o as QuoteRequestSchema,d as ProviderAction,a as PriorityLabel,n as PriceResponseSchema,p as PriceRequestSchema,v as NearSwapResponseSchema,u as NearDepositChannelResultSchema,t as NearDepositChannelParamsSchema,R as GasSchema,S as GasResponseSchema,z as FeesSchema,A as EstimatedTimeSchema,B as EVMTransactionSchema,E as EVMTransactionDetailsSchema,D as EVMTransactionDetailsParamsSchema,s as DepositChannelResponseSchema,q as DepositChannelParamsSchema,F as CosmosTransactionSchema,l as CoinGeckoMetadataSchema,L as ChainflipMetadataSchema,r as BrokerDepositChannelParamsSchema,k as AssetValueSchema,U as ApproveResponseSchema,T as ApproveRequestParams,V as ApprovalTransactionSchema,j as ApiV2ErrorSchema};
|