@seed-hypermedia/client 0.0.119 → 0.0.120

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-J2QF2I3H.mjs → chunk-2PE27W5B.mjs} +1 -1
  6. package/dist/{chunk-6RZWE7TK.mjs → chunk-5AZOE4Q5.mjs} +2 -2
  7. package/dist/{chunk-PTCL6IO7.mjs → chunk-7JPEO4TT.mjs} +1 -1
  8. package/dist/{chunk-RJ77FJD2.mjs → chunk-AUSRVZFD.mjs} +1 -1
  9. package/dist/{chunk-BFXGJBSN.mjs → chunk-GJ6YS46E.mjs} +3 -3
  10. package/dist/{chunk-MY2L74E7.mjs → chunk-GWTLB7T3.mjs} +1 -1
  11. package/dist/{chunk-JLSJJMOD.mjs → chunk-HMNKYPBH.mjs} +2 -2
  12. package/dist/{chunk-PUKRJHZR.mjs → chunk-I4V4HM2N.mjs} +1 -1
  13. package/dist/{chunk-F37OTY5W.mjs → chunk-MKFVGDC7.mjs} +1 -1
  14. package/dist/{chunk-IC3KRDNX.mjs → chunk-QPEJDS7J.mjs} +2 -2
  15. package/dist/{chunk-P5EQ4NJ7.mjs → chunk-RJNFOKDJ.mjs} +1 -1
  16. package/dist/{chunk-TSK67IPM.mjs → chunk-UBZRS3WZ.mjs} +1 -1
  17. package/dist/{chunk-PON3NHRS.mjs → chunk-UFGIG6N3.mjs} +1 -1
  18. package/dist/{chunk-37I7X7G7.mjs → chunk-VDVSVU2L.mjs} +1 -1
  19. package/dist/{chunk-KTOBQK6C.mjs → chunk-VKUYLOTP.mjs} +4 -2
  20. package/dist/{chunk-JMP3HYRE.mjs → chunk-ZRMEB4UQ.mjs} +3 -3
  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 +66 -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
@@ -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-GJ6YS46E.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-VKUYLOTP.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-GJ6YS46E.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-VKUYLOTP.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-UFGIG6N3.mjs";
4
+ import "./chunk-VKUYLOTP.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-VKUYLOTP.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.120",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",