jazz-tools 0.13.5 → 0.13.7

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > jazz-tools@0.13.5 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.13.7 build /home/runner/_work/jazz/jazz/packages/jazz-tools
3
3
  > tsup && pnpm types
4
4
 
5
5
  CLI Building entry: {"index":"src/index.ts","testing":"src/testing.ts"}
@@ -11,12 +11,12 @@
11
11
  ESM Build start
12
12
  ESM dist/index.js 1.50 KB
13
13
  ESM dist/testing.js 6.26 KB
14
- ESM dist/chunk-IYNL2EJM.js 127.59 KB
14
+ ESM dist/chunk-VQWUJIL4.js 127.66 KB
15
15
  ESM dist/index.js.map 259.00 B
16
16
  ESM dist/testing.js.map 12.37 KB
17
- ESM dist/chunk-IYNL2EJM.js.map 300.73 KB
18
- ESM ⚡️ Build success in 69ms
17
+ ESM dist/chunk-VQWUJIL4.js.map 300.87 KB
18
+ ESM ⚡️ Build success in 61ms
19
19
 
20
- > jazz-tools@0.13.5 types /home/runner/_work/jazz/jazz/packages/jazz-tools
20
+ > jazz-tools@0.13.7 types /home/runner/_work/jazz/jazz/packages/jazz-tools
21
21
  > tsc --outDir dist
22
22
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.13.7
4
+
5
+ ### Patch Changes
6
+
7
+ - bc3d7bb: Allow to assign the writeOnly role to everyone
8
+ - Updated dependencies [bc3d7bb]
9
+ - Updated dependencies [4e9aae1]
10
+ - Updated dependencies [21c935c]
11
+ - Updated dependencies [aa1c80e]
12
+ - Updated dependencies [13074be]
13
+ - cojson@0.13.7
14
+
3
15
  ## 0.13.5
4
16
 
5
17
  ### Patch Changes
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2024, Garden Computing, Inc.
1
+ Copyright 2025, Garden Computing, Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -1967,11 +1967,13 @@ var _Account = class _Account extends CoValueBase {
1967
1967
  { peer1role: "server", peer2role: "client" }
1968
1968
  );
1969
1969
  as._raw.core.node.syncManager.addPeer(connectedPeers[1]);
1970
- return this.create({
1970
+ const account = await this.create({
1971
1971
  creationProps: options.creationProps,
1972
1972
  crypto: as._raw.core.node.crypto,
1973
1973
  peersToLoadFrom: [connectedPeers[0]]
1974
1974
  });
1975
+ await account.waitForAllCoValuesSync();
1976
+ return account;
1975
1977
  }
1976
1978
  static fromNode(node) {
1977
1979
  return new this({
@@ -4441,4 +4443,4 @@ export {
4441
4443
  consumeInviteLink
4442
4444
  };
4443
4445
  /* istanbul ignore file -- @preserve */
4444
- //# sourceMappingURL=chunk-IYNL2EJM.js.map
4446
+ //# sourceMappingURL=chunk-VQWUJIL4.js.map