@tinycloud/operations 0.5.3-beta.0 → 0.5.3
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/cli-runtime.cjs +1 -1
- package/dist/cli-runtime.cjs.map +1 -1
- package/dist/cli-runtime.js +1 -1
- package/dist/cli-runtime.js.map +1 -1
- package/dist/delegation-binding.cjs +1 -1
- package/dist/delegation-binding.cjs.map +1 -1
- package/dist/delegation-binding.js +1 -1
- package/dist/delegation-binding.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -4039,7 +4039,7 @@ function parseSignedCompactUcanAttenuation(input, expectedCid) {
|
|
|
4039
4039
|
throw new Error("compact UCAN signed audience is missing");
|
|
4040
4040
|
const cid = CID.createV1(85, create(30, blake3(new TextEncoder().encode(input)))).toString();
|
|
4041
4041
|
if (expectedCid !== void 0 && cid !== expectedCid) throw new Error("compact UCAN CID does not match exact Authorization bytes");
|
|
4042
|
-
return { cid, payload: { att, aud: payloadValue.aud } };
|
|
4042
|
+
return { cid, payload: { att, aud: payloadValue.aud, iss: payloadValue.iss } };
|
|
4043
4043
|
}
|
|
4044
4044
|
function decodeBase64Url(value) {
|
|
4045
4045
|
if (!/^[A-Za-z0-9_-]+$/.test(value) || value.length % 4 === 1)
|