@tinycloud/node-sdk 3.2.0-beta.9 → 3.2.1-beta.0
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/core.cjs +7 -0
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +7 -0
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -21730,6 +21730,13 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
21730
21730
|
* A marker written before a canonical space was added triggers one bounded repair.
|
|
21731
21731
|
*/
|
|
21732
21732
|
isAcceptedBootstrapCompletionMarker(value, canonicalStepIds) {
|
|
21733
|
+
if (typeof value === "string") {
|
|
21734
|
+
try {
|
|
21735
|
+
value = JSON.parse(value);
|
|
21736
|
+
} catch {
|
|
21737
|
+
return false;
|
|
21738
|
+
}
|
|
21739
|
+
}
|
|
21733
21740
|
if (typeof value !== "object" || value === null) return false;
|
|
21734
21741
|
const entries = Object.entries(value);
|
|
21735
21742
|
const markerValue = (name) => entries.find(([key2]) => key2 === name)?.[1];
|