@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.
@@ -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("./ccip-DSCWXCSY-PT2JGHUX.js");
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