@sdeverywhere/runtime 0.2.4 → 0.2.5
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 +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -591,8 +591,14 @@ var BufferedRunModelParams = class {
|
|
|
591
591
|
}
|
|
592
592
|
// from RunModelParams interface
|
|
593
593
|
storeOutputs(array) {
|
|
594
|
-
|
|
595
|
-
|
|
594
|
+
if (this.outputs.view === void 0) {
|
|
595
|
+
return;
|
|
596
|
+
}
|
|
597
|
+
if (array.length > this.outputs.view.length) {
|
|
598
|
+
this.outputs.view.set(array.subarray(0, this.outputs.view.length));
|
|
599
|
+
} else {
|
|
600
|
+
this.outputs.view.set(array);
|
|
601
|
+
}
|
|
596
602
|
}
|
|
597
603
|
// from RunModelParams interface
|
|
598
604
|
getLookups() {
|