n8n-nodes-sudomock 0.3.0 → 0.3.1

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.
@@ -23,7 +23,7 @@ async function pollJob(jobId, timeoutSeconds) {
23
23
  if (Date.now() + delayMs >= deadline) {
24
24
  throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Timed out after ${timeoutSeconds}s waiting for job ${jobId} (last status: ${job.status ?? 'unknown'})`);
25
25
  }
26
- await new Promise((resolve) => setTimeout(resolve, delayMs));
26
+ await (0, n8n_workflow_1.sleep)(delayMs);
27
27
  delayMs = Math.min(delayMs * 1.5, 8000);
28
28
  }
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-sudomock",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "n8n community node for SudoMock mockup rendering API - POD automation",
5
5
  "license": "MIT",
6
6
  "homepage": "https://sudomock.com",