@seed-hypermedia/client 0.0.21 → 0.0.22

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.
@@ -1149,8 +1149,7 @@ function unpackHmId(hypermediaId) {
1149
1149
  }
1150
1150
  const version = parsed.query.v || null;
1151
1151
  const fragment = parseFragment(parsed.fragment);
1152
- const hasBlockRef = !!(fragment == null ? void 0 : fragment.blockId);
1153
- const latest = hasBlockRef ? false : parsed.query.l === null || parsed.query.l === "" || !version;
1152
+ const latest = parsed.query.l === null || parsed.query.l === "" || !version;
1154
1153
  let blockRange = null;
1155
1154
  if (fragment) {
1156
1155
  if ("start" in fragment) {
package/dist/hm-types.mjs CHANGED
@@ -165,7 +165,7 @@ import {
165
165
  toNumber,
166
166
  unpackHmId,
167
167
  unpackedHmIdSchema
168
- } from "./chunk-HPRC2RYX.mjs";
168
+ } from "./chunk-KDTQQR2L.mjs";
169
169
  export {
170
170
  BlockRangeSchema,
171
171
  BoldAnnotationSchema,
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  serializeBlockRange,
17
17
  toNumber,
18
18
  unpackHmId
19
- } from "./chunk-HPRC2RYX.mjs";
19
+ } from "./chunk-KDTQQR2L.mjs";
20
20
 
21
21
  // src/capability.ts
22
22
  import { encode as cborEncode2 } from "@ipld/dag-cbor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",