@indexing/jiti 0.0.75 → 0.0.77

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/module.js CHANGED
@@ -275,6 +275,7 @@ function $42564d9f228fe302$export$db81f9ea057ab646(address) {
275
275
  var $68871103c7bc00cf$exports = {};
276
276
 
277
277
  $parcel$export($68871103c7bc00cf$exports, "evmChainToId", () => $68871103c7bc00cf$export$f93b8abed77a4120);
278
+ $parcel$export($68871103c7bc00cf$exports, "evmIdToChain", () => $68871103c7bc00cf$export$88f733cc92705522);
278
279
  const $68871103c7bc00cf$var$CHAIN_ID = {
279
280
  "0G": 16661,
280
281
  ABSTRACT: 2741,
@@ -400,6 +401,11 @@ const $68871103c7bc00cf$var$CHAIN_ID = {
400
401
  function $68871103c7bc00cf$export$f93b8abed77a4120(chain) {
401
402
  return $68871103c7bc00cf$var$CHAIN_ID[chain?.toUpperCase()];
402
403
  }
404
+ const $68871103c7bc00cf$var$ID_TO_CHAIN = {};
405
+ for (const [chain, id] of Object.entries($68871103c7bc00cf$var$CHAIN_ID))if (!(id in $68871103c7bc00cf$var$ID_TO_CHAIN)) $68871103c7bc00cf$var$ID_TO_CHAIN[id] = chain;
406
+ function $68871103c7bc00cf$export$88f733cc92705522(id) {
407
+ return $68871103c7bc00cf$var$ID_TO_CHAIN[typeof id === "string" ? Number(id) : id];
408
+ }
403
409
 
404
410
 
405
411
  var $cfa23334cbdf9391$exports = {};