nodebb-plugin-ezoic-infinite 1.8.91 → 1.8.92

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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "WebFetch(domain:registry.npmjs.org)",
5
+ "Bash(curl -sL \"https://registry.npmjs.org/nodebb-plugin-ezoic-infinite/-/nodebb-plugin-ezoic-infinite-1.8.81.tgz\" -o /tmp/ezoic-1.8.81.tgz && tar -tzf /tmp/ezoic-1.8.81.tgz)",
6
+ "Bash(tar -xzf /tmp/ezoic-1.8.81.tgz -C /tmp/ package/library.js package/public/client.js package/package.json)",
7
+ "Bash(cd /tmp && curl -sL \"https://registry.npmjs.org/nodebb-plugin-ezoic-infinite/-/nodebb-plugin-ezoic-infinite-1.8.81.tgz\" -o ezoic-1.8.81.tgz && tar -xzf ezoic-1.8.81.tgz && echo \"Extracted OK\")"
8
+ ]
9
+ }
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-ezoic-infinite",
3
- "version": "1.8.91",
3
+ "version": "1.8.92",
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
@@ -545,14 +545,6 @@
545
545
  window.ezstandalone = window.ezstandalone || {};
546
546
  const ez = window.ezstandalone;
547
547
  const doShow = () => {
548
- const status = ez.loadingStatus;
549
- if (status && status !== 'complete') {
550
- // Ezoic not ready yet — release slot and let next burst retry
551
- clearTimeout(timer);
552
- release();
553
- setTimeout(() => { if (!isBlocked()) enqueueShow(id); }, 800);
554
- return;
555
- }
556
548
  try { ez.showAds(id); } catch (_) {}
557
549
  if (wrap) scheduleUncollapseChecks(wrap, id);
558
550
  scheduleEmptyCheck(id, t);