@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.
@@ -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;