@seed-hypermedia/client 0.0.119 → 0.0.121

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 (40) hide show
  1. package/dist/apps.mjs +2 -2
  2. package/dist/auto-link.mjs +3 -3
  3. package/dist/blocks-to-markdown.mjs +3 -3
  4. package/dist/capability.mjs +2 -2
  5. package/dist/{chunk-6RZWE7TK.mjs → chunk-5AZOE4Q5.mjs} +2 -2
  6. package/dist/{chunk-PTCL6IO7.mjs → chunk-6GHZWVT6.mjs} +1 -1
  7. package/dist/{chunk-BFXGJBSN.mjs → chunk-7DPSFFKD.mjs} +3 -3
  8. package/dist/{chunk-RJ77FJD2.mjs → chunk-7NQUJO5X.mjs} +1 -1
  9. package/dist/{chunk-IC3KRDNX.mjs → chunk-CBCMOIFJ.mjs} +2 -2
  10. package/dist/{chunk-PUKRJHZR.mjs → chunk-EDCDFQJC.mjs} +1 -1
  11. package/dist/{chunk-KTOBQK6C.mjs → chunk-LOAOGLQF.mjs} +13 -2
  12. package/dist/{chunk-JLSJJMOD.mjs → chunk-LZYLDVJR.mjs} +2 -2
  13. package/dist/{chunk-J2QF2I3H.mjs → chunk-O3QWSQ3Y.mjs} +1 -1
  14. package/dist/{chunk-JMP3HYRE.mjs → chunk-OUBG6JFC.mjs} +3 -3
  15. package/dist/{chunk-MY2L74E7.mjs → chunk-QH6OHO4E.mjs} +1 -1
  16. package/dist/{chunk-PON3NHRS.mjs → chunk-QIZO45NU.mjs} +1 -1
  17. package/dist/{chunk-37I7X7G7.mjs → chunk-QTPHQIZJ.mjs} +1 -1
  18. package/dist/{chunk-TSK67IPM.mjs → chunk-UBZRS3WZ.mjs} +1 -1
  19. package/dist/{chunk-F37OTY5W.mjs → chunk-UCISXEJ7.mjs} +1 -1
  20. package/dist/{chunk-P5EQ4NJ7.mjs → chunk-XMDF4NIR.mjs} +1 -1
  21. package/dist/client.mjs +2 -2
  22. package/dist/comment.mjs +2 -2
  23. package/dist/document-state.mjs +2 -2
  24. package/dist/editorblock-to-hmblock.mjs +2 -2
  25. package/dist/hm-resolver.mjs +2 -2
  26. package/dist/hm-types.d.ts +264 -0
  27. package/dist/hm-types.mjs +1 -1
  28. package/dist/hmblock-to-editorblock.mjs +2 -2
  29. package/dist/index.mjs +13 -13
  30. package/dist/pdf-to-blocks.mjs +3 -3
  31. package/dist/resource-read.mjs +4 -4
  32. package/dist/schema-engine.mjs +2 -2
  33. package/dist/schema-registry.generated.mjs +1 -1
  34. package/dist/schema-resolve.mjs +4 -4
  35. package/dist/schema-subtypes.mjs +4 -4
  36. package/dist/schema-types.generated.d.ts +4 -2
  37. package/dist/signed-blob.mjs +2 -2
  38. package/dist/tei-to-blocks.mjs +2 -2
  39. package/dist/unicode.mjs +1 -1
  40. package/package.json +1 -1
package/dist/hm-types.mjs CHANGED
@@ -215,7 +215,7 @@ import {
215
215
  toNumber,
216
216
  unpackHmId,
217
217
  unpackedHmIdSchema
218
- } from "./chunk-KTOBQK6C.mjs";
218
+ } from "./chunk-LOAOGLQF.mjs";
219
219
  import "./chunk-AHQWDCHV.mjs";
220
220
  import "./chunk-7P6ASYW6.mjs";
221
221
  export {
@@ -2,8 +2,8 @@ import {
2
2
  annotationContains,
3
3
  hmBlockToEditorBlock,
4
4
  hmBlocksToEditorContent
5
- } from "./chunk-PTCL6IO7.mjs";
6
- import "./chunk-KTOBQK6C.mjs";
5
+ } from "./chunk-6GHZWVT6.mjs";
6
+ import "./chunk-LOAOGLQF.mjs";
7
7
  import "./chunk-AHQWDCHV.mjs";
8
8
  import "./chunk-7P6ASYW6.mjs";
9
9
  export {
package/dist/index.mjs CHANGED
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-RJ77FJD2.mjs";
3
+ } from "./chunk-7NQUJO5X.mjs";
4
4
  import {
5
5
  teiToBlocks
6
- } from "./chunk-PON3NHRS.mjs";
6
+ } from "./chunk-QIZO45NU.mjs";
7
7
  import {
8
8
  embeddedPdfToBlocks
9
9
  } from "./chunk-2FJBS3V7.mjs";
10
10
  import {
11
11
  resolveIdWithClient
12
- } from "./chunk-JMP3HYRE.mjs";
12
+ } from "./chunk-OUBG6JFC.mjs";
13
13
  import {
14
14
  annotationContains,
15
15
  hmBlockToEditorBlock,
16
16
  hmBlocksToEditorContent
17
- } from "./chunk-PTCL6IO7.mjs";
17
+ } from "./chunk-6GHZWVT6.mjs";
18
18
  import {
19
19
  keyfile_exports
20
20
  } from "./chunk-EY6RQVAP.mjs";
@@ -36,7 +36,7 @@ import {
36
36
  import {
37
37
  editorBlockToHMBlock,
38
38
  editorBlocksToHMBlockNodes
39
- } from "./chunk-F37OTY5W.mjs";
39
+ } from "./chunk-UCISXEJ7.mjs";
40
40
  import {
41
41
  encryption_exports
42
42
  } from "./chunk-UOL3F6XQ.mjs";
@@ -55,7 +55,7 @@ import {
55
55
  } from "./chunk-PPAY4WZX.mjs";
56
56
  import {
57
57
  createSeedClient
58
- } from "./chunk-PUKRJHZR.mjs";
58
+ } from "./chunk-EDCDFQJC.mjs";
59
59
  import {
60
60
  SeedClientError,
61
61
  SeedNetworkError,
@@ -67,7 +67,7 @@ import {
67
67
  deleteComment,
68
68
  trimTrailingEmptyBlocks,
69
69
  updateComment
70
- } from "./chunk-J2QF2I3H.mjs";
70
+ } from "./chunk-O3QWSQ3Y.mjs";
71
71
  import {
72
72
  AnnotationSet,
73
73
  addSpanToAnnotation,
@@ -88,7 +88,7 @@ import {
88
88
  documentContainsLinkToChild,
89
89
  documentHasSelfQuery,
90
90
  shouldAutoLinkParent
91
- } from "./chunk-IC3KRDNX.mjs";
91
+ } from "./chunk-CBCMOIFJ.mjs";
92
92
  import {
93
93
  createChange,
94
94
  createChangeOps,
@@ -110,7 +110,7 @@ import {
110
110
  followToDocument,
111
111
  resolveDocumentState,
112
112
  resolveEditableDocument
113
- } from "./chunk-37I7X7G7.mjs";
113
+ } from "./chunk-QTPHQIZJ.mjs";
114
114
  import "./chunk-2MD3FXKB.mjs";
115
115
  import {
116
116
  computeReplaceOps,
@@ -129,17 +129,17 @@ import {
129
129
  emitFrontmatter,
130
130
  parseDraftFilename,
131
131
  slugify
132
- } from "./chunk-JLSJJMOD.mjs";
132
+ } from "./chunk-LZYLDVJR.mjs";
133
133
  import {
134
134
  extractCommentIdFromUrl,
135
135
  hmDomainUrlToWebUrl,
136
136
  resolveHypermediaUrl,
137
137
  resolveId
138
- } from "./chunk-P5EQ4NJ7.mjs";
138
+ } from "./chunk-XMDF4NIR.mjs";
139
139
  import {
140
140
  createCapability,
141
141
  resolveCapability
142
- } from "./chunk-MY2L74E7.mjs";
142
+ } from "./chunk-QH6OHO4E.mjs";
143
143
  import "./chunk-LVAHHQIK.mjs";
144
144
  import "./chunk-GBSWXJGU.mjs";
145
145
  import "./chunk-3TPCJCVO.mjs";
@@ -160,7 +160,7 @@ import {
160
160
  parseFragment,
161
161
  serializeBlockRange,
162
162
  unpackHmId
163
- } from "./chunk-KTOBQK6C.mjs";
163
+ } from "./chunk-LOAOGLQF.mjs";
164
164
  import "./chunk-AHQWDCHV.mjs";
165
165
  import "./chunk-7P6ASYW6.mjs";
166
166
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-RJ77FJD2.mjs";
4
- import "./chunk-PON3NHRS.mjs";
3
+ } from "./chunk-7NQUJO5X.mjs";
4
+ import "./chunk-QIZO45NU.mjs";
5
5
  import "./chunk-2FJBS3V7.mjs";
6
6
  import "./chunk-PPAY4WZX.mjs";
7
- import "./chunk-KTOBQK6C.mjs";
7
+ import "./chunk-LOAOGLQF.mjs";
8
8
  import "./chunk-AHQWDCHV.mjs";
9
9
  import "./chunk-7P6ASYW6.mjs";
10
10
  export {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  resolveIdWithClient
3
- } from "./chunk-JMP3HYRE.mjs";
4
- import "./chunk-PUKRJHZR.mjs";
3
+ } from "./chunk-OUBG6JFC.mjs";
4
+ import "./chunk-EDCDFQJC.mjs";
5
5
  import "./chunk-CBELM7KX.mjs";
6
6
  import "./chunk-O5MHN2EO.mjs";
7
7
  import "./chunk-PJ2RFT5A.mjs";
8
- import "./chunk-P5EQ4NJ7.mjs";
8
+ import "./chunk-XMDF4NIR.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-KTOBQK6C.mjs";
11
+ import "./chunk-LOAOGLQF.mjs";
12
12
  import "./chunk-AHQWDCHV.mjs";
13
13
  import "./chunk-7P6ASYW6.mjs";
14
14
  export {
@@ -35,11 +35,11 @@ import {
35
35
  typeOf,
36
36
  validate,
37
37
  validateAdvisory
38
- } from "./chunk-TSK67IPM.mjs";
38
+ } from "./chunk-UBZRS3WZ.mjs";
39
39
  import {
40
40
  HM_SCHEMAS,
41
41
  HM_SCHEMA_MANIFEST
42
- } from "./chunk-6RZWE7TK.mjs";
42
+ } from "./chunk-5AZOE4Q5.mjs";
43
43
  import "./chunk-7P6ASYW6.mjs";
44
44
  export {
45
45
  HM_SCHEMAS,
@@ -2,7 +2,7 @@ import {
2
2
  HM_SCHEMAS,
3
3
  HM_SCHEMA_MANIFEST,
4
4
  HM_SCHEMA_PAGES
5
- } from "./chunk-6RZWE7TK.mjs";
5
+ } from "./chunk-5AZOE4Q5.mjs";
6
6
  import "./chunk-7P6ASYW6.mjs";
7
7
  export {
8
8
  HM_SCHEMAS,
@@ -17,11 +17,11 @@ import {
17
17
  resolveSchemaRef,
18
18
  schemaDefinitionCid,
19
19
  withoutSchemaLink
20
- } from "./chunk-BFXGJBSN.mjs";
21
- import "./chunk-TSK67IPM.mjs";
22
- import "./chunk-6RZWE7TK.mjs";
20
+ } from "./chunk-7DPSFFKD.mjs";
21
+ import "./chunk-UBZRS3WZ.mjs";
22
+ import "./chunk-5AZOE4Q5.mjs";
23
23
  import "./chunk-VWSAFDOL.mjs";
24
- import "./chunk-KTOBQK6C.mjs";
24
+ import "./chunk-LOAOGLQF.mjs";
25
25
  import "./chunk-AHQWDCHV.mjs";
26
26
  import "./chunk-7P6ASYW6.mjs";
27
27
  export {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  classifyRef
3
- } from "./chunk-BFXGJBSN.mjs";
3
+ } from "./chunk-7DPSFFKD.mjs";
4
4
  import {
5
5
  kindOf,
6
6
  nameForCid,
7
7
  nameToUrl,
8
8
  schemaCid
9
- } from "./chunk-TSK67IPM.mjs";
9
+ } from "./chunk-UBZRS3WZ.mjs";
10
10
  import {
11
11
  HM_SCHEMAS
12
- } from "./chunk-6RZWE7TK.mjs";
12
+ } from "./chunk-5AZOE4Q5.mjs";
13
13
  import "./chunk-VWSAFDOL.mjs";
14
14
  import {
15
15
  unpackHmId
16
- } from "./chunk-KTOBQK6C.mjs";
16
+ } from "./chunk-LOAOGLQF.mjs";
17
17
  import "./chunk-AHQWDCHV.mjs";
18
18
  import "./chunk-7P6ASYW6.mjs";
19
19
 
@@ -23,7 +23,7 @@ export type HMAccount = string;
23
23
  */
24
24
  export type HMAgent = {
25
25
  type: 'hm://hyper.media/agent';
26
- /** HTTP(S) agent server registering this resource's exact versionless HMID as the agent ID. */
26
+ /** HTTP(S) app environment registering this resource's exact versionless HMID as the agent ID. */
27
27
  agentServerUrl: HMUrl;
28
28
  } & {
29
29
  [key: string]: HMValue;
@@ -1195,7 +1195,9 @@ export type HMMetadata = {
1195
1195
  cover?: HMIpfsUrl;
1196
1196
  /** The web address a space is published at; set on the home document when a site is registered. */
1197
1197
  siteUrl?: HMUrl;
1198
- /** The agents server that hosts the agent this document mounts (an http(s) origin); set with `type: hm://hyper.media/agent`. */
1198
+ /** The app environment a space is bound to, set on the home document: the server its agents run on. Read before `agentServerUrl`, the older name of the same binding. */
1199
+ appEnvironmentUrl?: HMUrl;
1200
+ /** The app environment that hosts the agent this document mounts (an http(s) origin); set with `type: hm://hyper.media/agent`. */
1199
1201
  agentServerUrl?: HMUrl;
1200
1202
  /** The attributes schema THIS document conforms to: the hm:// URL of a schema document (or ipfs://<cid> of a schema blob) whose struct describes the document's attributes. */
1201
1203
  attributesSchema?: HMHmUrl;
@@ -5,8 +5,8 @@ import {
5
5
  literalValue,
6
6
  resolveSchema,
7
7
  structFields
8
- } from "./chunk-TSK67IPM.mjs";
9
- import "./chunk-6RZWE7TK.mjs";
8
+ } from "./chunk-UBZRS3WZ.mjs";
9
+ import "./chunk-5AZOE4Q5.mjs";
10
10
  import {
11
11
  dagJsonToIpld,
12
12
  findSeedIndexerCollision
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-PON3NHRS.mjs";
4
- import "./chunk-KTOBQK6C.mjs";
3
+ } from "./chunk-QIZO45NU.mjs";
4
+ import "./chunk-LOAOGLQF.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-KTOBQK6C.mjs";
10
+ } from "./chunk-LOAOGLQF.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.119",
3
+ "version": "0.0.121",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",