@1delta/margin-fetcher 0.0.48 → 0.0.51
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-CLG3VWWF.js → _esm-32O7VXQT.js} +83 -62
- package/dist/_esm-32O7VXQT.js.map +1 -0
- package/dist/ccip-DSCWXCSY-ZVJKF72J.js +4 -0
- package/dist/ccip-DSCWXCSY-ZVJKF72J.js.map +1 -0
- package/dist/ccip-EHIFPB3Q.js +5 -0
- package/dist/ccip-EHIFPB3Q.js.map +1 -0
- package/dist/{chunk-3CGLGAGR.js → chunk-BYTNVMX7.js} +6 -44
- package/dist/chunk-BYTNVMX7.js.map +1 -0
- package/dist/{chunk-TQZVAE5Q.js → chunk-GVXFZPTM.js} +9 -268
- package/dist/chunk-GVXFZPTM.js.map +1 -0
- package/dist/{chunk-5UWY3SMD.js → chunk-OWVZT672.js} +7 -10
- package/dist/chunk-OWVZT672.js.map +1 -0
- package/dist/{chunk-4VNS5WPM.js → chunk-PR4QN5HX.js} +3 -6
- package/dist/chunk-PR4QN5HX.js.map +1 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -54787
- package/dist/index.js.map +1 -0
- package/dist/lending/index.d.ts +5 -5
- package/dist/lending/index.d.ts.map +1 -1
- package/dist/prices/main-prices/addresses/chainlink.d.ts +0 -6
- package/dist/prices/main-prices/addresses/chainlink.d.ts.map +1 -1
- package/dist/{secp256k1-WKIOWUKN.js → secp256k1-XP7IUONI.js} +8 -46
- package/dist/secp256k1-XP7IUONI.js.map +1 -0
- package/package.json +6 -4
- package/dist/_esm-GM6SX2RK.js +0 -55
- package/dist/ccip-DSCWXCSY-PT2JGHUX.js +0 -13
- package/dist/ccip-QOODCD4F.js +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import 'crypto';
|
|
2
|
+
|
|
1
3
|
// ../../node_modules/.pnpm/@1delta+dex-registry@0.0.80/node_modules/@1delta/dex-registry/dist/chunk-KVV7WODB.mjs
|
|
2
|
-
import * as nc from "crypto";
|
|
3
|
-
var crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && "randomBytes" in nc ? nc : void 0;
|
|
4
4
|
function isBytes(a) {
|
|
5
5
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
6
6
|
}
|
|
@@ -3590,7 +3590,7 @@ async function call(client, args) {
|
|
|
3590
3590
|
return { data: response };
|
|
3591
3591
|
} catch (err) {
|
|
3592
3592
|
const data2 = getRevertErrorData(err);
|
|
3593
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import(
|
|
3593
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import('./ccip-DSCWXCSY-ZVJKF72J.js');
|
|
3594
3594
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature2 && to)
|
|
3595
3595
|
return { data: await offchainLookup2(client, { data: data2, to }) };
|
|
3596
3596
|
if (deploylessCall && data2?.slice(0, 10) === "0x101bb98d")
|
|
@@ -3956,13 +3956,6 @@ async function ccipRequest({ data, sender, urls }) {
|
|
|
3956
3956
|
}
|
|
3957
3957
|
throw error;
|
|
3958
3958
|
}
|
|
3959
|
-
|
|
3960
|
-
export {
|
|
3961
|
-
offchainLookupSignature,
|
|
3962
|
-
offchainLookupAbiItem,
|
|
3963
|
-
offchainLookup,
|
|
3964
|
-
ccipRequest
|
|
3965
|
-
};
|
|
3966
3959
|
/*! Bundled license information:
|
|
3967
3960
|
|
|
3968
3961
|
@1delta/dex-registry/dist/chunk-KVV7WODB.mjs:
|
|
@@ -3975,3 +3968,7 @@ export {
|
|
|
3975
3968
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
|
3976
3969
|
*)
|
|
3977
3970
|
*/
|
|
3971
|
+
|
|
3972
|
+
export { ccipRequest, offchainLookup, offchainLookupAbiItem, offchainLookupSignature };
|
|
3973
|
+
//# sourceMappingURL=chunk-OWVZT672.js.map
|
|
3974
|
+
//# sourceMappingURL=chunk-OWVZT672.js.map
|