@tinycloud/sdk-core 3.0.0-beta.5 → 3.0.0-beta.6

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.
@@ -3590,6 +3590,69 @@ declare function validateShareDeliveryAuthorizationBytes(bytesValue: Uint8Array,
3590
3590
  /** Build the trusted-signer descriptor `did:key:...#z...` expects from a raw node signing key. */
3591
3591
  declare function shareDeliveryTrustedKid(publicKey: Uint8Array): string;
3592
3592
 
3593
+ declare const SHARE_DELIVERY_AUTHORIZATION_V3_DOMAIN = "xyz.tinycloud.share/delivery-authorization/v3\0";
3594
+ interface ShareDeliveryAuthorizationV3Request {
3595
+ readonly envelope: Record<string, unknown>;
3596
+ readonly sealedEnvelope: string;
3597
+ readonly envelopeKey: string;
3598
+ readonly shareCid: string;
3599
+ readonly recipientEmail: string;
3600
+ readonly shareUrl: string;
3601
+ readonly documentName: string;
3602
+ readonly jti: string;
3603
+ readonly expiresAt: string;
3604
+ readonly requestBodyDigest: string;
3605
+ }
3606
+ interface ShareDeliveryAuthorizationV3 {
3607
+ readonly type: "TinyCloudShareDeliveryAuthorization";
3608
+ readonly version: 3;
3609
+ readonly jti: string;
3610
+ readonly shareCid: string;
3611
+ readonly shareId: string;
3612
+ readonly policyCid: string;
3613
+ readonly policyRootCid: string;
3614
+ readonly enforcementRootCid: string;
3615
+ readonly nodeAudience: string;
3616
+ readonly enforcerDid: string;
3617
+ readonly targetOrigin: string;
3618
+ readonly openCredentialsAudience: string;
3619
+ readonly holder: string;
3620
+ readonly recipientMatcher: unknown;
3621
+ readonly deliveryEmail: string;
3622
+ readonly shareUrl: string;
3623
+ readonly returnOrigin: string;
3624
+ readonly documentName: string;
3625
+ readonly senderDid: string;
3626
+ readonly senderTrust: string;
3627
+ readonly contentSource: unknown;
3628
+ readonly contentSourceDigestHex: string;
3629
+ readonly shareExpiresAt: string;
3630
+ readonly issuedAt: string;
3631
+ readonly reportAbuseToken: string;
3632
+ readonly actions: readonly string[];
3633
+ readonly resource: string;
3634
+ readonly requestBodyDigest: string;
3635
+ readonly idempotencyKey: string;
3636
+ readonly expiresAt: string;
3637
+ readonly dataAuthority: false;
3638
+ }
3639
+ interface ShareDeliveryAuthorizationV3Receipt {
3640
+ readonly authorization: ShareDeliveryAuthorizationV3;
3641
+ readonly proof: {
3642
+ readonly alg: "EdDSA";
3643
+ readonly kid: string;
3644
+ readonly signature: string;
3645
+ };
3646
+ }
3647
+ declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
3648
+ readonly request: ShareDeliveryAuthorizationV3Request;
3649
+ readonly nodeProof: {
3650
+ readonly kid: string;
3651
+ readonly publicKey: Uint8Array;
3652
+ };
3653
+ readonly credentialsAudience: string;
3654
+ }): ShareDeliveryAuthorizationV3Receipt;
3655
+
3593
3656
  /**
3594
3657
  * The durable record a sender needs, after a reload, to display and manage
3595
3658
  * a share it created. Every identity/CID here comes verbatim from the
@@ -4572,4 +4635,4 @@ declare const ShareNativeResponseSchema: z.ZodDiscriminatedUnion<"action", [z.Zo
4572
4635
  }>]>;
4573
4636
  type ShareNativeResponse = z.infer<typeof ShareNativeResponseSchema>;
4574
4637
 
4575
- export { type ReceiveOptions as $, type AccountDelegationPage as A, type KeyProvider as B, type CapabilityEntry as C, DelegationManager as D, type EncodedShareData as E, type KeyType as F, type GenerateShareParams as G, MAX_SEALED_SHARE_CONTENT_BYTES as H, type ICapabilityKeyRegistry as I, type JWK as J, type KeyInfo as K, MAX_SHARE_ARTIFACT_BYTES as L, MAX_CONTENT_BYTES as M, MAX_SHARE_CONTENT_BYTES as N, MemorySenderShareKeyStorage as O, MemorySenderShareRecordStorage as P, MemoryShareCache as Q, type Result as R, type OwnerDelegationPermission as S, type OwnerDelegationReceipt as T, type OwnerShareAction as U, type OwnerShareDecryption as V, type OwnerShareMatcher as W, type OwnerSharePolicyRegistration as X, type OwnerSharePolicyRegistrationReceipt as Y, type OwnerSharePolicyV2 as Z, type PortableDelegationImportReceipt as _, type DelegationError as a, ShareRecipientPolicySchema as a$, type RegisterOwnerSharePolicyParams as a0, SHARE_DELIVERY_AUTHORIZATION_DOMAIN as a1, type SenderShareKeyStorage as a2, type SenderShareRecord as a3, type SenderShareRecordStorage as a4, type SenderShareRevocationScope as a5, SenderShareStore as a6, type ShareAccess as a7, ShareAccessError as a8, type ShareAccessV2 as a9, type ShareExpiryBounds as aA, type ShareKvContentSource as aB, type ShareLink as aC, type ShareLinkData as aD, type ShareLinkLocation as aE, type ShareListEntry as aF, type ShareListResult as aG, type ShareNativeAction as aH, type ShareNativeInvokeEnvelopeV1 as aI, type ShareNativeInvokeErrorResult as aJ, type ShareNativeInvokeInput as aK, type ShareNativeInvokeResult as aL, type ShareNativeInvokeSuccessResult as aM, type ShareNativeResponse as aN, ShareNativeResponseSchema as aO, type SharePolicy as aP, type SharePolicyBinding as aQ, type SharePolicySession as aR, type SharePolicySessionV1 as aS, type SharePolicySessionWireV1 as aT, type PortableDelegation as aU, type ShareReadInvocationV1 as aV, type ShareReadResult as aW, ShareRecipientClient as aX, type ShareRecipientClientOptions as aY, ShareRecipientClientOptionsSchema as aZ, type ShareRecipientPolicy as a_, type ShareAction as aa, ShareActionSchema as ab, type ShareAddressedDelegationEnvelopeV2 as ac, ShareAddressedDelegationEnvelopeV2Schema as ad, type ShareAddressedDelegationRequestV2 as ae, ShareAddressedDelegationRequestV2Schema as af, type ShareAddressedDelegationResponseV2 as ag, ShareAddressedDelegationResponseV2Schema as ah, type ShareAddressedRecipientMatcher as ai, type ShareArtifactInput as aj, type ShareArtifactResult as ak, type ShareArtifactV2 as al, type ShareCache as am, type ShareCacheEntry as an, type ShareCacheKey as ao, type ShareCacheMetadata as ap, type ShareCapabilityLike as aq, ShareConflict as ar, type ShareContentMetadata as as, type ShareContentSource as at, type ShareDeliveryAuthorization as au, type ShareDeliveryAuthorizationReceipt as av, type ShareDeliveryAuthorizationRequest as aw, type ShareDetachedProof as ax, ShareEnvelopeError as ay, type ShareEnvelopeV2 as az, type AccountDelegationQueryOptions as b, type ShareRecipientResult as b0, type ShareRecipientTarget as b1, ShareRecipientTargetSchema as b2, type ShareResource as b3, ShareResourceSchema as b4, type ShareSaveOptions as b5, type ShareSchema as b6, type ShareSqlContentSource as b7, type ShareWireAction as b8, SharingService as b9, normalizeShareRecipientTarget as bA, normalizeShareResource as bB, parsePortableDelegation as bC, parseShareArtifact as bD, parseShareUrl as bE, restoreDelegatedShareKey as bF, serializePortableDelegation as bG, shareCapabilityAllows as bH, shareDeliveryTrustedKid as bI, signShareEnvelope as bJ, validateOwnerSharePolicyRegistration as bK, validateOwnerSharePolicyRegistrationBytes as bL, validateShareDeliveryAuthorizationBytes as bM, verifyShareCid as bN, verifyShareEnvelope as bO, CapabilityKeyRegistry as bP, type CapabilityKeyRegistryErrorCode as bQ, CapabilityKeyRegistryErrorCodes as bR, type StoredDelegationChain as bS, createCapabilityKeyRegistry as bT, type SharingServiceConfig as ba, type SignedDelegation as bb, type SpaceInfo as bc, type SpaceOwnership as bd, type ValidateShareDeliveryAuthorizationExpected as be, type VerifyShareEnvelopeOptions as bf, canonicalOwnerSharePolicy as bg, computeOwnerShareRegistrationCid as bh, computeShareCid as bi, createDelegatedShareKey as bj, createPolicyEnforcementDelegation as bk, createShareArtifact as bl, createShareArtifactAsync as bm, createSharePolicy as bn, createSharingService as bo, decryptShareBytesAsync as bp, delegatePortablePolicySession as bq, encodeInlineShareUrl as br, encodeShareArtifact as bs, encodeShareUrl as bt, encryptShareBytes as bu, encryptShareBytesAsync as bv, importPortableDelegation as bw, intersectShareCapabilities as bx, isV2ShareLink as by, normalizeShareActions as bz, type AccountDelegationRecord as c, type AccountDelegationResource as d, type CreateDelegationParams as e, type CreateDelegationWasmParams as f, type CreateDelegationWasmResult as g, type CreateOwnerDelegationParams as h, type DelegateReceivedShareParams as i, type DelegatedResource as j, type DelegatedShareAccess as k, type DelegatedShareKey as l, type Delegation as m, type DelegationApiResponse as n, type DelegationChain as o, type DelegationChainV2 as p, type DelegationDirection as q, type DelegationErrorCode as r, DelegationErrorCodes as s, type DelegationFilters as t, type DelegationManagerConfig as u, type DelegationRecord as v, type DelegationRevocationReceipt as w, type DelegationStatus as x, type ISharingService as y, type IngestOptions as z };
4638
+ export { type ReceiveOptions as $, type AccountDelegationPage as A, type KeyProvider as B, type CapabilityEntry as C, DelegationManager as D, type EncodedShareData as E, type KeyType as F, type GenerateShareParams as G, MAX_SEALED_SHARE_CONTENT_BYTES as H, type ICapabilityKeyRegistry as I, type JWK as J, type KeyInfo as K, MAX_SHARE_ARTIFACT_BYTES as L, MAX_CONTENT_BYTES as M, MAX_SHARE_CONTENT_BYTES as N, MemorySenderShareKeyStorage as O, MemorySenderShareRecordStorage as P, MemoryShareCache as Q, type Result as R, type OwnerDelegationPermission as S, type OwnerDelegationReceipt as T, type OwnerShareAction as U, type OwnerShareDecryption as V, type OwnerShareMatcher as W, type OwnerSharePolicyRegistration as X, type OwnerSharePolicyRegistrationReceipt as Y, type OwnerSharePolicyV2 as Z, type PortableDelegationImportReceipt as _, type DelegationError as a, ShareRecipientClient as a$, type RegisterOwnerSharePolicyParams as a0, SHARE_DELIVERY_AUTHORIZATION_DOMAIN as a1, SHARE_DELIVERY_AUTHORIZATION_V3_DOMAIN as a2, type SenderShareKeyStorage as a3, type SenderShareRecord as a4, type SenderShareRecordStorage as a5, type SenderShareRevocationScope as a6, SenderShareStore as a7, type ShareAccess as a8, ShareAccessError as a9, type ShareDeliveryAuthorizationV3Request as aA, type ShareDetachedProof as aB, ShareEnvelopeError as aC, type ShareEnvelopeV2 as aD, type ShareExpiryBounds as aE, type ShareKvContentSource as aF, type ShareLink as aG, type ShareLinkData as aH, type ShareLinkLocation as aI, type ShareListEntry as aJ, type ShareListResult as aK, type ShareNativeAction as aL, type ShareNativeInvokeEnvelopeV1 as aM, type ShareNativeInvokeErrorResult as aN, type ShareNativeInvokeInput as aO, type ShareNativeInvokeResult as aP, type ShareNativeInvokeSuccessResult as aQ, type ShareNativeResponse as aR, ShareNativeResponseSchema as aS, type SharePolicy as aT, type SharePolicyBinding as aU, type SharePolicySession as aV, type SharePolicySessionV1 as aW, type SharePolicySessionWireV1 as aX, type PortableDelegation as aY, type ShareReadInvocationV1 as aZ, type ShareReadResult as a_, type ShareAccessV2 as aa, type ShareAction as ab, ShareActionSchema as ac, type ShareAddressedDelegationEnvelopeV2 as ad, ShareAddressedDelegationEnvelopeV2Schema as ae, type ShareAddressedDelegationRequestV2 as af, ShareAddressedDelegationRequestV2Schema as ag, type ShareAddressedDelegationResponseV2 as ah, ShareAddressedDelegationResponseV2Schema as ai, type ShareAddressedRecipientMatcher as aj, type ShareArtifactInput as ak, type ShareArtifactResult as al, type ShareArtifactV2 as am, type ShareCache as an, type ShareCacheEntry as ao, type ShareCacheKey as ap, type ShareCacheMetadata as aq, type ShareCapabilityLike as ar, ShareConflict as as, type ShareContentMetadata as at, type ShareContentSource as au, type ShareDeliveryAuthorization as av, type ShareDeliveryAuthorizationReceipt as aw, type ShareDeliveryAuthorizationRequest as ax, type ShareDeliveryAuthorizationV3 as ay, type ShareDeliveryAuthorizationV3Receipt as az, type AccountDelegationQueryOptions as b, type ShareRecipientClientOptions as b0, ShareRecipientClientOptionsSchema as b1, type ShareRecipientPolicy as b2, ShareRecipientPolicySchema as b3, type ShareRecipientResult as b4, type ShareRecipientTarget as b5, ShareRecipientTargetSchema as b6, type ShareResource as b7, ShareResourceSchema as b8, type ShareSaveOptions as b9, importPortableDelegation as bA, intersectShareCapabilities as bB, isV2ShareLink as bC, normalizeShareActions as bD, normalizeShareRecipientTarget as bE, normalizeShareResource as bF, parsePortableDelegation as bG, parseShareArtifact as bH, parseShareUrl as bI, restoreDelegatedShareKey as bJ, serializePortableDelegation as bK, shareCapabilityAllows as bL, shareDeliveryTrustedKid as bM, signShareEnvelope as bN, validateOwnerSharePolicyRegistration as bO, validateOwnerSharePolicyRegistrationBytes as bP, validateShareDeliveryAuthorizationBytes as bQ, validateShareDeliveryAuthorizationV3Bytes as bR, verifyShareCid as bS, verifyShareEnvelope as bT, CapabilityKeyRegistry as bU, type CapabilityKeyRegistryErrorCode as bV, CapabilityKeyRegistryErrorCodes as bW, type StoredDelegationChain as bX, createCapabilityKeyRegistry as bY, type ShareSchema as ba, type ShareSqlContentSource as bb, type ShareWireAction as bc, SharingService as bd, type SharingServiceConfig as be, type SignedDelegation as bf, type SpaceInfo as bg, type SpaceOwnership as bh, type ValidateShareDeliveryAuthorizationExpected as bi, type VerifyShareEnvelopeOptions as bj, canonicalOwnerSharePolicy as bk, computeOwnerShareRegistrationCid as bl, computeShareCid as bm, createDelegatedShareKey as bn, createPolicyEnforcementDelegation as bo, createShareArtifact as bp, createShareArtifactAsync as bq, createSharePolicy as br, createSharingService as bs, decryptShareBytesAsync as bt, delegatePortablePolicySession as bu, encodeInlineShareUrl as bv, encodeShareArtifact as bw, encodeShareUrl as bx, encryptShareBytes as by, encryptShareBytesAsync as bz, type AccountDelegationRecord as c, type AccountDelegationResource as d, type CreateDelegationParams as e, type CreateDelegationWasmParams as f, type CreateDelegationWasmResult as g, type CreateOwnerDelegationParams as h, type DelegateReceivedShareParams as i, type DelegatedResource as j, type DelegatedShareAccess as k, type DelegatedShareKey as l, type Delegation as m, type DelegationApiResponse as n, type DelegationChain as o, type DelegationChainV2 as p, type DelegationDirection as q, type DelegationErrorCode as r, DelegationErrorCodes as s, type DelegationFilters as t, type DelegationManagerConfig as u, type DelegationRecord as v, type DelegationRevocationReceipt as w, type DelegationStatus as x, type ISharingService as y, type IngestOptions as z };
@@ -3590,6 +3590,69 @@ declare function validateShareDeliveryAuthorizationBytes(bytesValue: Uint8Array,
3590
3590
  /** Build the trusted-signer descriptor `did:key:...#z...` expects from a raw node signing key. */
3591
3591
  declare function shareDeliveryTrustedKid(publicKey: Uint8Array): string;
3592
3592
 
3593
+ declare const SHARE_DELIVERY_AUTHORIZATION_V3_DOMAIN = "xyz.tinycloud.share/delivery-authorization/v3\0";
3594
+ interface ShareDeliveryAuthorizationV3Request {
3595
+ readonly envelope: Record<string, unknown>;
3596
+ readonly sealedEnvelope: string;
3597
+ readonly envelopeKey: string;
3598
+ readonly shareCid: string;
3599
+ readonly recipientEmail: string;
3600
+ readonly shareUrl: string;
3601
+ readonly documentName: string;
3602
+ readonly jti: string;
3603
+ readonly expiresAt: string;
3604
+ readonly requestBodyDigest: string;
3605
+ }
3606
+ interface ShareDeliveryAuthorizationV3 {
3607
+ readonly type: "TinyCloudShareDeliveryAuthorization";
3608
+ readonly version: 3;
3609
+ readonly jti: string;
3610
+ readonly shareCid: string;
3611
+ readonly shareId: string;
3612
+ readonly policyCid: string;
3613
+ readonly policyRootCid: string;
3614
+ readonly enforcementRootCid: string;
3615
+ readonly nodeAudience: string;
3616
+ readonly enforcerDid: string;
3617
+ readonly targetOrigin: string;
3618
+ readonly openCredentialsAudience: string;
3619
+ readonly holder: string;
3620
+ readonly recipientMatcher: unknown;
3621
+ readonly deliveryEmail: string;
3622
+ readonly shareUrl: string;
3623
+ readonly returnOrigin: string;
3624
+ readonly documentName: string;
3625
+ readonly senderDid: string;
3626
+ readonly senderTrust: string;
3627
+ readonly contentSource: unknown;
3628
+ readonly contentSourceDigestHex: string;
3629
+ readonly shareExpiresAt: string;
3630
+ readonly issuedAt: string;
3631
+ readonly reportAbuseToken: string;
3632
+ readonly actions: readonly string[];
3633
+ readonly resource: string;
3634
+ readonly requestBodyDigest: string;
3635
+ readonly idempotencyKey: string;
3636
+ readonly expiresAt: string;
3637
+ readonly dataAuthority: false;
3638
+ }
3639
+ interface ShareDeliveryAuthorizationV3Receipt {
3640
+ readonly authorization: ShareDeliveryAuthorizationV3;
3641
+ readonly proof: {
3642
+ readonly alg: "EdDSA";
3643
+ readonly kid: string;
3644
+ readonly signature: string;
3645
+ };
3646
+ }
3647
+ declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
3648
+ readonly request: ShareDeliveryAuthorizationV3Request;
3649
+ readonly nodeProof: {
3650
+ readonly kid: string;
3651
+ readonly publicKey: Uint8Array;
3652
+ };
3653
+ readonly credentialsAudience: string;
3654
+ }): ShareDeliveryAuthorizationV3Receipt;
3655
+
3593
3656
  /**
3594
3657
  * The durable record a sender needs, after a reload, to display and manage
3595
3658
  * a share it created. Every identity/CID here comes verbatim from the
@@ -4572,4 +4635,4 @@ declare const ShareNativeResponseSchema: z.ZodDiscriminatedUnion<"action", [z.Zo
4572
4635
  }>]>;
4573
4636
  type ShareNativeResponse = z.infer<typeof ShareNativeResponseSchema>;
4574
4637
 
4575
- export { type ReceiveOptions as $, type AccountDelegationPage as A, type KeyProvider as B, type CapabilityEntry as C, DelegationManager as D, type EncodedShareData as E, type KeyType as F, type GenerateShareParams as G, MAX_SEALED_SHARE_CONTENT_BYTES as H, type ICapabilityKeyRegistry as I, type JWK as J, type KeyInfo as K, MAX_SHARE_ARTIFACT_BYTES as L, MAX_CONTENT_BYTES as M, MAX_SHARE_CONTENT_BYTES as N, MemorySenderShareKeyStorage as O, MemorySenderShareRecordStorage as P, MemoryShareCache as Q, type Result as R, type OwnerDelegationPermission as S, type OwnerDelegationReceipt as T, type OwnerShareAction as U, type OwnerShareDecryption as V, type OwnerShareMatcher as W, type OwnerSharePolicyRegistration as X, type OwnerSharePolicyRegistrationReceipt as Y, type OwnerSharePolicyV2 as Z, type PortableDelegationImportReceipt as _, type DelegationError as a, ShareRecipientPolicySchema as a$, type RegisterOwnerSharePolicyParams as a0, SHARE_DELIVERY_AUTHORIZATION_DOMAIN as a1, type SenderShareKeyStorage as a2, type SenderShareRecord as a3, type SenderShareRecordStorage as a4, type SenderShareRevocationScope as a5, SenderShareStore as a6, type ShareAccess as a7, ShareAccessError as a8, type ShareAccessV2 as a9, type ShareExpiryBounds as aA, type ShareKvContentSource as aB, type ShareLink as aC, type ShareLinkData as aD, type ShareLinkLocation as aE, type ShareListEntry as aF, type ShareListResult as aG, type ShareNativeAction as aH, type ShareNativeInvokeEnvelopeV1 as aI, type ShareNativeInvokeErrorResult as aJ, type ShareNativeInvokeInput as aK, type ShareNativeInvokeResult as aL, type ShareNativeInvokeSuccessResult as aM, type ShareNativeResponse as aN, ShareNativeResponseSchema as aO, type SharePolicy as aP, type SharePolicyBinding as aQ, type SharePolicySession as aR, type SharePolicySessionV1 as aS, type SharePolicySessionWireV1 as aT, type PortableDelegation as aU, type ShareReadInvocationV1 as aV, type ShareReadResult as aW, ShareRecipientClient as aX, type ShareRecipientClientOptions as aY, ShareRecipientClientOptionsSchema as aZ, type ShareRecipientPolicy as a_, type ShareAction as aa, ShareActionSchema as ab, type ShareAddressedDelegationEnvelopeV2 as ac, ShareAddressedDelegationEnvelopeV2Schema as ad, type ShareAddressedDelegationRequestV2 as ae, ShareAddressedDelegationRequestV2Schema as af, type ShareAddressedDelegationResponseV2 as ag, ShareAddressedDelegationResponseV2Schema as ah, type ShareAddressedRecipientMatcher as ai, type ShareArtifactInput as aj, type ShareArtifactResult as ak, type ShareArtifactV2 as al, type ShareCache as am, type ShareCacheEntry as an, type ShareCacheKey as ao, type ShareCacheMetadata as ap, type ShareCapabilityLike as aq, ShareConflict as ar, type ShareContentMetadata as as, type ShareContentSource as at, type ShareDeliveryAuthorization as au, type ShareDeliveryAuthorizationReceipt as av, type ShareDeliveryAuthorizationRequest as aw, type ShareDetachedProof as ax, ShareEnvelopeError as ay, type ShareEnvelopeV2 as az, type AccountDelegationQueryOptions as b, type ShareRecipientResult as b0, type ShareRecipientTarget as b1, ShareRecipientTargetSchema as b2, type ShareResource as b3, ShareResourceSchema as b4, type ShareSaveOptions as b5, type ShareSchema as b6, type ShareSqlContentSource as b7, type ShareWireAction as b8, SharingService as b9, normalizeShareRecipientTarget as bA, normalizeShareResource as bB, parsePortableDelegation as bC, parseShareArtifact as bD, parseShareUrl as bE, restoreDelegatedShareKey as bF, serializePortableDelegation as bG, shareCapabilityAllows as bH, shareDeliveryTrustedKid as bI, signShareEnvelope as bJ, validateOwnerSharePolicyRegistration as bK, validateOwnerSharePolicyRegistrationBytes as bL, validateShareDeliveryAuthorizationBytes as bM, verifyShareCid as bN, verifyShareEnvelope as bO, CapabilityKeyRegistry as bP, type CapabilityKeyRegistryErrorCode as bQ, CapabilityKeyRegistryErrorCodes as bR, type StoredDelegationChain as bS, createCapabilityKeyRegistry as bT, type SharingServiceConfig as ba, type SignedDelegation as bb, type SpaceInfo as bc, type SpaceOwnership as bd, type ValidateShareDeliveryAuthorizationExpected as be, type VerifyShareEnvelopeOptions as bf, canonicalOwnerSharePolicy as bg, computeOwnerShareRegistrationCid as bh, computeShareCid as bi, createDelegatedShareKey as bj, createPolicyEnforcementDelegation as bk, createShareArtifact as bl, createShareArtifactAsync as bm, createSharePolicy as bn, createSharingService as bo, decryptShareBytesAsync as bp, delegatePortablePolicySession as bq, encodeInlineShareUrl as br, encodeShareArtifact as bs, encodeShareUrl as bt, encryptShareBytes as bu, encryptShareBytesAsync as bv, importPortableDelegation as bw, intersectShareCapabilities as bx, isV2ShareLink as by, normalizeShareActions as bz, type AccountDelegationRecord as c, type AccountDelegationResource as d, type CreateDelegationParams as e, type CreateDelegationWasmParams as f, type CreateDelegationWasmResult as g, type CreateOwnerDelegationParams as h, type DelegateReceivedShareParams as i, type DelegatedResource as j, type DelegatedShareAccess as k, type DelegatedShareKey as l, type Delegation as m, type DelegationApiResponse as n, type DelegationChain as o, type DelegationChainV2 as p, type DelegationDirection as q, type DelegationErrorCode as r, DelegationErrorCodes as s, type DelegationFilters as t, type DelegationManagerConfig as u, type DelegationRecord as v, type DelegationRevocationReceipt as w, type DelegationStatus as x, type ISharingService as y, type IngestOptions as z };
4638
+ export { type ReceiveOptions as $, type AccountDelegationPage as A, type KeyProvider as B, type CapabilityEntry as C, DelegationManager as D, type EncodedShareData as E, type KeyType as F, type GenerateShareParams as G, MAX_SEALED_SHARE_CONTENT_BYTES as H, type ICapabilityKeyRegistry as I, type JWK as J, type KeyInfo as K, MAX_SHARE_ARTIFACT_BYTES as L, MAX_CONTENT_BYTES as M, MAX_SHARE_CONTENT_BYTES as N, MemorySenderShareKeyStorage as O, MemorySenderShareRecordStorage as P, MemoryShareCache as Q, type Result as R, type OwnerDelegationPermission as S, type OwnerDelegationReceipt as T, type OwnerShareAction as U, type OwnerShareDecryption as V, type OwnerShareMatcher as W, type OwnerSharePolicyRegistration as X, type OwnerSharePolicyRegistrationReceipt as Y, type OwnerSharePolicyV2 as Z, type PortableDelegationImportReceipt as _, type DelegationError as a, ShareRecipientClient as a$, type RegisterOwnerSharePolicyParams as a0, SHARE_DELIVERY_AUTHORIZATION_DOMAIN as a1, SHARE_DELIVERY_AUTHORIZATION_V3_DOMAIN as a2, type SenderShareKeyStorage as a3, type SenderShareRecord as a4, type SenderShareRecordStorage as a5, type SenderShareRevocationScope as a6, SenderShareStore as a7, type ShareAccess as a8, ShareAccessError as a9, type ShareDeliveryAuthorizationV3Request as aA, type ShareDetachedProof as aB, ShareEnvelopeError as aC, type ShareEnvelopeV2 as aD, type ShareExpiryBounds as aE, type ShareKvContentSource as aF, type ShareLink as aG, type ShareLinkData as aH, type ShareLinkLocation as aI, type ShareListEntry as aJ, type ShareListResult as aK, type ShareNativeAction as aL, type ShareNativeInvokeEnvelopeV1 as aM, type ShareNativeInvokeErrorResult as aN, type ShareNativeInvokeInput as aO, type ShareNativeInvokeResult as aP, type ShareNativeInvokeSuccessResult as aQ, type ShareNativeResponse as aR, ShareNativeResponseSchema as aS, type SharePolicy as aT, type SharePolicyBinding as aU, type SharePolicySession as aV, type SharePolicySessionV1 as aW, type SharePolicySessionWireV1 as aX, type PortableDelegation as aY, type ShareReadInvocationV1 as aZ, type ShareReadResult as a_, type ShareAccessV2 as aa, type ShareAction as ab, ShareActionSchema as ac, type ShareAddressedDelegationEnvelopeV2 as ad, ShareAddressedDelegationEnvelopeV2Schema as ae, type ShareAddressedDelegationRequestV2 as af, ShareAddressedDelegationRequestV2Schema as ag, type ShareAddressedDelegationResponseV2 as ah, ShareAddressedDelegationResponseV2Schema as ai, type ShareAddressedRecipientMatcher as aj, type ShareArtifactInput as ak, type ShareArtifactResult as al, type ShareArtifactV2 as am, type ShareCache as an, type ShareCacheEntry as ao, type ShareCacheKey as ap, type ShareCacheMetadata as aq, type ShareCapabilityLike as ar, ShareConflict as as, type ShareContentMetadata as at, type ShareContentSource as au, type ShareDeliveryAuthorization as av, type ShareDeliveryAuthorizationReceipt as aw, type ShareDeliveryAuthorizationRequest as ax, type ShareDeliveryAuthorizationV3 as ay, type ShareDeliveryAuthorizationV3Receipt as az, type AccountDelegationQueryOptions as b, type ShareRecipientClientOptions as b0, ShareRecipientClientOptionsSchema as b1, type ShareRecipientPolicy as b2, ShareRecipientPolicySchema as b3, type ShareRecipientResult as b4, type ShareRecipientTarget as b5, ShareRecipientTargetSchema as b6, type ShareResource as b7, ShareResourceSchema as b8, type ShareSaveOptions as b9, importPortableDelegation as bA, intersectShareCapabilities as bB, isV2ShareLink as bC, normalizeShareActions as bD, normalizeShareRecipientTarget as bE, normalizeShareResource as bF, parsePortableDelegation as bG, parseShareArtifact as bH, parseShareUrl as bI, restoreDelegatedShareKey as bJ, serializePortableDelegation as bK, shareCapabilityAllows as bL, shareDeliveryTrustedKid as bM, signShareEnvelope as bN, validateOwnerSharePolicyRegistration as bO, validateOwnerSharePolicyRegistrationBytes as bP, validateShareDeliveryAuthorizationBytes as bQ, validateShareDeliveryAuthorizationV3Bytes as bR, verifyShareCid as bS, verifyShareEnvelope as bT, CapabilityKeyRegistry as bU, type CapabilityKeyRegistryErrorCode as bV, CapabilityKeyRegistryErrorCodes as bW, type StoredDelegationChain as bX, createCapabilityKeyRegistry as bY, type ShareSchema as ba, type ShareSqlContentSource as bb, type ShareWireAction as bc, SharingService as bd, type SharingServiceConfig as be, type SignedDelegation as bf, type SpaceInfo as bg, type SpaceOwnership as bh, type ValidateShareDeliveryAuthorizationExpected as bi, type VerifyShareEnvelopeOptions as bj, canonicalOwnerSharePolicy as bk, computeOwnerShareRegistrationCid as bl, computeShareCid as bm, createDelegatedShareKey as bn, createPolicyEnforcementDelegation as bo, createShareArtifact as bp, createShareArtifactAsync as bq, createSharePolicy as br, createSharingService as bs, decryptShareBytesAsync as bt, delegatePortablePolicySession as bu, encodeInlineShareUrl as bv, encodeShareArtifact as bw, encodeShareUrl as bx, encryptShareBytes as by, encryptShareBytesAsync as bz, type AccountDelegationRecord as c, type AccountDelegationResource as d, type CreateDelegationParams as e, type CreateDelegationWasmParams as f, type CreateDelegationWasmResult as g, type CreateOwnerDelegationParams as h, type DelegateReceivedShareParams as i, type DelegatedResource as j, type DelegatedShareAccess as k, type DelegatedShareKey as l, type Delegation as m, type DelegationApiResponse as n, type DelegationChain as o, type DelegationChainV2 as p, type DelegationDirection as q, type DelegationErrorCode as r, DelegationErrorCodes as s, type DelegationFilters as t, type DelegationManagerConfig as u, type DelegationRecord as v, type DelegationRevocationReceipt as w, type DelegationStatus as x, type ISharingService as y, type IngestOptions as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/sdk-core",
3
- "version": "3.0.0-beta.5",
3
+ "version": "3.0.0-beta.6",
4
4
  "description": "Core TinyCloud SDK - shared interfaces and TinyCloud class",
5
5
  "author": "TinyCloud, Inc.",
6
6
  "license": "EGPL",