@shaxpir/duiduidui-models 1.24.3 → 1.24.4

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.
@@ -70,7 +70,8 @@ class Chat extends SharedContent_1.SharedContent {
70
70
  }
71
71
  }
72
72
  catch {
73
- // Workspace may not exist yet for this user
73
+ // Workspace may not exist yet for this user — this is expected
74
+ // during initial account setup before the workspace is created.
74
75
  }
75
76
  }
76
77
  }
@@ -31,9 +31,8 @@ class SharedContent extends Content_1.Content {
31
31
  const userIds = this.getAllSharedUserIds();
32
32
  for (const userId of userIds) {
33
33
  const manifestId = Manifest_1.Manifest.makeManifestId(userId);
34
- const manifest = this.shareSync.load(ContentKind_1.ContentKind.MANIFEST, manifestId);
35
- if (manifest) {
36
- await manifest.acquire();
34
+ const manifest = await this.shareSync.acquire(ContentKind_1.ContentKind.MANIFEST, manifestId);
35
+ if (manifest && manifest.exists()) {
37
36
  manifest.update(this);
38
37
  manifest.release();
39
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shaxpir/duiduidui-models",
3
- "version": "1.24.3",
3
+ "version": "1.24.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/shaxpir/duiduidui-models"