@seed-hypermedia/client 0.0.56 → 0.0.58

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/hm-types.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import {
2
+ BUILTIN_METADATA_KEYS,
2
3
  BackgroundColorAnnotationSchema,
3
4
  BlockRangeSchema,
4
5
  BoldAnnotationSchema,
@@ -47,6 +48,9 @@ import {
47
48
  HMContactRecordSchema,
48
49
  HMContactSchema,
49
50
  HMContactSubscribeSchema,
51
+ HMDiscoveryStatusInputSchema,
52
+ HMDiscoveryStatusOutputSchema,
53
+ HMDiscoveryStatusRequestSchema,
50
54
  HMDocumentInfoSchema,
51
55
  HMDocumentMetadataSchema,
52
56
  HMDocumentSchema,
@@ -163,6 +167,7 @@ import {
163
167
  TextSizeAnnotationSchema,
164
168
  UnderlineAnnotationSchema,
165
169
  codePointLength,
170
+ countCustomMetadataFields,
166
171
  entityQueryPathToHmIdPath,
167
172
  getHMQueryString,
168
173
  hmIdPathToEntityQueryPath,
@@ -179,8 +184,9 @@ import {
179
184
  toNumber,
180
185
  unpackHmId,
181
186
  unpackedHmIdSchema
182
- } from "./chunk-64F47WK6.mjs";
187
+ } from "./chunk-MNRFUFMX.mjs";
183
188
  export {
189
+ BUILTIN_METADATA_KEYS,
184
190
  BackgroundColorAnnotationSchema,
185
191
  BlockRangeSchema,
186
192
  BoldAnnotationSchema,
@@ -229,6 +235,9 @@ export {
229
235
  HMContactRecordSchema,
230
236
  HMContactSchema,
231
237
  HMContactSubscribeSchema,
238
+ HMDiscoveryStatusInputSchema,
239
+ HMDiscoveryStatusOutputSchema,
240
+ HMDiscoveryStatusRequestSchema,
232
241
  HMDocumentInfoSchema,
233
242
  HMDocumentMetadataSchema,
234
243
  HMDocumentSchema,
@@ -345,6 +354,7 @@ export {
345
354
  TextSizeAnnotationSchema,
346
355
  UnderlineAnnotationSchema,
347
356
  codePointLength,
357
+ countCustomMetadataFields,
348
358
  entityQueryPathToHmIdPath,
349
359
  getHMQueryString,
350
360
  hmIdPathToEntityQueryPath,
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  serializeBlockRange,
18
18
  toNumber,
19
19
  unpackHmId
20
- } from "./chunk-64F47WK6.mjs";
20
+ } from "./chunk-MNRFUFMX.mjs";
21
21
 
22
22
  // src/capability.ts
23
23
  import { encode as cborEncode2 } from "@ipld/dag-cbor";
@@ -383,6 +383,12 @@ var QUERY_PARAM_SERIALIZERS = {
383
383
  }),
384
384
  ListCapabilities: (input) => ({
385
385
  targetId: packHmId(input.targetId)
386
+ }),
387
+ DiscoveryStatus: (input) => ({
388
+ uid: input.uid,
389
+ path: input.path.join("/"),
390
+ ...input.version ? { v: input.version } : {},
391
+ ...input.latest ? { l: "" } : {}
386
392
  })
387
393
  };
388
394
  function createSeedClient(baseUrl, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.56",
3
+ "version": "0.0.58",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",