From 6d57a98f33cae432c31d5901465f69e86b7a07b5 Mon Sep 17 00:00:00 2001 From: isawalhi <55400143+isawalhi@users.noreply.github.com> Date: Tue, 8 Apr 2025 12:17:35 +0400 Subject: [PATCH 1/2] fix(metrics): use clearInterval instead of clearTimeout in stop() (#246) --- src/metrics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metrics.ts b/src/metrics.ts index 0ef8c55..01d40d0 100644 --- a/src/metrics.ts +++ b/src/metrics.ts @@ -107,7 +107,7 @@ export default class Metrics { public stop() { if (this.timer) { - clearTimeout(this.timer); + clearInterval(this.timer); delete this.timer; } } From 3c994f09c00ea0fe03cbba6f8d3cf21864f6aafc Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 8 Apr 2025 08:24:22 +0000 Subject: [PATCH 2/2] v3.7.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 86bffd1..1b27973 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unleash-proxy-client", - "version": "3.7.4", + "version": "3.7.5", "description": "A browser client that can be used together with Unleash Edge or the Unleash Frontend API.", "type": "module", "main": "./build/index.cjs",