@syntrologie/runtime-sdk 2.8.0-canary.71 → 2.8.0-canary.72
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/{chunk-WX32GVSP.js → chunk-GE5WQIUI.js} +23 -8
- package/dist/{chunk-WX32GVSP.js.map → chunk-GE5WQIUI.js.map} +2 -2
- package/dist/index.js +1 -1
- package/dist/react.js +1 -1
- package/dist/smart-canvas.esm.js +11 -11
- package/dist/smart-canvas.esm.js.map +3 -3
- package/dist/smart-canvas.js +23 -8
- package/dist/smart-canvas.js.map +2 -2
- package/dist/smart-canvas.min.js +11 -11
- package/dist/smart-canvas.min.js.map +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3456,7 +3456,7 @@ function getAntiFlickerSnippet(config = {}) {
|
|
|
3456
3456
|
}
|
|
3457
3457
|
|
|
3458
3458
|
// src/version.ts
|
|
3459
|
-
var SDK_VERSION = "2.8.0-canary.
|
|
3459
|
+
var SDK_VERSION = "2.8.0-canary.72";
|
|
3460
3460
|
|
|
3461
3461
|
// src/types.ts
|
|
3462
3462
|
var SDK_SCHEMA_VERSION = "2.0";
|
|
@@ -9142,15 +9142,30 @@ function createActionEngine(options) {
|
|
|
9142
9142
|
const handles = [];
|
|
9143
9143
|
const appliedHandles = [];
|
|
9144
9144
|
try {
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9145
|
+
const results = await Promise.allSettled(actions.map((action) => apply(action)));
|
|
9146
|
+
const errors = [];
|
|
9147
|
+
for (const result of results) {
|
|
9148
|
+
if (result.status === "fulfilled") {
|
|
9149
|
+
handles.push(result.value);
|
|
9150
|
+
appliedHandles.push(result.value);
|
|
9151
|
+
} else {
|
|
9152
|
+
errors.push(
|
|
9153
|
+
result.reason instanceof Error ? result.reason : new Error(String(result.reason))
|
|
9154
|
+
);
|
|
9155
|
+
}
|
|
9156
|
+
}
|
|
9157
|
+
if (errors.length > 0 && appliedHandles.length === 0) {
|
|
9158
|
+
throw errors[0];
|
|
9159
|
+
}
|
|
9160
|
+
if (errors.length > 0) {
|
|
9161
|
+
console.warn(
|
|
9162
|
+
`[ActionEngine] ${errors.length}/${actions.length} action(s) failed in batch:`,
|
|
9163
|
+
errors.map((e) => e.message).join("; ")
|
|
9164
|
+
);
|
|
9149
9165
|
}
|
|
9150
9166
|
} catch (error2) {
|
|
9151
9167
|
console.error(
|
|
9152
|
-
`[ActionEngine] Batch apply FAILED
|
|
9153
|
-
`Successfully applied: ${appliedHandles.length}. Rolling back...`,
|
|
9168
|
+
`[ActionEngine] Batch apply FAILED. Successfully applied: ${appliedHandles.length}. Rolling back...`,
|
|
9154
9169
|
error2
|
|
9155
9170
|
);
|
|
9156
9171
|
for (const handle of appliedHandles) {
|
|
@@ -12402,4 +12417,4 @@ export {
|
|
|
12402
12417
|
encodeToken,
|
|
12403
12418
|
Syntro
|
|
12404
12419
|
};
|
|
12405
|
-
//# sourceMappingURL=chunk-
|
|
12420
|
+
//# sourceMappingURL=chunk-GE5WQIUI.js.map
|