@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.js CHANGED
@@ -4243,6 +4243,13 @@ var _TinyCloudNode = class _TinyCloudNode {
4243
4243
  * A marker written before a canonical space was added triggers one bounded repair.
4244
4244
  */
4245
4245
  isAcceptedBootstrapCompletionMarker(value, canonicalStepIds) {
4246
+ if (typeof value === "string") {
4247
+ try {
4248
+ value = JSON.parse(value);
4249
+ } catch {
4250
+ return false;
4251
+ }
4252
+ }
4246
4253
  if (typeof value !== "object" || value === null) return false;
4247
4254
  const entries = Object.entries(value);
4248
4255
  const markerValue = (name) => entries.find(([key]) => key === name)?.[1];