@relevanceai/sdk 3.0.0-rc.0 → 3.0.0-rc.1

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.
package/esm/task/task.js CHANGED
@@ -148,6 +148,7 @@ export class Task extends Emitter {
148
148
  }
149
149
  [resetBackoffDuration]() {
150
150
  this.backoffDuration = backoffStartingDuration;
151
+ this.backoff?.abort();
151
152
  }
152
153
  addEventListener(type, listener, options) {
153
154
  this.#subscribe();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relevanceai/sdk",
3
- "version": "3.0.0-rc.0",
3
+ "version": "3.0.0-rc.1",
4
4
  "license": "MIT",
5
5
  "main": "./script/mod.js",
6
6
  "module": "./esm/mod.js",
@@ -151,6 +151,7 @@ class Task extends emitter_js_1.Emitter {
151
151
  }
152
152
  [exports.resetBackoffDuration]() {
153
153
  this.backoffDuration = backoffStartingDuration;
154
+ this.backoff?.abort();
154
155
  }
155
156
  addEventListener(type, listener, options) {
156
157
  this.#subscribe();