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.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +12 -0
- package/LICENSE.txt +1 -1
- package/dist/{chunk-IYNL2EJM.js → chunk-VQWUJIL4.js} +4 -2
- package/dist/chunk-VQWUJIL4.js.map +1 -0
- package/dist/coValues/account.d.ts.map +1 -1
- package/dist/coValues/group.d.ts +1 -1
- package/dist/coValues/group.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/testing.js +1 -1
- package/dist/tests/patterns/requestToJoin.test.d.ts +2 -0
- package/dist/tests/patterns/requestToJoin.test.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/coValues/account.ts +5 -1
- package/src/coValues/group.ts +1 -1
- package/src/tests/ContextManager.test.ts +1 -1
- package/src/tests/groupsAndAccounts.test.ts +7 -6
- package/src/tests/patterns/requestToJoin.test.ts +269 -0
- package/tsconfig.json +1 -1
- package/dist/chunk-IYNL2EJM.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> jazz-tools@0.13.
|
2
|
+
> jazz-tools@0.13.7 build /home/runner/_work/jazz/jazz/packages/jazz-tools
|
3
3
|
> tsup && pnpm types
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: {"index":"src/index.ts","testing":"src/testing.ts"}
|
@@ -11,12 +11,12 @@
|
|
11
11
|
[34mESM[39m Build start
|
12
12
|
[32mESM[39m [1mdist/index.js [22m[32m1.50 KB[39m
|
13
13
|
[32mESM[39m [1mdist/testing.js [22m[32m6.26 KB[39m
|
14
|
-
[32mESM[39m [1mdist/chunk-
|
14
|
+
[32mESM[39m [1mdist/chunk-VQWUJIL4.js [22m[32m127.66 KB[39m
|
15
15
|
[32mESM[39m [1mdist/index.js.map [22m[32m259.00 B[39m
|
16
16
|
[32mESM[39m [1mdist/testing.js.map [22m[32m12.37 KB[39m
|
17
|
-
[32mESM[39m [1mdist/chunk-
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
17
|
+
[32mESM[39m [1mdist/chunk-VQWUJIL4.js.map [22m[32m300.87 KB[39m
|
18
|
+
[32mESM[39m ⚡️ Build success in 61ms
|
19
19
|
|
20
|
-
> jazz-tools@0.13.
|
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
@@ -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
|
-
|
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-
|
4446
|
+
//# sourceMappingURL=chunk-VQWUJIL4.js.map
|