@anywalletkit/protocol-swap2-core 0.10.1 → 0.10.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/dist/{chunk-PN76KVPT.js → chunk-2YDSKVIL.js} +6 -2
- package/dist/chunk-2YDSKVIL.js.map +1 -0
- package/dist/{chunk-AY7DVYAN.js → chunk-RVO3VODH.js} +2 -2
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/swap2/base.cjs +5 -1
- package/dist/swap2/base.cjs.map +1 -1
- package/dist/swap2/base.js +1 -1
- package/dist/swap2/single.cjs +5 -1
- package/dist/swap2/single.cjs.map +1 -1
- package/dist/swap2/single.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-PN76KVPT.js.map +0 -1
- /package/dist/{chunk-AY7DVYAN.js.map → chunk-RVO3VODH.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-J4WXUNK2.js";
|
|
13
13
|
import {
|
|
14
14
|
SingleProviderSwap2
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RVO3VODH.js";
|
|
16
16
|
import {
|
|
17
17
|
BaseSwap2Protocol,
|
|
18
18
|
NATIVE_DECIMALS,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
nativeDecimals,
|
|
22
22
|
nativeUnits,
|
|
23
23
|
swap2ChainId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2YDSKVIL.js";
|
|
25
25
|
import "./chunk-55J6XMHW.js";
|
|
26
26
|
import {
|
|
27
27
|
Swap2ConfigurationError,
|
package/dist/swap2/base.cjs
CHANGED
|
@@ -230,9 +230,13 @@ var NATIVE_FEE_CAP = Object.freeze({
|
|
|
230
230
|
// 20 MNT (≈ $0.53 each)
|
|
231
231
|
"eip155:14": nativeUnits("eip155:14", 1500),
|
|
232
232
|
// 1500 FLR (≈ $0.0067 each)
|
|
233
|
-
"eip155:5042": nativeUnits("eip155:5042", 10)
|
|
233
|
+
"eip155:5042": nativeUnits("eip155:5042", 10),
|
|
234
234
|
// 10 USDC — Arc's gas token, in its 18-decimal native units
|
|
235
235
|
// Katana and Morph are ETH-denominated: the 0.005 ETH default applies.
|
|
236
|
+
// 2026-11-10: Elysium pays gas in HYPE (18 decimals, ≈ $74.5 on li.quest that day) — HyperEVM's 0.1 HYPE ceiling, not
|
|
237
|
+
// the ETH default (0.005 HYPE ≈ $0.37 would refuse ordinary bridge fees).
|
|
238
|
+
"eip155:99901": nativeUnits("eip155:99901", "0.1")
|
|
239
|
+
// 0.1 HYPE
|
|
236
240
|
});
|
|
237
241
|
var DEFAULT_NATIVE_FEE_CAP = 5000000000000000n;
|
|
238
242
|
function declaredNativeFee(q, chain) {
|