@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/main.js CHANGED
@@ -284,6 +284,7 @@ function $596a656635c74d50$export$db81f9ea057ab646(address) {
284
284
  var $e5566e47593dc3e2$exports = {};
285
285
 
286
286
  $parcel$export($e5566e47593dc3e2$exports, "evmChainToId", () => $e5566e47593dc3e2$export$f93b8abed77a4120);
287
+ $parcel$export($e5566e47593dc3e2$exports, "evmIdToChain", () => $e5566e47593dc3e2$export$88f733cc92705522);
287
288
  const $e5566e47593dc3e2$var$CHAIN_ID = {
288
289
  "0G": 16661,
289
290
  ABSTRACT: 2741,
@@ -409,6 +410,11 @@ const $e5566e47593dc3e2$var$CHAIN_ID = {
409
410
  function $e5566e47593dc3e2$export$f93b8abed77a4120(chain) {
410
411
  return $e5566e47593dc3e2$var$CHAIN_ID[chain?.toUpperCase()];
411
412
  }
413
+ const $e5566e47593dc3e2$var$ID_TO_CHAIN = {};
414
+ for (const [chain, id] of Object.entries($e5566e47593dc3e2$var$CHAIN_ID))if (!(id in $e5566e47593dc3e2$var$ID_TO_CHAIN)) $e5566e47593dc3e2$var$ID_TO_CHAIN[id] = chain;
415
+ function $e5566e47593dc3e2$export$88f733cc92705522(id) {
416
+ return $e5566e47593dc3e2$var$ID_TO_CHAIN[typeof id === "string" ? Number(id) : id];
417
+ }
412
418
 
413
419
 
414
420
  var $da55be3e40667945$exports = {};