@seed-hypermedia/client 0.0.84 → 0.0.86
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.
- package/dist/auto-link.mjs +3 -3
- package/dist/blocks-to-markdown.mjs +2 -2
- package/dist/capability.mjs +2 -2
- package/dist/{chunk-7UTCJZPQ.mjs → chunk-7DJW6A2P.mjs} +3 -3
- package/dist/{chunk-IQONPGLX.mjs → chunk-7QKG43UV.mjs} +2 -2
- package/dist/{chunk-TSUQYYH6.mjs → chunk-DVJ3XGXS.mjs} +1 -1
- package/dist/{chunk-PEG3UOMI.mjs → chunk-E2UOAVXB.mjs} +2 -2
- package/dist/{chunk-Q7YPP3WO.mjs → chunk-GIO2JLKT.mjs} +35 -0
- package/dist/{chunk-Q2NA774U.mjs → chunk-GN76IN3M.mjs} +8 -3
- package/dist/{chunk-X4VXKKMT.mjs → chunk-GVFAXUKA.mjs} +10 -8
- package/dist/{chunk-LQMTE724.mjs → chunk-I273FRIR.mjs} +1 -1
- package/dist/{chunk-MTGPGNGT.mjs → chunk-IW5GLPEG.mjs} +5 -4
- package/dist/{chunk-N3P7S5YZ.mjs → chunk-JKKS35IS.mjs} +1 -1
- package/dist/{chunk-NGLLI4HI.mjs → chunk-NR2TW5BW.mjs} +1 -1
- package/dist/{chunk-LMWLJHSM.mjs → chunk-QRWRLUTY.mjs} +1 -1
- package/dist/{chunk-73JZJ5YC.mjs → chunk-STKAE4YB.mjs} +1 -1
- package/dist/{chunk-5OEUIK3L.mjs → chunk-ZVJGJE2L.mjs} +1 -1
- package/dist/client.mjs +2 -2
- package/dist/comment.mjs +3 -3
- package/dist/document-state.mjs +2 -2
- package/dist/editor-types.d.ts +2 -0
- package/dist/editorblock-to-hmblock.mjs +3 -3
- package/dist/hm-resolver.mjs +2 -2
- package/dist/hm-types.d.ts +2519 -754
- package/dist/hm-types.mjs +5 -1
- package/dist/hmblock-to-editorblock.mjs +2 -2
- package/dist/index.mjs +14 -14
- package/dist/pdf-to-blocks.mjs +3 -3
- package/dist/resource-read.mjs +4 -4
- package/dist/tei-to-blocks.mjs +2 -2
- package/dist/unicode.mjs +2 -2
- package/package.json +1 -1
package/dist/hm-types.mjs
CHANGED
|
@@ -113,6 +113,8 @@ import {
|
|
|
113
113
|
HMListedDraftReadSchema,
|
|
114
114
|
HMListedDraftSchema,
|
|
115
115
|
HMLoadedEventSchema,
|
|
116
|
+
HMMentionCandidateSchema,
|
|
117
|
+
HMMentionCandidatesRequestSchema,
|
|
116
118
|
HMMetadataPayloadSchema,
|
|
117
119
|
HMNavigationItemSchema,
|
|
118
120
|
HMPeerConnectionRequestSchema,
|
|
@@ -188,7 +190,7 @@ import {
|
|
|
188
190
|
toNumber,
|
|
189
191
|
unpackHmId,
|
|
190
192
|
unpackedHmIdSchema
|
|
191
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-GIO2JLKT.mjs";
|
|
192
194
|
import "./chunk-7P6ASYW6.mjs";
|
|
193
195
|
export {
|
|
194
196
|
BUILTIN_METADATA_KEYS,
|
|
@@ -305,6 +307,8 @@ export {
|
|
|
305
307
|
HMListedDraftReadSchema,
|
|
306
308
|
HMListedDraftSchema,
|
|
307
309
|
HMLoadedEventSchema,
|
|
310
|
+
HMMentionCandidateSchema,
|
|
311
|
+
HMMentionCandidatesRequestSchema,
|
|
308
312
|
HMMetadataPayloadSchema,
|
|
309
313
|
HMNavigationItemSchema,
|
|
310
314
|
HMPeerConnectionRequestSchema,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
annotationContains,
|
|
3
3
|
hmBlockToEditorBlock,
|
|
4
4
|
hmBlocksToEditorContent
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-IW5GLPEG.mjs";
|
|
6
|
+
import "./chunk-GIO2JLKT.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-XB6E7EVC.mjs";
|
|
11
11
|
import {
|
|
12
12
|
pdfToBlocks
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QRWRLUTY.mjs";
|
|
14
14
|
import {
|
|
15
15
|
teiToBlocks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZVJGJE2L.mjs";
|
|
17
17
|
import {
|
|
18
18
|
embeddedPdfToBlocks
|
|
19
19
|
} from "./chunk-52P3E6H6.mjs";
|
|
20
20
|
import {
|
|
21
21
|
resolveIdWithClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7DJW6A2P.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-
|
|
37
|
+
} from "./chunk-DVJ3XGXS.mjs";
|
|
38
38
|
import {
|
|
39
39
|
annotationContains,
|
|
40
40
|
hmBlockToEditorBlock,
|
|
41
41
|
hmBlocksToEditorContent
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IW5GLPEG.mjs";
|
|
43
43
|
import {
|
|
44
44
|
createSeedClient
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-NR2TW5BW.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-
|
|
57
|
+
} from "./chunk-7QKG43UV.mjs";
|
|
58
58
|
import {
|
|
59
59
|
contactRecordIdFromBlob,
|
|
60
60
|
createContact,
|
|
@@ -64,12 +64,12 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
editorBlockToHMBlock,
|
|
66
66
|
editorBlocksToHMBlockNodes
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GN76IN3M.mjs";
|
|
68
68
|
import {
|
|
69
69
|
AnnotationSet,
|
|
70
70
|
addSpanToAnnotation,
|
|
71
71
|
pushSpanToAnnotation
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-JKKS35IS.mjs";
|
|
73
73
|
import {
|
|
74
74
|
encryption_exports
|
|
75
75
|
} from "./chunk-UOL3F6XQ.mjs";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
documentContainsLinkToChild,
|
|
80
80
|
documentHasSelfQuery,
|
|
81
81
|
shouldAutoLinkParent
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-E2UOAVXB.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-
|
|
103
|
+
} from "./chunk-STKAE4YB.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-
|
|
122
|
+
} from "./chunk-GVFAXUKA.mjs";
|
|
123
123
|
import {
|
|
124
124
|
createCapability,
|
|
125
125
|
resolveCapability
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-I273FRIR.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-
|
|
146
|
+
} from "./chunk-GIO2JLKT.mjs";
|
|
147
147
|
import "./chunk-3TPCJCVO.mjs";
|
|
148
148
|
import "./chunk-7P6ASYW6.mjs";
|
|
149
149
|
export {
|
package/dist/pdf-to-blocks.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pdfToBlocks
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QRWRLUTY.mjs";
|
|
4
|
+
import "./chunk-ZVJGJE2L.mjs";
|
|
5
5
|
import "./chunk-52P3E6H6.mjs";
|
|
6
6
|
import "./chunk-PPAY4WZX.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-GIO2JLKT.mjs";
|
|
8
8
|
import "./chunk-7P6ASYW6.mjs";
|
|
9
9
|
export {
|
|
10
10
|
pdfToBlocks
|
package/dist/resource-read.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveIdWithClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7DJW6A2P.mjs";
|
|
4
|
+
import "./chunk-DVJ3XGXS.mjs";
|
|
5
|
+
import "./chunk-NR2TW5BW.mjs";
|
|
6
6
|
import "./chunk-CBELM7KX.mjs";
|
|
7
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-
|
|
11
|
+
import "./chunk-GIO2JLKT.mjs";
|
|
12
12
|
import "./chunk-7P6ASYW6.mjs";
|
|
13
13
|
export {
|
|
14
14
|
resolveIdWithClient
|
package/dist/tei-to-blocks.mjs
CHANGED
package/dist/unicode.mjs
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
addSpanToAnnotation,
|
|
4
4
|
pushSpanToAnnotation,
|
|
5
5
|
validateExclusiveAnnotations
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JKKS35IS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
codePointLength,
|
|
9
9
|
isSurrogate
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GIO2JLKT.mjs";
|
|
11
11
|
import "./chunk-7P6ASYW6.mjs";
|
|
12
12
|
export {
|
|
13
13
|
AnnotationSet,
|