@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
|
@@ -744,12 +744,13 @@ declare function signCompactPolicyDescendant(input: CompactPolicyDescendantInput
|
|
|
744
744
|
declare function compactAttenuationContains(parent: Readonly<Record<string, Readonly<Record<string, readonly unknown[]>>>>, child: Readonly<Record<string, Readonly<Record<string, readonly unknown[]>>>>): boolean;
|
|
745
745
|
declare function parseCompactUcanAuthorization(input: string, expectedCid?: string): CompactUcanAuthorizationV1;
|
|
746
746
|
declare const SignedCompactAttenuationSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnknown, "many">>>;
|
|
747
|
-
/** Verify an issued UCAN's exact bytes while reading its signed attenuation. */
|
|
747
|
+
/** Verify an issued UCAN's exact bytes while reading its signed attenuation and issuer. */
|
|
748
748
|
declare function parseSignedCompactUcanAttenuation(input: string, expectedCid?: string): {
|
|
749
749
|
cid: string;
|
|
750
750
|
payload: {
|
|
751
751
|
att: z.infer<typeof SignedCompactAttenuationSchema>;
|
|
752
752
|
aud: string;
|
|
753
|
+
iss: string;
|
|
753
754
|
};
|
|
754
755
|
};
|
|
755
756
|
declare function parsePolicySessionUcan(authorization: string, expectedProofs?: readonly [string, string]): PolicySessionUcanV1;
|
|
@@ -744,12 +744,13 @@ declare function signCompactPolicyDescendant(input: CompactPolicyDescendantInput
|
|
|
744
744
|
declare function compactAttenuationContains(parent: Readonly<Record<string, Readonly<Record<string, readonly unknown[]>>>>, child: Readonly<Record<string, Readonly<Record<string, readonly unknown[]>>>>): boolean;
|
|
745
745
|
declare function parseCompactUcanAuthorization(input: string, expectedCid?: string): CompactUcanAuthorizationV1;
|
|
746
746
|
declare const SignedCompactAttenuationSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnknown, "many">>>;
|
|
747
|
-
/** Verify an issued UCAN's exact bytes while reading its signed attenuation. */
|
|
747
|
+
/** Verify an issued UCAN's exact bytes while reading its signed attenuation and issuer. */
|
|
748
748
|
declare function parseSignedCompactUcanAttenuation(input: string, expectedCid?: string): {
|
|
749
749
|
cid: string;
|
|
750
750
|
payload: {
|
|
751
751
|
att: z.infer<typeof SignedCompactAttenuationSchema>;
|
|
752
752
|
aud: string;
|
|
753
|
+
iss: string;
|
|
753
754
|
};
|
|
754
755
|
};
|
|
755
756
|
declare function parsePolicySessionUcan(authorization: string, expectedProofs?: readonly [string, string]): PolicySessionUcanV1;
|