@seed-hypermedia/client 0.0.105 → 0.0.107

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/auth.mjs +3 -1
  2. package/dist/auto-link.mjs +3 -3
  3. package/dist/blocks-to-markdown.mjs +2 -2
  4. package/dist/capability.mjs +2 -2
  5. package/dist/{chunk-P2FJTNNQ.mjs → chunk-3AJ2YACM.mjs} +2 -2
  6. package/dist/{chunk-GIKXPGFZ.mjs → chunk-4D6BGGEM.mjs} +1 -1
  7. package/dist/{chunk-UBBSVXFC.mjs → chunk-4UVOQIGJ.mjs} +2 -0
  8. package/dist/{chunk-V5XCZMPG.mjs → chunk-6IW7VKZY.mjs} +1 -1
  9. package/dist/{chunk-DQR4RPYC.mjs → chunk-7UR6YTQD.mjs} +1 -1
  10. package/dist/{chunk-G6AYTCLG.mjs → chunk-C2SV4WDE.mjs} +1 -1
  11. package/dist/{chunk-R6OYID6M.mjs → chunk-FJSBNU57.mjs} +1 -1
  12. package/dist/{chunk-EZ5DM5TI.mjs → chunk-FXK6WCQS.mjs} +1 -1
  13. package/dist/{chunk-S4XBFD3S.mjs → chunk-M7BEYZZV.mjs} +1 -1
  14. package/dist/{chunk-UPYQNWW5.mjs → chunk-O4PVMTYN.mjs} +1 -1
  15. package/dist/{chunk-SKIKB2TP.mjs → chunk-OSSRQKDG.mjs} +10 -2
  16. package/dist/{chunk-NSNLRZ3X.mjs → chunk-SG22LWXW.mjs} +1 -1
  17. package/dist/{chunk-4MZHSZFQ.mjs → chunk-WHQC63KZ.mjs} +1 -1
  18. package/dist/{chunk-MHICVQJI.mjs → chunk-WNLWE5P5.mjs} +3 -3
  19. package/dist/{chunk-KDI4WJKM.mjs → chunk-YB5PU37B.mjs} +1 -1
  20. package/dist/client.mjs +2 -2
  21. package/dist/comment.mjs +2 -2
  22. package/dist/document-state.mjs +2 -2
  23. package/dist/editorblock-to-hmblock.mjs +2 -2
  24. package/dist/hm-resolver.mjs +2 -2
  25. package/dist/hm-types.d.ts +57 -0
  26. package/dist/hm-types.mjs +1 -1
  27. package/dist/hmauth.d.ts +8 -0
  28. package/dist/hmauth.mjs +3 -1
  29. package/dist/hmblock-to-editorblock.mjs +2 -2
  30. package/dist/index.mjs +13 -13
  31. package/dist/pdf-to-blocks.mjs +3 -3
  32. package/dist/resource-read.mjs +4 -4
  33. package/dist/schema-resolve.mjs +2 -2
  34. package/dist/schema-subtypes.mjs +2 -2
  35. package/dist/tei-to-blocks.mjs +2 -2
  36. package/dist/unicode.mjs +1 -1
  37. package/package.json +1 -1
package/dist/auth.mjs CHANGED
@@ -4,6 +4,7 @@ import {
4
4
  PARAM_EMAIL,
5
5
  PARAM_EMAIL_PREVALIDATION,
6
6
  PARAM_ERROR,
7
+ PARAM_INVITE,
7
8
  PARAM_PROOF,
8
9
  PARAM_REDIRECT_URI,
9
10
  PARAM_SESSION_KEY,
@@ -13,7 +14,7 @@ import {
13
14
  parseEmailPrevalidation,
14
15
  validateClientId,
15
16
  validateRedirectUri
16
- } from "./chunk-UBBSVXFC.mjs";
17
+ } from "./chunk-4UVOQIGJ.mjs";
17
18
  import {
18
19
  decode,
19
20
  encode
@@ -157,6 +158,7 @@ async function startAuth(config, options = {}) {
157
158
  if (config.requestEmailPrevalidation) url.searchParams.set(PARAM_EMAIL_PREVALIDATION, "1");
158
159
  if (config.email) url.searchParams.set(PARAM_EMAIL, config.email);
159
160
  if (config.siteName) url.searchParams.set(PARAM_SITE_NAME, config.siteName);
161
+ if (config.invite) url.searchParams.set(PARAM_INVITE, config.invite);
160
162
  const signedUrl = url.toString();
161
163
  const proof = encode(await signWithKey(session.keyPair.privateKey, new TextEncoder().encode(signedUrl)));
162
164
  const delimiter = signedUrl.includes("?") ? "&" : "?";
@@ -4,13 +4,13 @@ import {
4
4
  documentContainsLinkToChild,
5
5
  documentHasSelfQuery,
6
6
  shouldAutoLinkParent
7
- } from "./chunk-P2FJTNNQ.mjs";
7
+ } from "./chunk-3AJ2YACM.mjs";
8
8
  import "./chunk-O5MHN2EO.mjs";
9
9
  import "./chunk-PJ2RFT5A.mjs";
10
- import "./chunk-R6OYID6M.mjs";
10
+ import "./chunk-FJSBNU57.mjs";
11
11
  import "./chunk-LVAHHQIK.mjs";
12
12
  import "./chunk-DR3HJ6BV.mjs";
13
- import "./chunk-SKIKB2TP.mjs";
13
+ import "./chunk-OSSRQKDG.mjs";
14
14
  import "./chunk-7P6ASYW6.mjs";
15
15
  export {
16
16
  autoLinkChildToParent,
@@ -7,8 +7,8 @@ import {
7
7
  emitFrontmatter,
8
8
  parseDraftFilename,
9
9
  slugify
10
- } from "./chunk-UPYQNWW5.mjs";
11
- import "./chunk-SKIKB2TP.mjs";
10
+ } from "./chunk-O4PVMTYN.mjs";
11
+ import "./chunk-OSSRQKDG.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
14
14
  blocksToMarkdown,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createCapability,
3
3
  resolveCapability
4
- } from "./chunk-KDI4WJKM.mjs";
4
+ } from "./chunk-YB5PU37B.mjs";
5
5
  import "./chunk-LVAHHQIK.mjs";
6
6
  import "./chunk-NBCHK76Q.mjs";
7
7
  import "./chunk-DR3HJ6BV.mjs";
8
- import "./chunk-SKIKB2TP.mjs";
8
+ import "./chunk-OSSRQKDG.mjs";
9
9
  import "./chunk-3TPCJCVO.mjs";
10
10
  import "./chunk-7P6ASYW6.mjs";
11
11
  export {
@@ -7,12 +7,12 @@ import {
7
7
  } from "./chunk-PJ2RFT5A.mjs";
8
8
  import {
9
9
  resolveDocumentState
10
- } from "./chunk-R6OYID6M.mjs";
10
+ } from "./chunk-FJSBNU57.mjs";
11
11
  import {
12
12
  entityQueryPathToHmIdPath,
13
13
  packHmId,
14
14
  unpackHmId
15
- } from "./chunk-SKIKB2TP.mjs";
15
+ } from "./chunk-OSSRQKDG.mjs";
16
16
 
17
17
  // src/auto-link.ts
18
18
  import { CID } from "multiformats/cid";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  codePointLength
3
- } from "./chunk-SKIKB2TP.mjs";
3
+ } from "./chunk-OSSRQKDG.mjs";
4
4
 
5
5
  // src/tei-to-blocks.ts
6
6
  function generateBlockId() {
@@ -41,6 +41,7 @@ var PARAM_DATA = "data";
41
41
  var PARAM_ERROR = "error";
42
42
  var PARAM_EMAIL = "email";
43
43
  var PARAM_SITE_NAME = "site_name";
44
+ var PARAM_INVITE = "invite";
44
45
  var DELEGATION_PATH = "/delegate";
45
46
  var AUTH_STATE_BYTES = 16;
46
47
  var REQUEST_PROOF_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
@@ -294,6 +295,7 @@ export {
294
295
  PARAM_ERROR,
295
296
  PARAM_EMAIL,
296
297
  PARAM_SITE_NAME,
298
+ PARAM_INVITE,
297
299
  DELEGATION_PATH,
298
300
  principalEncode,
299
301
  principalDecode,
@@ -2,7 +2,7 @@ import {
2
2
  entityQueryPathToHmIdPath,
3
3
  parseFragment,
4
4
  unpackHmId
5
- } from "./chunk-SKIKB2TP.mjs";
5
+ } from "./chunk-OSSRQKDG.mjs";
6
6
 
7
7
  // src/hm-resolver.ts
8
8
  async function resolveHypermediaUrl(url, opts) {
@@ -7,7 +7,7 @@ import {
7
7
  codePointLength,
8
8
  parseHMQueryFiltersJSON,
9
9
  toNumber
10
- } from "./chunk-SKIKB2TP.mjs";
10
+ } from "./chunk-OSSRQKDG.mjs";
11
11
 
12
12
  // src/editorblock-to-hmblock.ts
13
13
  function toHMBlockType(editorBlockType) {
@@ -15,7 +15,7 @@ import {
15
15
  HMActionSchema,
16
16
  HMRequestSchema,
17
17
  packHmId
18
- } from "./chunk-SKIKB2TP.mjs";
18
+ } from "./chunk-OSSRQKDG.mjs";
19
19
 
20
20
  // src/client.ts
21
21
  import { encode as cborEncode } from "@ipld/dag-cbor";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  packHmId,
3
3
  unpackHmId
4
- } from "./chunk-SKIKB2TP.mjs";
4
+ } from "./chunk-OSSRQKDG.mjs";
5
5
 
6
6
  // src/document-state.ts
7
7
  async function resolveDocumentState(client, targetId) {
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  hmIdPathToEntityQueryPath,
11
11
  packHmId
12
- } from "./chunk-SKIKB2TP.mjs";
12
+ } from "./chunk-OSSRQKDG.mjs";
13
13
 
14
14
  // src/comment.ts
15
15
  import { decode as cborDecode, encode as cborEncode } from "@ipld/dag-cbor";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  packHmId,
22
22
  unpackHmId
23
- } from "./chunk-SKIKB2TP.mjs";
23
+ } from "./chunk-OSSRQKDG.mjs";
24
24
 
25
25
  // src/schema-resolve.ts
26
26
  var DAG_CBOR_CODE = 113;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  normalizeQuerySort,
3
3
  unpackHmId
4
- } from "./chunk-SKIKB2TP.mjs";
4
+ } from "./chunk-OSSRQKDG.mjs";
5
5
 
6
6
  // src/blocks-to-markdown.ts
7
7
  import { stringify as stringifyYaml } from "yaml";
@@ -768,13 +768,15 @@ var HMCitationCommentSourceSchema = z.object({
768
768
  type: z.literal("c"),
769
769
  id: unpackedHmIdSchema,
770
770
  author: z.string().optional(),
771
- time: HMTimestampSchema.optional()
771
+ time: HMTimestampSchema.optional(),
772
+ blockId: z.string().optional()
772
773
  });
773
774
  var HMCitationDocumentSourceSchema = z.object({
774
775
  type: z.literal("d"),
775
776
  id: unpackedHmIdSchema,
776
777
  author: z.string().optional(),
777
- time: HMTimestampSchema.optional()
778
+ time: HMTimestampSchema.optional(),
779
+ blockId: z.string().optional()
778
780
  });
779
781
  var HMCitationSchema = z.object({
780
782
  source: z.discriminatedUnion("type", [HMCitationCommentSourceSchema, HMCitationDocumentSourceSchema]),
@@ -1138,6 +1140,10 @@ var HMListEventsInputSchema = z.object({
1138
1140
  filterAuthors: z.array(z.string()).optional(),
1139
1141
  filterEventType: z.array(z.string()).optional(),
1140
1142
  filterResource: z.string().optional(),
1143
+ // Citations of one block of filterResource, one entry per citing block, read from ListCitations
1144
+ // instead of the feed: the feed keeps one event per publication, so a document that links one
1145
+ // block from many blocks has at most one of them there. Document citations only, a single page.
1146
+ targetBlockId: z.string().optional(),
1141
1147
  currentAccount: z.string().optional(),
1142
1148
  // Feed ordering. 'claimed' (default) orders by the event's claimed/create time; 'observed' orders by
1143
1149
  // when the server locally observed the blob — needed by pollers that must see late-propagating events
@@ -1201,6 +1207,8 @@ var HMRawCitationSchema = z.object({
1201
1207
  targetFragment: z.string().optional(),
1202
1208
  isExactVersion: z.boolean().optional(),
1203
1209
  targetBlockRevision: z.string().optional(),
1210
+ // The link type, `doc/Link`, `doc/Embed`, `comment/Embed`...
1211
+ citationType: z.string().optional(),
1204
1212
  mentionType: z.string().optional(),
1205
1213
  isExact: z.boolean().optional()
1206
1214
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-GIKXPGFZ.mjs";
3
+ } from "./chunk-4D6BGGEM.mjs";
4
4
  import {
5
5
  embeddedPdfToBlocks
6
6
  } from "./chunk-2FJBS3V7.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getSupportedHMQueryFilters,
3
3
  isSurrogate
4
- } from "./chunk-SKIKB2TP.mjs";
4
+ } from "./chunk-OSSRQKDG.mjs";
5
5
 
6
6
  // src/hmblock-to-editorblock.ts
7
7
  function toEditorBlockType(hmBlockType) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  resolveId
3
- } from "./chunk-V5XCZMPG.mjs";
3
+ } from "./chunk-6IW7VKZY.mjs";
4
4
  import {
5
5
  createSeedClient
6
- } from "./chunk-G6AYTCLG.mjs";
6
+ } from "./chunk-C2SV4WDE.mjs";
7
7
  import {
8
8
  unpackHmId
9
- } from "./chunk-SKIKB2TP.mjs";
9
+ } from "./chunk-OSSRQKDG.mjs";
10
10
 
11
11
  // src/resource-read.ts
12
12
  async function resolveIdWithClient(rawId, options = {}) {
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  entityQueryPathToHmIdPath,
9
9
  packBaseId
10
- } from "./chunk-SKIKB2TP.mjs";
10
+ } from "./chunk-OSSRQKDG.mjs";
11
11
 
12
12
  // src/capability.ts
13
13
  import { base58btc } from "multiformats/bases/base58";
package/dist/client.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createSeedClient,
3
3
  deserializeQueryString
4
- } from "./chunk-G6AYTCLG.mjs";
4
+ } from "./chunk-C2SV4WDE.mjs";
5
5
  import "./chunk-CBELM7KX.mjs";
6
6
  import "./chunk-O5MHN2EO.mjs";
7
7
  import "./chunk-PJ2RFT5A.mjs";
8
8
  import "./chunk-LVAHHQIK.mjs";
9
9
  import "./chunk-DR3HJ6BV.mjs";
10
- import "./chunk-SKIKB2TP.mjs";
10
+ import "./chunk-OSSRQKDG.mjs";
11
11
  import "./chunk-7P6ASYW6.mjs";
12
12
  export {
13
13
  createSeedClient,
package/dist/comment.mjs CHANGED
@@ -4,11 +4,11 @@ import {
4
4
  deleteComment,
5
5
  trimTrailingEmptyBlocks,
6
6
  updateComment
7
- } from "./chunk-EZ5DM5TI.mjs";
7
+ } from "./chunk-FXK6WCQS.mjs";
8
8
  import "./chunk-JKKS35IS.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-SKIKB2TP.mjs";
11
+ import "./chunk-OSSRQKDG.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
14
14
  commentRecordIdFromBlob,
@@ -4,8 +4,8 @@ import {
4
4
  followToDocument,
5
5
  resolveDocumentState,
6
6
  resolveEditableDocument
7
- } from "./chunk-R6OYID6M.mjs";
8
- import "./chunk-SKIKB2TP.mjs";
7
+ } from "./chunk-FJSBNU57.mjs";
8
+ import "./chunk-OSSRQKDG.mjs";
9
9
  import "./chunk-7P6ASYW6.mjs";
10
10
  export {
11
11
  describeRedirect,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  editorBlockToHMBlock,
3
3
  editorBlocksToHMBlockNodes
4
- } from "./chunk-DQR4RPYC.mjs";
4
+ } from "./chunk-7UR6YTQD.mjs";
5
5
  import "./chunk-JKKS35IS.mjs";
6
- import "./chunk-SKIKB2TP.mjs";
6
+ import "./chunk-OSSRQKDG.mjs";
7
7
  import "./chunk-7P6ASYW6.mjs";
8
8
  export {
9
9
  editorBlockToHMBlock,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  resolveHypermediaUrl,
3
3
  resolveId
4
- } from "./chunk-V5XCZMPG.mjs";
5
- import "./chunk-SKIKB2TP.mjs";
4
+ } from "./chunk-6IW7VKZY.mjs";
5
+ import "./chunk-OSSRQKDG.mjs";
6
6
  import "./chunk-7P6ASYW6.mjs";
7
7
  export {
8
8
  resolveHypermediaUrl,
@@ -16627,6 +16627,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16627
16627
  seconds: number | bigint;
16628
16628
  nanos: number;
16629
16629
  }>, z.ZodString]>>;
16630
+ blockId: z.ZodOptional<z.ZodString>;
16630
16631
  }, "strip", z.ZodTypeAny, {
16631
16632
  type: "c";
16632
16633
  id: {
@@ -16651,6 +16652,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16651
16652
  nanos: number;
16652
16653
  } | undefined;
16653
16654
  author?: string | undefined;
16655
+ blockId?: string | undefined;
16654
16656
  }, {
16655
16657
  type: "c";
16656
16658
  id: {
@@ -16675,6 +16677,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16675
16677
  nanos: number;
16676
16678
  } | undefined;
16677
16679
  author?: string | undefined;
16680
+ blockId?: string | undefined;
16678
16681
  }>, z.ZodObject<{
16679
16682
  type: z.ZodLiteral<"d">;
16680
16683
  id: z.ZodObject<{
@@ -16745,6 +16748,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16745
16748
  seconds: number | bigint;
16746
16749
  nanos: number;
16747
16750
  }>, z.ZodString]>>;
16751
+ blockId: z.ZodOptional<z.ZodString>;
16748
16752
  }, "strip", z.ZodTypeAny, {
16749
16753
  type: "d";
16750
16754
  id: {
@@ -16769,6 +16773,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16769
16773
  nanos: number;
16770
16774
  } | undefined;
16771
16775
  author?: string | undefined;
16776
+ blockId?: string | undefined;
16772
16777
  }, {
16773
16778
  type: "d";
16774
16779
  id: {
@@ -16793,6 +16798,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16793
16798
  nanos: number;
16794
16799
  } | undefined;
16795
16800
  author?: string | undefined;
16801
+ blockId?: string | undefined;
16796
16802
  }>]>;
16797
16803
  isExactVersion: z.ZodBoolean;
16798
16804
  targetFragment: z.ZodNullable<z.ZodObject<{
@@ -16894,6 +16900,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16894
16900
  nanos: number;
16895
16901
  } | undefined;
16896
16902
  author?: string | undefined;
16903
+ blockId?: string | undefined;
16897
16904
  } | {
16898
16905
  type: "d";
16899
16906
  id: {
@@ -16918,6 +16925,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16918
16925
  nanos: number;
16919
16926
  } | undefined;
16920
16927
  author?: string | undefined;
16928
+ blockId?: string | undefined;
16921
16929
  };
16922
16930
  isExactVersion: boolean;
16923
16931
  targetFragment: {
@@ -16968,6 +16976,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16968
16976
  nanos: number;
16969
16977
  } | undefined;
16970
16978
  author?: string | undefined;
16979
+ blockId?: string | undefined;
16971
16980
  } | {
16972
16981
  type: "d";
16973
16982
  id: {
@@ -16992,6 +17001,7 @@ export declare const HMCitationSchema: z.ZodObject<{
16992
17001
  nanos: number;
16993
17002
  } | undefined;
16994
17003
  author?: string | undefined;
17004
+ blockId?: string | undefined;
16995
17005
  };
16996
17006
  isExactVersion: boolean;
16997
17007
  targetFragment: {
@@ -32254,6 +32264,7 @@ export declare const HMListEventsInputSchema: z.ZodObject<{
32254
32264
  filterAuthors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32255
32265
  filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32256
32266
  filterResource: z.ZodOptional<z.ZodString>;
32267
+ targetBlockId: z.ZodOptional<z.ZodString>;
32257
32268
  currentAccount: z.ZodOptional<z.ZodString>;
32258
32269
  order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
32259
32270
  }, "strip", z.ZodTypeAny, {
@@ -32263,6 +32274,7 @@ export declare const HMListEventsInputSchema: z.ZodObject<{
32263
32274
  filterAuthors?: string[] | undefined;
32264
32275
  filterEventType?: string[] | undefined;
32265
32276
  filterResource?: string | undefined;
32277
+ targetBlockId?: string | undefined;
32266
32278
  currentAccount?: string | undefined;
32267
32279
  order?: "claimed" | "observed" | undefined;
32268
32280
  }, {
@@ -32272,6 +32284,7 @@ export declare const HMListEventsInputSchema: z.ZodObject<{
32272
32284
  filterAuthors?: string[] | undefined;
32273
32285
  filterEventType?: string[] | undefined;
32274
32286
  filterResource?: string | undefined;
32287
+ targetBlockId?: string | undefined;
32275
32288
  currentAccount?: string | undefined;
32276
32289
  order?: "claimed" | "observed" | undefined;
32277
32290
  }>;
@@ -32297,6 +32310,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
32297
32310
  filterAuthors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32298
32311
  filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32299
32312
  filterResource: z.ZodOptional<z.ZodString>;
32313
+ targetBlockId: z.ZodOptional<z.ZodString>;
32300
32314
  currentAccount: z.ZodOptional<z.ZodString>;
32301
32315
  order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
32302
32316
  }, "strip", z.ZodTypeAny, {
@@ -32306,6 +32320,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
32306
32320
  filterAuthors?: string[] | undefined;
32307
32321
  filterEventType?: string[] | undefined;
32308
32322
  filterResource?: string | undefined;
32323
+ targetBlockId?: string | undefined;
32309
32324
  currentAccount?: string | undefined;
32310
32325
  order?: "claimed" | "observed" | undefined;
32311
32326
  }, {
@@ -32315,6 +32330,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
32315
32330
  filterAuthors?: string[] | undefined;
32316
32331
  filterEventType?: string[] | undefined;
32317
32332
  filterResource?: string | undefined;
32333
+ targetBlockId?: string | undefined;
32318
32334
  currentAccount?: string | undefined;
32319
32335
  order?: "claimed" | "observed" | undefined;
32320
32336
  }>;
@@ -32337,6 +32353,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
32337
32353
  filterAuthors?: string[] | undefined;
32338
32354
  filterEventType?: string[] | undefined;
32339
32355
  filterResource?: string | undefined;
32356
+ targetBlockId?: string | undefined;
32340
32357
  currentAccount?: string | undefined;
32341
32358
  order?: "claimed" | "observed" | undefined;
32342
32359
  };
@@ -32353,6 +32370,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
32353
32370
  filterAuthors?: string[] | undefined;
32354
32371
  filterEventType?: string[] | undefined;
32355
32372
  filterResource?: string | undefined;
32373
+ targetBlockId?: string | undefined;
32356
32374
  currentAccount?: string | undefined;
32357
32375
  order?: "claimed" | "observed" | undefined;
32358
32376
  };
@@ -35182,6 +35200,7 @@ export declare const HMRawCitationSchema: z.ZodObject<{
35182
35200
  targetFragment: z.ZodOptional<z.ZodString>;
35183
35201
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
35184
35202
  targetBlockRevision: z.ZodOptional<z.ZodString>;
35203
+ citationType: z.ZodOptional<z.ZodString>;
35185
35204
  mentionType: z.ZodOptional<z.ZodString>;
35186
35205
  isExact: z.ZodOptional<z.ZodBoolean>;
35187
35206
  }, "strip", z.ZodTypeAny, {
@@ -35202,6 +35221,7 @@ export declare const HMRawCitationSchema: z.ZodObject<{
35202
35221
  } | undefined;
35203
35222
  sourceDocument?: string | undefined;
35204
35223
  targetBlockRevision?: string | undefined;
35224
+ citationType?: string | undefined;
35205
35225
  mentionType?: string | undefined;
35206
35226
  isExact?: boolean | undefined;
35207
35227
  }, {
@@ -35222,6 +35242,7 @@ export declare const HMRawCitationSchema: z.ZodObject<{
35222
35242
  } | undefined;
35223
35243
  sourceDocument?: string | undefined;
35224
35244
  targetBlockRevision?: string | undefined;
35245
+ citationType?: string | undefined;
35225
35246
  mentionType?: string | undefined;
35226
35247
  isExact?: boolean | undefined;
35227
35248
  }>;
@@ -35265,6 +35286,7 @@ export declare const HMListCitationsOutputSchema: z.ZodObject<{
35265
35286
  targetFragment: z.ZodOptional<z.ZodString>;
35266
35287
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
35267
35288
  targetBlockRevision: z.ZodOptional<z.ZodString>;
35289
+ citationType: z.ZodOptional<z.ZodString>;
35268
35290
  mentionType: z.ZodOptional<z.ZodString>;
35269
35291
  isExact: z.ZodOptional<z.ZodBoolean>;
35270
35292
  }, "strip", z.ZodTypeAny, {
@@ -35285,6 +35307,7 @@ export declare const HMListCitationsOutputSchema: z.ZodObject<{
35285
35307
  } | undefined;
35286
35308
  sourceDocument?: string | undefined;
35287
35309
  targetBlockRevision?: string | undefined;
35310
+ citationType?: string | undefined;
35288
35311
  mentionType?: string | undefined;
35289
35312
  isExact?: boolean | undefined;
35290
35313
  }, {
@@ -35305,6 +35328,7 @@ export declare const HMListCitationsOutputSchema: z.ZodObject<{
35305
35328
  } | undefined;
35306
35329
  sourceDocument?: string | undefined;
35307
35330
  targetBlockRevision?: string | undefined;
35331
+ citationType?: string | undefined;
35308
35332
  mentionType?: string | undefined;
35309
35333
  isExact?: boolean | undefined;
35310
35334
  }>, "many">;
@@ -35327,6 +35351,7 @@ export declare const HMListCitationsOutputSchema: z.ZodObject<{
35327
35351
  } | undefined;
35328
35352
  sourceDocument?: string | undefined;
35329
35353
  targetBlockRevision?: string | undefined;
35354
+ citationType?: string | undefined;
35330
35355
  mentionType?: string | undefined;
35331
35356
  isExact?: boolean | undefined;
35332
35357
  }[];
@@ -35349,6 +35374,7 @@ export declare const HMListCitationsOutputSchema: z.ZodObject<{
35349
35374
  } | undefined;
35350
35375
  sourceDocument?: string | undefined;
35351
35376
  targetBlockRevision?: string | undefined;
35377
+ citationType?: string | undefined;
35352
35378
  mentionType?: string | undefined;
35353
35379
  isExact?: boolean | undefined;
35354
35380
  }[];
@@ -35586,6 +35612,7 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
35586
35612
  targetFragment: z.ZodOptional<z.ZodString>;
35587
35613
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
35588
35614
  targetBlockRevision: z.ZodOptional<z.ZodString>;
35615
+ citationType: z.ZodOptional<z.ZodString>;
35589
35616
  mentionType: z.ZodOptional<z.ZodString>;
35590
35617
  isExact: z.ZodOptional<z.ZodBoolean>;
35591
35618
  }, "strip", z.ZodTypeAny, {
@@ -35606,6 +35633,7 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
35606
35633
  } | undefined;
35607
35634
  sourceDocument?: string | undefined;
35608
35635
  targetBlockRevision?: string | undefined;
35636
+ citationType?: string | undefined;
35609
35637
  mentionType?: string | undefined;
35610
35638
  isExact?: boolean | undefined;
35611
35639
  }, {
@@ -35626,6 +35654,7 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
35626
35654
  } | undefined;
35627
35655
  sourceDocument?: string | undefined;
35628
35656
  targetBlockRevision?: string | undefined;
35657
+ citationType?: string | undefined;
35629
35658
  mentionType?: string | undefined;
35630
35659
  isExact?: boolean | undefined;
35631
35660
  }>, "many">;
@@ -35648,6 +35677,7 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
35648
35677
  } | undefined;
35649
35678
  sourceDocument?: string | undefined;
35650
35679
  targetBlockRevision?: string | undefined;
35680
+ citationType?: string | undefined;
35651
35681
  mentionType?: string | undefined;
35652
35682
  isExact?: boolean | undefined;
35653
35683
  }[];
@@ -35670,6 +35700,7 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
35670
35700
  } | undefined;
35671
35701
  sourceDocument?: string | undefined;
35672
35702
  targetBlockRevision?: string | undefined;
35703
+ citationType?: string | undefined;
35673
35704
  mentionType?: string | undefined;
35674
35705
  isExact?: boolean | undefined;
35675
35706
  }[];
@@ -35714,6 +35745,7 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
35714
35745
  } | undefined;
35715
35746
  sourceDocument?: string | undefined;
35716
35747
  targetBlockRevision?: string | undefined;
35748
+ citationType?: string | undefined;
35717
35749
  mentionType?: string | undefined;
35718
35750
  isExact?: boolean | undefined;
35719
35751
  }[];
@@ -35758,6 +35790,7 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
35758
35790
  } | undefined;
35759
35791
  sourceDocument?: string | undefined;
35760
35792
  targetBlockRevision?: string | undefined;
35793
+ citationType?: string | undefined;
35761
35794
  mentionType?: string | undefined;
35762
35795
  isExact?: boolean | undefined;
35763
35796
  }[];
@@ -56911,6 +56944,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56911
56944
  filterAuthors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
56912
56945
  filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
56913
56946
  filterResource: z.ZodOptional<z.ZodString>;
56947
+ targetBlockId: z.ZodOptional<z.ZodString>;
56914
56948
  currentAccount: z.ZodOptional<z.ZodString>;
56915
56949
  order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
56916
56950
  }, "strip", z.ZodTypeAny, {
@@ -56920,6 +56954,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56920
56954
  filterAuthors?: string[] | undefined;
56921
56955
  filterEventType?: string[] | undefined;
56922
56956
  filterResource?: string | undefined;
56957
+ targetBlockId?: string | undefined;
56923
56958
  currentAccount?: string | undefined;
56924
56959
  order?: "claimed" | "observed" | undefined;
56925
56960
  }, {
@@ -56929,6 +56964,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56929
56964
  filterAuthors?: string[] | undefined;
56930
56965
  filterEventType?: string[] | undefined;
56931
56966
  filterResource?: string | undefined;
56967
+ targetBlockId?: string | undefined;
56932
56968
  currentAccount?: string | undefined;
56933
56969
  order?: "claimed" | "observed" | undefined;
56934
56970
  }>;
@@ -56951,6 +56987,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56951
56987
  filterAuthors?: string[] | undefined;
56952
56988
  filterEventType?: string[] | undefined;
56953
56989
  filterResource?: string | undefined;
56990
+ targetBlockId?: string | undefined;
56954
56991
  currentAccount?: string | undefined;
56955
56992
  order?: "claimed" | "observed" | undefined;
56956
56993
  };
@@ -56967,6 +57004,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56967
57004
  filterAuthors?: string[] | undefined;
56968
57005
  filterEventType?: string[] | undefined;
56969
57006
  filterResource?: string | undefined;
57007
+ targetBlockId?: string | undefined;
56970
57008
  currentAccount?: string | undefined;
56971
57009
  order?: "claimed" | "observed" | undefined;
56972
57010
  };
@@ -58693,6 +58731,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
58693
58731
  targetFragment: z.ZodOptional<z.ZodString>;
58694
58732
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
58695
58733
  targetBlockRevision: z.ZodOptional<z.ZodString>;
58734
+ citationType: z.ZodOptional<z.ZodString>;
58696
58735
  mentionType: z.ZodOptional<z.ZodString>;
58697
58736
  isExact: z.ZodOptional<z.ZodBoolean>;
58698
58737
  }, "strip", z.ZodTypeAny, {
@@ -58713,6 +58752,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
58713
58752
  } | undefined;
58714
58753
  sourceDocument?: string | undefined;
58715
58754
  targetBlockRevision?: string | undefined;
58755
+ citationType?: string | undefined;
58716
58756
  mentionType?: string | undefined;
58717
58757
  isExact?: boolean | undefined;
58718
58758
  }, {
@@ -58733,6 +58773,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
58733
58773
  } | undefined;
58734
58774
  sourceDocument?: string | undefined;
58735
58775
  targetBlockRevision?: string | undefined;
58776
+ citationType?: string | undefined;
58736
58777
  mentionType?: string | undefined;
58737
58778
  isExact?: boolean | undefined;
58738
58779
  }>, "many">;
@@ -58755,6 +58796,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
58755
58796
  } | undefined;
58756
58797
  sourceDocument?: string | undefined;
58757
58798
  targetBlockRevision?: string | undefined;
58799
+ citationType?: string | undefined;
58758
58800
  mentionType?: string | undefined;
58759
58801
  isExact?: boolean | undefined;
58760
58802
  }[];
@@ -58777,6 +58819,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
58777
58819
  } | undefined;
58778
58820
  sourceDocument?: string | undefined;
58779
58821
  targetBlockRevision?: string | undefined;
58822
+ citationType?: string | undefined;
58780
58823
  mentionType?: string | undefined;
58781
58824
  isExact?: boolean | undefined;
58782
58825
  }[];
@@ -58821,6 +58864,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
58821
58864
  } | undefined;
58822
58865
  sourceDocument?: string | undefined;
58823
58866
  targetBlockRevision?: string | undefined;
58867
+ citationType?: string | undefined;
58824
58868
  mentionType?: string | undefined;
58825
58869
  isExact?: boolean | undefined;
58826
58870
  }[];
@@ -58865,6 +58909,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
58865
58909
  } | undefined;
58866
58910
  sourceDocument?: string | undefined;
58867
58911
  targetBlockRevision?: string | undefined;
58912
+ citationType?: string | undefined;
58868
58913
  mentionType?: string | undefined;
58869
58914
  isExact?: boolean | undefined;
58870
58915
  }[];
@@ -75089,6 +75134,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
75089
75134
  filterAuthors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75090
75135
  filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75091
75136
  filterResource: z.ZodOptional<z.ZodString>;
75137
+ targetBlockId: z.ZodOptional<z.ZodString>;
75092
75138
  currentAccount: z.ZodOptional<z.ZodString>;
75093
75139
  order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
75094
75140
  }, "strip", z.ZodTypeAny, {
@@ -75098,6 +75144,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
75098
75144
  filterAuthors?: string[] | undefined;
75099
75145
  filterEventType?: string[] | undefined;
75100
75146
  filterResource?: string | undefined;
75147
+ targetBlockId?: string | undefined;
75101
75148
  currentAccount?: string | undefined;
75102
75149
  order?: "claimed" | "observed" | undefined;
75103
75150
  }, {
@@ -75107,6 +75154,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
75107
75154
  filterAuthors?: string[] | undefined;
75108
75155
  filterEventType?: string[] | undefined;
75109
75156
  filterResource?: string | undefined;
75157
+ targetBlockId?: string | undefined;
75110
75158
  currentAccount?: string | undefined;
75111
75159
  order?: "claimed" | "observed" | undefined;
75112
75160
  }>;
@@ -75129,6 +75177,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
75129
75177
  filterAuthors?: string[] | undefined;
75130
75178
  filterEventType?: string[] | undefined;
75131
75179
  filterResource?: string | undefined;
75180
+ targetBlockId?: string | undefined;
75132
75181
  currentAccount?: string | undefined;
75133
75182
  order?: "claimed" | "observed" | undefined;
75134
75183
  };
@@ -75145,6 +75194,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
75145
75194
  filterAuthors?: string[] | undefined;
75146
75195
  filterEventType?: string[] | undefined;
75147
75196
  filterResource?: string | undefined;
75197
+ targetBlockId?: string | undefined;
75148
75198
  currentAccount?: string | undefined;
75149
75199
  order?: "claimed" | "observed" | undefined;
75150
75200
  };
@@ -76871,6 +76921,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
76871
76921
  targetFragment: z.ZodOptional<z.ZodString>;
76872
76922
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
76873
76923
  targetBlockRevision: z.ZodOptional<z.ZodString>;
76924
+ citationType: z.ZodOptional<z.ZodString>;
76874
76925
  mentionType: z.ZodOptional<z.ZodString>;
76875
76926
  isExact: z.ZodOptional<z.ZodBoolean>;
76876
76927
  }, "strip", z.ZodTypeAny, {
@@ -76891,6 +76942,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
76891
76942
  } | undefined;
76892
76943
  sourceDocument?: string | undefined;
76893
76944
  targetBlockRevision?: string | undefined;
76945
+ citationType?: string | undefined;
76894
76946
  mentionType?: string | undefined;
76895
76947
  isExact?: boolean | undefined;
76896
76948
  }, {
@@ -76911,6 +76963,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
76911
76963
  } | undefined;
76912
76964
  sourceDocument?: string | undefined;
76913
76965
  targetBlockRevision?: string | undefined;
76966
+ citationType?: string | undefined;
76914
76967
  mentionType?: string | undefined;
76915
76968
  isExact?: boolean | undefined;
76916
76969
  }>, "many">;
@@ -76933,6 +76986,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
76933
76986
  } | undefined;
76934
76987
  sourceDocument?: string | undefined;
76935
76988
  targetBlockRevision?: string | undefined;
76989
+ citationType?: string | undefined;
76936
76990
  mentionType?: string | undefined;
76937
76991
  isExact?: boolean | undefined;
76938
76992
  }[];
@@ -76955,6 +77009,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
76955
77009
  } | undefined;
76956
77010
  sourceDocument?: string | undefined;
76957
77011
  targetBlockRevision?: string | undefined;
77012
+ citationType?: string | undefined;
76958
77013
  mentionType?: string | undefined;
76959
77014
  isExact?: boolean | undefined;
76960
77015
  }[];
@@ -76999,6 +77054,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
76999
77054
  } | undefined;
77000
77055
  sourceDocument?: string | undefined;
77001
77056
  targetBlockRevision?: string | undefined;
77057
+ citationType?: string | undefined;
77002
77058
  mentionType?: string | undefined;
77003
77059
  isExact?: boolean | undefined;
77004
77060
  }[];
@@ -77043,6 +77099,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
77043
77099
  } | undefined;
77044
77100
  sourceDocument?: string | undefined;
77045
77101
  targetBlockRevision?: string | undefined;
77102
+ citationType?: string | undefined;
77046
77103
  mentionType?: string | undefined;
77047
77104
  isExact?: boolean | undefined;
77048
77105
  }[];
package/dist/hm-types.mjs CHANGED
@@ -215,7 +215,7 @@ import {
215
215
  toNumber,
216
216
  unpackHmId,
217
217
  unpackedHmIdSchema
218
- } from "./chunk-SKIKB2TP.mjs";
218
+ } from "./chunk-OSSRQKDG.mjs";
219
219
  import "./chunk-7P6ASYW6.mjs";
220
220
  export {
221
221
  BUILTIN_METADATA_KEYS,
package/dist/hmauth.d.ts CHANGED
@@ -24,6 +24,12 @@ export interface HypermediaAuthConfig {
24
24
  siteName?: string;
25
25
  /** Ask Vault to share verified email proof after consent. Disabled by default. */
26
26
  requestEmailPrevalidation?: boolean;
27
+ /**
28
+ * An invitation code for an invite-only vault. The vault creates the
29
+ * account for `email` from it and then completes this same delegation, so
30
+ * an invited person lands on the site signed in without a second sign-in.
31
+ */
32
+ invite?: string;
27
33
  }
28
34
  /** Stored session key with metadata. */
29
35
  export interface StoredSession {
@@ -92,6 +98,8 @@ export declare const PARAM_ERROR = "error";
92
98
  export declare const PARAM_EMAIL = "email";
93
99
  /** Optional URL parameter with the requesting site's display name, for vault UI copy. Claimed by the client — display only. */
94
100
  export declare const PARAM_SITE_NAME = "site_name";
101
+ /** Invitation code for an invite-only vault; the vault registers the account before delegating. */
102
+ export declare const PARAM_INVITE = "invite";
95
103
  /** Vault route path for handling delegation requests. */
96
104
  export declare const DELEGATION_PATH = "/delegate";
97
105
  /** Encode a 32-byte Ed25519 public key as a base58btc multibase principal string. */
package/dist/hmauth.mjs CHANGED
@@ -5,6 +5,7 @@ import {
5
5
  PARAM_EMAIL,
6
6
  PARAM_EMAIL_PREVALIDATION,
7
7
  PARAM_ERROR,
8
+ PARAM_INVITE,
8
9
  PARAM_PROOF,
9
10
  PARAM_REDIRECT_URI,
10
11
  PARAM_SESSION_KEY,
@@ -23,7 +24,7 @@ import {
23
24
  validateSessionKeyPrincipal,
24
25
  validateState,
25
26
  verifyDelegationRequestProof
26
- } from "./chunk-UBBSVXFC.mjs";
27
+ } from "./chunk-4UVOQIGJ.mjs";
27
28
  import "./chunk-2MD3FXKB.mjs";
28
29
  import "./chunk-NBCHK76Q.mjs";
29
30
  import "./chunk-DR3HJ6BV.mjs";
@@ -36,6 +37,7 @@ export {
36
37
  PARAM_EMAIL,
37
38
  PARAM_EMAIL_PREVALIDATION,
38
39
  PARAM_ERROR,
40
+ PARAM_INVITE,
39
41
  PARAM_PROOF,
40
42
  PARAM_REDIRECT_URI,
41
43
  PARAM_SESSION_KEY,
@@ -2,8 +2,8 @@ import {
2
2
  annotationContains,
3
3
  hmBlockToEditorBlock,
4
4
  hmBlocksToEditorContent
5
- } from "./chunk-4MZHSZFQ.mjs";
6
- import "./chunk-SKIKB2TP.mjs";
5
+ } from "./chunk-WHQC63KZ.mjs";
6
+ import "./chunk-OSSRQKDG.mjs";
7
7
  import "./chunk-7P6ASYW6.mjs";
8
8
  export {
9
9
  annotationContains,
package/dist/index.mjs CHANGED
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-NSNLRZ3X.mjs";
3
+ } from "./chunk-SG22LWXW.mjs";
4
4
  import {
5
5
  teiToBlocks
6
- } from "./chunk-GIKXPGFZ.mjs";
6
+ } from "./chunk-4D6BGGEM.mjs";
7
7
  import {
8
8
  embeddedPdfToBlocks
9
9
  } from "./chunk-2FJBS3V7.mjs";
10
10
  import {
11
11
  resolveIdWithClient
12
- } from "./chunk-MHICVQJI.mjs";
12
+ } from "./chunk-WNLWE5P5.mjs";
13
13
  import {
14
14
  annotationContains,
15
15
  hmBlockToEditorBlock,
16
16
  hmBlocksToEditorContent
17
- } from "./chunk-4MZHSZFQ.mjs";
17
+ } from "./chunk-WHQC63KZ.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-DQR4RPYC.mjs";
39
+ } from "./chunk-7UR6YTQD.mjs";
40
40
  import {
41
41
  encryption_exports
42
42
  } from "./chunk-UOL3F6XQ.mjs";
@@ -54,10 +54,10 @@ import {
54
54
  import {
55
55
  resolveHypermediaUrl,
56
56
  resolveId
57
- } from "./chunk-V5XCZMPG.mjs";
57
+ } from "./chunk-6IW7VKZY.mjs";
58
58
  import {
59
59
  createSeedClient
60
- } from "./chunk-G6AYTCLG.mjs";
60
+ } from "./chunk-C2SV4WDE.mjs";
61
61
  import {
62
62
  SeedClientError,
63
63
  SeedNetworkError,
@@ -69,7 +69,7 @@ import {
69
69
  deleteComment,
70
70
  trimTrailingEmptyBlocks,
71
71
  updateComment
72
- } from "./chunk-EZ5DM5TI.mjs";
72
+ } from "./chunk-FXK6WCQS.mjs";
73
73
  import {
74
74
  AnnotationSet,
75
75
  addSpanToAnnotation,
@@ -90,7 +90,7 @@ import {
90
90
  documentContainsLinkToChild,
91
91
  documentHasSelfQuery,
92
92
  shouldAutoLinkParent
93
- } from "./chunk-P2FJTNNQ.mjs";
93
+ } from "./chunk-3AJ2YACM.mjs";
94
94
  import {
95
95
  createChange,
96
96
  createChangeOps,
@@ -112,7 +112,7 @@ import {
112
112
  followToDocument,
113
113
  resolveDocumentState,
114
114
  resolveEditableDocument
115
- } from "./chunk-R6OYID6M.mjs";
115
+ } from "./chunk-FJSBNU57.mjs";
116
116
  import "./chunk-2MD3FXKB.mjs";
117
117
  import {
118
118
  computeReplaceOps,
@@ -131,11 +131,11 @@ import {
131
131
  emitFrontmatter,
132
132
  parseDraftFilename,
133
133
  slugify
134
- } from "./chunk-UPYQNWW5.mjs";
134
+ } from "./chunk-O4PVMTYN.mjs";
135
135
  import {
136
136
  createCapability,
137
137
  resolveCapability
138
- } from "./chunk-KDI4WJKM.mjs";
138
+ } from "./chunk-YB5PU37B.mjs";
139
139
  import "./chunk-LVAHHQIK.mjs";
140
140
  import "./chunk-NBCHK76Q.mjs";
141
141
  import {
@@ -155,7 +155,7 @@ import {
155
155
  parseFragment,
156
156
  serializeBlockRange,
157
157
  unpackHmId
158
- } from "./chunk-SKIKB2TP.mjs";
158
+ } from "./chunk-OSSRQKDG.mjs";
159
159
  import "./chunk-3TPCJCVO.mjs";
160
160
  import "./chunk-7P6ASYW6.mjs";
161
161
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-NSNLRZ3X.mjs";
4
- import "./chunk-GIKXPGFZ.mjs";
3
+ } from "./chunk-SG22LWXW.mjs";
4
+ import "./chunk-4D6BGGEM.mjs";
5
5
  import "./chunk-2FJBS3V7.mjs";
6
6
  import "./chunk-PPAY4WZX.mjs";
7
- import "./chunk-SKIKB2TP.mjs";
7
+ import "./chunk-OSSRQKDG.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-MHICVQJI.mjs";
4
- import "./chunk-V5XCZMPG.mjs";
5
- import "./chunk-G6AYTCLG.mjs";
3
+ } from "./chunk-WNLWE5P5.mjs";
4
+ import "./chunk-6IW7VKZY.mjs";
5
+ import "./chunk-C2SV4WDE.mjs";
6
6
  import "./chunk-CBELM7KX.mjs";
7
7
  import "./chunk-O5MHN2EO.mjs";
8
8
  import "./chunk-PJ2RFT5A.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-SKIKB2TP.mjs";
11
+ import "./chunk-OSSRQKDG.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
14
14
  resolveIdWithClient
@@ -17,11 +17,11 @@ import {
17
17
  resolveSchemaRef,
18
18
  schemaDefinitionCid,
19
19
  withoutSchemaLink
20
- } from "./chunk-S4XBFD3S.mjs";
20
+ } from "./chunk-M7BEYZZV.mjs";
21
21
  import "./chunk-FFH7G6KW.mjs";
22
22
  import "./chunk-ZWKMAGDU.mjs";
23
23
  import "./chunk-VWSAFDOL.mjs";
24
- import "./chunk-SKIKB2TP.mjs";
24
+ import "./chunk-OSSRQKDG.mjs";
25
25
  import "./chunk-7P6ASYW6.mjs";
26
26
  export {
27
27
  bareCid,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyRef
3
- } from "./chunk-S4XBFD3S.mjs";
3
+ } from "./chunk-M7BEYZZV.mjs";
4
4
  import {
5
5
  kindOf,
6
6
  nameForCid,
@@ -13,7 +13,7 @@ import {
13
13
  import "./chunk-VWSAFDOL.mjs";
14
14
  import {
15
15
  unpackHmId
16
- } from "./chunk-SKIKB2TP.mjs";
16
+ } from "./chunk-OSSRQKDG.mjs";
17
17
  import "./chunk-7P6ASYW6.mjs";
18
18
 
19
19
  // src/schema-subtypes.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-GIKXPGFZ.mjs";
4
- import "./chunk-SKIKB2TP.mjs";
3
+ } from "./chunk-4D6BGGEM.mjs";
4
+ import "./chunk-OSSRQKDG.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-SKIKB2TP.mjs";
10
+ } from "./chunk-OSSRQKDG.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.105",
3
+ "version": "0.0.107",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",