n8n-nodes-emboss 1.0.0 → 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 new Promise((r) => setTimeout(r, intervalMs));
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,10 +1,17 @@
1
1
  {
2
2
  "name": "n8n-nodes-emboss",
3
- "version": "1.0.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",
7
7
  "homepage": "https://getemboss.ai",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/GetEmboss-ai/n8n-nodes-emboss.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/GetEmboss-ai/n8n-nodes-emboss/issues"
14
+ },
8
15
  "keywords": [
9
16
  "n8n-community-node-package",
10
17
  "n8n",
@@ -30,6 +37,9 @@
30
37
  "dist",
31
38
  "LICENSE"
32
39
  ],
40
+ "peerDependencies": {
41
+ "n8n-workflow": "*"
42
+ },
33
43
  "devDependencies": {
34
44
  "@types/jest": "^29.5.12",
35
45
  "@types/node": "^20.12.7",