dexie-cloud-addon 4.0.1-beta.32 → 4.0.1-beta.34
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/dist/modern/dexie-cloud-addon.js +11 -9
- package/dist/modern/dexie-cloud-addon.js.map +1 -1
- package/dist/modern/dexie-cloud-addon.min.js +1 -1
- package/dist/modern/dexie-cloud-addon.min.js.map +1 -1
- package/dist/modern/service-worker.js +10 -8
- package/dist/modern/service-worker.js.map +1 -1
- package/dist/modern/service-worker.min.js +1 -1
- package/dist/modern/service-worker.min.js.map +1 -1
- package/dist/module-es5/dexie-cloud-addon.js +13 -11
- package/dist/module-es5/dexie-cloud-addon.js.map +1 -1
- package/dist/module-es5/dexie-cloud-addon.min.js +1 -1
- package/dist/module-es5/dexie-cloud-addon.min.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.js +13 -11
- package/dist/umd/dexie-cloud-addon.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.min.js +1 -1
- package/dist/umd/dexie-cloud-addon.min.js.map +1 -1
- package/dist/umd/service-worker.js +10 -8
- package/dist/umd/service-worker.js.map +1 -1
- package/dist/umd/service-worker.min.js +1 -1
- package/dist/umd/service-worker.min.js.map +1 -1
- package/dist/umd-modern/dexie-cloud-addon.js +8 -6
- package/dist/umd-modern/dexie-cloud-addon.js.map +1 -1
- package/dist/umd-modern/dexie-cloud-addon.min.js +1 -1
- package/dist/umd-modern/dexie-cloud-addon.min.js.map +1 -1
- package/package.json +9 -5
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
var Dexie__default = /*#__PURE__*/_interopDefaultLegacy(Dexie);
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
/*! *****************************************************************************
|
|
30
30
|
Copyright (c) Microsoft Corporation.
|
|
31
31
|
|
|
32
32
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
ar[i] = from[i];
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
return to.concat(ar ||
|
|
134
|
+
return to.concat(ar || from);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
function __await(v) {
|
|
@@ -1306,6 +1306,7 @@
|
|
|
1306
1306
|
return _this;
|
|
1307
1307
|
}
|
|
1308
1308
|
AsyncAction.prototype.schedule = function (state, delay) {
|
|
1309
|
+
var _a;
|
|
1309
1310
|
if (delay === void 0) { delay = 0; }
|
|
1310
1311
|
if (this.closed) {
|
|
1311
1312
|
return this;
|
|
@@ -1318,7 +1319,7 @@
|
|
|
1318
1319
|
}
|
|
1319
1320
|
this.pending = true;
|
|
1320
1321
|
this.delay = delay;
|
|
1321
|
-
this.id = this.id
|
|
1322
|
+
this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);
|
|
1322
1323
|
return this;
|
|
1323
1324
|
};
|
|
1324
1325
|
AsyncAction.prototype.requestAsyncId = function (scheduler, _id, delay) {
|
|
@@ -1330,7 +1331,9 @@
|
|
|
1330
1331
|
if (delay != null && this.delay === delay && this.pending === false) {
|
|
1331
1332
|
return id;
|
|
1332
1333
|
}
|
|
1333
|
-
|
|
1334
|
+
if (id != null) {
|
|
1335
|
+
intervalProvider.clearInterval(id);
|
|
1336
|
+
}
|
|
1334
1337
|
return undefined;
|
|
1335
1338
|
};
|
|
1336
1339
|
AsyncAction.prototype.execute = function (state, delay) {
|
|
@@ -1406,7 +1409,6 @@
|
|
|
1406
1409
|
var _this = _super.call(this, SchedulerAction, now) || this;
|
|
1407
1410
|
_this.actions = [];
|
|
1408
1411
|
_this._active = false;
|
|
1409
|
-
_this._scheduled = undefined;
|
|
1410
1412
|
return _this;
|
|
1411
1413
|
}
|
|
1412
1414
|
AsyncScheduler.prototype.flush = function (action) {
|
|
@@ -1816,7 +1818,7 @@
|
|
|
1816
1818
|
return concat$1(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));
|
|
1817
1819
|
};
|
|
1818
1820
|
}
|
|
1819
|
-
return mergeMap(function (value, index) { return delayDurationSelector(value, index).pipe(take(1), mapTo(value)); });
|
|
1821
|
+
return mergeMap(function (value, index) { return innerFrom(delayDurationSelector(value, index)).pipe(take(1), mapTo(value)); });
|
|
1820
1822
|
}
|
|
1821
1823
|
|
|
1822
1824
|
function delay(due, scheduler) {
|