@anywalletkit/protocol-swap2-lifi 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/protocol.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  LifiSwap2Protocol
3
- } from "./chunk-YABKNR7N.js";
4
- import "./chunk-IZ7TP4KT.js";
5
- import "./chunk-6N4HZ5XX.js";
3
+ } from "./chunk-D42KNYLU.js";
4
+ import "./chunk-HJRWHGMX.js";
5
+ import "./chunk-AARB4MBP.js";
6
6
  import "./chunk-EU7XQVZQ.js";
7
7
  export {
8
8
  LifiSwap2Protocol
package/dist/provider.cjs CHANGED
@@ -29,7 +29,7 @@ module.exports = __toCommonJS(provider_exports);
29
29
  // src/config.ts
30
30
  var import_util = require("@anywalletkit/protocol-swap2-core/util");
31
31
  var LIFI_SOLANA_CAIP2 = "solana:mainnet";
32
- var LIFI_EVM = /* @__PURE__ */ new Set([1, 8453, 56, 137, 42161, 10, 100, 143, 130, 999, 4663, 43114, 534352, 80094, 324, 42220, 4326, 9745, 59144, 146, 480, 1329, 57073, 98866, 196, 5042, 5e3, 747474, 2818, 14]);
32
+ var LIFI_EVM = /* @__PURE__ */ new Set([1, 8453, 56, 137, 42161, 10, 100, 143, 130, 999, 4663, 43114, 534352, 80094, 324, 42220, 4326, 9745, 59144, 146, 480, 1329, 57073, 98866, 196, 5042, 5e3, 747474, 2818, 14, 99901]);
33
33
  var lifi = {
34
34
  enabled: () => true,
35
35
  apiKey: () => void 0,
@@ -604,6 +604,9 @@ var LIFI_CHAIN = {
604
604
  "eip155:747474": "747474",
605
605
  "eip155:2818": "2818",
606
606
  "eip155:14": "14",
607
+ // 2026-11-10: Elysium (Kinetiq; li.quest/v1/chains id 99901, key "ely"). LI.FI's bridges there are Relay (refused
608
+ // below: UNBOUND_TOOLS) and LI.FI Intents; same-chain swaps go through GenericSwapFacetV3 (KyberSwap, Nordstern).
609
+ "eip155:99901": "99901",
607
610
  [LIFI_SOLANA_CAIP2]: "1151111081099710"
608
611
  };
609
612
  var CAIP2_BY_LIFI_CHAIN = Object.fromEntries(Object.entries(LIFI_CHAIN).map(([caip2, id]) => [id, caip2]));
@@ -656,6 +659,10 @@ var LIFI_DIAMONDS = {
656
659
  // Morph
657
660
  "eip155:14": "0x198FC70Dfe05E755C81e54bd67Bff3F729344B9b",
658
661
  // Flare (li.quest diamondAddress 2026-10-14; the canonical 0x1231… has no code there)
662
+ // Elysium: li.quest diamondAddress = deployments/elysium.json LiFiDiamond; code on 99901, DiamondLoupe facets() serves
663
+ // GenericSwapFacetV3 + LiFiIntentEscrowFacetV2; the canonical 0x1231… has no code there (all read 2026-11-10).
664
+ "eip155:99901": "0x24E6dA91AA4A8FEe2447F542c92E006243bd6Dc5",
665
+ // Elysium
659
666
  "eip155:4326": "0x026F252016A7C47CDEf1F05a3Fc9E20C92a49C37"
660
667
  // MegaETH (deployments/megaeth.json, matches a live quote 2026-10-12)
661
668
  };