@glacislabs/stablegenie-zerodelta 4.22.1 → 4.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,297 +1,311 @@
1
1
  # Changelog
2
2
 
3
- ## [4.22.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.22.0...v4.22.1) (2026-12-02)
3
+ ## 4.22.3 (2026-12-02)
4
4
 
5
5
 
6
6
  ### Bug Fixes
7
7
 
8
- * 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))
8
+ * write the changelog without links and reword three old entries (#101) 17ae438
9
9
 
10
- # [4.22.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.21.0...v4.22.0) (2026-12-02)
10
+ ## 4.22.2 (2026-12-02)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **exchange:** the Fee row is ZeroDelta's margin only; fee.native is the network fee f1ce543
16
+
17
+ ## 4.22.1 (2026-12-02)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * ship CHANGELOG.md in the npm package (#100) 999c096
23
+
24
+ # 4.22.0 (2026-12-02)
11
25
 
12
26
 
13
27
  ### Features
14
28
 
15
- * **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)
29
+ * **zdheavy:** cancel and claim a ZD Heavy order from the transaction history (#94) 4d63d5e, closes glacislabs/zd-dapp#674 #679 #674
16
30
 
17
- # [4.21.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.20.1...v4.21.0) (2026-12-02)
31
+ # 4.21.0 (2026-12-02)
18
32
 
19
33
 
20
34
  ### Bug Fixes
21
35
 
22
- * **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))
36
+ * **zdheavy:** re-quote before a ZD Heavy quote expires and say when it did (#97) f05573a
23
37
 
24
38
 
25
39
  ### Features
26
40
 
27
- * **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))
41
+ * **zdheavy:** detect ZD Heavy at runtime from the gateway's lane catalogue (#96) 11ad40b
28
42
 
29
- ## [4.20.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.20.0...v4.20.1) (2026-12-02)
43
+ ## 4.20.1 (2026-12-02)
30
44
 
31
45
 
32
46
  ### Bug Fixes
33
47
 
34
- * 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))
48
+ * accept the gateway's ZD Lite deadline when its clock runs a little ahead (#95) e010220
35
49
 
36
- # [4.20.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.19.0...v4.20.0) (2026-12-01)
50
+ # 4.20.0 (2026-12-01)
37
51
 
38
52
 
39
53
  ### Features
40
54
 
41
- * **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))
42
- * **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)
55
+ * **exchange:** plain refusal copy for the gateway's first-line route gate (#86) 99b4a57
56
+ * **playground:** land Compare quotes, Compliance details and the netting Best return card on main (#83, #84) (#90) b77c6ab, closes #4f24b4
43
57
 
44
- # [4.19.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.18.2...v4.19.0) (2026-12-01)
58
+ # 4.19.0 (2026-12-01)
45
59
 
46
60
 
47
61
  ### Features
48
62
 
49
- * **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))
50
- * **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)
63
+ * **delivery:** read ZD Heavy orders like the dapp: delivered from the stored payout, worded steps (#81) 3264db4
64
+ * **engine:** execute ZD Heavy router orders, verified byte for byte before signing (#80) a5ae98f, closes #82
51
65
 
52
- ## [4.18.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.18.1...v4.18.2) (2026-11-10)
66
+ ## 4.18.2 (2026-11-10)
53
67
 
54
68
 
55
69
  ### Bug Fixes
56
70
 
57
- * **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))
71
+ * **delivery:** an expired order reads "Waiting to be claimed", as zd-dapp does (#79) 63a3ff1
58
72
 
59
- ## [4.18.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.18.0...v4.18.1) (2026-11-09)
73
+ ## 4.18.1 (2026-11-09)
60
74
 
61
75
 
62
76
  ### Bug Fixes
63
77
 
64
- * **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)
78
+ * **catalogue:** a registry read that failed must not look like one still loading (#78) c1543d6, closes #39
65
79
 
66
- # [4.18.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.17.0...v4.18.0) (2026-11-09)
80
+ # 4.18.0 (2026-11-09)
67
81
 
68
82
 
69
83
  ### Features
70
84
 
71
- * **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))
85
+ * **catalogue:** admit execution-chain and chained stables to the stable exchange (#77) 7b8f6d0
72
86
 
73
- # [4.17.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.16.0...v4.17.0) (2026-11-09)
87
+ # 4.17.0 (2026-11-09)
74
88
 
75
89
 
76
90
  ### Features
77
91
 
78
- * **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))
92
+ * **widget:** call Solana RPC from the browser, with the proxy relay as last resort (#76) 94575f2
79
93
 
80
- # [4.16.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.15.1...v4.16.0) (2026-11-06)
94
+ # 4.16.0 (2026-11-06)
81
95
 
82
96
 
83
97
  ### Features
84
98
 
85
- * **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)
99
+ * **widget:** show ZeroDelta's own fee and match the dapp's picker and chain names (#70) 50f1749, closes zd-dapp#654 zd-dapp#604 #627 zd-dapp#582 zd-dapp#588
86
100
 
87
- ## [4.15.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.15.0...v4.15.1) (2026-10-29)
101
+ ## 4.15.1 (2026-10-29)
88
102
 
89
103
 
90
104
  ### Bug Fixes
91
105
 
92
- * **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))
106
+ * **solana:** clearer message when a quote's partner id does not match its order (#69) ddc6452
93
107
 
94
- # [4.15.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.14.2...v4.15.0) (2026-10-29)
108
+ # 4.15.0 (2026-10-29)
95
109
 
96
110
 
97
111
  ### Features
98
112
 
99
- * **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))
113
+ * **widget:** recipient row, wallet and address states from the updated Figma; playground header and scrollbars (#68) 8213982
100
114
 
101
- ## [4.14.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.14.1...v4.14.2) (2026-10-28)
115
+ ## 4.14.2 (2026-10-28)
102
116
 
103
117
 
104
118
  ### Bug Fixes
105
119
 
106
- * **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))
120
+ * **widget:** mark the steps the order's status already proves (#64) b71a66b
107
121
 
108
- ## [4.14.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.14.0...v4.14.1) (2026-10-28)
122
+ ## 4.14.1 (2026-10-28)
109
123
 
110
124
 
111
125
  ### Bug Fixes
112
126
 
113
- * **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)
127
+ * **widget:** Nest vault shares are buy-only on the RWA card (#66) 0e1d440, closes 612/#614
114
128
 
115
- # [4.14.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.13.1...v4.14.0) (2026-10-28)
129
+ # 4.14.0 (2026-10-28)
116
130
 
117
131
 
118
132
  ### Features
119
133
 
120
- * **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))
134
+ * **widget:** wallets sheet and recipient sheet from the Figma designs (#65) e623ba2
121
135
 
122
- ## [4.13.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.13.0...v4.13.1) (2026-10-28)
136
+ ## 4.13.1 (2026-10-28)
123
137
 
124
138
 
125
139
  ### Bug Fixes
126
140
 
127
- * **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)
141
+ * **widget:** show delivery, not the source receipt, and stop a Solana payment the wallet cannot fund (#60) 15a146a, closes #59
128
142
 
129
- # [4.13.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.12.0...v4.13.0) (2026-10-27)
143
+ # 4.13.0 (2026-10-27)
130
144
 
131
145
 
132
146
  ### Features
133
147
 
134
- * **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))
135
- * **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))
148
+ * **widget:** pay from Solana in the exchange card (#58) f1e9bd7
149
+ * **widget:** receive on Solana with locally verified delivery, and per-chain LayerZero fee caps (#57) 4d155f0
136
150
 
137
- # [4.12.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.11.0...v4.12.0) (2026-10-15)
151
+ # 4.12.0 (2026-10-15)
138
152
 
139
153
 
140
154
  ### Features
141
155
 
142
- * **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)
156
+ * **widget:** pick the token first, then the network, like the ZeroDelta app (#56) 3367664, closes #599
143
157
 
144
- # [4.11.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.10.0...v4.11.0) (2026-10-15)
158
+ # 4.11.0 (2026-10-15)
145
159
 
146
160
 
147
161
  ### Features
148
162
 
149
- * **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))
163
+ * **widget:** offer only what trades, list every way to pay, show the deposit loading state (#55) a4acd10
150
164
 
151
- # [4.10.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.9.0...v4.10.0) (2026-10-15)
165
+ # 4.10.0 (2026-10-15)
152
166
 
153
167
 
154
168
  ### Features
155
169
 
156
- * **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))
170
+ * **widget:** pause stale quotes, share the registry cache, tidy the pickers; playground needs your own key (#54) ea1a031
157
171
 
158
- # [4.9.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.8.0...v4.9.0) (2026-10-06)
172
+ # 4.9.0 (2026-10-06)
159
173
 
160
174
 
161
175
  ### Features
162
176
 
163
- * **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))
177
+ * **compliance:** name the visitor's country beside the jurisdiction, as the dApp does (#52) 0e6c6c7
164
178
 
165
- # [4.8.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.7.0...v4.8.0) (2026-10-05)
179
+ # 4.8.0 (2026-10-05)
166
180
 
167
181
 
168
182
  ### Features
169
183
 
170
- * **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))
184
+ * **exchange:** report the card's input, and print amounts the way the dApp does (#51) 4e17c00
171
185
 
172
- # [4.7.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.6.0...v4.7.0) (2026-10-05)
186
+ # 4.7.0 (2026-10-05)
173
187
 
174
188
 
175
189
  ### Features
176
190
 
177
- * **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))
191
+ * **widget:** submit the quote's partner id with the order; playground own key, shared wallet and deposit checkout (#49) 84cdf39
178
192
 
179
- # [4.6.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.5.0...v4.6.0) (2026-10-01)
193
+ # 4.6.0 (2026-10-01)
180
194
 
181
195
 
182
196
  ### Features
183
197
 
184
- * **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)
198
+ * **widget:** redesign the card and the playground to the Widget Playground Figma (#48) 35493dc, closes #8c9bff #a7a9be #292a30
185
199
 
186
- # [4.5.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.4.0...v4.5.0) (2026-09-24)
200
+ # 4.5.0 (2026-09-24)
187
201
 
188
202
 
189
203
  ### Features
190
204
 
191
- * **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))
205
+ * **channel:** let the widget say it is the widget (#46) e355106
192
206
 
193
- # [4.4.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.3.0...v4.4.0) (2026-09-23)
207
+ # 4.4.0 (2026-09-23)
194
208
 
195
209
 
196
210
  ### Features
197
211
 
198
- * size the order deadline from the lane, not from a flat cap ([b83170c](https://github.com/glacislabs/stablegenie-zerodelta/commit/b83170c8936afb4d59f5c39bc56308e4425036b1))
212
+ * size the order deadline from the lane, not from a flat cap b83170c
199
213
 
200
- # [4.3.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.2.1...v4.3.0) (2026-09-18)
214
+ # 4.3.0 (2026-09-18)
201
215
 
202
216
 
203
217
  ### Features
204
218
 
205
- * **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)
219
+ * **route-health:** read lane availability and show the bridge ceiling (#45) 44a0f19, closes zd-bebop-lite#486
206
220
 
207
- ## [4.2.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.2.0...v4.2.1) (2026-09-17)
221
+ ## 4.2.1 (2026-09-17)
208
222
 
209
223
 
210
224
  ### Bug Fixes
211
225
 
212
- * **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))
226
+ * **catalogue:** read the route and token registries to the last page (#44) a16150b
213
227
 
214
- # [4.2.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.1.1...v4.2.0) (2026-09-16)
228
+ # 4.2.0 (2026-09-16)
215
229
 
216
230
 
217
231
  ### Features
218
232
 
219
- * **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))
233
+ * **widget:** show each chain's own token ticker (#42) c4cdbf3
220
234
 
221
- ## [4.1.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.1.0...v4.1.1) (2026-09-09)
235
+ ## 4.1.1 (2026-09-09)
222
236
 
223
237
 
224
238
  ### Bug Fixes
225
239
 
226
- * **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))
240
+ * **catalogue:** suppress firewalled lanes and gate every same-symbol shortcut on a direct peer (#34) 20761e2
227
241
 
228
- # [4.1.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v4.0.0...v4.1.0) (2026-09-09)
242
+ # 4.1.0 (2026-09-09)
229
243
 
230
244
 
231
245
  ### Features
232
246
 
233
- * **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))
247
+ * **widget:** reach transaction history from every surface, render chained trades as two orders, and draw vault artwork (#40) 398e13b
234
248
 
235
- # [4.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.4.0...v4.0.0) (2026-09-09)
249
+ # 4.0.0 (2026-09-09)
236
250
 
237
251
 
238
252
  ### Features
239
253
 
240
- * 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))
254
+ * screen direct settlements and disclose the compliance decision (#36) c026e4b
241
255
 
242
256
 
243
257
  ### BREAKING CHANGES
244
258
 
245
259
  * screen direct settlements and disclose the compliance decision (#36)
246
260
 
247
- # [3.4.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.3.0...v3.4.0) (2026-09-08)
261
+ # 3.4.0 (2026-09-08)
248
262
 
249
263
 
250
264
  ### Features
251
265
 
252
- * 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))
266
+ * derive the catalogue from the live registry and add the RWA exchange (#32) eec029c
253
267
 
254
- # [3.3.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.2.0...v3.3.0) (2026-09-07)
268
+ # 3.3.0 (2026-09-07)
255
269
 
256
270
 
257
271
  ### Features
258
272
 
259
- * **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))
273
+ * **playground:** black-and-white ZeroDelta favicon with the dapp's raster fallbacks (#31) edf4f67
260
274
 
261
- # [3.2.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.1.0...v3.2.0) (2026-09-07)
275
+ # 3.2.0 (2026-09-07)
262
276
 
263
277
 
264
278
  ### Features
265
279
 
266
- * **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)
280
+ * **playground:** single-page widget playground with keyless proxy and e2e (#30) 05136d1, closes #29
267
281
 
268
- # [3.1.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.0.2...v3.1.0) (2026-09-07)
282
+ # 3.1.0 (2026-09-07)
269
283
 
270
284
 
271
285
  ### Features
272
286
 
273
- * 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))
287
+ * target the live ZeroDelta prod escrow (live ABI, prod pin, Plume) (#28) 1cf4753
274
288
 
275
- ## [3.0.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.0.1...v3.0.2) (2026-07-30)
289
+ ## 3.0.2 (2026-07-30)
276
290
 
277
291
 
278
292
  ### Bug Fixes
279
293
 
280
- * **pay:** prioritize connected wallet holdings ([#25](https://github.com/glacislabs/stablegenie-zerodelta/issues/25)) ([9e2236a](https://github.com/glacislabs/stablegenie-zerodelta/commit/9e2236aaa6a3fc978526b699fd1d53f10bb270f9))
294
+ * **pay:** prioritize connected wallet holdings (#25) 9e2236a
281
295
 
282
- ## [3.0.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v3.0.0...v3.0.1) (2026-07-30)
296
+ ## 3.0.1 (2026-07-30)
283
297
 
284
298
 
285
299
  ### Bug Fixes
286
300
 
287
- * **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))
301
+ * **pay:** show wallet-payable assets in deposit summary (#24) d3ddc2d
288
302
 
289
- # [3.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v2.0.0...v3.0.0) (2026-07-29)
303
+ # 3.0.0 (2026-07-29)
290
304
 
291
305
 
292
306
  ### Features
293
307
 
294
- * 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))
308
+ * stop showing merchant destination config and cut methods to stablecoin/card/bank (#23) a3563b1
295
309
 
296
310
 
297
311
  ### BREAKING CHANGES
@@ -302,29 +316,29 @@ update, and the any-asset funding rail is no longer reachable from the UI.
302
316
 
303
317
  Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
304
318
 
305
- # [2.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v1.1.0...v2.0.0) (2026-07-29)
319
+ # 2.0.0 (2026-07-29)
306
320
 
307
321
 
308
322
  ### Bug Fixes
309
323
 
310
- * **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))
324
+ * **security:** send the API key only to a same-origin path or a declared trusted origin, and ready the package for public npm (#19) f78ed7c
311
325
 
312
326
 
313
327
  ### BREAKING CHANGES
314
328
 
315
- * **security:** close the API-key leak and ready the package for public npm (#19)
329
+ * **security:** send the API key only to a same-origin path or a declared trusted origin, and ready the package for public npm (#19)
316
330
 
317
- # [1.1.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v1.0.0...v1.1.0) (2026-07-28)
331
+ # 1.1.0 (2026-07-28)
318
332
 
319
333
 
320
334
  ### Features
321
335
 
322
- * 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))
336
+ * close the audit backlog and ready the package for public npm (#17) cddcaef
323
337
 
324
- # [1.0.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.6.1...v1.0.0) (2026-07-28)
338
+ # 1.0.0 (2026-07-28)
325
339
 
326
340
 
327
- * 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))
341
+ * feat!: pin the escrow, verify receipts, and stop trusting API-supplied trust anchors (#16) fcd9065
328
342
 
329
343
 
330
344
  ### BREAKING CHANGES
@@ -334,91 +348,91 @@ absolute `apiBase` together with an `apiKey` must now also set
334
348
  `EngineConfig.trustedApiOrigin` to that origin, or the key is withheld.
335
349
  Consumers using the default same-origin proxy are unaffected.
336
350
 
337
- ## [0.6.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.6.0...v0.6.1) (2026-07-27)
351
+ ## 0.6.1 (2026-07-27)
338
352
 
339
353
 
340
354
  ### Bug Fixes
341
355
 
342
- * 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))
356
+ * attach the LayerZero native fee to escrow orders and preflight gas (#15) 80e0465
343
357
 
344
- # [0.6.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.5.2...v0.6.0) (2026-07-27)
358
+ # 0.6.0 (2026-07-27)
345
359
 
346
360
 
347
361
  ### Features
348
362
 
349
- * 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))
363
+ * let the quote engine own same-asset validation (#14) 41a592c
350
364
 
351
- ## [0.5.2](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.5.1...v0.5.2) (2026-07-27)
365
+ ## 0.5.2 (2026-07-27)
352
366
 
353
367
 
354
368
  ### Bug Fixes
355
369
 
356
- * 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))
370
+ * keep rejecting same-token same-chain swaps (#13) c95e2b0
357
371
 
358
- ## [0.5.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.5.0...v0.5.1) (2026-07-27)
372
+ ## 0.5.1 (2026-07-27)
359
373
 
360
374
 
361
375
  ### Bug Fixes
362
376
 
363
- * allow same-token same-chain swaps ([#12](https://github.com/glacislabs/stablegenie-zerodelta/issues/12)) ([8384690](https://github.com/glacislabs/stablegenie-zerodelta/commit/838469068c50b9445bc4076b8bbf18a100a67e17))
377
+ * allow same-token same-chain swaps (#12) 8384690
364
378
 
365
- # [0.5.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.4.0...v0.5.0) (2026-07-27)
379
+ # 0.5.0 (2026-07-27)
366
380
 
367
381
 
368
382
  ### Features
369
383
 
370
- * 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))
384
+ * bank-settlement payout card, exported settlement types, and token logos in history (#11) 3cce60b
371
385
 
372
- # [0.4.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.3.0...v0.4.0) (2026-07-24)
386
+ # 0.4.0 (2026-07-24)
373
387
 
374
388
 
375
389
  ### Features
376
390
 
377
- * 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))
391
+ * add ZeroDelta Link express-checkout variant (pill) (#10) 775789e
378
392
 
379
- # [0.3.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.2.1...v0.3.0) (2026-07-14)
393
+ # 0.3.0 (2026-07-14)
380
394
 
381
395
 
382
396
  ### Features
383
397
 
384
- * 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))
398
+ * in-widget transaction history with per-wallet persistence (#9) ae4e6e0
385
399
 
386
- ## [0.2.1](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.2.0...v0.2.1) (2026-07-14)
400
+ ## 0.2.1 (2026-07-14)
387
401
 
388
402
 
389
403
  ### Bug Fixes
390
404
 
391
- * **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))
405
+ * **pay:** add-chain fallback and friendly wallet errors for cross-chain deposit funding (#8) b05d0bd
392
406
 
393
- # [0.2.0](https://github.com/glacislabs/stablegenie-zerodelta/compare/v0.1.2...v0.2.0) (2026-07-14)
407
+ # 0.2.0 (2026-07-14)
394
408
 
395
409
 
396
410
  ### Features
397
411
 
398
- * rename package to @glacislabs/stablegenie-zerodelta ([#7](https://github.com/glacislabs/stablegenie-zerodelta/issues/7)) ([31c53e6](https://github.com/glacislabs/stablegenie-zerodelta/commit/31c53e66ab8f46f611b2a1fe78b3cf65b09d5c6a))
412
+ * rename package to @glacislabs/stablegenie-zerodelta (#7) 31c53e6
399
413
 
400
- ## [0.1.2](https://github.com/glacislabs/StableGenie-widget/compare/v0.1.1...v0.1.2) (2026-07-14)
414
+ ## 0.1.2 (2026-07-14)
401
415
 
402
416
 
403
417
  ### Bug Fixes
404
418
 
405
- * 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))
419
+ * stop shipping source maps in the published npm tarball (#6) e439fe0
406
420
 
407
- ## [0.1.1](https://github.com/glacislabs/StableGenie-widget/compare/v0.1.0...v0.1.1) (2026-07-14)
421
+ ## 0.1.1 (2026-07-14)
408
422
 
409
423
 
410
424
  ### Bug Fixes
411
425
 
412
- * **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))
426
+ * **pay:** stop offering same-token cross-chain funding and quote candidates chain-diversely (#5) 26ad00f
413
427
 
414
- # [0.1.0](https://github.com/glacislabs/StableGenie-widget/compare/v0.0.0...v0.1.0) (2026-07-13)
428
+ # 0.1.0 (2026-07-13)
415
429
 
416
430
 
417
431
  ### Features
418
432
 
419
- * 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))
420
- * 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))
421
- * 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))
422
- * Link-style redesign — method selector + refined checkout surface ([66d74ca](https://github.com/glacislabs/StableGenie-widget/commit/66d74cad06a1747f30edf488ad1001f22ee91a9b))
423
- * **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))
424
- * React Pay + Swap widgets, wallet layer, dual-profile build (Stage B) ([375cfbe](https://github.com/glacislabs/StableGenie-widget/commit/375cfbef64685c53463def4781a05dff7936ba6a))
433
+ * exchange-style funding selector on Pay + fix live order-template deadline (#3) d11626c
434
+ * holdings-first Link-style checkout — read wallet balances, funds-first routing (#1) 234d2b9
435
+ * li.fi-style Exchange widget — token selector, wide Receive panel, ramp previews (#2) 3c7b420
436
+ * Link-style redesign — method selector + refined checkout surface 66d74ca
437
+ * **pay:** offer every routable funding option and grey out unaffordable ones (#4) 58156c3
438
+ * React Pay + Swap widgets, wallet layer, dual-profile build (Stage B) 375cfbe
@@ -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-6TCVZRNB.js';
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-S34RDOSI.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, native) {
7690
+ function zeroDeltaFeeLabel(fee) {
7691
7691
  const centibips = statedCentibips(fee);
7692
- if (centibips === null) return "--";
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
- return preview.data ? BigInt(preview.data.nativeFeeRaw || "0") : 0n;
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 feeNative = solActive ? { symbol: "SOL", decimals: 9 } : { symbol: nativeSymbol(from?.chainId ?? 1, chains), decimals: 18 };
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