@seed-hypermedia/client 0.0.72 → 0.0.74

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 (32) hide show
  1. package/dist/auto-link.mjs +3 -3
  2. package/dist/blocks-to-markdown.mjs +2 -2
  3. package/dist/capability.mjs +2 -2
  4. package/dist/{chunk-ALT5YCCW.mjs → chunk-344BPFU7.mjs} +2 -2
  5. package/dist/{chunk-RL3OEUFZ.mjs → chunk-5GJCMBPK.mjs} +1 -1
  6. package/dist/{chunk-TXVEL22U.mjs → chunk-AWRI3EMQ.mjs} +3 -3
  7. package/dist/{chunk-W3FLBRBH.mjs → chunk-BXEZSVNI.mjs} +14 -0
  8. package/dist/{chunk-GYZGSI4H.mjs → chunk-F5IDLVWW.mjs} +2 -2
  9. package/dist/{chunk-QYA75XPV.mjs → chunk-MSGTSCBL.mjs} +1 -1
  10. package/dist/{chunk-NUIZU7KO.mjs → chunk-NDVSBEJ4.mjs} +2 -1
  11. package/dist/{chunk-4L2LE3JW.mjs → chunk-NPKHESR6.mjs} +2 -1
  12. package/dist/{chunk-KY6WRGXY.mjs → chunk-PQEZHGRI.mjs} +9 -1
  13. package/dist/{chunk-FNETXNBK.mjs → chunk-QFZLM6JZ.mjs} +1 -1
  14. package/dist/{chunk-BZ4AXNSZ.mjs → chunk-RFDFZV7U.mjs} +1 -1
  15. package/dist/{chunk-H34UYMNW.mjs → chunk-RQRUU25M.mjs} +1 -1
  16. package/dist/{chunk-FUSG27NF.mjs → chunk-SLA7HDTC.mjs} +1 -1
  17. package/dist/client.mjs +2 -2
  18. package/dist/comment.mjs +2 -2
  19. package/dist/document-state.mjs +2 -2
  20. package/dist/editor-types.d.ts +5 -2
  21. package/dist/editorblock-to-hmblock.mjs +2 -2
  22. package/dist/hm-resolver.mjs +2 -2
  23. package/dist/hm-types.d.ts +2911 -1
  24. package/dist/hm-types.mjs +3 -1
  25. package/dist/hmblock-to-editorblock.d.ts +0 -1
  26. package/dist/hmblock-to-editorblock.mjs +2 -2
  27. package/dist/index.mjs +13 -13
  28. package/dist/pdf-to-blocks.mjs +3 -3
  29. package/dist/resource-read.mjs +4 -4
  30. package/dist/tei-to-blocks.mjs +2 -2
  31. package/dist/unicode.mjs +1 -1
  32. package/package.json +1 -1
package/dist/hm-types.mjs CHANGED
@@ -32,6 +32,7 @@ import {
32
32
  HMBlockParagraphSchema,
33
33
  HMBlockQuerySchema,
34
34
  HMBlockSchema,
35
+ HMBlockSlotSchema,
35
36
  HMBlockTableColumnSchema,
36
37
  HMBlockTableRowSchema,
37
38
  HMBlockTableSchema,
@@ -185,7 +186,7 @@ import {
185
186
  toNumber,
186
187
  unpackHmId,
187
188
  unpackedHmIdSchema
188
- } from "./chunk-W3FLBRBH.mjs";
189
+ } from "./chunk-BXEZSVNI.mjs";
189
190
  import "./chunk-7P6ASYW6.mjs";
190
191
  export {
191
192
  BUILTIN_METADATA_KEYS,
@@ -221,6 +222,7 @@ export {
221
222
  HMBlockParagraphSchema,
222
223
  HMBlockQuerySchema,
223
224
  HMBlockSchema,
225
+ HMBlockSlotSchema,
224
226
  HMBlockTableColumnSchema,
225
227
  HMBlockTableRowSchema,
226
228
  HMBlockTableSchema,
@@ -10,7 +10,6 @@ type ServerToEditorRecursiveOpts = {
10
10
  * orphan table row and column blocks that ended up outside a table parent. */
11
11
  export declare function hmBlocksToEditorContent(blocks: HMBlockNode[], opts?: ServerToEditorRecursiveOpts & {
12
12
  childrenType?: HMBlockChildrenType;
13
- listLevel?: string;
14
13
  start?: string;
15
14
  parentType?: HMBlockType;
16
15
  }): Array<EditorBlock>;
@@ -2,8 +2,8 @@ import {
2
2
  annotationContains,
3
3
  hmBlockToEditorBlock,
4
4
  hmBlocksToEditorContent
5
- } from "./chunk-NUIZU7KO.mjs";
6
- import "./chunk-W3FLBRBH.mjs";
5
+ } from "./chunk-NDVSBEJ4.mjs";
6
+ import "./chunk-BXEZSVNI.mjs";
7
7
  import "./chunk-7P6ASYW6.mjs";
8
8
  export {
9
9
  annotationContains,
package/dist/index.mjs CHANGED
@@ -10,16 +10,16 @@ import {
10
10
  } from "./chunk-H7L4TI6X.mjs";
11
11
  import {
12
12
  pdfToBlocks
13
- } from "./chunk-FNETXNBK.mjs";
13
+ } from "./chunk-QFZLM6JZ.mjs";
14
14
  import {
15
15
  teiToBlocks
16
- } from "./chunk-H34UYMNW.mjs";
16
+ } from "./chunk-RQRUU25M.mjs";
17
17
  import {
18
18
  embeddedPdfToBlocks
19
19
  } from "./chunk-52P3E6H6.mjs";
20
20
  import {
21
21
  resolveIdWithClient
22
- } from "./chunk-TXVEL22U.mjs";
22
+ } from "./chunk-AWRI3EMQ.mjs";
23
23
  import {
24
24
  fileToIpfsBlobs,
25
25
  filesToIpfsBlobs,
@@ -34,15 +34,15 @@ import {
34
34
  import {
35
35
  resolveHypermediaUrl,
36
36
  resolveId
37
- } from "./chunk-QYA75XPV.mjs";
37
+ } from "./chunk-MSGTSCBL.mjs";
38
38
  import {
39
39
  annotationContains,
40
40
  hmBlockToEditorBlock,
41
41
  hmBlocksToEditorContent
42
- } from "./chunk-NUIZU7KO.mjs";
42
+ } from "./chunk-NDVSBEJ4.mjs";
43
43
  import {
44
44
  createSeedClient
45
- } from "./chunk-FUSG27NF.mjs";
45
+ } from "./chunk-SLA7HDTC.mjs";
46
46
  import {
47
47
  SeedClientError,
48
48
  SeedNetworkError,
@@ -54,7 +54,7 @@ import {
54
54
  deleteComment,
55
55
  trimTrailingEmptyBlocks,
56
56
  updateComment
57
- } from "./chunk-KY6WRGXY.mjs";
57
+ } from "./chunk-PQEZHGRI.mjs";
58
58
  import {
59
59
  contactRecordIdFromBlob,
60
60
  createContact,
@@ -64,7 +64,7 @@ import {
64
64
  import {
65
65
  editorBlockToHMBlock,
66
66
  editorBlocksToHMBlockNodes
67
- } from "./chunk-4L2LE3JW.mjs";
67
+ } from "./chunk-NPKHESR6.mjs";
68
68
  import {
69
69
  AnnotationSet,
70
70
  addSpanToAnnotation,
@@ -79,7 +79,7 @@ import {
79
79
  documentContainsLinkToChild,
80
80
  documentHasSelfQuery,
81
81
  shouldAutoLinkParent
82
- } from "./chunk-GYZGSI4H.mjs";
82
+ } from "./chunk-F5IDLVWW.mjs";
83
83
  import {
84
84
  createChange,
85
85
  createChangeOps,
@@ -100,7 +100,7 @@ import {
100
100
  followToDocument,
101
101
  resolveDocumentState,
102
102
  resolveEditableDocument
103
- } from "./chunk-BZ4AXNSZ.mjs";
103
+ } from "./chunk-RFDFZV7U.mjs";
104
104
  import "./chunk-2MD3FXKB.mjs";
105
105
  import {
106
106
  computeReplaceOps,
@@ -119,11 +119,11 @@ import {
119
119
  emitFrontmatter,
120
120
  parseDraftFilename,
121
121
  slugify
122
- } from "./chunk-ALT5YCCW.mjs";
122
+ } from "./chunk-344BPFU7.mjs";
123
123
  import {
124
124
  createCapability,
125
125
  resolveCapability
126
- } from "./chunk-RL3OEUFZ.mjs";
126
+ } from "./chunk-5GJCMBPK.mjs";
127
127
  import "./chunk-LVAHHQIK.mjs";
128
128
  import "./chunk-IT5LLTMP.mjs";
129
129
  import {
@@ -143,7 +143,7 @@ import {
143
143
  parseFragment,
144
144
  serializeBlockRange,
145
145
  unpackHmId
146
- } from "./chunk-W3FLBRBH.mjs";
146
+ } from "./chunk-BXEZSVNI.mjs";
147
147
  import "./chunk-3TPCJCVO.mjs";
148
148
  import "./chunk-7P6ASYW6.mjs";
149
149
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-FNETXNBK.mjs";
4
- import "./chunk-H34UYMNW.mjs";
3
+ } from "./chunk-QFZLM6JZ.mjs";
4
+ import "./chunk-RQRUU25M.mjs";
5
5
  import "./chunk-52P3E6H6.mjs";
6
6
  import "./chunk-PPAY4WZX.mjs";
7
- import "./chunk-W3FLBRBH.mjs";
7
+ import "./chunk-BXEZSVNI.mjs";
8
8
  import "./chunk-7P6ASYW6.mjs";
9
9
  export {
10
10
  pdfToBlocks
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  resolveIdWithClient
3
- } from "./chunk-TXVEL22U.mjs";
4
- import "./chunk-QYA75XPV.mjs";
5
- import "./chunk-FUSG27NF.mjs";
3
+ } from "./chunk-AWRI3EMQ.mjs";
4
+ import "./chunk-MSGTSCBL.mjs";
5
+ import "./chunk-SLA7HDTC.mjs";
6
6
  import "./chunk-CBELM7KX.mjs";
7
7
  import "./chunk-JT57MV7Y.mjs";
8
8
  import "./chunk-PJ2RFT5A.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-W3FLBRBH.mjs";
11
+ import "./chunk-BXEZSVNI.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
14
14
  resolveIdWithClient
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-H34UYMNW.mjs";
4
- import "./chunk-W3FLBRBH.mjs";
3
+ } from "./chunk-RQRUU25M.mjs";
4
+ import "./chunk-BXEZSVNI.mjs";
5
5
  import "./chunk-7P6ASYW6.mjs";
6
6
  export {
7
7
  teiToBlocks
package/dist/unicode.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  codePointLength,
9
9
  isSurrogate
10
- } from "./chunk-W3FLBRBH.mjs";
10
+ } from "./chunk-BXEZSVNI.mjs";
11
11
  import "./chunk-7P6ASYW6.mjs";
12
12
  export {
13
13
  AnnotationSet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",