@ngxs/store 3.8.0-dev.master-fc39b56 → 3.8.0-dev.master-e8f6567

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.
@@ -1236,9 +1236,12 @@
1236
1236
  __extends(OrderedSubject, _super);
1237
1237
  function OrderedSubject() {
1238
1238
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1239
- _this.next = orderedQueueOperation(function (value) { return _super.prototype.next.call(_this, value); });
1239
+ _this._orderedNext = orderedQueueOperation(function (value) { return _super.prototype.next.call(_this, value); });
1240
1240
  return _this;
1241
1241
  }
1242
+ OrderedSubject.prototype.next = function (value) {
1243
+ this._orderedNext(value);
1244
+ };
1242
1245
  return OrderedSubject;
1243
1246
  }(rxjs.Subject));
1244
1247
  /**
@@ -1258,11 +1261,19 @@
1258
1261
  */
1259
1262
  var OrderedBehaviorSubject = /** @class */ (function (_super) {
1260
1263
  __extends(OrderedBehaviorSubject, _super);
1261
- function OrderedBehaviorSubject() {
1262
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1263
- _this.next = orderedQueueOperation(function (value) { return _super.prototype.next.call(_this, value); });
1264
+ function OrderedBehaviorSubject(value) {
1265
+ var _this = _super.call(this, value) || this;
1266
+ _this._orderedNext = orderedQueueOperation(function (value) { return _super.prototype.next.call(_this, value); });
1267
+ _this._currentValue = value;
1264
1268
  return _this;
1265
1269
  }
1270
+ OrderedBehaviorSubject.prototype.getValue = function () {
1271
+ return this._currentValue;
1272
+ };
1273
+ OrderedBehaviorSubject.prototype.next = function (value) {
1274
+ this._currentValue = value;
1275
+ this._orderedNext(value);
1276
+ };
1266
1277
  return OrderedBehaviorSubject;
1267
1278
  }(rxjs.BehaviorSubject));
1268
1279