@secrecy/lib 1.69.0 → 1.69.1

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.
@@ -451,7 +451,9 @@ export class SecrecyCloudClient {
451
451
  nodes: [{ id: node.nodeId, data: [], ...node.permissions }],
452
452
  })));
453
453
  }
454
- const subState = await this.#apiClient.cloud.shareNodeFinish.mutate(finishInput);
454
+ const subState = finishInput.length > 0
455
+ ? await this.#apiClient.cloud.shareNodeFinish.mutate(finishInput)
456
+ : { isFinished: true, details: {} };
455
457
  const currentProgress = Math.min((index + 1) * maxNodesBatchSize, totalNodesToShare);
456
458
  progress?.({
457
459
  total: totalNodesToShare,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.69.0",
5
+ "version": "1.69.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"