0xtrails 0.4.0 → 0.4.1
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/{ccip-BpQGQiWq.js → ccip-Bc-mZIIK.js} +1 -1
- package/dist/{index-DsJM5F-V.js → index-BWGjgMLm.js} +4 -4
- package/dist/index.js +559 -555
- package/dist/widget/hooks/useQuote.d.ts +2 -1
- package/dist/widget/hooks/useQuote.d.ts.map +1 -1
- package/dist/widget/index.js +1 -1
- package/package.json +2 -2
- package/src/indexerClient.ts +1 -1
- package/src/trailsClient.ts +1 -1
- package/src/widget/hooks/useQuote.ts +17 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ah as b, ai as x, aj as O, ak as S, al as $, am as F, an as E, ao as D, ap as w, aq as C, ar as R, as as G, at as I, au as y, av as L, aw as M, ax as m, ay as T, az as v, aA as H, aB as j, aC as B, aD as A, aE as U } from "./index-
|
|
1
|
+
import { ah as b, ai as x, aj as O, ak as S, al as $, am as F, an as E, ao as D, ap as w, aq as C, ar as R, as as G, at as I, au as y, av as L, aw as M, ax as m, ay as T, az as v, aA as H, aB as j, aC as B, aD as A, aE as U } from "./index-BWGjgMLm.js";
|
|
2
2
|
function _(a) {
|
|
3
3
|
const { abi: r, data: e } = a, s = b(e, 0, 4), t = r.find((n) => n.type === "function" && s === x(O(n)));
|
|
4
4
|
if (!t)
|
|
@@ -4311,7 +4311,7 @@ const Kf = (e) => {
|
|
|
4311
4311
|
const { projectAccessKey: t, jwt: n, env: r } = _8();
|
|
4312
4312
|
return De(() => fae({
|
|
4313
4313
|
indexerGatewayUrl: gf() ?? e?.indexerGatewayUrl ?? r.indexerGatewayUrl,
|
|
4314
|
-
projectAccessKey: Ii() ??
|
|
4314
|
+
projectAccessKey: e?.projectAccessKey ?? Ii() ?? t,
|
|
4315
4315
|
jwt: e?.jwt ?? n
|
|
4316
4316
|
}), [t, n, r.indexerGatewayUrl, e]);
|
|
4317
4317
|
};
|
|
@@ -10286,7 +10286,7 @@ var Vde = class {
|
|
|
10286
10286
|
return "0x" + t;
|
|
10287
10287
|
};
|
|
10288
10288
|
typeof process == "object" && process.version && process.version < "v18" && (console.error(`ERROR! expecting node v18+ but your node version is reporting ${process.version}`), process && process.exit && process.exit(1));
|
|
10289
|
-
const lue = "0.4.
|
|
10289
|
+
const lue = "0.4.1", due = {
|
|
10290
10290
|
version: lue
|
|
10291
10291
|
};
|
|
10292
10292
|
let Jl = null;
|
|
@@ -13959,7 +13959,7 @@ const Il = (e) => {
|
|
|
13959
13959
|
const { projectAccessKey: t, jwt: n } = _8();
|
|
13960
13960
|
return De(() => OA({
|
|
13961
13961
|
hostname: e?.hostname || W0(),
|
|
13962
|
-
apiKey: Ii() ||
|
|
13962
|
+
apiKey: e?.apiKey || Ii() || t,
|
|
13963
13963
|
jwt: e?.jwt || n
|
|
13964
13964
|
}), [e?.hostname, e?.apiKey, e?.jwt, t, n]);
|
|
13965
13965
|
}, uhe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -17949,7 +17949,7 @@ async function J$(e, t) {
|
|
|
17949
17949
|
});
|
|
17950
17950
|
return P === "0x" ? { data: void 0 } : { data: P };
|
|
17951
17951
|
} catch (R) {
|
|
17952
|
-
const b = sme(R), { offchainLookup: k, offchainLookupSignature: L } = await import("./ccip-
|
|
17952
|
+
const b = sme(R), { offchainLookup: k, offchainLookupSignature: L } = await import("./ccip-Bc-mZIIK.js");
|
|
17953
17953
|
if (e.ccipRead !== !1 && b?.slice(0, 10) === L && T)
|
|
17954
17954
|
return { data: await k(e, { data: b, to: T }) };
|
|
17955
17955
|
throw q && b?.slice(0, 10) === "0x101bb98d" ? new Ppe({ factory: h }) : Gpe(R, {
|