@tinycloud/node-sdk 3.1.0-beta.1 → 3.1.0-beta.3

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 CHANGED
@@ -3616,6 +3616,10 @@ var _TinyCloudNode = class _TinyCloudNode {
3616
3616
  );
3617
3617
  return;
3618
3618
  }
3619
+ if ((0, import_sdk_core8.isStorageFullError)(error) || (0, import_sdk_core8.isStorageFullError)(error?.cause) || message.includes(import_sdk_core8.STORAGE_FULL_MESSAGE) || message.includes(import_sdk_core8.STORAGE_WRITE_TOO_LARGE_MESSAGE)) {
3620
+ console.warn("TinyCloud account registry sync stopped: storage is full", error);
3621
+ return;
3622
+ }
3619
3623
  lastError = error;
3620
3624
  if (attempt < delays.length - 1) {
3621
3625
  await new Promise((resolve) => setTimeout(resolve, delays[attempt]));