@seed-hypermedia/client 0.0.14 → 0.0.16
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 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -905,7 +905,6 @@ async function createContact(input, signer) {
|
|
|
905
905
|
if (input.subscribe) {
|
|
906
906
|
unsigned.subscribe = input.subscribe;
|
|
907
907
|
}
|
|
908
|
-
console.log("SIGNING BLOB", unsigned);
|
|
909
908
|
unsigned.sig = await signObject(signer, unsigned);
|
|
910
909
|
const encoded = cborEncode7(unsigned);
|
|
911
910
|
const tsid = await computeTSID(ts, encoded);
|
|
@@ -2121,9 +2120,7 @@ async function resolveId(input, opts) {
|
|
|
2121
2120
|
if (input.startsWith("http://") || input.startsWith("https://")) {
|
|
2122
2121
|
const resolved = await resolveHypermediaUrl(input, opts);
|
|
2123
2122
|
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
|
-
);
|
|
2123
|
+
throw new Error(`URL does not appear to be a Seed Hypermedia resource: ${input}`);
|
|
2127
2124
|
}
|
|
2128
2125
|
throw new Error(`Invalid Hypermedia ID: ${input}`);
|
|
2129
2126
|
}
|