jazz-tools 0.7.35-unique.2 → 0.7.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/.turbo/turbo-test.log +44 -57
  3. package/CHANGELOG.md +8 -10
  4. package/dist/coValues/account.js +35 -20
  5. package/dist/coValues/account.js.map +1 -1
  6. package/dist/coValues/coList.js +19 -14
  7. package/dist/coValues/coList.js.map +1 -1
  8. package/dist/coValues/coMap.js +33 -32
  9. package/dist/coValues/coMap.js.map +1 -1
  10. package/dist/coValues/coStream.js +37 -15
  11. package/dist/coValues/coStream.js.map +1 -1
  12. package/dist/coValues/extensions/imageDef.js +8 -3
  13. package/dist/coValues/extensions/imageDef.js.map +1 -1
  14. package/dist/coValues/group.js +23 -20
  15. package/dist/coValues/group.js.map +1 -1
  16. package/dist/implementation/devtoolsFormatters.js +1 -0
  17. package/dist/implementation/devtoolsFormatters.js.map +1 -1
  18. package/dist/implementation/refs.js +0 -3
  19. package/dist/implementation/refs.js.map +1 -1
  20. package/dist/implementation/schema.js.map +1 -1
  21. package/dist/implementation/subscriptionScope.js +5 -8
  22. package/dist/implementation/subscriptionScope.js.map +1 -1
  23. package/dist/index.js +0 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/internal.js +0 -1
  26. package/dist/internal.js.map +1 -1
  27. package/dist/tests/coList.test.js +15 -23
  28. package/dist/tests/coList.test.js.map +1 -1
  29. package/dist/tests/coMap.test.js +216 -75
  30. package/dist/tests/coMap.test.js.map +1 -1
  31. package/dist/tests/coStream.test.js +59 -26
  32. package/dist/tests/coStream.test.js.map +1 -1
  33. package/dist/tests/deepLoading.test.js +41 -28
  34. package/dist/tests/deepLoading.test.js.map +1 -1
  35. package/dist/tests/groupsAndAccounts.test.js +22 -8
  36. package/dist/tests/groupsAndAccounts.test.js.map +1 -1
  37. package/package.json +3 -3
  38. package/src/coValues/account.ts +28 -5
  39. package/src/coValues/coList.ts +4 -4
  40. package/src/coValues/coMap.ts +54 -46
  41. package/src/coValues/coStream.ts +30 -5
  42. package/src/coValues/group.ts +2 -2
  43. package/src/coValues/interfaces.ts +4 -4
  44. package/src/implementation/devtoolsFormatters.ts +1 -0
  45. package/src/implementation/schema.ts +1 -0
  46. package/src/index.ts +1 -9
  47. package/src/internal.ts +0 -2
  48. package/src/tests/coList.test.ts +14 -30
  49. package/src/tests/coMap.test.ts +158 -49
  50. package/src/tests/coStream.test.ts +74 -27
  51. package/src/tests/deepLoading.test.ts +18 -22
  52. package/tsconfig.json +1 -1
  53. package/dist/implementation/createContext.js +0 -94
  54. package/dist/implementation/createContext.js.map +0 -1
  55. package/src/implementation/createContext.ts +0 -162
@@ -1 +1 @@
1
- {"version":3,"file":"coMap.js","sourceRoot":"","sources":["../../src/coValues/coMap.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,GAIlB,MAAM,QAAQ,CAAC;AAahB,OAAO,EACH,OAAO,EACP,WAAW,EACX,GAAG,EACH,UAAU,EACV,OAAO,EACP,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,GAC7B,MAAM,gBAAgB,CAAC;AAexB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgCM;AACN,MAAM,OAAO,KAAM,SAAQ,WAAW;IAOlC;QACI,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,OAAO,CAAC;IACnC,CAAC;IAID,gBAAgB;IAChB,8DAA8D;IAC9D,MAAM,CAAC,OAAO,CAAM;IACpB,gBAAgB;IAChB,IAAI,OAAO;QACP,OAAQ,IAAI,CAAC,WAA4B,CAAC,OAEf,CAAC;IAChC,CAAC;IAED;;;;;;;;;;;;;;;QAeI;IACJ,IAAI,KAAK;QAGL,OAAO,QAAQ,CACX,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAa,CAA2B,EAC/D,GAAG,EAAE;YACD,MAAM,IAAI,G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1,26 @@
1
+ var _a;
1
2
  import { MAX_RECOMMENDED_TX_SIZE, cojsonInternals } from "cojson";
2
3
  import { ItemsSym, Account, CoValueBase, Ref, inspect, co, SchemaInit, isRefEncoded, loadCoValue, subscribeToCoValue, ensureCoValueLoaded, subscribeToExistingCoValue, } from "../internal.js";
3
4
  /** @category CoValues */
4
5
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
6
  export class CoStream extends CoValueBase {
6
7
  static Of(item) {
7
- return class CoStreamOf extends CoStream {
8
- [co.items] = item;
9
- };
10
- }
11
- static {
12
- this.prototype._type = "CoStream";
8
+ var _b, _c;
9
+ return _c = class CoStreamOf extends _a {
10
+ constructor() {
11
+ super(...arguments);
12
+ this[_b] = item;
13
+ }
14
+ },
15
+ _b = co.items,
16
+ _c;
13
17
  }
14
- /** @internal This is only a marker type and doesn't exist at runtime */
15
- [ItemsSym];
16
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
17
- static _schema;
18
18
  get _schema() {
19
19
  return this.constructor._schema;
20
20
  }
21
21
  get byMe() {
22
22
  return this[this._loadedAs.id];
23
23
  }
24
- perSession;
25
24
  get inCurrentSession() {
26
25
  return this.perSession[this._loadedAs.sessionID];
27
26
  }
@@ -94,7 +93,7 @@ export class CoStream extends CoValueBase {
94
93
  return this.toJSON();
95
94
  }
96
95
  static schema(def) {
97
- this._schema ||= {};
96
+ this._schema || (this._schema = {});
98
97
  Object.assign(this._schema, def);
99
98
  }
100
99
  /** @category Subscription & Loading */
@@ -114,6 +113,10 @@ export class CoStream extends CoValueBase {
114
113
  return subscribeToExistingCoValue(this, depth, listener);
115
114
  }
116
115
  }
116
+ _a = CoStream;
117
+ (() => {
118
+ _a.prototype._type = "CoStream";
119
+ })();
117
120
  function entryFromRawEntry(accessFrom, rawEntry, loadedAs, accountID, itemField) {
118
121
  return {
119
122
  get value() {
@@ -184,10 +187,11 @@ export const CoStreamProxyHandler = {
184
187
  }
185
188
  },
186
189
  set(target, key, value, receiver) {
190
+ var _b;
187
191
  if (key === ItemsSym &&
188
192
  typeof value === "object" &&
189
193
  SchemaInit in value) {
190
- target.constructor._schema ||= {};
194
+ (_b = target.constructor)._schema || (_b._schema = {});
191
195
  target.constructor._schema[ItemsSym] =
192
196
  value[SchemaInit];
193
197
  return true;
@@ -197,11 +201,12 @@ export const CoStreamProxyHandler = {
197
201
  }
198
202
  },
199
203
  defineProperty(target, key, descriptor) {
204
+ var _b;
200
205
  if (descriptor.value &&
201
206
  key === ItemsSym &&
202
207
  typeof descriptor.value === "object" &&
203
208
  SchemaInit in descriptor.value) {
204
- target.constructor._schema ||= {};
209
+ (_b = target.constructor)._schema || (_b._schema = {});
205
210
  target.constructor._schema[ItemsSym] =
206
211
  descriptor.value[SchemaInit];
207
212
  return true;
@@ -306,6 +311,9 @@ export class BinaryCoStream extends CoValueBase {
306
311
  getChunks(options) {
307
312
  return this._raw.getBinaryChunks(options?.allowUnfinished);
308
313
  }
314
+ isBinaryStreamEnded() {
315
+ return this._raw.isBinaryStreamEnded();
316
+ }
309
317
  start(options) {
310
318
  this._raw.startBinaryStream(options);
311
319
  }
@@ -325,7 +333,21 @@ export class BinaryCoStream extends CoValueBase {
325
333
  return new Blob(chunks.chunks, { type: chunks.mimeType });
326
334
  }
327
335
  static async loadAsBlob(id, as, options) {
328
- const stream = await this.load(id, as, []);
336
+ let stream = await this.load(id, as, []);
337
+ /**
338
+ * If the user hasn't requested an incomplete blob and the
339
+ * stream isn't complete wait for the stream download before progressing
340
+ */
341
+ if (!options?.allowUnfinished && !stream?.isBinaryStreamEnded()) {
342
+ stream = await new Promise((resolve) => {
343
+ const unsubscribe = subscribeToCoValue(this, id, as, [], (value) => {
344
+ if (value.isBinaryStreamEnded()) {
345
+ unsubscribe();
346
+ resolve(value);
347
+ }
348
+ });
349
+ });
350
+ }
329
351
  return stream?.toBlob({
330
352
  allowUnfinished: options?.allowUnfinished,
331
353
  });
@@ -1 +1 @@
1
- {"version":3,"file":"coStream.js","sourceRoot":"","sources":["../../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E,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED,uCAAuC;IACvC,MAAM,CAAC,SAAS,CAEZ,EAAS,EACT,EAAW,EACX,KAA0B,EAC1B,QAAiD;QAEjD,OAAO,kBAAkB,CAAW,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IACvE,CAAC;IAED,uCAAuC;IACvC,YAAY,CAER,KAA0B;QAE1B,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED,uCAAuC;IACvC,SAAS,CAEL,KAA0B,EAC1B,QAAiD;QAEjD,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IAC7D,CAAC;CACJ"}
@@ -1,9 +1,13 @@
1
+ var _a;
1
2
  import { BinaryCoStream, CoMap, co, subscriptionsScopes, } from "../../internal.js";
2
3
  /** @category Media */
3
4
  export class ImageDefinition extends CoMap {
4
- originalSize = co.json();
5
- placeholderDataURL = co.string;
6
- [co.items] = co.ref(BinaryCoStream);
5
+ constructor() {
6
+ super(...arguments);
7
+ this.originalSize = co.json();
8
+ this.placeholderDataURL = co.string;
9
+ this[_a] = co.ref(BinaryCoStream);
10
+ }
7
11
  highestResAvailable(options) {
8
12
  if (!subscriptionsScopes.get(this)) {
9
13
  console.warn("highestResAvailable() only makes sense when used within a subscription.");
@@ -34,4 +38,5 @@ export class ImageDefinition extends CoMap {
34
38
  });
35
39
  }
36
40
  }
41
+ _a = co.items;
37
42
  //# sourceMappingURL=imageDef.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"imageDef.js","sourceRoot":"","sources":["../../../src/coValues/extensions/imageDef.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,KAAK,EACL,EAAE,EACF,mBAAmB,GACtB,MAAM,mBAAmB,CAAC;AAE3B,sBAAsB;AACtB,MAAM,OAAO,eAAgB,SAAQ,KA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AAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACvC,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACvC,OAAO,MAAM,GAAG,MAAM,CAAC;QAC3B,CAAC,CAAC,CAAC;QAEH,IAAI,0BAA6D,CAAC;QAElE,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;YACnC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,EAAE,CAAC;gBACpD,0BAA0B,GAAG,UAAU,CAAC;YAC5C,CAAC;iBAAM,CAAC;gBACJ,OAAO,CACH,0BAA0B,IAAI;oBAC1B,GAAG,EAAE,0BAA0B;oBAC/B,MAAM,EAAE,IAAI,CAAC,0BAA0B,CAAE;iBAC5C,CACJ,CAAC;YACN,CAAC;QACL,CAAC;QACD,OAAO,CACH,0BAA0B,IAAI;YAC1B,GAAG,EAAE,0BAA0B;YAC/B,MAAM,EAAE,IAAI,CAAC,0BAA0B,CAAE;SAC5C,CACJ,CAAC;IACN,CAAC;CACJ;KA9CI,EAAE,CAAC,KAAK"}
@@ -1,32 +1,17 @@
1
+ var _a;
1
2
  import { Account, CoMap, CoValueBase, Ref, co, isControlledAccount, AccountAndGroupProxyHandler, MembersSym, loadCoValue, subscribeToCoValue, ensureCoValueLoaded, subscribeToExistingCoValue, } from "../internal.js";
2
3
  /** @category Identity & Permissions */
3
4
  export class Profile extends CoMap {
4
- name = co.string;
5
+ constructor() {
6
+ super(...arguments);
7
+ this.name = co.string;
8
+ }
5
9
  }
6
10
  /** @category Identity & Permissions */
7
11
  export class Group extends CoValueBase {
8
- static {
9
- this.prototype._type = "Group";
10
- }
11
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
12
- static _schema;
13
12
  get _schema() {
14
13
  return this.constructor._schema;
15
14
  }
16
- static {
17
- this._schema = {
18
- profile: "json",
19
- root: "json",
20
- [MembersSym]: {
21
- ref: () => Account,
22
- optional: false,
23
- },
24
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
25
- };
26
- Object.defineProperty(this.prototype, "_schema", {
27
- get: () => this._schema,
28
- });
29
- }
30
15
  get _refs() {
31
16
  const profileID = this._raw.get("profile");
32
17
  const rootID = this._raw.get("root");
@@ -117,4 +102,22 @@ export class Group extends CoValueBase {
117
102
  return subscribeToExistingCoValue(this, depth, listener);
118
103
  }
119
104
  }
105
+ _a = Group;
106
+ (() => {
107
+ _a.prototype._type = "Group";
108
+ })();
109
+ (() => {
110
+ _a._schema = {
111
+ profile: "json",
112
+ root: "json",
113
+ [MembersSym]: {
114
+ ref: () => Account,
115
+ optional: false,
116
+ },
117
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
118
+ };
119
+ Object.defineProperty(_a.prototype, "_schema", {
120
+ get: () => _a._schema,
121
+ });
122
+ })();
120
123
  //# sourceMappingURL=group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"group.js","sourceRoot":"","sources":["../../src/coValues/group.ts"],"names":[],"mappings":"AAUA,OAAO,EACH,OAAO,EACP,KAAK,EACL,WAAW,EACX,GAAG,EACH,EAAE,EACF,mBAAmB,EACnB,2BAA2B,EAC3B,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,GAC7B,MAAM,gBAAgB,CAAC;AAExB,uCAAuC;AACvC,MAAM,OAAO,OAAQ,SAAQ,KAAK;IAC9B,IAAI,GAAG,EAAE,CAAC,MAAM,CAAC;CACpB;AAED,uCAAuC;AACvC,MAAM,OAAO,KAAM,SAAQ,WAAW;IAGlC;QACI,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,OAAO,CAAC;IACnC,CAAC;IAGD,8DAA8D;IAC9D,MAAM,CAAC,OAAO,CAAM;IACpB,IAAI,OAAO;QAKP,OAAQ,IAAI,CAAC,WAA4B,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,EAAE,MAAuB;QAChC,IAAI,EAAE,MAAuB;QAC7B,CAAC,UAAU,CAAC,EAAE;YACV,GAAG,EAAE,GAAG,EAAE,CAAC,OAAO;YAClB,QAAQ,EAAE,KAAK;SACY;QAC/B,8DAA8D;KAC1D,CAAC;IACT,MAAM,CAAC,cAAc,CAAC,GAAK,SAAS,EAAE,SAAS,EAAE;QAC7C,GAAG,EAAE,GAAG,EAAE,CAAC,GAAK,OAAO;KAC1B,CAAC,CAAC;AACP,CAAC,GAAA,CAAA"}
@@ -1,3 +1,4 @@
1
+ /* istanbul ignore file -- @preserve */
1
2
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  import { ItemsSym } from "./symbols.js";
3
4
  globalThis.devtoolsFormatters = [
@@ -1 +1 @@
1
- {"version":3,"file":"devtoolsFormatters.js","sourceRoot":"","sources":["../../src/implementation/devtoolsFormatters.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEvC,UAAkB,CAAC,kBAAkB,GAAG;IACrC;QACI,MAAM,EAAE,CAAC,MAAW,EAAE,EAAE;YACpB,IAAI,MAAM,CAAC,KAAK,KAAK,OAAO,EAAE,CAAC;gBAC3B,OAAO,CAAC,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;YAC9D,CAAC;iBAAM,IAAI,MAAM,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;gBACnC,OAAO;oBACH,KAAK;oBACL,EAAE;oBACF;wBACI,MAAM;wBACN,EAAE;wBACF,MAAM,CAAC,WAAW,CAAC,IAAI,GAAG,GAAG,GAAG,MAAM,CAAC,MAAM,GAAG,IAAI;qBACvD;iBACJ,CAAC;YACN,CAAC;iBAAM,IAAI,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;gBACpC,OAAO;oBACH,KAAK;oBACL,EAAE;oB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,CAAC"}
1
+ {"version":3,"file":"devtoolsFormatters.js","sourceRoot":"","sources":["../../src/implementation/devtoolsFormatters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,uDAAuD;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEvC,UAAkB,CAAC,kBAAkB,GAAG;IACrC;QACI,MAAM,EAAE,CAAC,MAAW,EAAE,EAAE;YACpB,IAAI,MAAM,CAAC,KAAK,KAAK,OAAO,EAAE,CAAC;gBAC3B,OAAO,CAAC,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;YAC9D,CAAC;iBAAM,IAAI,MAAM,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;gBACnC,OAAO;oBACH,KAAK;oBACL,EAAE;oBACF;wBACI,MAAM;wBACN,EAAE;wBACF,MAAM,CAAC,WAAW,CAAC,IAAI,GAAG,GAAG,GAAG,MAAM,CAAC,MAAM,GAAG,IAAI;qBACvD;iBACJ,CAAC;YACN,CAAC;iBAAM,IAAI,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;gBACpC,OAAO;oBACH,KAAK;oBACL,EAAE;oBACF;wBACI,MAAM;wBACN,EAAE;wBACF,MAAM,CAAC,WAAW,CAAC,IAAI;4BACnB,GAAG;4BACH,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI;4BAChC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;4BAC1B,GAAG;qBACV;iBACJ,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;QACD,OAAO,EAAE;YACL,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,IAAI,EAAE,UAAU,MAAW;YACvB,IAAI,MAAM,CAAC,KAAK,KAAK,OAAO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AAC,CAAC;oBAClD,GAAI,MAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;wBAC/B,KAAK;wBACL,EAAE,KAAK,EAAE,sBAAsB,EAAE;wBACjC;4BACI,MAAM;4BACN,EAAE,KAAK,EAAE,iCAAiC,EAAE;4BAC5C,CAAC;4BACD,IAAI;yBACP;wBACD,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;wBACzB,GAAG,CAAC,OAAO,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,UAAU;4BAC9C,CAAC,CAAC,CAAC,KAAK,IAAI;gCACR,CAAC,CAAC;oCACI;wCACI,MAAM;wCACN,EAAE,KAAK,EAAE,cAAc,EAAE;wCACzB,aAAa,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,GAAG;wCAC7C;4CACI,QAAQ;4CACR,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;yCAC9B;wCACD,GAAG;qCACN;iCACJ;gCACH,CAAC,CAAC,EAAE;4BACR,CAAC,CAAC,EAAE,CAAC;qBACZ,CAAC;iBACL,CAAC;YACN,CAAC;QACL,CAAC;KACJ;CACJ,CAAC"}
@@ -2,9 +2,6 @@ import { instantiateRefEncoded, isRefEncoded, subscriptionsScopes, } from "../in
2
2
  const refCache = new WeakMap();
3
3
  const TRACE_ACCESSES = false;
4
4
  export class Ref {
5
- id;
6
- controlledAccount;
7
- schema;
8
5
  constructor(id, controlledAccount, schema) {
9
6
  this.id = id;
10
7
  this.controlledAccount = controlledAccount;
@@ -1 +1 @@
1
- {"version":3,"file":"refs.js","sourceRoot":"","sources":["../../src/implementation/refs.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,qBAAqB,EACrB,YAAY,EACZ,mBAAmB,GACtB,MAAM,gBAAgB,CAAC;AAExB,MAAM,QAAQ,GAAG,IAAI,OAAO,EAAuB,CAAC;AAEp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EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEhE,kCAAkC;AAClC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,IAAI,EAAE;QACF,MAAM,EAAE,CAAC,KAAW,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE;QAC5C,MAAM,EAAE,CAAC,KAAgB,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,KAAe,CAAC;KAC1D;CACJ,CAAC"}
@@ -1,15 +1,12 @@
1
1
  export const subscriptionsScopes = new WeakMap();
2
2
  const TRACE_INVALIDATIONS = false;
3
3
  export class SubscriptionScope {
4
- scopeID = `scope-${Math.random().toString(36).slice(2)}`;
5
- subscriber;
6
- entries = new Map();
7
- rootEntry;
8
- onUpdate;
9
- scheduledUpdate = false;
10
- cachedValues = {};
11
- parents = {};
12
4
  constructor(root, rootSchema, onUpdate) {
5
+ this.scopeID = `scope-${Math.random().toString(36).slice(2)}`;
6
+ this.entries = new Map();
7
+ this.scheduledUpdate = false;
8
+ this.cachedValues = {};
9
+ this.parents = {};
13
10
  this.rootEntry = {
14
11
  state: "loaded",
15
12
  value: root,
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptionScope.js","sourceRoot":"","sources":["../../src/implementation/subscriptionScope.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,OAAO,EAI3C,CAAC;AAEJ,MAAM,mBAAmB,GAAG,KAAK,CAAC;AAElC,MAAM,OAAO,iBAAiB;IAC1B,OAAO,GAAW,SAAS,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IACjE,UAAU,CAAU;IACpB,OAAO,GAAG,IAAI,GAAG,EAId,CAAC;IACJ,SAAS,CAIP;IACF,QAAQ,CAA0B;IAClC,eAAe,GAAY,KAAK,CAAC;IACjC,YAAY,GAAmC,EAAE,CAAC;IAClD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AAK,CAAC,QAAQ,GAAG,QAAQ,CAAC;gBAC9B,CAAC;YACL,CAAC,CAAC,CAAC;QACX,CAAC;IACL,CAAC;IAED,UAAU,CACN,EAAe,EACf,SAAuB,EACvB,OAAyB,IAAI,GAAG,EAAE;QAElC,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAAE,OAAO;QACzB,mBAAmB;YACf,OAAO,CAAC,GAAG,CACP,cAAc,EACd,SAAS,EACT,IAAI,EACJ,EAAE,EACF,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CACxB,CAAC;QACN,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;QAC7B,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACb,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC;YAC1C,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QACtC,CAAC;IACL,CAAC;IAED,cAAc;QACV,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;YACxC,IAAI,KAAK,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;gBAC3B,KAAK,CAAC,QAAQ,EAAE,CAAC;YACrB,CAAC;iBAAM,CAAC;gBACJ,KAAK,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAClC,CAAC;QACL,CAAC;QACD,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACzB,CAAC;CACJ"}
1
+ {"version":3,"file":"subscriptionScope.js","sourceRoot":"","sources":["../../src/implementation/subscriptionScope.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,OAAO,EAI3C,CAAC;AAEJ,MAAM,mBAAmB,GAAG,KAAK,CAAC;AAElC,MAAM,OAAO,iBAAiB;IAkB1B,YACI,IAAU,EACV,UAAqD,EAC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isControlledAccount } from "./internal.js";
8
8
  export { ImageDefinition } from "./internal.js";
9
9
  export { CoValueBase } from "./internal.js";
10
10
  export { loadCoValue, subscribeToCoValue } from "./internal.js";
11
- export { createJazzContext, fixedCredentialsAuth, } from "./internal.js";
12
11
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EACf,uBAAuB,EACvB,UAAU,EACV,YAAY,GACf,MAAM,QAAQ,CAAC;AAahB,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,KAAK,EAAkB,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAqB,MAAM,eAAe,CAAC;AAG/D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,EAGH,iBAAiB,EACjB,oBAAoB,GACvB,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EACf,uBAAuB,EACvB,UAAU,EACV,YAAY,GACf,MAAM,QAAQ,CAAC;AAYhB,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,KAAK,EAAkB,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAqB,MAAM,eAAe,CAAC;AAG/D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
package/dist/internal.js CHANGED
@@ -12,6 +12,5 @@ export * from "./implementation/schema.js";
12
12
  export * from "./implementation/subscriptionScope.js";
13
13
  export * from "./coValues/deepLoading.js";
14
14
  export * from "./coValues/extensions/imageDef.js";
15
- export * from "./implementation/createContext.js";
16
15
  import "./implementation/devtoolsFormatters.js";
17
16
  //# sourceMappingURL=internal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAE1C,cAAc,mCAAmC,CAAC;AAElD,cAAc,mCAAmC,CAAC;AAElD,OAAO,wCAAwC,CAAC"}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAE1C,cAAc,mCAAmC,CAAC;AAElD,OAAO,wCAAwC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { expect, describe, test } from "vitest";
2
2
  import { connectedPeers } from "cojson/src/streamUtils.js";
3
- import { Account, CoList, WasmCrypto, co, cojsonInternals, createJazzContext, isControlledAccount, fixedCredentialsAuth, } from "../index.js";
4
- import { randomSessionProvider } from "../internal.js";
3
+ import { newRandomSessionID } from "cojson/src/coValueCore.js";
4
+ import { Account, CoList, WasmCrypto, co, cojsonInternals, isControlledAccount, } from "../index.js";
5
5
  const Crypto = await WasmCrypto.create();
6
6
  describe("Simple CoList operations", async () => {
7
7
  const me = await Account.create({
@@ -131,13 +131,12 @@ describe("CoList resolution", async () => {
131
131
  throw "me is not a controlled account";
132
132
  }
133
133
  me._raw.core.node.syncManager.addPeer(secondPeer);
134
- const { account: meOnSecondPeer } = await createJazzContext({
135
- auth: fixedCredentialsAuth({
136
- accountID: me.id,
137
- secret: me._raw.agentSecret,
138
- }),
139
- sessionProvider: randomSessionProvider,
134
+ const meOnSecondPeer = await Account.become({
135
+ accountID: me.id,
136
+ accountSecret: me._raw.agentSecret,
140
137
  peersToLoadFrom: [initialAsPeer],
138
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
139
+ sessionID: newRandomSessionID(me.id),
141
140
  crypto: Crypto,
142
141
  });
143
142
  const loadedList = await TestList.load(list.id, meOnSecondPeer, []);
@@ -147,22 +146,16 @@ describe("CoList resolution", async () => {
147
146
  expect(loadedList?.[0]).toBeDefined();
148
147
  expect(loadedList?.[0]?.[0]).toBe(null);
149
148
  expect(loadedList?.[0]?._refs[0]?.id).toEqual(list[0][0].id);
150
- // TODO: this should be ref equal
151
- // expect(loadedList?._refs[0]?.value).toEqual(loadedNestedList);
152
- expect(loadedList?._refs[0]?.value?.toJSON()).toEqual(loadedNestedList?.toJSON());
149
+ expect(loadedList?._refs[0]?.value).toEqual(loadedNestedList);
153
150
  const loadedTwiceNestedList = await TwiceNestedList.load(list[0][0].id, meOnSecondPeer, []);
154
151
  expect(loadedList?.[0]?.[0]).toBeDefined();
155
152
  expect(loadedList?.[0]?.[0]?.[0]).toBe("a");
156
153
  expect(loadedList?.[0]?.[0]?.joined()).toBe("a,b");
157
154
  expect(loadedList?.[0]?._refs[0]?.id).toEqual(list[0]?.[0]?.id);
158
- // TODO: this should be ref equal
159
- // expect(loadedList?.[0]?._refs[0]?.value).toEqual(loadedTwiceNestedList);
160
- expect(loadedList?.[0]?._refs[0]?.value?.toJSON()).toEqual(loadedTwiceNestedList?.toJSON());
155
+ expect(loadedList?.[0]?._refs[0]?.value).toEqual(loadedTwiceNestedList);
161
156
  const otherNestedList = NestedList.create([TwiceNestedList.create(["e", "f"], { owner: meOnSecondPeer })], { owner: meOnSecondPeer });
162
157
  loadedList[0] = otherNestedList;
163
- // TODO: this should be ref equal
164
- // expect(loadedList?.[0]).toEqual(otherNestedList);
165
- expect(loadedList?._refs[0]?.value?.toJSON()).toEqual(otherNestedList.toJSON());
158
+ expect(loadedList?.[0]).toEqual(otherNestedList);
166
159
  expect(loadedList?._refs[0]?.id).toEqual(otherNestedList.id);
167
160
  });
168
161
  test("Subscription & auto-resolution", async () => {
@@ -175,13 +168,12 @@ describe("CoList resolution", async () => {
175
168
  throw "me is not a controlled account";
176
169
  }
177
170
  me._raw.core.node.syncManager.addPeer(secondPeer);
178
- const { account: meOnSecondPeer } = await createJazzContext({
179
- auth: fixedCredentialsAuth({
180
- accountID: me.id,
181
- secret: me._raw.agentSecret,
182
- }),
183
- sessionProvider: randomSessionProvider,
171
+ const meOnSecondPeer = await Account.become({
172
+ accountID: me.id,
173
+ accountSecret: me._raw.agentSecret,
184
174
  peersToLoadFrom: [initialAsPeer],
175
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
176
+ sessionID: newRandomSessionID(me.id),
185
177
  crypto: Crypto,
186
178
  });
187
179
  const queue = new cojsonInternals.Channel();
@@ -1 +1 @@
1
- {"version":3,"file":"coList.test.js","sourceRoot":"","sources":["../../src/tests/coList.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACH,OAAO,EACP,MAAM,EACN,UAAU,EACV,EAAE,EACF,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC;AAEzC,QAAQ,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE;IAC5C,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC;QAC5B,aAAa,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAC5C,MAAM,EAAE,MAAM;KACjB,CAAC,CAAC;IAEH,MAAM,QAAS,SAAQ,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,MAAM,CAAC;KAAG;IAE9C,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAE1E,IAAI,CAAC,cAAc,EAAE,GAAG,EAAE;QACtB,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,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