eligius 1.0.18 → 1.0.19
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/eligius.cjs.development.js +11 -6
- package/dist/eligius.cjs.development.js.map +1 -1
- package/dist/eligius.cjs.production.min.js +1 -1
- package/dist/eligius.cjs.production.min.js.map +1 -1
- package/dist/eligius.esm.js +11 -6
- package/dist/eligius.esm.js.map +1 -1
- package/dist/operation/types.d.ts +4 -0
- package/dist/operation/when.d.ts +1 -1
- package/package.json +2 -2
|
@@ -576,9 +576,17 @@ var Action = /*#__PURE__*/function () {
|
|
|
576
576
|
|
|
577
577
|
_proto._pushContext = function _pushContext(parentContext) {
|
|
578
578
|
var newContext = {
|
|
579
|
-
currentIndex
|
|
579
|
+
get currentIndex() {
|
|
580
|
+
return parentContext.currentIndex;
|
|
581
|
+
},
|
|
582
|
+
|
|
583
|
+
set currentIndex(value) {
|
|
584
|
+
parentContext.currentIndex = value;
|
|
585
|
+
},
|
|
586
|
+
|
|
580
587
|
eventbus: parentContext.eventbus,
|
|
581
|
-
operations: parentContext.operations
|
|
588
|
+
operations: parentContext.operations,
|
|
589
|
+
parent: parentContext
|
|
582
590
|
};
|
|
583
591
|
|
|
584
592
|
this._contextStack.push(newContext);
|
|
@@ -587,10 +595,7 @@ var Action = /*#__PURE__*/function () {
|
|
|
587
595
|
};
|
|
588
596
|
|
|
589
597
|
_proto._popContext = function _popContext() {
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
var newCurrentContext = this._contextStack[this._contextStack.length - 1];
|
|
593
|
-
newCurrentContext.currentIndex = previousContext.currentIndex;
|
|
598
|
+
this._contextStack.pop();
|
|
594
599
|
};
|
|
595
600
|
|
|
596
601
|
_proto.executeOperation = function executeOperation(operations, idx, resolve, reject, previousOperationData) {
|