From 1894c1a895340b8f45f2331f403e7cf9edc1637a Mon Sep 17 00:00:00 2001 From: Henry Tsai Date: Wed, 12 Jun 2024 14:46:16 -0700 Subject: [PATCH] v0.3.7 (#757) --- package-lock.json | 4 ++-- package.json | 2 +- src/core/resumable-task-manager.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 674e4d5b3..e418d572a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tbd54566975/dwn-sdk-js", - "version": "0.3.6", + "version": "0.3.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tbd54566975/dwn-sdk-js", - "version": "0.3.6", + "version": "0.3.7", "license": "Apache-2.0", "dependencies": { "@ipld/dag-cbor": "9.0.3", diff --git a/package.json b/package.json index 2eb6071e1..8038c542f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tbd54566975/dwn-sdk-js", - "version": "0.3.6", + "version": "0.3.7", "description": "A reference implementation of https://identity.foundation/decentralized-web-node/spec/", "repository": { "type": "git", diff --git a/src/core/resumable-task-manager.ts b/src/core/resumable-task-manager.ts index 02e11459f..6e6698438 100644 --- a/src/core/resumable-task-manager.ts +++ b/src/core/resumable-task-manager.ts @@ -48,7 +48,7 @@ export class ResumableTaskManager { private async runWithAutomaticTimeoutExtension(managedTask: ManagedResumableTask): Promise { const timeoutInSeconds = ResumableTaskManager.timeoutExtensionFrequencyInSeconds * 2; // give ample time for extension to take place - let timer!: NodeJS.Timer; + let timer!: ReturnType; try { // start a timer loop to keep extending the timeout of the task until it is completed timer = setInterval(() => {