Skip to content

Commit 15c74bd

Browse files
author
manu
committed
fix: remove delay from polling loop; bump v1.0.5
1 parent d9de6e9 commit 15c74bd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "n8n-nodes-crossmint",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Crossmint n8n node",
55
"license": "MIT",
66
"homepage": "https://crossmint.com",

shared/actions/wallet/signTransaction.operation.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { IExecuteFunctions, NodeOperationError, NodeApiError, IDataObject } from 'n8n-workflow';
2-
import { setTimeout as delay } from 'timers/promises';
32
import { CrossmintApi } from '../../transport/CrossmintApi';
43
import { API_VERSIONS, PAGINATION } from '../../utils/constants';
54
import { validatePrivateKey, validateRequiredField } from '../../utils/validation';
@@ -32,7 +31,6 @@ async function handleWaitForCompletion(
3231
} as IDataObject;
3332

3433
while (currentStatus === 'pending' && attempts < PAGINATION.MAX_ATTEMPTS) {
35-
await delay(PAGINATION.POLL_INTERVAL);
3634
attempts++;
3735

3836
try {

0 commit comments

Comments
 (0)