dexie-cloud-addon 4.0.0-beta.13 → 4.0.0-beta.14

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.
@@ -1,5 +1,5 @@
1
1
  import Dexie, { liveQuery, cmp } from 'dexie';
2
- import { BehaviorSubject, fromEvent, of, merge, from as from$1, Observable as Observable$1, Subject, Subscription as Subscription$1, switchMap as switchMap$1, combineLatest, map as map$1, share, timer as timer$1, throwError } from 'rxjs';
2
+ import { BehaviorSubject, fromEvent, of, merge, from as from$1, Observable as Observable$1, Subscription as Subscription$1, Subject, switchMap as switchMap$1, combineLatest, map as map$1, throwError, share, timer as timer$1 } from 'rxjs';
3
3
 
4
4
  /*! *****************************************************************************
5
5
  Copyright (c) Microsoft Corporation.
@@ -101,7 +101,7 @@ function __spreadArray$1(to, from, pack) {
101
101
  *
102
102
  * ==========================================================================
103
103
  *
104
- * Version 4.0.0-beta.13, Sun Dec 19 2021
104
+ * Version 4.0.0-beta.14, Mon Dec 20 2021
105
105
  *
106
106
  * https://dexie.org
107
107
  *
@@ -811,7 +811,8 @@ var timeoutProvider = {
811
811
  for (var _i = 0; _i < arguments.length; _i++) {
812
812
  args[_i] = arguments[_i];
813
813
  }
814
- return (setTimeout).apply(void 0, __spreadArray([], __read(args)));
814
+ var delegate = timeoutProvider.delegate;
815
+ return ((delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) || setTimeout).apply(void 0, __spreadArray([], __read(args)));
815
816
  },
816
817
  clearTimeout: function (handle) {
817
818
  return (clearTimeout)(handle);
@@ -851,23 +852,20 @@ var Subscriber = (function (_super) {
851
852
  return new SafeSubscriber(next, error, complete);
852
853
  };
853
854
  Subscriber.prototype.next = function (value) {
854
- if (this.isStopped)
855
- ;
855
+ if (this.isStopped) ;
856
856
  else {
857
857
  this._next(value);
858
858
  }
859
859
  };
860
860
  Subscriber.prototype.error = function (err) {
861
- if (this.isStopped)
862
- ;
861
+ if (this.isStopped) ;
863
862
  else {
864
863
  this.isStopped = true;
865
864
  this._error(err);
866
865
  }
867
866
  };
868
867
  Subscriber.prototype.complete = function () {
869
- if (this.isStopped)
870
- ;
868
+ if (this.isStopped) ;
871
869
  else {
872
870
  this.isStopped = true;
873
871
  this._complete();
@@ -1322,7 +1320,8 @@ var intervalProvider = {
1322
1320
  for (var _i = 0; _i < arguments.length; _i++) {
1323
1321
  args[_i] = arguments[_i];
1324
1322
  }
1325
- return (setInterval).apply(void 0, __spreadArray([], __read(args)));
1323
+ var delegate = intervalProvider.delegate;
1324
+ return ((delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) || setInterval).apply(void 0, __spreadArray([], __read(args)));
1326
1325
  },
1327
1326
  clearInterval: function (handle) {
1328
1327
  return (clearInterval)(handle);
@@ -6198,7 +6197,7 @@ n = { __e: function (n, l) { for (var u, i, t; l = l.__;)
6198
6197
  }
6199
6198
  catch (l) {
6200
6199
  n = l;
6201
- } throw n; }, __v: 0 }, p$1.prototype.setState = function (n, l) { var u; u = null != this.__s && this.__s !== this.state ? this.__s : this.__s = c$1({}, this.state), "function" == typeof n && (n = n(c$1({}, u), this.props)), n && c$1(u, n), null != n && this.__v && (l && this.__h.push(l), k$1(this)); }, p$1.prototype.forceUpdate = function (n) { this.__v && (this.__e = !0, n && this.__h.push(n), k$1(this)); }, p$1.prototype.render = y, u$1 = [], i$1 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, b$1.__r = 0, 0;
6200
+ } throw n; }, __v: 0 }, p$1.prototype.setState = function (n, l) { var u; u = null != this.__s && this.__s !== this.state ? this.__s : this.__s = c$1({}, this.state), "function" == typeof n && (n = n(c$1({}, u), this.props)), n && c$1(u, n), null != n && this.__v && (l && this.__h.push(l), k$1(this)); }, p$1.prototype.forceUpdate = function (n) { this.__v && (this.__e = !0, n && this.__h.push(n), k$1(this)); }, p$1.prototype.render = y, u$1 = [], i$1 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, b$1.__r = 0;
6202
6201
  var Styles = {
6203
6202
  Error: {
6204
6203
  color: "red",
@@ -6753,7 +6752,7 @@ function dexieCloud(dexie) {
6753
6752
  currentUserEmitter.next(UNAUTHORIZED_USER);
6754
6753
  });
6755
6754
  dexie.cloud = {
6756
- version: '4.0.0-beta.13',
6755
+ version: '4.0.0-beta.14',
6757
6756
  options: __assign({}, DEFAULT_OPTIONS),
6758
6757
  schema: null,
6759
6758
  serverState: null,
@@ -7080,9 +7079,8 @@ function dexieCloud(dexie) {
7080
7079
  });
7081
7080
  }
7082
7081
  }
7083
- dexieCloud.version = '4.0.0-beta.13';
7082
+ dexieCloud.version = '4.0.0-beta.14';
7084
7083
  Dexie.Cloud = dexieCloud;
7085
7084
 
7086
- export default dexieCloud;
7087
- export { dexieCloud, getTiedObjectId, getTiedRealmId };
7085
+ export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId };
7088
7086
  //# sourceMappingURL=dexie-cloud-addon.js.map