@superinterface/react 5.4.2 → 5.4.3
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/index.cjs +2 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43160,13 +43160,10 @@ var splitRunSteps = function(_ref) {
|
|
|
43160
43160
|
runSteps
|
|
43161
43161
|
];
|
|
43162
43162
|
}
|
|
43163
|
-
var
|
|
43163
|
+
var prevMcIndex = runSteps.slice(0, messageCreationRunStepIndex).findLastIndex(function(runStep) {
|
|
43164
43164
|
return runStep.step_details.type === "message_creation";
|
|
43165
43165
|
});
|
|
43166
|
-
|
|
43167
|
-
nextRunStepIndex = 0;
|
|
43168
|
-
}
|
|
43169
|
-
var laterRunSteps = runSteps.slice(nextRunStepIndex, messageCreationRunStepIndex);
|
|
43166
|
+
var laterRunSteps = prevMcIndex === -1 ? runSteps.slice(0, messageCreationRunStepIndex) : [];
|
|
43170
43167
|
var prevRunStepIndex = runSteps.slice(messageCreationRunStepIndex + 1).findIndex(function(runStep) {
|
|
43171
43168
|
return runStep.step_details.type === "message_creation";
|
|
43172
43169
|
});
|