@seed-hypermedia/client 0.0.14 → 0.0.15
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/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2121,9 +2121,7 @@ async function resolveId(input, opts) {
|
|
|
2121
2121
|
if (input.startsWith("http://") || input.startsWith("https://")) {
|
|
2122
2122
|
const resolved = await resolveHypermediaUrl(input, opts);
|
|
2123
2123
|
if (resolved == null ? void 0 : resolved.hmId) return resolved.hmId;
|
|
2124
|
-
throw new Error(
|
|
2125
|
-
`URL does not appear to be a Seed Hypermedia resource: ${input}`
|
|
2126
|
-
);
|
|
2124
|
+
throw new Error(`URL does not appear to be a Seed Hypermedia resource: ${input}`);
|
|
2127
2125
|
}
|
|
2128
2126
|
throw new Error(`Invalid Hypermedia ID: ${input}`);
|
|
2129
2127
|
}
|