@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/main.js CHANGED
@@ -1907,10 +1907,14 @@ const $9af31dbb692f94e3$var$filterValuesTemplate = {
1907
1907
  const values = new Set();
1908
1908
  for (const tx of block.txs_results){
1909
1909
  for (const evt of tx.events || [])for (const attr of evt.attributes || []){
1910
- let val = attr.value;
1910
+ const val = attr.value;
1911
1911
  if (typeof val === "string" && val?.length > 35 && val?.length < 70) {
1912
- if (val.endsWith("=")) val = atob(val);
1913
1912
  values.add(val);
1913
+ try {
1914
+ values.add(atob(val));
1915
+ } catch (e) {
1916
+ // ignore this
1917
+ }
1914
1918
  }
1915
1919
  }
1916
1920
  }