nodebb-plugin-ezoic-infinite 1.8.92 → 1.8.93

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/client.js +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.8.92",
3
+ "version": "1.8.93",
4
4
  "description": "Production-ready Ezoic infinite ads integration for NodeBB 4.x",
5
5
  "main": "library.js",
6
6
  "license": "MIT",
package/public/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * NodeBB Ezoic Infinite Ads — client.js v2.5.0
2
+ * NodeBB Ezoic Infinite Ads — client.js v2.5.1
3
3
  *
4
4
  * Architecture: proven v50 core + targeted improvements.
5
5
  * Ezoic API: showAds() + destroyPlaceholders() per official docs.
@@ -904,8 +904,10 @@
904
904
  return;
905
905
  }
906
906
 
907
- // Normal exit: placeholders mounted, no reload triggered (healthy load)
908
- if (S.mountedIds.size > 0 && !_scriptReloaded) return;
907
+ // Normal exit: placeholders mounted, no reload triggered (healthy load).
908
+ // Exception: if Ezoic status is stuck (not absent and not 'complete'), continue
909
+ // so crash detection below can trigger the sa.min.js reload.
910
+ if (S.mountedIds.size > 0 && !_scriptReloaded && (!status || status === 'complete')) return;
909
911
  // Exit once reload is done and re-show has been triggered
910
912
  if (_scriptReloaded && _postReloadShown) return;
911
913