jazz-tools 0.13.26 → 0.13.28

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.26 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.13.28 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"}
@@ -15,8 +15,8 @@
15
15
  ESM dist/index.js.map 258.00 B
16
16
  ESM dist/testing.js.map 12.38 KB
17
17
  ESM dist/chunk-E4PALNK7.js.map 281.45 KB
18
- ESM ⚡️ Build success in 57ms
18
+ ESM ⚡️ Build success in 41ms
19
19
 
20
- > jazz-tools@0.13.26 types /home/runner/_work/jazz/jazz/packages/jazz-tools
20
+ > jazz-tools@0.13.28 types /home/runner/_work/jazz/jazz/packages/jazz-tools
21
21
  > tsc --outDir dist
22
22
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.13.28
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e7ccb2c]
8
+ - cojson@0.13.28
9
+
10
+ ## 0.13.27
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [6357052]
15
+ - cojson@0.13.27
16
+
3
17
  ## 0.13.26
4
18
 
5
19
  ### Patch Changes
@@ -96,7 +96,7 @@ export declare class Account extends CoValueBase implements CoValue {
96
96
  */
97
97
  waitForSync(options?: {
98
98
  timeout?: number;
99
- }): Promise<void>;
99
+ }): Promise<unknown[]>;
100
100
  /**
101
101
  * Wait for all the available `CoValues` to be uploaded to the other peers.
102
102
  *
@@ -104,7 +104,7 @@ export declare class Account extends CoValueBase implements CoValue {
104
104
  */
105
105
  waitForAllCoValuesSync(options?: {
106
106
  timeout?: number;
107
- }): Promise<void[]>;
107
+ }): Promise<unknown[][]>;
108
108
  }
109
109
  export declare const AccountAndGroupProxyHandler: ProxyHandler<Account | Group>;
110
110
  /** @category Identity & Permissions */
@@ -211,7 +211,7 @@ export declare class CoFeed<Item = any> extends CoValueBase implements CoValue {
211
211
  */
212
212
  waitForSync(options?: {
213
213
  timeout?: number;
214
- }): Promise<void>;
214
+ }): Promise<unknown[]>;
215
215
  }
216
216
  /**
217
217
  * The proxy handler for `CoFeed` instances
@@ -363,6 +363,6 @@ export declare class FileStream extends CoValueBase implements CoValue {
363
363
  */
364
364
  waitForSync(options?: {
365
365
  timeout?: number;
366
- }): Promise<void>;
366
+ }): Promise<unknown[]>;
367
367
  }
368
368
  //# sourceMappingURL=coFeed.d.ts.map
@@ -238,6 +238,6 @@ export declare class CoList<Item = any> extends Array<Item> implements CoValue {
238
238
  */
239
239
  waitForSync(options?: {
240
240
  timeout?: number;
241
- }): Promise<void>;
241
+ }): Promise<unknown[]>;
242
242
  }
243
243
  //# sourceMappingURL=coList.d.ts.map
@@ -268,7 +268,7 @@ export declare class CoMap extends CoValueBase implements CoValue {
268
268
  */
269
269
  waitForSync(options?: {
270
270
  timeout?: number;
271
- }): Promise<void>;
271
+ }): Promise<unknown[]>;
272
272
  [inspect](): any;
273
273
  _instanceID: string;
274
274
  readonly _owner: Account | Group;
@@ -468,7 +468,7 @@ export declare class CoMap extends CoValueBase implements CoValue {
468
468
  */
469
469
  waitForSync(options?: {
470
470
  timeout?: number;
471
- }): Promise<void>;
471
+ }): Promise<unknown[]>;
472
472
  }
473
473
  export type CoKeys<Map extends object> = Exclude<keyof Map & string, keyof CoMap>;
474
474
  /**
@@ -68,7 +68,7 @@ export declare class Group extends CoValueBase implements CoValue {
68
68
  */
69
69
  waitForSync(options?: {
70
70
  timeout?: number;
71
- }): Promise<void>;
71
+ }): Promise<unknown[]>;
72
72
  }
73
73
  export declare function isAccountID(id: RawAccountID | AgentID): id is RawAccountID;
74
74
  //# sourceMappingURL=group.d.ts.map
package/package.json CHANGED
@@ -17,11 +17,11 @@
17
17
  },
18
18
  "type": "module",
19
19
  "license": "MIT",
20
- "version": "0.13.26",
20
+ "version": "0.13.28",
21
21
  "dependencies": {
22
22
  "@scure/bip39": "^1.3.0",
23
23
  "fast-myers-diff": "^3.2.0",
24
- "cojson": "0.13.25"
24
+ "cojson": "0.13.28"
25
25
  },
26
26
  "devDependencies": {
27
27
  "tsup": "8.3.5",
@@ -72,6 +72,8 @@ async function setup() {
72
72
 
73
73
  const organizationId = organization.id;
74
74
 
75
+ await admin1.waitForAllCoValuesSync();
76
+
75
77
  return {
76
78
  admin1,
77
79
  admin2,