jazz-tools 0.13.27 → 0.13.29
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 +6 -6
- package/CHANGELOG.md +16 -0
- package/dist/auth/AuthSecretStorage.d.ts +1 -1
- package/dist/auth/AuthSecretStorage.d.ts.map +1 -1
- package/dist/{chunk-E4PALNK7.js → chunk-LMV6J7GN.js} +1 -1
- package/dist/{chunk-E4PALNK7.js.map → chunk-LMV6J7GN.js.map} +1 -1
- package/dist/coValues/account.d.ts +2 -2
- package/dist/coValues/coFeed.d.ts +2 -2
- package/dist/coValues/coList.d.ts +1 -1
- package/dist/coValues/coMap.d.ts +2 -2
- package/dist/coValues/group.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/testing.js +1 -1
- package/package.json +2 -2
- package/src/auth/AuthSecretStorage.ts +8 -1
- package/src/tests/patterns/requestToJoin.test.ts +2 -0
- package/src/tests/subscribe.test.ts +2 -0
@@ -96,7 +96,7 @@ export declare class Account extends CoValueBase implements CoValue {
|
|
96
96
|
*/
|
97
97
|
waitForSync(options?: {
|
98
98
|
timeout?: number;
|
99
|
-
}): Promise<
|
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<
|
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<
|
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<
|
366
|
+
}): Promise<unknown[]>;
|
367
367
|
}
|
368
368
|
//# sourceMappingURL=coFeed.d.ts.map
|
package/dist/coValues/coMap.d.ts
CHANGED
@@ -268,7 +268,7 @@ export declare class CoMap extends CoValueBase implements CoValue {
|
|
268
268
|
*/
|
269
269
|
waitForSync(options?: {
|
270
270
|
timeout?: number;
|
271
|
-
}): Promise<
|
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<
|
471
|
+
}): Promise<unknown[]>;
|
472
472
|
}
|
473
473
|
export type CoKeys<Map extends object> = Exclude<keyof Map & string, keyof CoMap>;
|
474
474
|
/**
|
package/dist/coValues/group.d.ts
CHANGED
@@ -68,7 +68,7 @@ export declare class Group extends CoValueBase implements CoValue {
|
|
68
68
|
*/
|
69
69
|
waitForSync(options?: {
|
70
70
|
timeout?: number;
|
71
|
-
}): Promise<
|
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/dist/index.js
CHANGED
package/dist/testing.js
CHANGED
package/package.json
CHANGED
@@ -17,11 +17,11 @@
|
|
17
17
|
},
|
18
18
|
"type": "module",
|
19
19
|
"license": "MIT",
|
20
|
-
"version": "0.13.
|
20
|
+
"version": "0.13.29",
|
21
21
|
"dependencies": {
|
22
22
|
"@scure/bip39": "^1.3.0",
|
23
23
|
"fast-myers-diff": "^3.2.0",
|
24
|
-
"cojson": "0.13.
|
24
|
+
"cojson": "0.13.29"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
27
|
"tsup": "8.3.5",
|
@@ -10,7 +10,14 @@ export type AuthSetPayload = {
|
|
10
10
|
accountID: ID<Account>;
|
11
11
|
secretSeed?: Uint8Array;
|
12
12
|
accountSecret: AgentSecret;
|
13
|
-
provider:
|
13
|
+
provider:
|
14
|
+
| "anonymous"
|
15
|
+
| "clerk"
|
16
|
+
| "betterauth"
|
17
|
+
| "demo"
|
18
|
+
| "passkey"
|
19
|
+
| "passphrase"
|
20
|
+
| string;
|
14
21
|
};
|
15
22
|
|
16
23
|
export class AuthSecretStorage {
|