@tinycloud/operations 0.5.2 → 0.5.3-beta.1
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-name.cjs +32 -0
- package/dist/cli-name.cjs.map +1 -0
- package/dist/cli-name.d.cts +9 -0
- package/dist/cli-name.d.ts +9 -0
- package/dist/cli-name.js +7 -0
- package/dist/cli-name.js.map +1 -0
- package/dist/cli-runtime.cjs +84 -69
- package/dist/cli-runtime.cjs.map +1 -1
- package/dist/cli-runtime.js +29 -14
- 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 +84 -69
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +29 -14
- package/dist/index.js.map +1 -1
- package/dist/recovery.cjs +11 -5
- package/dist/recovery.cjs.map +1 -1
- package/dist/recovery.js +9 -5
- package/dist/recovery.js.map +1 -1
- package/dist/secret-request.cjs +7 -1
- package/dist/secret-request.cjs.map +1 -1
- package/dist/secret-request.js +7 -1
- package/dist/secret-request.js.map +1 -1
- package/package.json +9 -4
|
@@ -3625,7 +3625,7 @@ function parseSignedCompactUcanAttenuation(input, expectedCid) {
|
|
|
3625
3625
|
throw new Error("compact UCAN signed audience is missing");
|
|
3626
3626
|
const cid = CID.createV1(85, create(30, blake3(new TextEncoder().encode(input)))).toString();
|
|
3627
3627
|
if (expectedCid !== void 0 && cid !== expectedCid) throw new Error("compact UCAN CID does not match exact Authorization bytes");
|
|
3628
|
-
return { cid, payload: { att, aud: payloadValue.aud } };
|
|
3628
|
+
return { cid, payload: { att, aud: payloadValue.aud, iss: payloadValue.iss } };
|
|
3629
3629
|
}
|
|
3630
3630
|
function decodeBase64Url(value) {
|
|
3631
3631
|
if (!/^[A-Za-z0-9_-]+$/.test(value) || value.length % 4 === 1)
|