@seed-hypermedia/client 0.0.82 → 0.0.84

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 (37) hide show
  1. package/dist/auto-link.d.ts +3 -4
  2. package/dist/auto-link.mjs +4 -4
  3. package/dist/blocks-to-markdown.mjs +2 -2
  4. package/dist/capability.mjs +2 -2
  5. package/dist/change.d.ts +2 -0
  6. package/dist/change.mjs +1 -1
  7. package/dist/{chunk-MZENVC36.mjs → chunk-5OEUIK3L.mjs} +1 -1
  8. package/dist/{chunk-C42YWLL2.mjs → chunk-73JZJ5YC.mjs} +1 -1
  9. package/dist/{chunk-WGOIXGRU.mjs → chunk-7UTCJZPQ.mjs} +3 -3
  10. package/dist/{chunk-IREIRKVP.mjs → chunk-IQONPGLX.mjs} +1 -1
  11. package/dist/{chunk-LCKCG574.mjs → chunk-LMWLJHSM.mjs} +1 -1
  12. package/dist/{chunk-BO2QSSIU.mjs → chunk-LQMTE724.mjs} +1 -1
  13. package/dist/{chunk-AIQJ6BI3.mjs → chunk-MTGPGNGT.mjs} +1 -1
  14. package/dist/{chunk-RCVLNXG6.mjs → chunk-NGLLI4HI.mjs} +9 -8
  15. package/dist/{chunk-55OXHA27.mjs → chunk-PEG3UOMI.mjs} +5 -3
  16. package/dist/{chunk-2OMSCQ56.mjs → chunk-Q2NA774U.mjs} +1 -1
  17. package/dist/{chunk-MZUGCZJ6.mjs → chunk-Q7YPP3WO.mjs} +43 -11
  18. package/dist/{chunk-D2LTD2KZ.mjs → chunk-TSUQYYH6.mjs} +15 -1
  19. package/dist/{chunk-JT57MV7Y.mjs → chunk-W7H2UYQL.mjs} +2 -0
  20. package/dist/{chunk-TET43O3D.mjs → chunk-X4VXKKMT.mjs} +8 -7
  21. package/dist/client.d.ts +7 -1
  22. package/dist/client.mjs +3 -3
  23. package/dist/comment.mjs +2 -2
  24. package/dist/document-state.mjs +2 -2
  25. package/dist/editorblock-to-hmblock.mjs +2 -2
  26. package/dist/hm-resolver.d.ts +2 -0
  27. package/dist/hm-resolver.mjs +2 -2
  28. package/dist/hm-types.d.ts +227 -114
  29. package/dist/hm-types.mjs +5 -1
  30. package/dist/hmblock-to-editorblock.mjs +2 -2
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.mjs +14 -14
  33. package/dist/pdf-to-blocks.mjs +3 -3
  34. package/dist/resource-read.mjs +5 -5
  35. package/dist/tei-to-blocks.mjs +2 -2
  36. package/dist/unicode.mjs +1 -1
  37. package/package.json +1 -1
package/dist/hm-types.mjs CHANGED
@@ -177,6 +177,8 @@ import {
177
177
  isKnownBlockType,
178
178
  isSurrogate,
179
179
  knownBlockTypes,
180
+ normalizeQuerySort,
181
+ normalizeQuerySortEntry,
180
182
  packBaseId,
181
183
  packHmId,
182
184
  parseCustomURL,
@@ -186,7 +188,7 @@ import {
186
188
  toNumber,
187
189
  unpackHmId,
188
190
  unpackedHmIdSchema
189
- } from "./chunk-MZUGCZJ6.mjs";
191
+ } from "./chunk-Q7YPP3WO.mjs";
190
192
  import "./chunk-7P6ASYW6.mjs";
191
193
  export {
192
194
  BUILTIN_METADATA_KEYS,
@@ -367,6 +369,8 @@ export {
367
369
  isKnownBlockType,
368
370
  isSurrogate,
369
371
  knownBlockTypes,
372
+ normalizeQuerySort,
373
+ normalizeQuerySortEntry,
370
374
  packBaseId,
371
375
  packHmId,
372
376
  parseCustomURL,
@@ -2,8 +2,8 @@ import {
2
2
  annotationContains,
3
3
  hmBlockToEditorBlock,
4
4
  hmBlocksToEditorContent
5
- } from "./chunk-AIQJ6BI3.mjs";
6
- import "./chunk-MZUGCZJ6.mjs";
5
+ } from "./chunk-MTGPGNGT.mjs";
6
+ import "./chunk-Q7YPP3WO.mjs";
7
7
  import "./chunk-7P6ASYW6.mjs";
8
8
  export {
9
9
  annotationContains,
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export type { CapabilityRole, CreateCapabilityInput } from './capability';
3
3
  export { createChange, createChangeOps, createDocumentChange, createDocumentChangeFromOps, createGenesisChange, signDocumentChange, signPreparedChange, } from './change';
4
4
  export type { CreateChangeOpsInput, CreateDocumentChangeFromOpsInput, CreateDocumentChangeInput, DocumentOperation, SignDocumentChangeInput, } from './change';
5
5
  export { createSeedClient } from './client';
6
- export type { PublishDocumentInput, SeedClient, SeedClientOptions } from './client';
6
+ export type { PublishDocumentResult, PublishDocumentInput, SeedClient, SeedClientOptions } from './client';
7
7
  export { commentRecordIdFromBlob, createComment, deleteComment, updateComment } from './comment';
8
8
  export type { CommentAttachmentBlob, CreateCommentInput, DeleteCommentInput, QuotingTarget, UpdateCommentInput, } from './comment';
9
9
  export { contactRecordIdFromBlob, createContact, deleteContact, updateContact } from './contact';
package/dist/index.mjs CHANGED
@@ -10,16 +10,16 @@ import {
10
10
  } from "./chunk-XB6E7EVC.mjs";
11
11
  import {
12
12
  pdfToBlocks
13
- } from "./chunk-LCKCG574.mjs";
13
+ } from "./chunk-LMWLJHSM.mjs";
14
14
  import {
15
15
  teiToBlocks
16
- } from "./chunk-MZENVC36.mjs";
16
+ } from "./chunk-5OEUIK3L.mjs";
17
17
  import {
18
18
  embeddedPdfToBlocks
19
19
  } from "./chunk-52P3E6H6.mjs";
20
20
  import {
21
21
  resolveIdWithClient
22
- } from "./chunk-WGOIXGRU.mjs";
22
+ } from "./chunk-7UTCJZPQ.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-D2LTD2KZ.mjs";
37
+ } from "./chunk-TSUQYYH6.mjs";
38
38
  import {
39
39
  annotationContains,
40
40
  hmBlockToEditorBlock,
41
41
  hmBlocksToEditorContent
42
- } from "./chunk-AIQJ6BI3.mjs";
42
+ } from "./chunk-MTGPGNGT.mjs";
43
43
  import {
44
44
  createSeedClient
45
- } from "./chunk-RCVLNXG6.mjs";
45
+ } from "./chunk-NGLLI4HI.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-IREIRKVP.mjs";
57
+ } from "./chunk-IQONPGLX.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-2OMSCQ56.mjs";
67
+ } from "./chunk-Q2NA774U.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-55OXHA27.mjs";
82
+ } from "./chunk-PEG3UOMI.mjs";
83
83
  import {
84
84
  createChange,
85
85
  createChangeOps,
@@ -88,7 +88,7 @@ import {
88
88
  createGenesisChange,
89
89
  signDocumentChange,
90
90
  signPreparedChange
91
- } from "./chunk-JT57MV7Y.mjs";
91
+ } from "./chunk-W7H2UYQL.mjs";
92
92
  import {
93
93
  createRedirectRef,
94
94
  createTombstoneRef,
@@ -100,7 +100,7 @@ import {
100
100
  followToDocument,
101
101
  resolveDocumentState,
102
102
  resolveEditableDocument
103
- } from "./chunk-C42YWLL2.mjs";
103
+ } from "./chunk-73JZJ5YC.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-TET43O3D.mjs";
122
+ } from "./chunk-X4VXKKMT.mjs";
123
123
  import {
124
124
  createCapability,
125
125
  resolveCapability
126
- } from "./chunk-BO2QSSIU.mjs";
126
+ } from "./chunk-LQMTE724.mjs";
127
127
  import "./chunk-LVAHHQIK.mjs";
128
128
  import "./chunk-NBCHK76Q.mjs";
129
129
  import {
@@ -143,7 +143,7 @@ import {
143
143
  parseFragment,
144
144
  serializeBlockRange,
145
145
  unpackHmId
146
- } from "./chunk-MZUGCZJ6.mjs";
146
+ } from "./chunk-Q7YPP3WO.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-LCKCG574.mjs";
4
- import "./chunk-MZENVC36.mjs";
3
+ } from "./chunk-LMWLJHSM.mjs";
4
+ import "./chunk-5OEUIK3L.mjs";
5
5
  import "./chunk-52P3E6H6.mjs";
6
6
  import "./chunk-PPAY4WZX.mjs";
7
- import "./chunk-MZUGCZJ6.mjs";
7
+ import "./chunk-Q7YPP3WO.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-WGOIXGRU.mjs";
4
- import "./chunk-D2LTD2KZ.mjs";
5
- import "./chunk-RCVLNXG6.mjs";
3
+ } from "./chunk-7UTCJZPQ.mjs";
4
+ import "./chunk-TSUQYYH6.mjs";
5
+ import "./chunk-NGLLI4HI.mjs";
6
6
  import "./chunk-CBELM7KX.mjs";
7
- import "./chunk-JT57MV7Y.mjs";
7
+ import "./chunk-W7H2UYQL.mjs";
8
8
  import "./chunk-PJ2RFT5A.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-MZUGCZJ6.mjs";
11
+ import "./chunk-Q7YPP3WO.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-MZENVC36.mjs";
4
- import "./chunk-MZUGCZJ6.mjs";
3
+ } from "./chunk-5OEUIK3L.mjs";
4
+ import "./chunk-Q7YPP3WO.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-MZUGCZJ6.mjs";
10
+ } from "./chunk-Q7YPP3WO.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.82",
3
+ "version": "0.0.84",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",