@tinycloud/sdk-core 3.2.1 → 3.2.3-beta.0
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/{credential-admission-CJ1ZPqcx.d.ts → credential-admission-7I_ymo-C.d.ts} +2 -1
- package/dist/{credential-admission-1EOQgdzY.d.cts → credential-admission-Cg1M9uyV.d.cts} +2 -1
- package/dist/delegations/index.cjs.map +1 -1
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +274 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -3
- package/dist/index.d.ts +29 -3
- package/dist/index.js +272 -55
- package/dist/index.js.map +1 -1
- package/dist/policy/index.cjs +1 -1
- package/dist/policy/index.cjs.map +1 -1
- package/dist/policy/index.d.cts +2 -2
- package/dist/policy/index.d.ts +2 -2
- package/dist/policy/index.js +1 -1
- package/dist/policy/index.js.map +1 -1
- package/package.json +3 -3
package/dist/policy/index.cjs
CHANGED
|
@@ -4134,7 +4134,7 @@ function parseSignedCompactUcanAttenuation(input, expectedCid) {
|
|
|
4134
4134
|
throw new Error("compact UCAN signed audience is missing");
|
|
4135
4135
|
const cid = CID.createV1(85, create(30, (0, import_blake3.blake3)(new TextEncoder().encode(input)))).toString();
|
|
4136
4136
|
if (expectedCid !== void 0 && cid !== expectedCid) throw new Error("compact UCAN CID does not match exact Authorization bytes");
|
|
4137
|
-
return { cid, payload: { att, aud: payloadValue.aud } };
|
|
4137
|
+
return { cid, payload: { att, aud: payloadValue.aud, iss: payloadValue.iss } };
|
|
4138
4138
|
}
|
|
4139
4139
|
function parsePolicySessionUcan(authorization, expectedProofs) {
|
|
4140
4140
|
const parsed = parseCompactUcanAuthorization(authorization);
|