@indexing/jiti 0.0.46 → 0.0.47

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
@@ -1897,10 +1897,14 @@ const $dc0c078500ed1fea$var$filterValuesTemplate = {
1897
1897
  const values = new Set();
1898
1898
  for (const tx of block.txs_results){
1899
1899
  for (const evt of tx.events || [])for (const attr of evt.attributes || []){
1900
- let val = attr.value;
1900
+ const val = attr.value;
1901
1901
  if (typeof val === "string" && val?.length > 35 && val?.length < 70) {
1902
- if (val.endsWith("=")) val = atob(val);
1903
1902
  values.add(val);
1903
+ try {
1904
+ values.add(atob(val));
1905
+ } catch (e) {
1906
+ // ignore this
1907
+ }
1904
1908
  }
1905
1909
  }
1906
1910
  }