@seed-hypermedia/client 0.0.135 → 0.0.136

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.
Files changed (45) hide show
  1. package/dist/apps.mjs +6 -6
  2. package/dist/auto-link.mjs +4 -4
  3. package/dist/block-diff.mjs +4 -4
  4. package/dist/blocks-to-markdown.mjs +3 -3
  5. package/dist/capability.mjs +2 -2
  6. package/dist/{chunk-QFIEZZYJ.mjs → chunk-4CLAG2ZO.mjs} +2 -2
  7. package/dist/{chunk-U5K6COJT.mjs → chunk-5CYFQIM3.mjs} +2 -2
  8. package/dist/{chunk-QS6PIRUE.mjs → chunk-5DRX6MJ6.mjs} +1 -1
  9. package/dist/{chunk-H2R4GYNV.mjs → chunk-6HOMACAF.mjs} +1 -1
  10. package/dist/{chunk-FU7FIYHI.mjs → chunk-7SM52PZ4.mjs} +1 -1
  11. package/dist/{chunk-KAZNQFXV.mjs → chunk-BIUZ2PNE.mjs} +1 -1
  12. package/dist/{chunk-YRNPRWYG.mjs → chunk-FQNFKGLA.mjs} +1 -1
  13. package/dist/{chunk-7FPJWOXB.mjs → chunk-HWXF5HWC.mjs} +1 -1
  14. package/dist/{chunk-LDCWJXIP.mjs → chunk-KCSNLBCS.mjs} +1 -1
  15. package/dist/{chunk-O36UBGLF.mjs → chunk-MUV2CJEU.mjs} +3 -3
  16. package/dist/{chunk-Z7VKSY7P.mjs → chunk-PN4FREGN.mjs} +3 -3
  17. package/dist/{chunk-ETIDW7ZJ.mjs → chunk-UYADUQ6I.mjs} +1 -1
  18. package/dist/{chunk-ZFMYEBAU.mjs → chunk-WTK4IVK5.mjs} +3 -3
  19. package/dist/{chunk-AU3QZNYC.mjs → chunk-X4I2LH7P.mjs} +1 -1
  20. package/dist/{chunk-Q7CWMEBZ.mjs → chunk-XL4OR2M2.mjs} +1 -1
  21. package/dist/{chunk-HL43SJUP.mjs → chunk-YFIEJK62.mjs} +26 -4
  22. package/dist/{chunk-DGNAMVGH.mjs → chunk-YSTZP4QT.mjs} +19 -1
  23. package/dist/{chunk-IFELP3LQ.mjs → chunk-ZPRXUG5Y.mjs} +1 -1
  24. package/dist/client.mjs +2 -2
  25. package/dist/comment.d.ts +4 -1
  26. package/dist/comment.mjs +2 -2
  27. package/dist/document-state.mjs +2 -2
  28. package/dist/editorblock-to-hmblock.mjs +2 -2
  29. package/dist/hm-resolver.mjs +2 -2
  30. package/dist/hm-types.d.ts +388 -0
  31. package/dist/hm-types.mjs +3 -1
  32. package/dist/hmblock-to-editorblock.mjs +2 -2
  33. package/dist/index.mjs +15 -15
  34. package/dist/pdf-to-blocks.mjs +3 -3
  35. package/dist/prepare-change.mjs +3 -3
  36. package/dist/resource-read.mjs +4 -4
  37. package/dist/schema-engine.mjs +2 -2
  38. package/dist/schema-registry.generated.mjs +1 -1
  39. package/dist/schema-resolve.mjs +4 -4
  40. package/dist/schema-subtypes.mjs +4 -4
  41. package/dist/schema-types.generated.d.ts +5 -3
  42. package/dist/signed-blob.mjs +2 -2
  43. package/dist/tei-to-blocks.mjs +2 -2
  44. package/dist/unicode.mjs +1 -1
  45. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-YRNPRWYG.mjs";
4
- import "./chunk-FU7FIYHI.mjs";
3
+ } from "./chunk-FQNFKGLA.mjs";
4
+ import "./chunk-7SM52PZ4.mjs";
5
5
  import "./chunk-2FJBS3V7.mjs";
6
6
  import "./chunk-PPAY4WZX.mjs";
7
- import "./chunk-DGNAMVGH.mjs";
7
+ import "./chunk-YSTZP4QT.mjs";
8
8
  import "./chunk-AHQWDCHV.mjs";
9
9
  import "./chunk-7P6ASYW6.mjs";
10
10
  export {
@@ -10,14 +10,14 @@ import {
10
10
  nativeBlockToProtoBlock,
11
11
  preparableDocumentChanges,
12
12
  prepareDocumentUpdateBlobs
13
- } from "./chunk-KAZNQFXV.mjs";
14
- import "./chunk-QS6PIRUE.mjs";
13
+ } from "./chunk-BIUZ2PNE.mjs";
14
+ import "./chunk-5DRX6MJ6.mjs";
15
15
  import "./chunk-CBELM7KX.mjs";
16
16
  import "./chunk-KM2NR4YA.mjs";
17
17
  import "./chunk-PJ2RFT5A.mjs";
18
18
  import "./chunk-LVAHHQIK.mjs";
19
19
  import "./chunk-DR3HJ6BV.mjs";
20
- import "./chunk-DGNAMVGH.mjs";
20
+ import "./chunk-YSTZP4QT.mjs";
21
21
  import "./chunk-AHQWDCHV.mjs";
22
22
  import "./chunk-7P6ASYW6.mjs";
23
23
  export {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  resolveIdWithClient
3
- } from "./chunk-Z7VKSY7P.mjs";
4
- import "./chunk-H2R4GYNV.mjs";
3
+ } from "./chunk-PN4FREGN.mjs";
4
+ import "./chunk-6HOMACAF.mjs";
5
5
  import "./chunk-CBELM7KX.mjs";
6
6
  import "./chunk-KM2NR4YA.mjs";
7
7
  import "./chunk-PJ2RFT5A.mjs";
8
8
  import "./chunk-LVAHHQIK.mjs";
9
9
  import "./chunk-DR3HJ6BV.mjs";
10
- import "./chunk-Q7CWMEBZ.mjs";
11
- import "./chunk-DGNAMVGH.mjs";
10
+ import "./chunk-XL4OR2M2.mjs";
11
+ import "./chunk-YSTZP4QT.mjs";
12
12
  import "./chunk-AHQWDCHV.mjs";
13
13
  import "./chunk-7P6ASYW6.mjs";
14
14
  export {
@@ -43,11 +43,11 @@ import {
43
43
  validate,
44
44
  validateAdvisory,
45
45
  validateDefaults
46
- } from "./chunk-AU3QZNYC.mjs";
46
+ } from "./chunk-X4I2LH7P.mjs";
47
47
  import {
48
48
  HM_SCHEMAS,
49
49
  HM_SCHEMA_MANIFEST
50
- } from "./chunk-U5K6COJT.mjs";
50
+ } from "./chunk-5CYFQIM3.mjs";
51
51
  import "./chunk-7P6ASYW6.mjs";
52
52
  export {
53
53
  HM_SCHEMAS,
@@ -2,7 +2,7 @@ import {
2
2
  HM_SCHEMAS,
3
3
  HM_SCHEMA_MANIFEST,
4
4
  HM_SCHEMA_PAGES
5
- } from "./chunk-U5K6COJT.mjs";
5
+ } from "./chunk-5CYFQIM3.mjs";
6
6
  import "./chunk-7P6ASYW6.mjs";
7
7
  export {
8
8
  HM_SCHEMAS,
@@ -18,11 +18,11 @@ import {
18
18
  resolveSchemaRef,
19
19
  schemaDefinitionCid,
20
20
  withoutSchemaLink
21
- } from "./chunk-ZFMYEBAU.mjs";
22
- import "./chunk-AU3QZNYC.mjs";
23
- import "./chunk-U5K6COJT.mjs";
21
+ } from "./chunk-WTK4IVK5.mjs";
22
+ import "./chunk-X4I2LH7P.mjs";
23
+ import "./chunk-5CYFQIM3.mjs";
24
24
  import "./chunk-VWSAFDOL.mjs";
25
- import "./chunk-DGNAMVGH.mjs";
25
+ import "./chunk-YSTZP4QT.mjs";
26
26
  import "./chunk-AHQWDCHV.mjs";
27
27
  import "./chunk-7P6ASYW6.mjs";
28
28
  export {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  classifyRef
3
- } from "./chunk-ZFMYEBAU.mjs";
3
+ } from "./chunk-WTK4IVK5.mjs";
4
4
  import {
5
5
  kindOf,
6
6
  nameForCid,
7
7
  nameToUrl,
8
8
  schemaCid
9
- } from "./chunk-AU3QZNYC.mjs";
9
+ } from "./chunk-X4I2LH7P.mjs";
10
10
  import {
11
11
  HM_SCHEMAS
12
- } from "./chunk-U5K6COJT.mjs";
12
+ } from "./chunk-5CYFQIM3.mjs";
13
13
  import "./chunk-VWSAFDOL.mjs";
14
14
  import {
15
15
  unpackHmId
16
- } from "./chunk-DGNAMVGH.mjs";
16
+ } from "./chunk-YSTZP4QT.mjs";
17
17
  import "./chunk-AHQWDCHV.mjs";
18
18
  import "./chunk-7P6ASYW6.mjs";
19
19
 
@@ -640,7 +640,7 @@ export type HMCid = HMLink;
640
640
  /**
641
641
  * Comment
642
642
  * A signed comment on a document version, threaded through threadRoot and replyParent, with a body that is a tree of comment blocks.
643
- * A signed comment on a document version, threaded through `threadRoot` and `replyParent`, with a body of comment blocks.
643
+ * A signed comment on a document version, optionally written by an authorized agent for a stable account authority.
644
644
  * Schema: hm://hyper.media/comment
645
645
  */
646
646
  export type HMComment = HMBlob & {
@@ -649,12 +649,14 @@ export type HMComment = HMBlob & {
649
649
  id?: string;
650
650
  /** Deprecated and ignored; some old comment blobs still carry it. */
651
651
  capability?: HMCid;
652
+ /** Stable account authority represented by a delegated signer; omitted when it equals the signer. */
653
+ account?: HMPrincipal;
652
654
  /** Space of the commented document; omitted when it equals the signer. */
653
655
  space?: HMPrincipal;
654
656
  /** Path of the commented document within `space`. */
655
657
  path?: string;
656
- /** CIDs of the document heads the author was looking at; empty means the document at this path. */
657
- version?: HMCid[];
658
+ /** CIDs of the document heads the author was looking at; a comment without them is invalid. */
659
+ version: HMCid[];
658
660
  /** CID of the first comment of the thread; present on every reply. */
659
661
  threadRoot?: HMCid;
660
662
  /** CID of the comment this one replies to; omitted when it equals `threadRoot`. */
@@ -5,8 +5,8 @@ import {
5
5
  literalValue,
6
6
  resolveSchema,
7
7
  structFields
8
- } from "./chunk-AU3QZNYC.mjs";
9
- import "./chunk-U5K6COJT.mjs";
8
+ } from "./chunk-X4I2LH7P.mjs";
9
+ import "./chunk-5CYFQIM3.mjs";
10
10
  import {
11
11
  dagJsonToIpld,
12
12
  findSeedIndexerCollision
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-FU7FIYHI.mjs";
4
- import "./chunk-DGNAMVGH.mjs";
3
+ } from "./chunk-7SM52PZ4.mjs";
4
+ import "./chunk-YSTZP4QT.mjs";
5
5
  import "./chunk-AHQWDCHV.mjs";
6
6
  import "./chunk-7P6ASYW6.mjs";
7
7
  export {
package/dist/unicode.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  codePointLength,
9
9
  isSurrogate
10
- } from "./chunk-DGNAMVGH.mjs";
10
+ } from "./chunk-YSTZP4QT.mjs";
11
11
  import "./chunk-AHQWDCHV.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.135",
3
+ "version": "0.0.136",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",