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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
var Dexie__default = /*#__PURE__*/_interopDefaultLegacy(Dexie);
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
/*! *****************************************************************************
|
|
12
12
|
Copyright (c) Microsoft Corporation.
|
|
13
13
|
|
|
14
14
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
ar[i] = from[i];
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
return to.concat(ar ||
|
|
116
|
+
return to.concat(ar || from);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
function __await(v) {
|
|
@@ -1096,6 +1096,7 @@
|
|
|
1096
1096
|
return _this;
|
|
1097
1097
|
}
|
|
1098
1098
|
AsyncAction.prototype.schedule = function (state, delay) {
|
|
1099
|
+
var _a;
|
|
1099
1100
|
if (delay === void 0) { delay = 0; }
|
|
1100
1101
|
if (this.closed) {
|
|
1101
1102
|
return this;
|
|
@@ -1108,7 +1109,7 @@
|
|
|
1108
1109
|
}
|
|
1109
1110
|
this.pending = true;
|
|
1110
1111
|
this.delay = delay;
|
|
1111
|
-
this.id = this.id
|
|
1112
|
+
this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);
|
|
1112
1113
|
return this;
|
|
1113
1114
|
};
|
|
1114
1115
|
AsyncAction.prototype.requestAsyncId = function (scheduler, _id, delay) {
|
|
@@ -1120,7 +1121,9 @@
|
|
|
1120
1121
|
if (delay != null && this.delay === delay && this.pending === false) {
|
|
1121
1122
|
return id;
|
|
1122
1123
|
}
|
|
1123
|
-
|
|
1124
|
+
if (id != null) {
|
|
1125
|
+
intervalProvider.clearInterval(id);
|
|
1126
|
+
}
|
|
1124
1127
|
return undefined;
|
|
1125
1128
|
};
|
|
1126
1129
|
AsyncAction.prototype.execute = function (state, delay) {
|
|
@@ -1196,7 +1199,6 @@
|
|
|
1196
1199
|
var _this = _super.call(this, SchedulerAction, now) || this;
|
|
1197
1200
|
_this.actions = [];
|
|
1198
1201
|
_this._active = false;
|
|
1199
|
-
_this._scheduled = undefined;
|
|
1200
1202
|
return _this;
|
|
1201
1203
|
}
|
|
1202
1204
|
AsyncScheduler.prototype.flush = function (action) {
|
|
@@ -1606,7 +1608,7 @@
|
|
|
1606
1608
|
return concat$1(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));
|
|
1607
1609
|
};
|
|
1608
1610
|
}
|
|
1609
|
-
return mergeMap(function (value, index) { return delayDurationSelector(value, index).pipe(take(1), mapTo(value)); });
|
|
1611
|
+
return mergeMap(function (value, index) { return innerFrom(delayDurationSelector(value, index)).pipe(take(1), mapTo(value)); });
|
|
1610
1612
|
}
|
|
1611
1613
|
|
|
1612
1614
|
function delay(due, scheduler) {
|
|
@@ -5944,7 +5946,7 @@
|
|
|
5944
5946
|
currentUserEmitter.next(UNAUTHORIZED_USER);
|
|
5945
5947
|
});
|
|
5946
5948
|
dexie.cloud = {
|
|
5947
|
-
version: '4.0.1-beta.
|
|
5949
|
+
version: '4.0.1-beta.34',
|
|
5948
5950
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
5949
5951
|
schema: null,
|
|
5950
5952
|
get currentUserId() {
|
|
@@ -6199,7 +6201,7 @@
|
|
|
6199
6201
|
});
|
|
6200
6202
|
}
|
|
6201
6203
|
}
|
|
6202
|
-
dexieCloud.version = '4.0.1-beta.
|
|
6204
|
+
dexieCloud.version = '4.0.1-beta.34';
|
|
6203
6205
|
Dexie__default["default"].Cloud = dexieCloud;
|
|
6204
6206
|
|
|
6205
6207
|
// In case the SW lives for a while, let it reuse already opened connections:
|