@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.
- package/bundles/ngxs-store.umd.js +15 -4
- package/bundles/ngxs-store.umd.js.map +1 -1
- package/esm2015/src/internal/custom-rxjs-subjects.js +16 -5
- package/fesm2015/ngxs-store.js +15 -4
- package/fesm2015/ngxs-store.js.map +1 -1
- package/package.json +1 -1
- package/src/internal/custom-rxjs-subjects.d.ts +7 -2
|
@@ -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.
|
|
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.
|
|
1263
|
-
_this.
|
|
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
|
|