@powfix/core-js 0.24.3 → 0.24.4

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.
@@ -37,11 +37,10 @@ var DedupedTaskManager = /*#__PURE__*/ function() {
37
37
  }
38
38
  }
39
39
  var task = factory().finally(function() {
40
- var ttl = options === null || options === void 0 ? void 0 : options.ttl;
41
- if (ttl) {
40
+ if (options === null || options === void 0 ? void 0 : options.ttl) {
42
41
  setTimeout(function() {
43
42
  chunkJE77HYXB_cjs.__privateGet(_this, _tasks).delete(key);
44
- }, ttl);
43
+ }, options.ttl);
45
44
  } else {
46
45
  chunkJE77HYXB_cjs.__privateGet(_this, _tasks).delete(key);
47
46
  }
@@ -37,11 +37,10 @@ var DedupedTaskManager = /*#__PURE__*/ function() {
37
37
  }
38
38
  }
39
39
  var task = factory().finally(function() {
40
- var ttl = options === null || options === void 0 ? void 0 : options.ttl;
41
- if (ttl) {
40
+ if (options === null || options === void 0 ? void 0 : options.ttl) {
42
41
  setTimeout(function() {
43
42
  __privateGet(_this, _tasks).delete(key);
44
- }, ttl);
43
+ }, options.ttl);
45
44
  } else {
46
45
  __privateGet(_this, _tasks).delete(key);
47
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powfix/core-js",
3
- "version": "0.24.3",
3
+ "version": "0.24.4",
4
4
  "description": "core package",
5
5
  "author": "Kwon Kyung-Min <powfix@gmail.com>",
6
6
  "private": false,