jazz-tools 0.7.0-alpha.4 → 0.7.0-alpha.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/coValues/account.js +3 -3
  3. package/dist/coValues/account.js.map +1 -1
  4. package/dist/coValues/coList.js +2 -2
  5. package/dist/coValues/coList.js.map +1 -1
  6. package/dist/coValues/coMap.js +11 -11
  7. package/dist/coValues/coMap.js.map +1 -1
  8. package/dist/coValues/coStream.js +3 -3
  9. package/dist/coValues/coStream.js.map +1 -1
  10. package/dist/coValues/extensions/imageDef.js +2 -2
  11. package/dist/coValues/extensions/imageDef.js.map +1 -1
  12. package/dist/coValues/group.js +3 -3
  13. package/dist/coValues/group.js.map +1 -1
  14. package/dist/coValues/interfaces.js +3 -3
  15. package/dist/coValues/interfaces.js.map +1 -1
  16. package/dist/implementation/encoding.js +5 -0
  17. package/dist/implementation/encoding.js.map +1 -0
  18. package/dist/implementation/refs.js +4 -4
  19. package/dist/implementation/refs.js.map +1 -1
  20. package/dist/index.js +3 -2
  21. package/dist/index.js.map +1 -1
  22. package/dist/internal.js +1 -1
  23. package/dist/internal.js.map +1 -1
  24. package/dist/tests/coMap.test.js +2 -2
  25. package/dist/tests/coMap.test.js.map +1 -1
  26. package/package.json +2 -2
  27. package/src/coValues/account.ts +11 -11
  28. package/src/coValues/coList.ts +16 -16
  29. package/src/coValues/coMap.ts +30 -40
  30. package/src/coValues/coStream.ts +12 -12
  31. package/src/coValues/extensions/imageDef.ts +2 -3
  32. package/src/coValues/group.ts +13 -13
  33. package/src/coValues/interfaces.ts +3 -3
  34. package/src/implementation/{schema.ts → encoding.ts} +14 -17
  35. package/src/implementation/refs.ts +9 -10
  36. package/src/index.ts +2 -2
  37. package/src/internal.ts +1 -1
  38. package/src/tests/coMap.test.ts +3 -3
  39. package/dist/implementation/schema.js +0 -6
  40. package/dist/implementation/schema.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # jazz-autosub
2
2
 
3
+ ## 0.7.0-alpha.6
4
+
5
+ ### Patch Changes
6
+
7
+ - CoMap fix
8
+
9
+ ## 0.7.0-alpha.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Refactoring
14
+ - Updated dependencies
15
+ - cojson@0.7.0-alpha.5
16
+
3
17
  ## 0.7.0-alpha.4
4
18
 
5
19
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  var _a;
2
2
  import { LocalNode } from "cojson";
3
3
  import { Context } from "effect";
4
- import { CoValueBase, Profile, ValueRef, inspect } from "../internal.js";
4
+ import { CoValueBase, Profile, Ref, inspect } from "../internal.js";
5
5
  export class Account extends CoValueBase {
6
6
  get _encoding() {
7
7
  return this.constructor._encoding;
@@ -18,9 +18,9 @@ export class Account extends CoValueBase {
18
18
  const profileID = this._raw.get("profile");
19
19
  const rootID = this._raw.get("root");
20
20
  return {
21
- profile: profileID && (new ValueRef(profileID, this._loadedAs, this._encoding.profile.ref())),
21
+ profile: profileID && (new Ref(profileID, this._loadedAs, this._encoding.profile.ref())),
22
22
  root: rootID &&
23
- new ValueRef(rootID, this._loadedAs, this._encoding.root.ref()),
23
+ new Ref(rootID, this._loadedAs, this._encoding.root.ref()),
24
24
  };
25
25
  }
26
26
  constructor(init, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"account.js","sourceRoot":"","sources":["../../src/coValues/account.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAYnC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAYjC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzE,MAAM,OAAO,OAMT,SAAQ,WAAW;IAQnB,IAAI,SAAS;QAIT,OAAQ,IAAI,CAAC,WAA8B,CAAC,SAAS,CAAC;IAC1D,CAAC;IAQD,IAAI,MAAM;QACN,OAAO,IAAe,CAAC;IAC3B,CAAC;IACD,IA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CAAC,CAAC;QAEH,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAW,CAAC;IACzC,CAAC;IAED,MAAM,CAAC,QAAQ,CAEX,IAAe;QAEf,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE;YACvB,OAAO,EAAE,IAAI,CAAC,OAA+B;SAChD,CAAW,CAAC;IACjB,CAAC;IAED,MAAM;QACF,OAAO;YACH,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,KAAK,EAAE,IAAI,CAAC,KAAK;SACpB,CAAC;IACN,CAAC;IAED,CAAC,OAAO,CAAC;QACL,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,QAAQ,CAEX,MAGC;QAED,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,EAAE,EAAC;QACtB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;CAGJ;;AAtOG;IACI,GAAK,SAAS,GAAG;QACb,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE;QAC/B,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;KAChB,CAAC;AACb,CAAC,GAAA,CAAA;AA6OL,MAAM,OAAO,UAAW,SAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,EAGnD;CAAG;AAEN,MAAM,UAAU,mBAAmB,CAAC,OAAgB;IAChD,OAAO,OAAO,CAAC,IAAI,CAAC;AACxB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  var _a;
2
2
  import { RawAccount } from "cojson";
3
- import { Account, CoValueBase, Group, ValueRef, inspect, makeRefs, } from "../internal.js";
3
+ import { Account, CoValueBase, Group, Ref, inspect, makeRefs, } from "../internal.js";
4
4
  import { Schema } from "@effect/schema";
5
5
  export class CoList extends Array {
6
6
  get _encoding() {
@@ -154,7 +154,7 @@ function CoListProxyHandler(itemDescriptor) {
154
154
  else if ("ref" in itemDescriptor) {
155
155
  return rawValue === undefined
156
156
  ? undefined
157
- : new ValueRef(rawValue, target._loadedAs, itemDescriptor.ref()).accessFrom(receiver);
157
+ : new Ref(rawValue, target._loadedAs, itemDescriptor.ref()).accessFrom(receiver);
158
158
  }
159
159
  }
160
160
  else if (key === "length") {
@@ -1 +1 @@
1
- {"version":3,"file":"coList.js","sourceRoot":"","sources":["../../src/coValues/coList.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAapC,OAAO,EACH,OAAO,EACP,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,OAAO,MACT,SAAQ,KAAW;IAWnB,IAAI,SAAS;QAGT,OAAQ,IAAI,CAAC,WAA6B,CAAC,SAAS,CAAC;IACzD,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,YAAY,UAAU;YACxC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;YAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,KAAK;QAYL,OAAO,QAAQ,CACX,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAA2B,EACrD,GAAG,EAAE,CACD,KAAK,CAAC,IAAI,CACN,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,EACtC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,CAClB,EACL,IAAI,CAAC,SAAS,EACd,CAAC,IAAI,EAAE,EAAE,CAAE,IAAI,CAAC,SAAS,CAAC,KAA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rD,CAAC;QACL,CAAC;QACD,GAAG,CAAC,MAAM,EAAE,GAAG;YACX,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC1C,OAAO,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;YACtD,CAAC;iBAAM,CAAC;gBACJ,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YACpC,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  var _a;
2
2
  import { Schema } from "@effect/schema";
3
- import { Account, CoValueBase, ValueRef, inspect, makeRefs, subscriptionsScopes, indexSignature, } from "../internal.js";
3
+ import { Account, CoValueBase, Ref, inspect, makeRefs, subscriptionsScopes, } from "../internal.js";
4
4
  export class CoMap extends CoValueBase {
5
5
  get _encoding() {
6
6
  return this.constructor._encoding;
@@ -23,12 +23,12 @@ export class CoMap extends CoValueBase {
23
23
  ? rawEdit.value
24
24
  : "encoded" in descriptor
25
25
  ? Schema.decodeSync(descriptor.encoded)(rawEdit.value)
26
- : new ValueRef(rawEdit.value, target._loadedAs, descriptor.ref()).accessFrom(target),
26
+ : new Ref(rawEdit.value, target._loadedAs, descriptor.ref()).accessFrom(target),
27
27
  ref: descriptor !== "json" && "ref" in descriptor
28
- ? new ValueRef(rawEdit.value, target._loadedAs, descriptor.ref())
28
+ ? new Ref(rawEdit.value, target._loadedAs, descriptor.ref())
29
29
  : undefined,
30
30
  by: rawEdit.by &&
31
- new ValueRef(rawEdit.by, target._loadedAs, Account).accessFrom(target),
31
+ new Ref(rawEdit.by, target._loadedAs, Account).accessFrom(target),
32
32
  madeAt: rawEdit.at,
33
33
  };
34
34
  },
@@ -53,7 +53,7 @@ export class CoMap extends CoValueBase {
53
53
  _raw: { value: raw, enumerable: false },
54
54
  });
55
55
  this.definePropertiesFromSchema();
56
- if (this._encoding[indexSignature]) {
56
+ if (this._encoding._item) {
57
57
  return new Proxy(this, CoMapProxyHandler());
58
58
  }
59
59
  }
@@ -92,7 +92,7 @@ export class CoMap extends CoValueBase {
92
92
  if (init)
93
93
  for (const key of Object.keys(init)) {
94
94
  const initValue = init[key];
95
- const descriptor = (this._encoding[key] || this._encoding[indexSignature]);
95
+ const descriptor = (this._encoding[key] || this._encoding._item);
96
96
  if (descriptor === "json") {
97
97
  rawInit[key] = initValue;
98
98
  }
@@ -162,7 +162,7 @@ export class CoMap extends CoValueBase {
162
162
  const rawID = this._raw.get(key);
163
163
  return rawID === undefined
164
164
  ? undefined
165
- : new ValueRef(rawID, this._loadedAs, ref()).accessFrom(this);
165
+ : new Ref(rawID, this._loadedAs, ref()).accessFrom(this);
166
166
  },
167
167
  set: (value) => {
168
168
  this._raw.set(key, value.id);
@@ -181,7 +181,7 @@ _a = CoMap;
181
181
  function CoMapProxyHandler() {
182
182
  return {
183
183
  get(target, key, receiver) {
184
- const descriptor = target._encoding[indexSignature];
184
+ const descriptor = target._encoding._item;
185
185
  if (key in target || typeof key === "symbol") {
186
186
  return Reflect.get(target, key, receiver);
187
187
  }
@@ -198,12 +198,12 @@ function CoMapProxyHandler() {
198
198
  else if ("ref" in descriptor) {
199
199
  return raw === undefined
200
200
  ? undefined
201
- : new ValueRef(raw, target._loadedAs, descriptor.ref()).accessFrom(target);
201
+ : new Ref(raw, target._loadedAs, descriptor.ref()).accessFrom(target);
202
202
  }
203
203
  }
204
204
  },
205
205
  set(target, key, value, receiver) {
206
- const descriptor = target._encoding[indexSignature];
206
+ const descriptor = target._encoding._item;
207
207
  if (key in target || typeof key === "symbol") {
208
208
  return Reflect.set(target, key, value, receiver);
209
209
  }
@@ -224,7 +224,7 @@ function CoMapProxyHandler() {
224
224
  }
225
225
  },
226
226
  ownKeys(target) {
227
- const keys = Reflect.ownKeys(target);
227
+ const keys = Reflect.ownKeys(target).filter((k) => k !== "_item");
228
228
  for (const key of target._raw.keys()) {
229
229
  if (!keys.includes(key)) {
230
230
  keys.push(key);
@@ -1 +1 @@
1
- {"version":3,"file":"coMap.js","sourceRoot":"","sources":["../../src/coValues/coMap.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAYxC,OAAO,EACH,OAAO,EACP,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,mBAAmB,EACnB,cAAc,GACjB,MAAM,gBAAgB,CAAC;AAuCxB,MAAM,OAAO,KACT,SAAQ,WAAW;IAWnB,IAAI,SAAS;QAOT,OAAQ,IAAI,CAAC,WAA4B,CAAC,SAAS,CAAC;IACxD,CAAC;IAED,IAAI,KAAK;QAOL,OAAO,QAAQ,CACX,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAa,CAA2B,EAC/D,GAAG,EAAE,CACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;YACvC,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CACzB,GAAkC,CAClB,CAAC;YACrB,MAAM,KAAK,MAAM,IAAI,KAAK,IAAI,MAAM,CAAC;QACzC,CAAC,CAAsB,EAC3B,IAAI,CAAC,SAAS,EACd,CAAC,GAAG,EAAE,EAAE,CAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAuB,CAAC,GAAG,EAAE,CACrD,CAAC;IACb,CAAC;IAED,IAAI,MAAM;QAQN,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,GAAG,CAAC,MAAM,EAAE,GAAG;gBACX,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAa,CAAC,CAAC;gBACtD,IAAI,CAAC,OAAO;oBAAE,OAAO,SAAS,CAAC;gBAE/B,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,CAC/B,GAAoC,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AAC;QAChB,CAAC;QACD,wBAAwB,CAAC,MAAM,EAAE,GAAG;YAChC,IAAI,GAAG,IAAI,MAAM,EAAE,CAAC;gBAChB,OAAO,OAAO,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YACzD,CAAC;iBAAM,IAAI,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;gBAChC,OAAO;oBACH,UAAU,EAAE,IAAI;oBAChB,YAAY,EAAE,IAAI;oBAClB,QAAQ,EAAE,IAAI;iBACjB,CAAC;YACN,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  var _a;
2
2
  import { cojsonInternals } from "cojson";
3
- import { Account, CoValueBase, ValueRef, inspect } from "../internal.js";
3
+ import { Account, CoValueBase, Ref, inspect } from "../internal.js";
4
4
  import { Schema } from "@effect/schema";
5
5
  export class CoStream extends CoValueBase {
6
6
  get _encoding() {
@@ -133,12 +133,12 @@ function entryFromRawEntry(accessFrom, rawEntry, loadedAs, accountID, itemField)
133
133
  get ref() {
134
134
  if (itemField !== "json" && "ref" in itemField) {
135
135
  const rawId = rawEntry.value;
136
- return new ValueRef(rawId, loadedAs, itemField.ref());
136
+ return new Ref(rawId, loadedAs, itemField.ref());
137
137
  }
138
138
  },
139
139
  get by() {
140
140
  return (accountID &&
141
- new ValueRef(accountID, loadedAs, Account)?.accessFrom(accessFrom));
141
+ new Ref(accountID, loadedAs, Account)?.accessFrom(accessFrom));
142
142
  },
143
143
  madeAt: rawEntry.at,
144
144
  tx: rawEntry.tx,
@@ -1 +1 @@
1
- {"version":3,"file":"coStream.js","sourceRoot":"","sources":["../../src/coValues/coStream.ts"],"names":[],"mappings":";AAUA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAUzC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,M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G,GAAG,OAAO,CAAC,OAAO,CAAC;QAC1B,CAAC;aAAM,CAAC;YACJ,MAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;YACpC,GAAG,GAAG,QAAQ,CAAC,kBAAkB,EAAE,CAAC;QACxC,CAAC;QAED,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE;YAC1B,EAAE,EAAE;gBACA,KAAK,EAAE,GAAG,CAAC,EAAE;gBACb,UAAU,EAAE,KAAK;aACpB;YACD,IAAI,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE;SAC1C,CAAC,CAAC;IACP,CAAC;IAED,SAAS,CAAC,OAET;QAGG,OAAO,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,OAAyB;QAC3B,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,CAAC,IAAgB;QACjB,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAED,GAAG;QACC,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;IAChC,CAAC;IAED,MAAM;QACF,OAAO;YACH,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,GAAG,IAAI,CAAC,SAAS,EAAE;SACtB,CAAC;IACN,CAAC;IAED,CAAC,OAAO,CAAC;QACL,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;CACJ"}
@@ -1,4 +1,4 @@
1
- import { BinaryCoStream, CoMap, indexSignature, subscriptionsScopes, } from "../../internal.js";
1
+ import { BinaryCoStream, CoMap, subscriptionsScopes, } from "../../internal.js";
2
2
  export class ImageDefinition extends CoMap {
3
3
  get _highestResAvailable() {
4
4
  if (!subscriptionsScopes.get(this)) {
@@ -31,6 +31,6 @@ export class ImageDefinition extends CoMap {
31
31
  ImageDefinition.encoding({
32
32
  originalSize: "json",
33
33
  placeholderDataURL: "json",
34
- [indexSignature]: { ref: () => BinaryCoStream },
34
+ _item: { ref: () => BinaryCoStream },
35
35
  });
36
36
  //# 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,cAAc,EACd,mBAAmB,GACtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,OAAO,eAAgB,SAAQ,KAAsB;IAOvD,IAAI,oBAAoB;QAGpB,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YACjC,OAAO,CAAC,IAAI,CACR,yEAAyE,CAC5E,CAAC;QACN,CAAC;QAED,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CACjD,GAAG,CAAC,KAAK,CAAC,WAAW,CAAC,CACE,CAAC;QAE7B,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YACtB,MAAM,MAAM,GAAG,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;gBACp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,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;AACD,eAAe,CAAC,QAAQ,CAAC;IACrB,YAAY,EAAE,MAAM;IACpB,kBAAkB,EAAE,MAAM;IAC1B,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,cAAc,EAAE;CACvC,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  var _a;
2
- import { Account, CoMap, CoValueBase, ValueRef, isControlledAccount, } from "../internal.js";
2
+ import { Account, CoMap, CoValueBase, Ref, isControlledAccount, } from "../internal.js";
3
3
  export class Profile extends CoMap {
4
4
  }
5
5
  Profile.encoding({ name: "json" });
@@ -12,9 +12,9 @@ export class Group extends CoValueBase {
12
12
  const rootID = this._raw.get("root");
13
13
  return {
14
14
  profile: profileID &&
15
- new ValueRef(profileID, this._loadedAs, this._encoding.profile.ref()),
15
+ new Ref(profileID, this._loadedAs, this._encoding.profile.ref()),
16
16
  root: rootID &&
17
- new ValueRef(rootID, this._loadedAs, this._encoding.root.ref()),
17
+ new Ref(rootID, this._loadedAs, this._encoding.root.ref()),
18
18
  };
19
19
  }
20
20
  constructor(init, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"group.js","sourceRoot":"","sources":["../../src/coValues/group.ts"],"names":[],"mappings":";AAQA,OAAO,EACH,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,mBAAmB,GACtB,MAAM,gBAAgB,CAAC;AAExB,MAAM,OAAO,OAAQ,SAAQ,KAAuB;CAEnD;AACD,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AAEnC,MAAM,OAAO,KAMT,SAAQ,WAAW;IAWnB,IAAI,SAAS;QAQT,OAAQ,IAAI,CAAC,WAA4B,CAAC,SAAS,CAAC;IACxD,CAAC;IAiBD,IAAI,KAAK;QAML,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAE1B,CAAC;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAEpB,CAAC;QAChB,OAAO;YACH,OAAO,EACH,SAAS;gBACR,IAAI,QAAQ,CACT,SAAS,EACT,IAAI,CAAC,SAAS,EAEV,IAAI,CAAC,SAAS,CAAC,OAGlB,CAAC,GAAG,EAAE,CACF;YACb,IAAI,EACA,MAAM;gBACL,IAAI,QAAQ,CACT,MAAM,EACN,IAAI,CAAC,SAAS,EAEV,IAAI,CAAC,SAAS,CAAC,IAGlB,CAAC,GAAG,EAAE,CACF;SAChB,CAAC;IACN,CAAC;IAKD,YACI,IAA4C,EAC5C,OAA4D;QAE5D,KAAK,EAAE,CAAC;QACR,IAAI,GAAa,CAAC;QAElB,IAAI,OAAO,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;YAClC,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;QAC1B,CAAC;aAAM,CAAC;YACJ,MAAM,SAAS,GAAG,OAAO,EAAE,KAAK,IAAI,I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0B,EAAE,IAAU;QAC5C,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IAED,MAAM,CAAC,MAAM,CAET,MAGC;QAED,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,EAAE,EAAC;QACtB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;CACJ;;AAzJG;IACI,GAAK,SAAS,CAAC,KAAK,GAAG,OAAO,CAAC;AACnC,CAAC,GAAA,CAAA;AAcD;IACI,GAAK,SAAS,GAAG;QACb,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QACvB,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;KAChB,CAAC;IACT,MAAM,CAAC,cAAc,CAAC,GAAK,SAAS,EAAE,WAAW,EAAE;QAC/C,GAAG,EAAE,GAAG,EAAE,CAAC,GAAK,SAAS;KAC5B,CAAC,CAAC;AACP,CAAC,GAAA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { Effect, Sink, Stream } from "effect";
2
2
  import { RawAccount } from "cojson";
3
- import { Account, AccountCtx, Group, SubscriptionScope, ValueRef, inspect, } from "../internal.js";
3
+ import { Account, AccountCtx, Group, SubscriptionScope, Ref, inspect, } from "../internal.js";
4
4
  export function isCoValue(value) {
5
5
  return value && value._type !== undefined;
6
6
  }
@@ -20,11 +20,11 @@ export class CoValueBase {
20
20
  static loadEf(id) {
21
21
  return Effect.gen(this, function* (_) {
22
22
  const account = yield* _(AccountCtx);
23
- return yield* _(new ValueRef(id, account, this).loadEf());
23
+ return yield* _(new Ref(id, account, this).loadEf());
24
24
  });
25
25
  }
26
26
  static load(id, options) {
27
- return new ValueRef(id, options.as, this).load(options?.onProgress && { onProgress: options.onProgress });
27
+ return new Ref(id, options.as, this).load(options?.onProgress && { onProgress: options.onProgress });
28
28
  }
29
29
  static subscribe(id, options, onUpdate) {
30
30
  void Effect.runPromise(Effect.provideService(this.subscribeEf(id).pipe(Stream.run(Sink.forEach((update) => Effect.sync(() => onUpdate(update))))), AccountCtx, options.as));
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/coValues/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,OAAO,EACH,OAAO,EACP,UAAU,EACV,KAAK,EACL,iBAAiB,EACjB,QAAQ,EACR,OAAO,GACV,MAAM,gBAAgB,CAAC;AAqExB,MAAM,UAAU,SAAS,CAAC,KAAU;IAChC,OAAO,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,CAAC;AAC9C,CAAC;AAOD,MAAM,OAAO,WAAW;IAKpB,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,YAAY,UAAU;YACxC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;YAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,SAAS;QACT,OAAO,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,YAAY,GAAG,KAAU,IAAG,CAAC;IAE7B,MAAM,CAAC,OAAO,CAEV,GAAe;QAEf,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IACjD,CAAC;IAED,MAAM,CAAC,MAAM,CAET,EAAS;QAET,OAAO,MAAM,CAAC,GAAG,C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CAAC,QAAgC;QACtC,OAAQ,IAAI,CAAC,WAA6C,CAAC,SAAS,CAChE,IAAI,CAAC,EAA4B,EACjC,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,EACtB,QAAgD,CACnD,CAAC;IACN,CAAC;IAED,WAAW;QACP,OAAO,MAAM,CAAC,cAAc,CACvB,IAAI,CAAC,WAA6C,CAAC,WAAW,CAC3D,IAAI,CAAC,EAA4B,CACpC,EACD,UAAU,EACV,IAAI,CAAC,SAAS,CAC0C,CAAC;IACjE,CAAC;IAED,MAAM;QACF,OAAO;YACH,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,KAAK;YAChB,KAAK,EAAE,uBAAuB;SACjC,CAAC;IACN,CAAC;IAED,CAAC,OAAO,CAAC;QACL,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;IACzB,CAAC;CACJ"}
@@ -0,0 +1,5 @@
1
+ import { Date } from "@effect/schema/Schema";
2
+ export const Encoders = {
3
+ Date,
4
+ };
5
+ //# sourceMappingURL=encoding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../src/implementation/encoding.ts"],"names":[],"mappings":"AAkCA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7C,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,IAAI;CACP,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Effect } from "effect";
2
2
  import { subscriptionsScopes } from "../internal.js";
3
- export class ValueRef {
3
+ export class Ref {
4
4
  constructor(id, controlledAccount, valueConstructor) {
5
5
  this.id = id;
6
6
  this.controlledAccount = controlledAccount;
@@ -44,7 +44,7 @@ export class ValueRef {
44
44
  return "unavailable";
45
45
  }
46
46
  else {
47
- return new ValueRef(this.id, this.controlledAccount, this.valueConstructor).value;
47
+ return new Ref(this.id, this.controlledAccount, this.valueConstructor).value;
48
48
  }
49
49
  }
50
50
  async load(options) {
@@ -72,7 +72,7 @@ export function makeRefs(getIdForKey, getKeysWithIds, controlledAccount, valueCo
72
72
  if (key === Symbol.iterator) {
73
73
  return function* () {
74
74
  for (const key of getKeysWithIds()) {
75
- yield new ValueRef(getIdForKey(key), controlledAccount, valueConstructorForKey(key));
75
+ yield new Ref(getIdForKey(key), controlledAccount, valueConstructorForKey(key));
76
76
  }
77
77
  };
78
78
  }
@@ -84,7 +84,7 @@ export function makeRefs(getIdForKey, getKeysWithIds, controlledAccount, valueCo
84
84
  const id = getIdForKey(key);
85
85
  if (!id)
86
86
  return undefined;
87
- return new ValueRef(id, controlledAccount, valueConstructorForKey(key));
87
+ return new Ref(id, controlledAccount, valueConstructorForKey(key));
88
88
  },
89
89
  ownKeys() {
90
90
  return getKeysWithIds().map((key) => key.toString());
@@ -1 +1 @@
1
- {"version":3,"file":"refs.js","sourceRoot":"","sources":["../../src/implementation/refs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAWhC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,OAAO,QAAQ;IAGjB,YACa,EAAS,EACT,iBAA+B,EAC/B,gBAA0C;QAF1C,OAAE,GAAF,EAAE,CAAO;QACT,sBAAiB,GAAjB,iBAAiB,CAAc;QAC/B,qBAAgB,GAAhB,gBAAgB,CAA0B;IACpD,CAAC;IAEJ,IAAI,KAAK;QACL,IAAI,IAAI,CAAC,WAAW;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC;QAC9C,wCAAwC;QACxC,MAAM,GAAG,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CACvD,IAAI,CAAC,EAAiC,CACzC,CAAC;QACF,IAAI,GAAG,EAAE,CAAC;YACN,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE;gBAC/C,OAAO,EAAE,GAAG;aACf,CAAM,CAAC;Y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C,CAAC;QACzD,CAAC;KACJ,CAAC,CAAC;AACP,CAAC"}
package/dist/index.js CHANGED
@@ -1,7 +1,8 @@
1
+ export {
1
2
  /** @category Internal types */
2
- export { cojsonReady as jazzReady, cojsonInternals, MAX_RECOMMENDED_TX_SIZE, } from "cojson";
3
+ cojsonReady as jazzReady, cojsonInternals, MAX_RECOMMENDED_TX_SIZE, } from "cojson";
3
4
  export { Encoders } from "./internal.js";
4
- export { CoMap, indexSignature } from "./internal.js";
5
+ export { CoMap } from "./internal.js";
5
6
  export { CoList } from "./internal.js";
6
7
  export { CoStream, BinaryCoStream } from "./internal.js";
7
8
  export { Group, Profile } from "./internal.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EACH,WAAW,IAAI,SAAS,EAMxB,eAAe,EACf,uBAAuB,GAC1B,MAAM,QAAQ,CAAC;AAIhB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,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,EAAM,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAgB,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACH,+BAA+B;AAC/B,WAAW,IAAI,SAAS,EAMxB,eAAe,EACf,uBAAuB,GAC1B,MAAM,QAAQ,CAAC;AAIhB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,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,EAAM,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAgB,MAAM,eAAe,CAAC"}
package/dist/internal.js CHANGED
@@ -7,7 +7,7 @@ export * from "./coValues/coStream.js";
7
7
  export * from "./coValues/group.js";
8
8
  export * from "./implementation/errors.js";
9
9
  export * from "./implementation/refs.js";
10
- export * from "./implementation/schema.js";
10
+ export * from "./implementation/encoding.js";
11
11
  export * from "./implementation/subscriptionScope.js";
12
12
  export * from "./coValues/extensions/imageDef.js";
13
13
  //# 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,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;AAEtD,cAAc,mCAAmC,CAAC"}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,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,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AAEtD,cAAc,mCAAmC,CAAC"}
@@ -3,7 +3,7 @@ import { webcrypto } from "node:crypto";
3
3
  import { connectedPeers } from "cojson/src/streamUtils.js";
4
4
  import { newRandomSessionID } from "cojson/src/coValueCore.js";
5
5
  import { Effect, Queue } from "effect";
6
- import { Account, jazzReady, Encoders, indexSignature, CoMap } from "..";
6
+ import { Account, jazzReady, Encoders, CoMap } from "..";
7
7
  if (!("crypto" in globalThis)) {
8
8
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
9
  globalThis.crypto = webcrypto;
@@ -249,7 +249,7 @@ describe("CoMap resolution", async () => {
249
249
  class TestRecord extends CoMap {
250
250
  }
251
251
  TestRecord.encoding({
252
- [indexSignature]: "json",
252
+ _item: "json",
253
253
  });
254
254
  test("Construction with index signature", async () => {
255
255
  const me = await Account.create({
@@ -1 +1 @@
1
- {"version":3,"file":"coMap.test.js","sourceRoot":"","sources":["../../src/tests/coMap.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEzE,IAAI,CAAC,CAAC,QAAQ,IAAI,U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SAC5B,CAAC,CAAC;QAEH,MAAM,MAAM,GAAG,IAAI,UAAU,CACzB;YACI,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,CAAC;SACX,EACD,EAAE,KAAK,EAAE,EAAE,EAAE,CAChB,CAAC;QAEF,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC7C,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "types": "src/index.ts",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
- "version": "0.7.0-alpha.4",
8
+ "version": "0.7.0-alpha.6",
9
9
  "dependencies": {
10
10
  "@effect/schema": "^0.64.20",
11
11
  "effect": "^2.4.18",
12
- "cojson": "0.7.0-alpha.1"
12
+ "cojson": "0.7.0-alpha.5"
13
13
  },
14
14
  "devDependencies": {
15
15
  "typescript": "^5.3.3",