n8n-nodes-emboss 1.0.1 → 1.0.2
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.
|
@@ -9,7 +9,7 @@ async function pollUntilReady(ctx, url, opts = {}) {
|
|
|
9
9
|
const maxAttempts = opts.maxAttempts ?? 100; // 3s * 100 ≈ 5 min
|
|
10
10
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
11
11
|
if (intervalMs > 0)
|
|
12
|
-
await
|
|
12
|
+
await (0, n8n_workflow_1.sleep)(intervalMs);
|
|
13
13
|
const payload = await ctx.helpers.httpRequestWithAuthentication.call(ctx, 'embossApi', { url });
|
|
14
14
|
if (payload.status === 'failed') {
|
|
15
15
|
const e = payload.error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-emboss",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "n8n node for Emboss — create fillable PDFs and fill forms from context.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Emboss",
|
|
@@ -37,6 +37,9 @@
|
|
|
37
37
|
"dist",
|
|
38
38
|
"LICENSE"
|
|
39
39
|
],
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"n8n-workflow": "*"
|
|
42
|
+
},
|
|
40
43
|
"devDependencies": {
|
|
41
44
|
"@types/jest": "^29.5.12",
|
|
42
45
|
"@types/node": "^20.12.7",
|