@glacislabs/stablegenie-zerodelta 4.22.0 → 4.22.2
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 +431 -0
- package/dist/{chunk-UBSZA63S.js → chunk-4DMHC52N.js} +7 -10
- package/dist/{chunk-UIIH5O6G.js → chunk-DGWYVLFC.js} +2 -2
- package/dist/core/index.cjs +2 -2
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +8 -11
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{mount-GOYY_jNr.d.ts → mount-BaT3yd9W.d.ts} +1 -1
- package/dist/{mount-DC_JT0cE.d.cts → mount-XNvmclF1.d.cts} +1 -1
- package/dist/mount.cjs +8 -11
- package/dist/mount.d.cts +2 -2
- package/dist/mount.d.ts +2 -2
- package/dist/mount.js +2 -2
- package/dist/standalone.global.js +7 -7
- package/dist/{verify-mpglrU7n.d.cts → verify-CrR7FBtq.d.cts} +5 -3
- package/dist/{verify-mpglrU7n.d.ts → verify-CrR7FBtq.d.ts} +5 -3
- package/package.json +3 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [4.22.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.22.1...v4.22.2) (2026-12-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **exchange:** the Fee row is ZeroDelta's margin only; fee.native is the network fee ([f1ce543](https://github.com/glacislabs/stablegenie-zerodelta/commit/f1ce543e9c4d73ed90f4e13e0e77a49c619a6246))
|
|
9
|
+
|
|
10
|
+
## [4.22.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.22.0...v4.22.1) (2026-12-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* ship CHANGELOG.md in the npm package ([#100](https://github.com/glacislabs/stablegenie-zerodelta/issues/100)) ([999c096](https://github.com/glacislabs/stablegenie-zerodelta/commit/999c096f2a685b43b3ebdb9e2e8b5efe76498729))
|
|
16
|
+
|
|
17
|
+
# [4.22.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.21.0...v4.22.0) (2026-12-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **zdheavy:** cancel and claim a ZD Heavy order from the transaction history ([#94](https://github.com/glacislabs/stablegenie-zerodelta/issues/94)) ([4d63d5e](https://github.com/glacislabs/stablegenie-zerodelta/commit/4d63d5e756b2644644ab4d8a38f94e37c6a421d5)), closes [glacislabs/zd-dapp#674](https://github.com/glacislabs/zd-dapp/issues/674) [#679](https://github.com/glacislabs/stablegenie-zerodelta/issues/679) [#674](https://github.com/glacislabs/stablegenie-zerodelta/issues/674)
|
|
23
|
+
|
|
24
|
+
# [4.21.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.20.1...v4.21.0) (2026-12-02)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* **zdheavy:** re-quote before a ZD Heavy quote expires and say when it did ([#97](https://github.com/glacislabs/stablegenie-zerodelta/issues/97)) ([f05573a](https://github.com/glacislabs/stablegenie-zerodelta/commit/f05573a4ddec530097a92513317b2dbbec5cc178))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* **zdheavy:** detect ZD Heavy at runtime from the gateway's lane catalogue ([#96](https://github.com/glacislabs/stablegenie-zerodelta/issues/96)) ([11ad40b](https://github.com/glacislabs/stablegenie-zerodelta/commit/11ad40b37fae85e1f8a3dcd957fb1da26c030981))
|
|
35
|
+
|
|
36
|
+
## [4.20.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.20.0...v4.20.1) (2026-12-02)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* accept the gateway's ZD Lite deadline when its clock runs a little ahead ([#95](https://github.com/glacislabs/stablegenie-zerodelta/issues/95)) ([e010220](https://github.com/glacislabs/stablegenie-zerodelta/commit/e010220bf3166eb1ec902f075c068f6f18359afd))
|
|
42
|
+
|
|
43
|
+
# [4.20.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.19.0...v4.20.0) (2026-12-01)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **exchange:** plain refusal copy for the gateway's first-line route gate ([#86](https://github.com/glacislabs/stablegenie-zerodelta/issues/86)) ([99b4a57](https://github.com/glacislabs/stablegenie-zerodelta/commit/99b4a57279df3aeebc59eaff2ccac9df348486ae))
|
|
49
|
+
* **playground:** land Compare quotes, Compliance details and the netting Best return card on main ([#83](https://github.com/glacislabs/stablegenie-zerodelta/issues/83), [#84](https://github.com/glacislabs/stablegenie-zerodelta/issues/84)) ([#90](https://github.com/glacislabs/stablegenie-zerodelta/issues/90)) ([b77c6ab](https://github.com/glacislabs/stablegenie-zerodelta/commit/b77c6aba461687dc27056b04283a29d18486d129)), closes [#4f24b4](https://github.com/glacislabs/stablegenie-zerodelta/issues/4f24b4)
|
|
50
|
+
|
|
51
|
+
# [4.19.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.18.2...v4.19.0) (2026-12-01)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
* **delivery:** read ZD Heavy orders like the dapp: delivered from the stored payout, worded steps ([#81](https://github.com/glacislabs/stablegenie-zerodelta/issues/81)) ([3264db4](https://github.com/glacislabs/stablegenie-zerodelta/commit/3264db4bd9982a74d31ee4465bf1a750a0fe4a5b))
|
|
57
|
+
* **engine:** execute ZD Heavy router orders, verified byte for byte before signing ([#80](https://github.com/glacislabs/stablegenie-zerodelta/issues/80)) ([a5ae98f](https://github.com/glacislabs/stablegenie-zerodelta/commit/a5ae98fd7d35960ae8964bfb4bfcc3fcca837a9f)), closes [#82](https://github.com/glacislabs/stablegenie-zerodelta/issues/82)
|
|
58
|
+
|
|
59
|
+
## [4.18.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.18.1...v4.18.2) (2026-11-10)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Bug Fixes
|
|
63
|
+
|
|
64
|
+
* **delivery:** an expired order reads "Waiting to be claimed", as zd-dapp does ([#79](https://github.com/glacislabs/stablegenie-zerodelta/issues/79)) ([63a3ff1](https://github.com/glacislabs/stablegenie-zerodelta/commit/63a3ff1a80d42fa7457c7a98ad637f3ce3b5d51f))
|
|
65
|
+
|
|
66
|
+
## [4.18.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.18.0...v4.18.1) (2026-11-09)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Bug Fixes
|
|
70
|
+
|
|
71
|
+
* **catalogue:** a registry read that failed must not look like one still loading ([#78](https://github.com/glacislabs/stablegenie-zerodelta/issues/78)) ([c1543d6](https://github.com/glacislabs/stablegenie-zerodelta/commit/c1543d6f3de7865a386f2dcf5288c319dad6ece0)), closes [#39](https://github.com/glacislabs/stablegenie-zerodelta/issues/39)
|
|
72
|
+
|
|
73
|
+
# [4.18.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.17.0...v4.18.0) (2026-11-09)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
* **catalogue:** admit execution-chain and chained stables to the stable exchange ([#77](https://github.com/glacislabs/stablegenie-zerodelta/issues/77)) ([7b8f6d0](https://github.com/glacislabs/stablegenie-zerodelta/commit/7b8f6d0854bd2694585918bc79c0e968bcddf56c))
|
|
79
|
+
|
|
80
|
+
# [4.17.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.16.0...v4.17.0) (2026-11-09)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Features
|
|
84
|
+
|
|
85
|
+
* **widget:** call Solana RPC from the browser, with the proxy relay as last resort ([#76](https://github.com/glacislabs/stablegenie-zerodelta/issues/76)) ([94575f2](https://github.com/glacislabs/stablegenie-zerodelta/commit/94575f2e59b357198f327db9403c3e09dec22bda))
|
|
86
|
+
|
|
87
|
+
# [4.16.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.15.1...v4.16.0) (2026-11-06)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
* **widget:** show ZeroDelta's own fee and match the dapp's picker and chain names ([#70](https://github.com/glacislabs/stablegenie-zerodelta/issues/70)) ([50f1749](https://github.com/glacislabs/stablegenie-zerodelta/commit/50f1749ffe339f69589fde99736d4771fd4962a3)), closes [zd-dapp#654](https://github.com/zd-dapp/issues/654) [zd-dapp#604](https://github.com/zd-dapp/issues/604) [#627](https://github.com/glacislabs/stablegenie-zerodelta/issues/627) [zd-dapp#582](https://github.com/zd-dapp/issues/582) [zd-dapp#588](https://github.com/zd-dapp/issues/588)
|
|
93
|
+
|
|
94
|
+
## [4.15.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.15.0...v4.15.1) (2026-10-29)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Bug Fixes
|
|
98
|
+
|
|
99
|
+
* **solana:** name a partner mismatch without naming the subsidy ([#69](https://github.com/glacislabs/stablegenie-zerodelta/issues/69)) ([ddc6452](https://github.com/glacislabs/stablegenie-zerodelta/commit/ddc6452c7090ad45c0d709c83d3765775078bfc5))
|
|
100
|
+
|
|
101
|
+
# [4.15.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.14.2...v4.15.0) (2026-10-29)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Features
|
|
105
|
+
|
|
106
|
+
* **widget:** recipient row, wallet and address states from the updated Figma; playground header and scrollbars ([#68](https://github.com/glacislabs/stablegenie-zerodelta/issues/68)) ([8213982](https://github.com/glacislabs/stablegenie-zerodelta/commit/8213982421d20d59d9517bfd99bc19660a5fde68))
|
|
107
|
+
|
|
108
|
+
## [4.14.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.14.1...v4.14.2) (2026-10-28)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Bug Fixes
|
|
112
|
+
|
|
113
|
+
* **widget:** mark the steps the order's status already proves ([#64](https://github.com/glacislabs/stablegenie-zerodelta/issues/64)) ([b71a66b](https://github.com/glacislabs/stablegenie-zerodelta/commit/b71a66ba89341e9102b8404276e3759c9f3ed232))
|
|
114
|
+
|
|
115
|
+
## [4.14.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.14.0...v4.14.1) (2026-10-28)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Bug Fixes
|
|
119
|
+
|
|
120
|
+
* **widget:** Nest vault shares are buy-only on the RWA card ([#66](https://github.com/glacislabs/stablegenie-zerodelta/issues/66)) ([0e1d440](https://github.com/glacislabs/stablegenie-zerodelta/commit/0e1d4400200f554ead1ad74f7f50afea2eb657b2)), closes [612/#614](https://github.com/glacislabs/stablegenie-zerodelta/issues/614)
|
|
121
|
+
|
|
122
|
+
# [4.14.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.13.1...v4.14.0) (2026-10-28)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Features
|
|
126
|
+
|
|
127
|
+
* **widget:** wallets sheet and recipient sheet from the Figma designs ([#65](https://github.com/glacislabs/stablegenie-zerodelta/issues/65)) ([e623ba2](https://github.com/glacislabs/stablegenie-zerodelta/commit/e623ba27717c4208e03b77d8c0286423133d9b42))
|
|
128
|
+
|
|
129
|
+
## [4.13.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.13.0...v4.13.1) (2026-10-28)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Bug Fixes
|
|
133
|
+
|
|
134
|
+
* **widget:** show delivery, not the source receipt, and stop a Solana payment the wallet cannot fund ([#60](https://github.com/glacislabs/stablegenie-zerodelta/issues/60)) ([15a146a](https://github.com/glacislabs/stablegenie-zerodelta/commit/15a146ab1c2eacdf758818831f68fd03386d77f7)), closes [#59](https://github.com/glacislabs/stablegenie-zerodelta/issues/59)
|
|
135
|
+
|
|
136
|
+
# [4.13.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.12.0...v4.13.0) (2026-10-27)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Features
|
|
140
|
+
|
|
141
|
+
* **widget:** pay from Solana in the exchange card ([#58](https://github.com/glacislabs/stablegenie-zerodelta/issues/58)) ([f1e9bd7](https://github.com/glacislabs/stablegenie-zerodelta/commit/f1e9bd77c24e0942d2f568ac5ad25a9adfaf75df))
|
|
142
|
+
* **widget:** receive on Solana with locally verified delivery, and per-chain LayerZero fee caps ([#57](https://github.com/glacislabs/stablegenie-zerodelta/issues/57)) ([4d155f0](https://github.com/glacislabs/stablegenie-zerodelta/commit/4d155f0175a9da09680907c047fbc16e29c7a8af))
|
|
143
|
+
|
|
144
|
+
# [4.12.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.11.0...v4.12.0) (2026-10-15)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Features
|
|
148
|
+
|
|
149
|
+
* **widget:** pick the token first, then the network, like the ZeroDelta app ([#56](https://github.com/glacislabs/stablegenie-zerodelta/issues/56)) ([3367664](https://github.com/glacislabs/stablegenie-zerodelta/commit/3367664c214408233abd5aed3c0bf04bfcec4c40)), closes [#599](https://github.com/glacislabs/stablegenie-zerodelta/issues/599)
|
|
150
|
+
|
|
151
|
+
# [4.11.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.10.0...v4.11.0) (2026-10-15)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
### Features
|
|
155
|
+
|
|
156
|
+
* **widget:** offer only what trades, list every way to pay, show the deposit loading state ([#55](https://github.com/glacislabs/stablegenie-zerodelta/issues/55)) ([a4acd10](https://github.com/glacislabs/stablegenie-zerodelta/commit/a4acd10360f4f9667ce7e168a8920b0638d9cef9))
|
|
157
|
+
|
|
158
|
+
# [4.10.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.9.0...v4.10.0) (2026-10-15)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Features
|
|
162
|
+
|
|
163
|
+
* **widget:** pause stale quotes, share the registry cache, tidy the pickers; playground needs your own key ([#54](https://github.com/glacislabs/stablegenie-zerodelta/issues/54)) ([ea1a031](https://github.com/glacislabs/stablegenie-zerodelta/commit/ea1a03187b44df74888a926662afc10ec133c060))
|
|
164
|
+
|
|
165
|
+
# [4.9.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.8.0...v4.9.0) (2026-10-06)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Features
|
|
169
|
+
|
|
170
|
+
* **compliance:** name the visitor's country beside the jurisdiction, as the dApp does ([#52](https://github.com/glacislabs/stablegenie-zerodelta/issues/52)) ([0e6c6c7](https://github.com/glacislabs/stablegenie-zerodelta/commit/0e6c6c73fd071575f2e671cd6591831ca96e3c33))
|
|
171
|
+
|
|
172
|
+
# [4.8.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.7.0...v4.8.0) (2026-10-05)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Features
|
|
176
|
+
|
|
177
|
+
* **exchange:** report the card's input, and print amounts the way the dApp does ([#51](https://github.com/glacislabs/stablegenie-zerodelta/issues/51)) ([4e17c00](https://github.com/glacislabs/stablegenie-zerodelta/commit/4e17c00c6cd6d90ccdf97103fd59285b86f43fd8))
|
|
178
|
+
|
|
179
|
+
# [4.7.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.6.0...v4.7.0) (2026-10-05)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Features
|
|
183
|
+
|
|
184
|
+
* **widget:** submit the quote's special-rate marker; playground own key, shared wallet and deposit checkout ([#49](https://github.com/glacislabs/stablegenie-zerodelta/issues/49)) ([84cdf39](https://github.com/glacislabs/stablegenie-zerodelta/commit/84cdf39380a0c1489161f87e22dcaca62cf2074a))
|
|
185
|
+
|
|
186
|
+
# [4.6.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.5.0...v4.6.0) (2026-10-01)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
### Features
|
|
190
|
+
|
|
191
|
+
* **widget:** redesign the card and the playground to the Widget Playground Figma ([#48](https://github.com/glacislabs/stablegenie-zerodelta/issues/48)) ([35493dc](https://github.com/glacislabs/stablegenie-zerodelta/commit/35493dc822da12b03b380c5323b0f37afda23fe8)), closes [#8c9bff](https://github.com/glacislabs/stablegenie-zerodelta/issues/8c9bff) [#a7a9be](https://github.com/glacislabs/stablegenie-zerodelta/issues/a7a9be) [#292a30](https://github.com/glacislabs/stablegenie-zerodelta/issues/292a30)
|
|
192
|
+
|
|
193
|
+
# [4.5.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.4.0...v4.5.0) (2026-09-24)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Features
|
|
197
|
+
|
|
198
|
+
* **channel:** let the widget say it is the widget ([#46](https://github.com/glacislabs/stablegenie-zerodelta/issues/46)) ([e355106](https://github.com/glacislabs/stablegenie-zerodelta/commit/e355106dfe9f9f11ebb8dd7b81260fdadaa7de7d))
|
|
199
|
+
|
|
200
|
+
# [4.4.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.3.0...v4.4.0) (2026-09-23)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### Features
|
|
204
|
+
|
|
205
|
+
* size the order deadline from the lane, not from a flat cap ([b83170c](https://github.com/glacislabs/stablegenie-zerodelta/commit/b83170c8936afb4d59f5c39bc56308e4425036b1))
|
|
206
|
+
|
|
207
|
+
# [4.3.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.2.1...v4.3.0) (2026-09-18)
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### Features
|
|
211
|
+
|
|
212
|
+
* **route-health:** read lane availability and show the bridge ceiling ([#45](https://github.com/glacislabs/stablegenie-zerodelta/issues/45)) ([44a0f19](https://github.com/glacislabs/stablegenie-zerodelta/commit/44a0f19d090708dc4d81523e39705c7001cefc6a)), closes [zd-bebop-lite#486](https://github.com/zd-bebop-lite/issues/486)
|
|
213
|
+
|
|
214
|
+
## [4.2.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.2.0...v4.2.1) (2026-09-17)
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
### Bug Fixes
|
|
218
|
+
|
|
219
|
+
* **catalogue:** read the route and token registries to the last page ([#44](https://github.com/glacislabs/stablegenie-zerodelta/issues/44)) ([a16150b](https://github.com/glacislabs/stablegenie-zerodelta/commit/a16150b575d0a7719ea1ffd8d145eff9b3dbd77a))
|
|
220
|
+
|
|
221
|
+
# [4.2.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.1.1...v4.2.0) (2026-09-16)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### Features
|
|
225
|
+
|
|
226
|
+
* **widget:** show each chain's own token ticker ([#42](https://github.com/glacislabs/stablegenie-zerodelta/issues/42)) ([c4cdbf3](https://github.com/glacislabs/stablegenie-zerodelta/commit/c4cdbf357389db9387fd93033a758aeab2fb9661))
|
|
227
|
+
|
|
228
|
+
## [4.1.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.1.0...v4.1.1) (2026-09-09)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
### Bug Fixes
|
|
232
|
+
|
|
233
|
+
* **catalogue:** suppress firewalled lanes and gate every same-symbol shortcut on a direct peer ([#34](https://github.com/glacislabs/stablegenie-zerodelta/issues/34)) ([20761e2](https://github.com/glacislabs/stablegenie-zerodelta/commit/20761e21d5a7addd6accfed9ee581b511e9015cc))
|
|
234
|
+
|
|
235
|
+
# [4.1.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.0.0...v4.1.0) (2026-09-09)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### Features
|
|
239
|
+
|
|
240
|
+
* **widget:** reach transaction history from every surface, render chained trades as two orders, and draw vault artwork ([#40](https://github.com/glacislabs/stablegenie-zerodelta/issues/40)) ([398e13b](https://github.com/glacislabs/stablegenie-zerodelta/commit/398e13bc6c7c0c431efcab283a9ccdb14ab403e4))
|
|
241
|
+
|
|
242
|
+
# [4.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.4.0...v4.0.0) (2026-09-09)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### Features
|
|
246
|
+
|
|
247
|
+
* screen direct settlements and disclose the compliance decision ([#36](https://github.com/glacislabs/stablegenie-zerodelta/issues/36)) ([c026e4b](https://github.com/glacislabs/stablegenie-zerodelta/commit/c026e4b1d08e09bc0d64a2c3baf1fe8d73b12355))
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
### BREAKING CHANGES
|
|
251
|
+
|
|
252
|
+
* screen direct settlements and disclose the compliance decision (#36)
|
|
253
|
+
|
|
254
|
+
# [3.4.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.3.0...v3.4.0) (2026-09-08)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### Features
|
|
258
|
+
|
|
259
|
+
* derive the catalogue from the live registry and add the RWA exchange ([#32](https://github.com/glacislabs/stablegenie-zerodelta/issues/32)) ([eec029c](https://github.com/glacislabs/stablegenie-zerodelta/commit/eec029cd0341ecf158f020ece08750feec25a32f))
|
|
260
|
+
|
|
261
|
+
# [3.3.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.2.0...v3.3.0) (2026-09-07)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
### Features
|
|
265
|
+
|
|
266
|
+
* **playground:** black-and-white ZeroDelta favicon with the dapp's raster fallbacks ([#31](https://github.com/glacislabs/stablegenie-zerodelta/issues/31)) ([edf4f67](https://github.com/glacislabs/stablegenie-zerodelta/commit/edf4f677f99d901e3a02b7850735b8e3007541a5))
|
|
267
|
+
|
|
268
|
+
# [3.2.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.1.0...v3.2.0) (2026-09-07)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
### Features
|
|
272
|
+
|
|
273
|
+
* **playground:** single-page widget playground with keyless proxy and e2e ([#30](https://github.com/glacislabs/stablegenie-zerodelta/issues/30)) ([05136d1](https://github.com/glacislabs/stablegenie-zerodelta/commit/05136d1fd04ad9dcc6149cc641209ea3ac66856b)), closes [#29](https://github.com/glacislabs/stablegenie-zerodelta/issues/29)
|
|
274
|
+
|
|
275
|
+
# [3.1.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.0.2...v3.1.0) (2026-09-07)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Features
|
|
279
|
+
|
|
280
|
+
* target the live ZeroDelta prod escrow (live ABI, prod pin, Plume) ([#28](https://github.com/glacislabs/stablegenie-zerodelta/issues/28)) ([1cf4753](https://github.com/glacislabs/stablegenie-zerodelta/commit/1cf4753ef9ba8a6fc82fdd438853c9cf4b38120e))
|
|
281
|
+
|
|
282
|
+
## [3.0.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.0.1...v3.0.2) (2026-07-30)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### Bug Fixes
|
|
286
|
+
|
|
287
|
+
* **pay:** prioritize connected wallet holdings ([#25](https://github.com/glacislabs/stablegenie-zerodelta/issues/25)) ([9e2236a](https://github.com/glacislabs/stablegenie-zerodelta/commit/9e2236aaa6a3fc978526b699fd1d53f10bb270f9))
|
|
288
|
+
|
|
289
|
+
## [3.0.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.0.0...v3.0.1) (2026-07-30)
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### Bug Fixes
|
|
293
|
+
|
|
294
|
+
* **pay:** show wallet-payable assets in deposit summary ([#24](https://github.com/glacislabs/stablegenie-zerodelta/issues/24)) ([d3ddc2d](https://github.com/glacislabs/stablegenie-zerodelta/commit/d3ddc2d94725f0fa6bcb5a8a7cb954c39141c0c2))
|
|
295
|
+
|
|
296
|
+
# [3.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v2.0.0...v3.0.0) (2026-07-29)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
### Features
|
|
300
|
+
|
|
301
|
+
* stop showing merchant destination config and cut methods to stablecoin/card/bank ([#23](https://github.com/glacislabs/stablegenie-zerodelta/issues/23)) ([a3563b1](https://github.com/glacislabs/stablegenie-zerodelta/commit/a3563b1e898164d16a576df5c0b71e91c374e782))
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
### BREAKING CHANGES
|
|
305
|
+
|
|
306
|
+
* the exported PayMethod union drops "recommended" and "anyasset", and
|
|
307
|
+
the default method is now "stablecoin". Integrators typing against PayMethod must
|
|
308
|
+
update, and the any-asset funding rail is no longer reachable from the UI.
|
|
309
|
+
|
|
310
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
311
|
+
|
|
312
|
+
# [2.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v1.1.0...v2.0.0) (2026-07-29)
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
### Bug Fixes
|
|
316
|
+
|
|
317
|
+
* **security:** close the API-key leak and ready the package for public npm ([#19](https://github.com/glacislabs/stablegenie-zerodelta/issues/19)) ([f78ed7c](https://github.com/glacislabs/stablegenie-zerodelta/commit/f78ed7cd8b4adc169b96c4fda590c8af9b917402))
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
### BREAKING CHANGES
|
|
321
|
+
|
|
322
|
+
* **security:** close the API-key leak and ready the package for public npm (#19)
|
|
323
|
+
|
|
324
|
+
# [1.1.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v1.0.0...v1.1.0) (2026-07-28)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
### Features
|
|
328
|
+
|
|
329
|
+
* close the audit backlog and ready the package for public npm ([#17](https://github.com/glacislabs/stablegenie-zerodelta/issues/17)) ([cddcaef](https://github.com/glacislabs/stablegenie-zerodelta/commit/cddcaef5a9b333698801530457329d7d9dbe8567))
|
|
330
|
+
|
|
331
|
+
# [1.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.6.1...v1.0.0) (2026-07-28)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
* feat!: pin the escrow, verify receipts, and stop trusting API-supplied trust anchors ([#16](https://github.com/glacislabs/stablegenie-zerodelta/issues/16)) ([fcd9065](https://github.com/glacislabs/stablegenie-zerodelta/commit/fcd906550504a64387de0935adefefbe4a88cf19))
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
### BREAKING CHANGES
|
|
338
|
+
|
|
339
|
+
* DEFAULT_API_BASE is no longer exported. Hosts that pass an
|
|
340
|
+
absolute `apiBase` together with an `apiKey` must now also set
|
|
341
|
+
`EngineConfig.trustedApiOrigin` to that origin, or the key is withheld.
|
|
342
|
+
Consumers using the default same-origin proxy are unaffected.
|
|
343
|
+
|
|
344
|
+
## [0.6.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.6.0...v0.6.1) (2026-07-27)
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
### Bug Fixes
|
|
348
|
+
|
|
349
|
+
* attach the LayerZero native fee to escrow orders and preflight gas ([#15](https://github.com/glacislabs/stablegenie-zerodelta/issues/15)) ([80e0465](https://github.com/glacislabs/stablegenie-zerodelta/commit/80e046548f056be273028c51bb33ce7c4c6643da))
|
|
350
|
+
|
|
351
|
+
# [0.6.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.5.2...v0.6.0) (2026-07-27)
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
### Features
|
|
355
|
+
|
|
356
|
+
* let the quote engine own same-asset validation ([#14](https://github.com/glacislabs/stablegenie-zerodelta/issues/14)) ([41a592c](https://github.com/glacislabs/stablegenie-zerodelta/commit/41a592c0bdda60f8f510168bcdfd87a91f088361))
|
|
357
|
+
|
|
358
|
+
## [0.5.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.5.1...v0.5.2) (2026-07-27)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
### Bug Fixes
|
|
362
|
+
|
|
363
|
+
* keep rejecting same-token same-chain swaps ([#13](https://github.com/glacislabs/stablegenie-zerodelta/issues/13)) ([c95e2b0](https://github.com/glacislabs/stablegenie-zerodelta/commit/c95e2b012934416f678bf905e5583e99a1b35d77))
|
|
364
|
+
|
|
365
|
+
## [0.5.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.5.0...v0.5.1) (2026-07-27)
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
### Bug Fixes
|
|
369
|
+
|
|
370
|
+
* allow same-token same-chain swaps ([#12](https://github.com/glacislabs/stablegenie-zerodelta/issues/12)) ([8384690](https://github.com/glacislabs/stablegenie-zerodelta/commit/838469068c50b9445bc4076b8bbf18a100a67e17))
|
|
371
|
+
|
|
372
|
+
# [0.5.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.4.0...v0.5.0) (2026-07-27)
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
### Features
|
|
376
|
+
|
|
377
|
+
* bank-settlement payout card, exported settlement types, and token logos in history ([#11](https://github.com/glacislabs/stablegenie-zerodelta/issues/11)) ([3cce60b](https://github.com/glacislabs/stablegenie-zerodelta/commit/3cce60b7284f34378fb1a87596a419372053c7c8))
|
|
378
|
+
|
|
379
|
+
# [0.4.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.3.0...v0.4.0) (2026-07-24)
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
### Features
|
|
383
|
+
|
|
384
|
+
* add ZeroDelta Link express-checkout variant (pill) ([#10](https://github.com/glacislabs/stablegenie-zerodelta/issues/10)) ([775789e](https://github.com/glacislabs/stablegenie-zerodelta/commit/775789e155671e37292c7705188a94ccae404008))
|
|
385
|
+
|
|
386
|
+
# [0.3.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.2.1...v0.3.0) (2026-07-14)
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
### Features
|
|
390
|
+
|
|
391
|
+
* in-widget transaction history with per-wallet persistence ([#9](https://github.com/glacislabs/stablegenie-zerodelta/issues/9)) ([ae4e6e0](https://github.com/glacislabs/stablegenie-zerodelta/commit/ae4e6e04698fab64866e7456e1aa141ef3afcefc))
|
|
392
|
+
|
|
393
|
+
## [0.2.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.2.0...v0.2.1) (2026-07-14)
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
### Bug Fixes
|
|
397
|
+
|
|
398
|
+
* **pay:** add-chain fallback and friendly wallet errors for cross-chain deposit funding ([#8](https://github.com/glacislabs/stablegenie-zerodelta/issues/8)) ([b05d0bd](https://github.com/glacislabs/stablegenie-zerodelta/commit/b05d0bd72ba231935f85b80aeec1792d1498c901))
|
|
399
|
+
|
|
400
|
+
# [0.2.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.1.2...v0.2.0) (2026-07-14)
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
### Features
|
|
404
|
+
|
|
405
|
+
* rename package to @glacislabs/stablegenie-zerodelta ([#7](https://github.com/glacislabs/stablegenie-zerodelta/issues/7)) ([31c53e6](https://github.com/glacislabs/stablegenie-zerodelta/commit/31c53e66ab8f46f611b2a1fe78b3cf65b09d5c6a))
|
|
406
|
+
|
|
407
|
+
## [0.1.2](https://github.com/glacislabs/StableGenie-widget/compare/v0.1.1...v0.1.2) (2026-07-14)
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
### Bug Fixes
|
|
411
|
+
|
|
412
|
+
* stop shipping source maps in the published npm tarball ([#6](https://github.com/glacislabs/StableGenie-widget/issues/6)) ([e439fe0](https://github.com/glacislabs/StableGenie-widget/commit/e439fe07719d823ff67c0ad4ec5ed641340f496f))
|
|
413
|
+
|
|
414
|
+
## [0.1.1](https://github.com/glacislabs/StableGenie-widget/compare/v0.1.0...v0.1.1) (2026-07-14)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
### Bug Fixes
|
|
418
|
+
|
|
419
|
+
* **pay:** stop offering same-token cross-chain funding and quote candidates chain-diversely ([#5](https://github.com/glacislabs/StableGenie-widget/issues/5)) ([26ad00f](https://github.com/glacislabs/StableGenie-widget/commit/26ad00f1a67ceedbcc32dc90fdb2ec7dbfc45c29))
|
|
420
|
+
|
|
421
|
+
# [0.1.0](https://github.com/glacislabs/StableGenie-widget/compare/v0.0.0...v0.1.0) (2026-07-13)
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
### Features
|
|
425
|
+
|
|
426
|
+
* exchange-style funding selector on Pay + fix live order-template deadline ([#3](https://github.com/glacislabs/StableGenie-widget/issues/3)) ([d11626c](https://github.com/glacislabs/StableGenie-widget/commit/d11626cdf6737338058ec0b1dc9686957ed5d336))
|
|
427
|
+
* holdings-first Link-style checkout — read wallet balances, funds-first routing ([#1](https://github.com/glacislabs/StableGenie-widget/issues/1)) ([234d2b9](https://github.com/glacislabs/StableGenie-widget/commit/234d2b91bb45221c9dd562fb1d6176f13a294ea3))
|
|
428
|
+
* li.fi-style Exchange widget — token selector, wide Receive panel, ramp previews ([#2](https://github.com/glacislabs/StableGenie-widget/issues/2)) ([3c7b420](https://github.com/glacislabs/StableGenie-widget/commit/3c7b42012a2bad8ae0feb9dab3d87878e3f9a407))
|
|
429
|
+
* Link-style redesign — method selector + refined checkout surface ([66d74ca](https://github.com/glacislabs/StableGenie-widget/commit/66d74cad06a1747f30edf488ad1001f22ee91a9b))
|
|
430
|
+
* **pay:** offer every routable funding option and grey out unaffordable ones ([#4](https://github.com/glacislabs/StableGenie-widget/issues/4)) ([58156c3](https://github.com/glacislabs/StableGenie-widget/commit/58156c37265d49387ed999f5aa5c63205c7de214))
|
|
431
|
+
* React Pay + Swap widgets, wallet layer, dual-profile build (Stage B) ([375cfbe](https://github.com/glacislabs/StableGenie-widget/commit/375cfbef64685c53463def4781a05dff7936ba6a))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CHAIN_DISPLAY_NAMES, EXECUTABLE_STABLE_ASSETS, STABLE_ASSETS, SUPPORTED_ASSETS, complianceView, complianceTagOf, symbolKey, normalizeDecimalText, findToken, laneLimitFor, laneLimitSymbol, tokenTicker, exceedsLaneLimit, assetDecimals, parseUnitsDecimal, counterpartTokens, assetClassOf, brokenLaneFor, brokenLaneReason, destinationAvailability, laneLimitHint, tickerOn, laneLimitError, routeNativeValue, formatNative, nativeSymbol, isSolanaChainId, isSellableRwa, formatUnits, amountFieldError, solanaQuoteCompliance, directComplianceFromScreens, SUPPORTED_CHAIN_IDS, complianceChecks, DIRECT_CHECK_IDS, isSolanaAddress, createEngine, isAddress, checkNativeFee, nativeFeeShortLabel, ZdHeavyQuoteExpiredError, assertZdHeavyQuoteFresh, nativeFeeShortMessage, zdHeavyExpected, preflightZdHeavyPlan, allowanceCovers, validatePlannedTransaction, priceCompareOptions, parity, pickForWait, cornerTags, extraVsFastest, proposedWait, visibleOptions, promotionFor, estimateBonus, pairPromotionsInto, promotedAssets, TRACKING, mergeHistory, hasValidChecksum, solanaPlanNeedsPreparation, SOLANA_CHAIN_ID, clampWait, waitScaleFor, waitFraction, waitLabel, WAIT_POSITIONS, snapWait, WAIT_STEP_SEC, waitFromFraction, compareDuration, compareAmount, unattributedComplianceReasons, distinctScreenedWallets, formatJurisdiction, humanizeComplianceReason, DIRECT_SCOPE_NOTE, categoryLabel, SCREENING_BUCKETS, BUNDLED_RPC, isZdHeavyOrderId, zdHeavyRecovery, foldTicker, checkZdHeavyCancelTx, checkZdHeavyClaimTx, decodeZdHeavyCancel, decodeZdHeavyClaim } from './chunk-
|
|
1
|
+
import { CHAIN_DISPLAY_NAMES, EXECUTABLE_STABLE_ASSETS, STABLE_ASSETS, SUPPORTED_ASSETS, complianceView, complianceTagOf, symbolKey, normalizeDecimalText, findToken, laneLimitFor, laneLimitSymbol, tokenTicker, exceedsLaneLimit, assetDecimals, parseUnitsDecimal, counterpartTokens, assetClassOf, brokenLaneFor, brokenLaneReason, destinationAvailability, laneLimitHint, tickerOn, laneLimitError, routeNativeValue, formatNative, nativeSymbol, isSolanaChainId, isSellableRwa, formatUnits, amountFieldError, solanaQuoteCompliance, directComplianceFromScreens, SUPPORTED_CHAIN_IDS, complianceChecks, DIRECT_CHECK_IDS, isSolanaAddress, createEngine, isAddress, checkNativeFee, nativeFeeShortLabel, ZdHeavyQuoteExpiredError, assertZdHeavyQuoteFresh, nativeFeeShortMessage, zdHeavyExpected, preflightZdHeavyPlan, allowanceCovers, validatePlannedTransaction, priceCompareOptions, parity, pickForWait, cornerTags, extraVsFastest, proposedWait, visibleOptions, promotionFor, estimateBonus, pairPromotionsInto, promotedAssets, TRACKING, mergeHistory, hasValidChecksum, solanaPlanNeedsPreparation, SOLANA_CHAIN_ID, clampWait, waitScaleFor, waitFraction, waitLabel, WAIT_POSITIONS, snapWait, WAIT_STEP_SEC, waitFromFraction, compareDuration, compareAmount, unattributedComplianceReasons, distinctScreenedWallets, formatJurisdiction, humanizeComplianceReason, DIRECT_SCOPE_NOTE, categoryLabel, SCREENING_BUCKETS, BUNDLED_RPC, isZdHeavyOrderId, zdHeavyRecovery, foldTicker, checkZdHeavyCancelTx, checkZdHeavyClaimTx, decodeZdHeavyCancel, decodeZdHeavyClaim } from './chunk-DGWYVLFC.js';
|
|
2
2
|
import { createContext, useState, useRef, useMemo, useEffect, useCallback, useId, useLayoutEffect, createElement, useContext, useSyncExternalStore, useReducer } from 'react';
|
|
3
3
|
import { createRoot } from 'react-dom/client';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -7687,13 +7687,9 @@ function centibipsPct(centibips) {
|
|
|
7687
7687
|
const frac = String(centibips % 1e4).padStart(4, "0").replace(/0+$/, "").padEnd(2, "0");
|
|
7688
7688
|
return `${whole}.${frac}%`;
|
|
7689
7689
|
}
|
|
7690
|
-
function zeroDeltaFeeLabel(fee
|
|
7690
|
+
function zeroDeltaFeeLabel(fee) {
|
|
7691
7691
|
const centibips = statedCentibips(fee);
|
|
7692
|
-
|
|
7693
|
-
const pct = centibipsPct(centibips);
|
|
7694
|
-
const raw = fee?.zeroDeltaFeeNative;
|
|
7695
|
-
if (typeof raw !== "string" || !/^\d+$/.test(raw) || BigInt(raw) === 0n) return pct;
|
|
7696
|
-
return `${pct} + ${formatUnits(raw, native.decimals, 8)} ${native.symbol}`;
|
|
7692
|
+
return centibips === null ? "--" : centibipsPct(centibips);
|
|
7697
7693
|
}
|
|
7698
7694
|
function formatCostBps(bps) {
|
|
7699
7695
|
const rounded = Number(bps.toFixed(1));
|
|
@@ -8053,7 +8049,9 @@ function ExchangeCard(props) {
|
|
|
8053
8049
|
const nativeWei = (() => {
|
|
8054
8050
|
try {
|
|
8055
8051
|
if (selected) return routeNativeValue(selected);
|
|
8056
|
-
|
|
8052
|
+
if (!preview.data) return 0n;
|
|
8053
|
+
const feeNative = preview.data.zeroDeltaFeeNative;
|
|
8054
|
+
return BigInt(preview.data.nativeFeeRaw || "0") + (typeof feeNative === "string" && /^\d+$/.test(feeNative) ? BigInt(feeNative) : 0n);
|
|
8057
8055
|
} catch {
|
|
8058
8056
|
return 0n;
|
|
8059
8057
|
}
|
|
@@ -8069,8 +8067,7 @@ function ExchangeCard(props) {
|
|
|
8069
8067
|
const fromUsd = usdOf2(normalizedAmount, prices[from?.symbol ?? ""]);
|
|
8070
8068
|
const toUsd = usdOf2(receive, prices[to?.symbol ?? ""]);
|
|
8071
8069
|
const statedFee = solActive ? solFlow.preview : addressed ? selected?.quote : preview.data;
|
|
8072
|
-
const
|
|
8073
|
-
const feeLabel = hasQuote ? zeroDeltaFeeLabel(statedFee, feeNative) : "--";
|
|
8070
|
+
const feeLabel = hasQuote ? zeroDeltaFeeLabel(statedFee) : "--";
|
|
8074
8071
|
const rateImpact = hasQuote ? rateImpactLabel(
|
|
8075
8072
|
quoteCostBps({ send: normalizedAmount, receive, fromSymbol: from?.symbol, toSymbol: to?.symbol, fromPrice: prices[from?.symbol ?? ""], toPrice: prices[to?.symbol ?? ""] }),
|
|
8076
8073
|
statedFee
|
|
@@ -3842,7 +3842,7 @@ function compareAmount(value) {
|
|
|
3842
3842
|
}
|
|
3843
3843
|
function compareFeeUsd(option, fromUsd) {
|
|
3844
3844
|
const centibips = option.feeCentibips;
|
|
3845
|
-
if (centibips === void 0
|
|
3845
|
+
if (centibips === void 0) return null;
|
|
3846
3846
|
if (centibips === 0) return 0;
|
|
3847
3847
|
return typeof fromUsd === "number" && Number.isFinite(fromUsd) && fromUsd > 0 ? fromUsd * centibips / 1e6 : null;
|
|
3848
3848
|
}
|
|
@@ -4425,7 +4425,7 @@ var CHANNEL_HEADER = "x-zd-channel";
|
|
|
4425
4425
|
var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
|
|
4426
4426
|
var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
|
|
4427
4427
|
var WIDGET_CHANNEL = "widget";
|
|
4428
|
-
var WIDGET_VERSION = "4.22.
|
|
4428
|
+
var WIDGET_VERSION = "4.22.2" ;
|
|
4429
4429
|
var MAX_CHANNEL_VERSION_LEN = 32;
|
|
4430
4430
|
function sanitizeVersion(raw2) {
|
|
4431
4431
|
const v = String(raw2).trim();
|
package/dist/core/index.cjs
CHANGED
|
@@ -4403,7 +4403,7 @@ function compareAmount(value) {
|
|
|
4403
4403
|
}
|
|
4404
4404
|
function compareFeeUsd(option, fromUsd) {
|
|
4405
4405
|
const centibips = option.feeCentibips;
|
|
4406
|
-
if (centibips === void 0
|
|
4406
|
+
if (centibips === void 0) return null;
|
|
4407
4407
|
if (centibips === 0) return 0;
|
|
4408
4408
|
return typeof fromUsd === "number" && Number.isFinite(fromUsd) && fromUsd > 0 ? fromUsd * centibips / 1e6 : null;
|
|
4409
4409
|
}
|
|
@@ -4986,7 +4986,7 @@ var CHANNEL_HEADER = "x-zd-channel";
|
|
|
4986
4986
|
var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
|
|
4987
4987
|
var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
|
|
4988
4988
|
var WIDGET_CHANNEL = "widget";
|
|
4989
|
-
var WIDGET_VERSION = "4.22.
|
|
4989
|
+
var WIDGET_VERSION = "4.22.2" ;
|
|
4990
4990
|
var MAX_CHANNEL_VERSION_LEN = 32;
|
|
4991
4991
|
function sanitizeVersion(raw2) {
|
|
4992
4992
|
const v = String(raw2).trim();
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, H as Hex, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-
|
|
2
|
-
export { I as Address, J as ApiError, A as Availability, K as BLOCK_LABEL_DEFAULT, M as BonusInputs, B as BrokenLane, U as CENTIBIPS_PER_UNIT, X as COMPLIANCE_CHECK_ORDER, Y as COMPLIANCE_DENY_LABEL, _ as CatalogueContext, $ as CatalogueInput, a0 as CompareContext, a1 as CompareHop, a2 as CompareOption, c as ComplianceCheck, a3 as ComplianceCheckId, a4 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a5 as CornerTag, a6 as DIRECT_CHECK_IDS, a7 as DIRECT_SCOPE_NOTE, a8 as Destination, a9 as FLOOR_CATEGORIES, aa as GatewayEvmTx, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-
|
|
1
|
+
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, H as Hex, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-CrR7FBtq.cjs';
|
|
2
|
+
export { I as Address, J as ApiError, A as Availability, K as BLOCK_LABEL_DEFAULT, M as BonusInputs, B as BrokenLane, U as CENTIBIPS_PER_UNIT, X as COMPLIANCE_CHECK_ORDER, Y as COMPLIANCE_DENY_LABEL, _ as CatalogueContext, $ as CatalogueInput, a0 as CompareContext, a1 as CompareHop, a2 as CompareOption, c as ComplianceCheck, a3 as ComplianceCheckId, a4 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a5 as CornerTag, a6 as DIRECT_CHECK_IDS, a7 as DIRECT_SCOPE_NOTE, a8 as Destination, a9 as FLOOR_CATEGORIES, aa as GatewayEvmTx, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-CrR7FBtq.cjs';
|
|
3
3
|
|
|
4
4
|
/** Default request base for the widget: the same-origin keyless custody proxy (server injects the
|
|
5
5
|
* ZeroDelta key). A host may override to `/api/v1` + an apiKey for the demo-first fallback path. */
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, H as Hex, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-
|
|
2
|
-
export { I as Address, J as ApiError, A as Availability, K as BLOCK_LABEL_DEFAULT, M as BonusInputs, B as BrokenLane, U as CENTIBIPS_PER_UNIT, X as COMPLIANCE_CHECK_ORDER, Y as COMPLIANCE_DENY_LABEL, _ as CatalogueContext, $ as CatalogueInput, a0 as CompareContext, a1 as CompareHop, a2 as CompareOption, c as ComplianceCheck, a3 as ComplianceCheckId, a4 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a5 as CornerTag, a6 as DIRECT_CHECK_IDS, a7 as DIRECT_SCOPE_NOTE, a8 as Destination, a9 as FLOOR_CATEGORIES, aa as GatewayEvmTx, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-
|
|
1
|
+
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, H as Hex, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-CrR7FBtq.js';
|
|
2
|
+
export { I as Address, J as ApiError, A as Availability, K as BLOCK_LABEL_DEFAULT, M as BonusInputs, B as BrokenLane, U as CENTIBIPS_PER_UNIT, X as COMPLIANCE_CHECK_ORDER, Y as COMPLIANCE_DENY_LABEL, _ as CatalogueContext, $ as CatalogueInput, a0 as CompareContext, a1 as CompareHop, a2 as CompareOption, c as ComplianceCheck, a3 as ComplianceCheckId, a4 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a5 as CornerTag, a6 as DIRECT_CHECK_IDS, a7 as DIRECT_SCOPE_NOTE, a8 as Destination, a9 as FLOOR_CATEGORIES, aa as GatewayEvmTx, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-CrR7FBtq.js';
|
|
3
3
|
|
|
4
4
|
/** Default request base for the widget: the same-origin keyless custody proxy (server injects the
|
|
5
5
|
* ZeroDelta key). A host may override to `/api/v1` + an apiKey for the demo-first fallback path. */
|
package/dist/core/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BUNDLED_SOLANA_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CANONICAL_SOLANA_PROGRAM, CENTIBIPS_PER_UNIT, CHAIN_DISPLAY_NAMES, COMPLIANCE_CHECK_ORDER, COMPLIANCE_DENY_LABEL, DEFAULT_WIDGET_API_BASE, DIRECT_CHECK_IDS, DIRECT_SCOPE_NOTE, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, FLOOR_CATEGORIES, LZ_FEE_BUFFER_BPS, MAX_CANCEL_KEYS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_QUOTE_CARDS, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, SCREENING_BUCKETS, SCREEN_CACHE_TTL_MS, SOLANA_CHAIN_ID, SOLANA_DESTINATION_ASSETS, SOL_SHORTFALL_MESSAGE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_DISCRIMINATOR, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SolanaSendError, TOKEN_2022_PROGRAM, TOKEN_PROGRAM, TRACKING, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, WAIT_MAX_SEC, WAIT_MIN_SEC, WAIT_POSITIONS, WAIT_STEP_SEC, WALLET_HISTORY_LIMIT, ZDHEAVY_CANCEL_SELECTOR, ZDHEAVY_CLAIM_SELECTOR, ZDHEAVY_CLAIM_TO_SELECTOR, ZD_HEAVY_KEY_PREFIX, ZERO_ADDRESS, addressWord, allowanceCovers, amountFieldError, apiError, applyLayerZeroBuffer, askCovers, askTokenDecimals, assertAddress, assertChainAddress, assertQuoteMatchesSelection, assertWalletMessage, assetClassOf, assetDecimals, associatedTokenAddress, base58Decode, base58Encode, base64Decode, base64Encode, bestOutputOption, blockLabelFor, bonusFigure, bonusPercentLabel, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSolanaSourcePlan, buildSwapPlan, buildZdHeavyCancelTx, buildZdHeavyClaimTx, bytes32Word, bytesEqual, bytesPayload, canAttachApiKey, categoryLabel, chainAddressKey, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, checkSolanaPlan as checkPlan, checkSolanaPlan, checkSolanaProgram, checkSolanaReceiver, checkSolanaRouteBuffer, checkZdHeavyCancelTx, checkZdHeavyClaimTx, clampWait, classifyQuoteError, compareAmount, compareDuration, compareFeeUsd, compareHops, compareOptionOf, compareOptionsOf, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, cornerTags, cosignSolanaEvent, counterpartTokens, createApiClient, createEngine, createSolanaRpc, createVerifier, decodeSolanaSubmitOrder, decodeSolanaSubmitOrder as decodeSubmitOrder, decodeSubmitOrderCalldata, decodeZdHeavyCancel, decodeZdHeavyClaim, deriveSolanaEvent, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeNextSolanaOrders, encodeSubmitOrder, encodeTransfer, estimateBonus, exceedsLaneLimit, executableRoutes, executeSolanaPlan, executeSolanaPlanStaged, executionChainIds, expectedSolanaDelivery, extraVsFastest, fastestOption, fetchDelivery, fetchPaymentPlan, fetchWalletHistory, fetchZdHeavyCancellation, finalOf, findProgramAddress, findToken, foldTicker, formatJurisdiction, formatNative, formatUnits, fundedByLabel, hasReachableDestination, hexBytes, hexToSolanaKey, historyEntryFromOrder, historyKey, hubDeliverableSymbols, humanizeComplianceReason, insteadFigures, isAddress, isChainAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isOnEd25519Curve, isPreparationInstruction, isSellableRwa, isSolanaAddress, isSolanaChainId, isSourceToken, isSubmitOrder, isZdHeavyOrderId, laneAvailabilityState, laneKey, laneKeys, laneLimitAmount, laneLimitError, laneLimitFor, laneLimitHint, laneLimitSymbol, limitedLanes, maxDeadlineSeconds, maxNativeFeeWei, mergeHistory, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeCancellationPlan, normalizeDecimalText, normalizeDelivery, normalizeOrderRequest, normalizeOrderRequests, orderIdFromProof, overwriteBlockhash, pairPromotionsInto, parity, parseAddressLookupTable, parseAllowedApiBase, parsePromotion, parsePromotions, parseSolanaTransaction, parseUnitsDecimal, pickForWait, placeSignature, planErrorSummary, planMsgValueHex, pollSolanaConfirmation, previewSolanaSource, priceCompareOptions, productAssets, promotedAssets, promotionFor, proposedWait, quotePartnerId, quotePayOption, quoteSolanaSource, quoteSwapPreview, readSolanaBalance, recommendedDeadlineSeconds, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSolanaKeys, resolveSwapReceiver, resolveVaultIcon, resultForOption, routeBadges, routeNativeValue, routeShapeLabel, safeTicker, sameAddress, scaleDecimals, screeningOutcomeOf, selectableOptions, serializeSolanaTransaction, sha256, simulateSolanaCost, snapWait, solanaBridgeOf, solanaDestinationAsset, solanaKeyBytes, solanaKeyHex, solanaLamportShortfall, solanaPlanNeedsPreparation, solanaQuoteCompliance, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, tickerOn, toHexQuantity, tokenEnabled, tokenKey, tokenTicker, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, usdStablePair, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, verifySolanaSubmit, verifySolanaTransaction, verifySolanaSubmit as verifySubmit, verifySolanaTransaction as verifyTransaction, verifyZdHeavySourceOrder, visibleOptions, waitFraction, waitFromFraction, waitLabel, waitScaleFor, withVaultArtwork, zdHeavyOptionKey, zdHeavyRecovery, zdHeavyUnavailableStatus } from '../chunk-
|
|
1
|
+
export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BUNDLED_SOLANA_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CANONICAL_SOLANA_PROGRAM, CENTIBIPS_PER_UNIT, CHAIN_DISPLAY_NAMES, COMPLIANCE_CHECK_ORDER, COMPLIANCE_DENY_LABEL, DEFAULT_WIDGET_API_BASE, DIRECT_CHECK_IDS, DIRECT_SCOPE_NOTE, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, FLOOR_CATEGORIES, LZ_FEE_BUFFER_BPS, MAX_CANCEL_KEYS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_QUOTE_CARDS, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, SCREENING_BUCKETS, SCREEN_CACHE_TTL_MS, SOLANA_CHAIN_ID, SOLANA_DESTINATION_ASSETS, SOL_SHORTFALL_MESSAGE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_DISCRIMINATOR, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SolanaSendError, TOKEN_2022_PROGRAM, TOKEN_PROGRAM, TRACKING, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, WAIT_MAX_SEC, WAIT_MIN_SEC, WAIT_POSITIONS, WAIT_STEP_SEC, WALLET_HISTORY_LIMIT, ZDHEAVY_CANCEL_SELECTOR, ZDHEAVY_CLAIM_SELECTOR, ZDHEAVY_CLAIM_TO_SELECTOR, ZD_HEAVY_KEY_PREFIX, ZERO_ADDRESS, addressWord, allowanceCovers, amountFieldError, apiError, applyLayerZeroBuffer, askCovers, askTokenDecimals, assertAddress, assertChainAddress, assertQuoteMatchesSelection, assertWalletMessage, assetClassOf, assetDecimals, associatedTokenAddress, base58Decode, base58Encode, base64Decode, base64Encode, bestOutputOption, blockLabelFor, bonusFigure, bonusPercentLabel, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSolanaSourcePlan, buildSwapPlan, buildZdHeavyCancelTx, buildZdHeavyClaimTx, bytes32Word, bytesEqual, bytesPayload, canAttachApiKey, categoryLabel, chainAddressKey, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, checkSolanaPlan as checkPlan, checkSolanaPlan, checkSolanaProgram, checkSolanaReceiver, checkSolanaRouteBuffer, checkZdHeavyCancelTx, checkZdHeavyClaimTx, clampWait, classifyQuoteError, compareAmount, compareDuration, compareFeeUsd, compareHops, compareOptionOf, compareOptionsOf, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, cornerTags, cosignSolanaEvent, counterpartTokens, createApiClient, createEngine, createSolanaRpc, createVerifier, decodeSolanaSubmitOrder, decodeSolanaSubmitOrder as decodeSubmitOrder, decodeSubmitOrderCalldata, decodeZdHeavyCancel, decodeZdHeavyClaim, deriveSolanaEvent, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeNextSolanaOrders, encodeSubmitOrder, encodeTransfer, estimateBonus, exceedsLaneLimit, executableRoutes, executeSolanaPlan, executeSolanaPlanStaged, executionChainIds, expectedSolanaDelivery, extraVsFastest, fastestOption, fetchDelivery, fetchPaymentPlan, fetchWalletHistory, fetchZdHeavyCancellation, finalOf, findProgramAddress, findToken, foldTicker, formatJurisdiction, formatNative, formatUnits, fundedByLabel, hasReachableDestination, hexBytes, hexToSolanaKey, historyEntryFromOrder, historyKey, hubDeliverableSymbols, humanizeComplianceReason, insteadFigures, isAddress, isChainAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isOnEd25519Curve, isPreparationInstruction, isSellableRwa, isSolanaAddress, isSolanaChainId, isSourceToken, isSubmitOrder, isZdHeavyOrderId, laneAvailabilityState, laneKey, laneKeys, laneLimitAmount, laneLimitError, laneLimitFor, laneLimitHint, laneLimitSymbol, limitedLanes, maxDeadlineSeconds, maxNativeFeeWei, mergeHistory, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeCancellationPlan, normalizeDecimalText, normalizeDelivery, normalizeOrderRequest, normalizeOrderRequests, orderIdFromProof, overwriteBlockhash, pairPromotionsInto, parity, parseAddressLookupTable, parseAllowedApiBase, parsePromotion, parsePromotions, parseSolanaTransaction, parseUnitsDecimal, pickForWait, placeSignature, planErrorSummary, planMsgValueHex, pollSolanaConfirmation, previewSolanaSource, priceCompareOptions, productAssets, promotedAssets, promotionFor, proposedWait, quotePartnerId, quotePayOption, quoteSolanaSource, quoteSwapPreview, readSolanaBalance, recommendedDeadlineSeconds, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSolanaKeys, resolveSwapReceiver, resolveVaultIcon, resultForOption, routeBadges, routeNativeValue, routeShapeLabel, safeTicker, sameAddress, scaleDecimals, screeningOutcomeOf, selectableOptions, serializeSolanaTransaction, sha256, simulateSolanaCost, snapWait, solanaBridgeOf, solanaDestinationAsset, solanaKeyBytes, solanaKeyHex, solanaLamportShortfall, solanaPlanNeedsPreparation, solanaQuoteCompliance, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, tickerOn, toHexQuantity, tokenEnabled, tokenKey, tokenTicker, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, usdStablePair, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, verifySolanaSubmit, verifySolanaTransaction, verifySolanaSubmit as verifySubmit, verifySolanaTransaction as verifyTransaction, verifyZdHeavySourceOrder, visibleOptions, waitFraction, waitFromFraction, waitLabel, waitScaleFor, withVaultArtwork, zdHeavyOptionKey, zdHeavyRecovery, zdHeavyUnavailableStatus } from '../chunk-DGWYVLFC.js';
|