@tinycloud/node-sdk 3.2.0 → 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 +1 -1
package/dist/core.cjs
CHANGED
|
@@ -4220,6 +4220,13 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
4220
4220
|
* A marker written before a canonical space was added triggers one bounded repair.
|
|
4221
4221
|
*/
|
|
4222
4222
|
isAcceptedBootstrapCompletionMarker(value, canonicalStepIds) {
|
|
4223
|
+
if (typeof value === "string") {
|
|
4224
|
+
try {
|
|
4225
|
+
value = JSON.parse(value);
|
|
4226
|
+
} catch {
|
|
4227
|
+
return false;
|
|
4228
|
+
}
|
|
4229
|
+
}
|
|
4223
4230
|
if (typeof value !== "object" || value === null) return false;
|
|
4224
4231
|
const entries = Object.entries(value);
|
|
4225
4232
|
const markerValue = (name) => entries.find(([key]) => key === name)?.[1];
|