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

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 CREDENTIAL_INVITATION_REQUEST_DOMAIN = "xyz.tinycloud.credentials/invitation-request/v1\0";
3594
+ declare const DELIVERY_ADMISSION_DOMAIN = "xyz.tinycloud.policy/delivery-admission/v0\0";
3595
+ interface ShareDeliveryAuthorizationV3Request {
3596
+ readonly envelope: Record<string, unknown>;
3597
+ readonly sealedEnvelope: string;
3598
+ readonly envelopeKey: string;
3599
+ readonly shareCid: string;
3600
+ readonly recipientEmail: string;
3601
+ readonly shareUrl: string;
3602
+ readonly documentName: string;
3603
+ readonly jti: string;
3604
+ readonly expiresAt: string;
3605
+ readonly requestBodyDigest: string;
3606
+ }
3607
+ interface CredentialInvitationRequest {
3608
+ readonly schema: "xyz.tinycloud.credentials/invitation-request/v1";
3609
+ readonly policyId: string;
3610
+ readonly recipient: string;
3611
+ readonly resource: string;
3612
+ readonly credentialType: string;
3613
+ readonly returnLink: string;
3614
+ readonly envelopeRef: string;
3615
+ readonly audience: string;
3616
+ readonly issuedAt: string;
3617
+ readonly expiresAt: string;
3618
+ readonly nonce: string;
3619
+ }
3620
+ interface DeliveryAdmission {
3621
+ readonly schema: "xyz.tinycloud.policy/delivery-admission/v0";
3622
+ readonly policyId: string;
3623
+ readonly ownerDid: string;
3624
+ readonly recipient: string;
3625
+ readonly resource: string;
3626
+ readonly actions: readonly ["tinycloud.kv/get"];
3627
+ readonly credentialType: string;
3628
+ readonly returnLink: string;
3629
+ readonly envelopeRef: string;
3630
+ readonly senderKeyDid: string;
3631
+ readonly audience: string;
3632
+ readonly issuedAt: string;
3633
+ readonly expiresAt: string;
3634
+ readonly nonce: string;
3635
+ readonly signature: {
3636
+ readonly suite: "eddsa-ed25519-sha256-jcs-v1";
3637
+ readonly signerDid: string;
3638
+ readonly value: string;
3639
+ };
3640
+ }
3641
+ interface ShareDeliveryAuthorizationV3Receipt {
3642
+ readonly request: CredentialInvitationRequest;
3643
+ readonly admission: DeliveryAdmission;
3644
+ readonly proof: {
3645
+ readonly alg: "EdDSA";
3646
+ readonly kid: string;
3647
+ readonly signature: string;
3648
+ };
3649
+ }
3650
+ declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
3651
+ readonly request: ShareDeliveryAuthorizationV3Request;
3652
+ readonly senderKeyDid: string;
3653
+ readonly credentialsAudience: string;
3654
+ }): Omit<ShareDeliveryAuthorizationV3Receipt, "proof">;
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 OwnerSharePolicyRegistration as $, type AccountDelegationPage as A, type DelegationStatus as B, CREDENTIAL_INVITATION_REQUEST_DOMAIN as C, DelegationManager as D, type DeliveryAdmission as E, type EncodedShareData as F, type GenerateShareParams as G, type ISharingService as H, type ICapabilityKeyRegistry as I, type IngestOptions as J, type JWK as K, type KeyInfo as L, type KeyProvider as M, type KeyType as N, MAX_CONTENT_BYTES as O, MAX_SEALED_SHARE_CONTENT_BYTES as P, MAX_SHARE_ARTIFACT_BYTES as Q, type Result as R, MAX_SHARE_CONTENT_BYTES as S, MemorySenderShareKeyStorage as T, MemorySenderShareRecordStorage as U, MemoryShareCache as V, type OwnerDelegationPermission as W, type OwnerDelegationReceipt as X, type OwnerShareAction as Y, type OwnerShareDecryption as Z, type OwnerShareMatcher as _, type DelegationError as a, type ShareReadInvocationV1 as a$, type OwnerSharePolicyRegistrationReceipt as a0, type OwnerSharePolicyV2 as a1, type PortableDelegationImportReceipt as a2, type ReceiveOptions as a3, type RegisterOwnerSharePolicyParams as a4, SHARE_DELIVERY_AUTHORIZATION_DOMAIN as a5, type SenderShareKeyStorage as a6, type SenderShareRecord as a7, type SenderShareRecordStorage as a8, type SenderShareRevocationScope as a9, type ShareDeliveryAuthorizationRequest as aA, type ShareDeliveryAuthorizationV3Receipt as aB, type ShareDeliveryAuthorizationV3Request as aC, type ShareDetachedProof as aD, ShareEnvelopeError as aE, type ShareEnvelopeV2 as aF, type ShareExpiryBounds as aG, type ShareKvContentSource as aH, type ShareLink as aI, type ShareLinkData as aJ, type ShareLinkLocation as aK, type ShareListEntry as aL, type ShareListResult as aM, type ShareNativeAction as aN, type ShareNativeInvokeEnvelopeV1 as aO, type ShareNativeInvokeErrorResult as aP, type ShareNativeInvokeInput as aQ, type ShareNativeInvokeResult as aR, type ShareNativeInvokeSuccessResult as aS, type ShareNativeResponse as aT, ShareNativeResponseSchema as aU, type SharePolicy as aV, type SharePolicyBinding as aW, type SharePolicySession as aX, type SharePolicySessionV1 as aY, type SharePolicySessionWireV1 as aZ, type PortableDelegation as a_, SenderShareStore as aa, type ShareAccess as ab, ShareAccessError as ac, type ShareAccessV2 as ad, type ShareAction as ae, ShareActionSchema as af, type ShareAddressedDelegationEnvelopeV2 as ag, ShareAddressedDelegationEnvelopeV2Schema as ah, type ShareAddressedDelegationRequestV2 as ai, ShareAddressedDelegationRequestV2Schema as aj, type ShareAddressedDelegationResponseV2 as ak, ShareAddressedDelegationResponseV2Schema as al, type ShareAddressedRecipientMatcher as am, type ShareArtifactInput as an, type ShareArtifactResult as ao, type ShareArtifactV2 as ap, type ShareCache as aq, type ShareCacheEntry as ar, type ShareCacheKey as as, type ShareCacheMetadata as at, type ShareCapabilityLike as au, ShareConflict as av, type ShareContentMetadata as aw, type ShareContentSource as ax, type ShareDeliveryAuthorization as ay, type ShareDeliveryAuthorizationReceipt as az, type AccountDelegationQueryOptions as b, type ShareReadResult as b0, ShareRecipientClient as b1, type ShareRecipientClientOptions as b2, ShareRecipientClientOptionsSchema as b3, type ShareRecipientPolicy as b4, ShareRecipientPolicySchema as b5, type ShareRecipientResult as b6, type ShareRecipientTarget as b7, ShareRecipientTargetSchema as b8, type ShareResource as b9, encryptShareBytes as bA, encryptShareBytesAsync as bB, importPortableDelegation as bC, intersectShareCapabilities as bD, isV2ShareLink as bE, normalizeShareActions as bF, normalizeShareRecipientTarget as bG, normalizeShareResource as bH, parsePortableDelegation as bI, parseShareArtifact as bJ, parseShareUrl as bK, restoreDelegatedShareKey as bL, serializePortableDelegation as bM, shareCapabilityAllows as bN, shareDeliveryTrustedKid as bO, signShareEnvelope as bP, validateOwnerSharePolicyRegistration as bQ, validateOwnerSharePolicyRegistrationBytes as bR, validateShareDeliveryAuthorizationBytes as bS, validateShareDeliveryAuthorizationV3Bytes as bT, verifyShareCid as bU, verifyShareEnvelope as bV, CapabilityKeyRegistry as bW, type CapabilityKeyRegistryErrorCode as bX, CapabilityKeyRegistryErrorCodes as bY, type StoredDelegationChain as bZ, createCapabilityKeyRegistry as b_, ShareResourceSchema as ba, type ShareSaveOptions as bb, type ShareSchema as bc, type ShareSqlContentSource as bd, type ShareWireAction as be, SharingService as bf, type SharingServiceConfig as bg, type SignedDelegation as bh, type SpaceInfo as bi, type SpaceOwnership as bj, type ValidateShareDeliveryAuthorizationExpected as bk, type VerifyShareEnvelopeOptions as bl, canonicalOwnerSharePolicy as bm, computeOwnerShareRegistrationCid as bn, computeShareCid as bo, createDelegatedShareKey as bp, createPolicyEnforcementDelegation as bq, createShareArtifact as br, createShareArtifactAsync as bs, createSharePolicy as bt, createSharingService as bu, decryptShareBytesAsync as bv, delegatePortablePolicySession as bw, encodeInlineShareUrl as bx, encodeShareArtifact as by, encodeShareUrl as bz, type AccountDelegationRecord as c, type AccountDelegationResource as d, type CapabilityEntry as e, type CreateDelegationParams as f, type CreateDelegationWasmParams as g, type CreateDelegationWasmResult as h, type CreateOwnerDelegationParams as i, type CredentialInvitationRequest as j, DELIVERY_ADMISSION_DOMAIN as k, type DelegateReceivedShareParams as l, type DelegatedResource as m, type DelegatedShareAccess as n, type DelegatedShareKey as o, type Delegation as p, type DelegationApiResponse as q, type DelegationChain as r, type DelegationChainV2 as s, type DelegationDirection as t, type DelegationErrorCode as u, DelegationErrorCodes as v, type DelegationFilters as w, type DelegationManagerConfig as x, type DelegationRecord as y, type DelegationRevocationReceipt 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 CREDENTIAL_INVITATION_REQUEST_DOMAIN = "xyz.tinycloud.credentials/invitation-request/v1\0";
3594
+ declare const DELIVERY_ADMISSION_DOMAIN = "xyz.tinycloud.policy/delivery-admission/v0\0";
3595
+ interface ShareDeliveryAuthorizationV3Request {
3596
+ readonly envelope: Record<string, unknown>;
3597
+ readonly sealedEnvelope: string;
3598
+ readonly envelopeKey: string;
3599
+ readonly shareCid: string;
3600
+ readonly recipientEmail: string;
3601
+ readonly shareUrl: string;
3602
+ readonly documentName: string;
3603
+ readonly jti: string;
3604
+ readonly expiresAt: string;
3605
+ readonly requestBodyDigest: string;
3606
+ }
3607
+ interface CredentialInvitationRequest {
3608
+ readonly schema: "xyz.tinycloud.credentials/invitation-request/v1";
3609
+ readonly policyId: string;
3610
+ readonly recipient: string;
3611
+ readonly resource: string;
3612
+ readonly credentialType: string;
3613
+ readonly returnLink: string;
3614
+ readonly envelopeRef: string;
3615
+ readonly audience: string;
3616
+ readonly issuedAt: string;
3617
+ readonly expiresAt: string;
3618
+ readonly nonce: string;
3619
+ }
3620
+ interface DeliveryAdmission {
3621
+ readonly schema: "xyz.tinycloud.policy/delivery-admission/v0";
3622
+ readonly policyId: string;
3623
+ readonly ownerDid: string;
3624
+ readonly recipient: string;
3625
+ readonly resource: string;
3626
+ readonly actions: readonly ["tinycloud.kv/get"];
3627
+ readonly credentialType: string;
3628
+ readonly returnLink: string;
3629
+ readonly envelopeRef: string;
3630
+ readonly senderKeyDid: string;
3631
+ readonly audience: string;
3632
+ readonly issuedAt: string;
3633
+ readonly expiresAt: string;
3634
+ readonly nonce: string;
3635
+ readonly signature: {
3636
+ readonly suite: "eddsa-ed25519-sha256-jcs-v1";
3637
+ readonly signerDid: string;
3638
+ readonly value: string;
3639
+ };
3640
+ }
3641
+ interface ShareDeliveryAuthorizationV3Receipt {
3642
+ readonly request: CredentialInvitationRequest;
3643
+ readonly admission: DeliveryAdmission;
3644
+ readonly proof: {
3645
+ readonly alg: "EdDSA";
3646
+ readonly kid: string;
3647
+ readonly signature: string;
3648
+ };
3649
+ }
3650
+ declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
3651
+ readonly request: ShareDeliveryAuthorizationV3Request;
3652
+ readonly senderKeyDid: string;
3653
+ readonly credentialsAudience: string;
3654
+ }): Omit<ShareDeliveryAuthorizationV3Receipt, "proof">;
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 OwnerSharePolicyRegistration as $, type AccountDelegationPage as A, type DelegationStatus as B, CREDENTIAL_INVITATION_REQUEST_DOMAIN as C, DelegationManager as D, type DeliveryAdmission as E, type EncodedShareData as F, type GenerateShareParams as G, type ISharingService as H, type ICapabilityKeyRegistry as I, type IngestOptions as J, type JWK as K, type KeyInfo as L, type KeyProvider as M, type KeyType as N, MAX_CONTENT_BYTES as O, MAX_SEALED_SHARE_CONTENT_BYTES as P, MAX_SHARE_ARTIFACT_BYTES as Q, type Result as R, MAX_SHARE_CONTENT_BYTES as S, MemorySenderShareKeyStorage as T, MemorySenderShareRecordStorage as U, MemoryShareCache as V, type OwnerDelegationPermission as W, type OwnerDelegationReceipt as X, type OwnerShareAction as Y, type OwnerShareDecryption as Z, type OwnerShareMatcher as _, type DelegationError as a, type ShareReadInvocationV1 as a$, type OwnerSharePolicyRegistrationReceipt as a0, type OwnerSharePolicyV2 as a1, type PortableDelegationImportReceipt as a2, type ReceiveOptions as a3, type RegisterOwnerSharePolicyParams as a4, SHARE_DELIVERY_AUTHORIZATION_DOMAIN as a5, type SenderShareKeyStorage as a6, type SenderShareRecord as a7, type SenderShareRecordStorage as a8, type SenderShareRevocationScope as a9, type ShareDeliveryAuthorizationRequest as aA, type ShareDeliveryAuthorizationV3Receipt as aB, type ShareDeliveryAuthorizationV3Request as aC, type ShareDetachedProof as aD, ShareEnvelopeError as aE, type ShareEnvelopeV2 as aF, type ShareExpiryBounds as aG, type ShareKvContentSource as aH, type ShareLink as aI, type ShareLinkData as aJ, type ShareLinkLocation as aK, type ShareListEntry as aL, type ShareListResult as aM, type ShareNativeAction as aN, type ShareNativeInvokeEnvelopeV1 as aO, type ShareNativeInvokeErrorResult as aP, type ShareNativeInvokeInput as aQ, type ShareNativeInvokeResult as aR, type ShareNativeInvokeSuccessResult as aS, type ShareNativeResponse as aT, ShareNativeResponseSchema as aU, type SharePolicy as aV, type SharePolicyBinding as aW, type SharePolicySession as aX, type SharePolicySessionV1 as aY, type SharePolicySessionWireV1 as aZ, type PortableDelegation as a_, SenderShareStore as aa, type ShareAccess as ab, ShareAccessError as ac, type ShareAccessV2 as ad, type ShareAction as ae, ShareActionSchema as af, type ShareAddressedDelegationEnvelopeV2 as ag, ShareAddressedDelegationEnvelopeV2Schema as ah, type ShareAddressedDelegationRequestV2 as ai, ShareAddressedDelegationRequestV2Schema as aj, type ShareAddressedDelegationResponseV2 as ak, ShareAddressedDelegationResponseV2Schema as al, type ShareAddressedRecipientMatcher as am, type ShareArtifactInput as an, type ShareArtifactResult as ao, type ShareArtifactV2 as ap, type ShareCache as aq, type ShareCacheEntry as ar, type ShareCacheKey as as, type ShareCacheMetadata as at, type ShareCapabilityLike as au, ShareConflict as av, type ShareContentMetadata as aw, type ShareContentSource as ax, type ShareDeliveryAuthorization as ay, type ShareDeliveryAuthorizationReceipt as az, type AccountDelegationQueryOptions as b, type ShareReadResult as b0, ShareRecipientClient as b1, type ShareRecipientClientOptions as b2, ShareRecipientClientOptionsSchema as b3, type ShareRecipientPolicy as b4, ShareRecipientPolicySchema as b5, type ShareRecipientResult as b6, type ShareRecipientTarget as b7, ShareRecipientTargetSchema as b8, type ShareResource as b9, encryptShareBytes as bA, encryptShareBytesAsync as bB, importPortableDelegation as bC, intersectShareCapabilities as bD, isV2ShareLink as bE, normalizeShareActions as bF, normalizeShareRecipientTarget as bG, normalizeShareResource as bH, parsePortableDelegation as bI, parseShareArtifact as bJ, parseShareUrl as bK, restoreDelegatedShareKey as bL, serializePortableDelegation as bM, shareCapabilityAllows as bN, shareDeliveryTrustedKid as bO, signShareEnvelope as bP, validateOwnerSharePolicyRegistration as bQ, validateOwnerSharePolicyRegistrationBytes as bR, validateShareDeliveryAuthorizationBytes as bS, validateShareDeliveryAuthorizationV3Bytes as bT, verifyShareCid as bU, verifyShareEnvelope as bV, CapabilityKeyRegistry as bW, type CapabilityKeyRegistryErrorCode as bX, CapabilityKeyRegistryErrorCodes as bY, type StoredDelegationChain as bZ, createCapabilityKeyRegistry as b_, ShareResourceSchema as ba, type ShareSaveOptions as bb, type ShareSchema as bc, type ShareSqlContentSource as bd, type ShareWireAction as be, SharingService as bf, type SharingServiceConfig as bg, type SignedDelegation as bh, type SpaceInfo as bi, type SpaceOwnership as bj, type ValidateShareDeliveryAuthorizationExpected as bk, type VerifyShareEnvelopeOptions as bl, canonicalOwnerSharePolicy as bm, computeOwnerShareRegistrationCid as bn, computeShareCid as bo, createDelegatedShareKey as bp, createPolicyEnforcementDelegation as bq, createShareArtifact as br, createShareArtifactAsync as bs, createSharePolicy as bt, createSharingService as bu, decryptShareBytesAsync as bv, delegatePortablePolicySession as bw, encodeInlineShareUrl as bx, encodeShareArtifact as by, encodeShareUrl as bz, type AccountDelegationRecord as c, type AccountDelegationResource as d, type CapabilityEntry as e, type CreateDelegationParams as f, type CreateDelegationWasmParams as g, type CreateDelegationWasmResult as h, type CreateOwnerDelegationParams as i, type CredentialInvitationRequest as j, DELIVERY_ADMISSION_DOMAIN as k, type DelegateReceivedShareParams as l, type DelegatedResource as m, type DelegatedShareAccess as n, type DelegatedShareKey as o, type Delegation as p, type DelegationApiResponse as q, type DelegationChain as r, type DelegationChainV2 as s, type DelegationDirection as t, type DelegationErrorCode as u, DelegationErrorCodes as v, type DelegationFilters as w, type DelegationManagerConfig as x, type DelegationRecord as y, type DelegationRevocationReceipt 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.7",
4
4
  "description": "Core TinyCloud SDK - shared interfaces and TinyCloud class",
5
5
  "author": "TinyCloud, Inc.",
6
6
  "license": "EGPL",
@@ -53,8 +53,8 @@
53
53
  "@multiformats/multiaddr-to-uri": "^12.0.0",
54
54
  "@multiformats/uri-to-multiaddr": "^10.0.0",
55
55
  "@noble/curves": "^1.9.7",
56
- "@tinycloud/share-envelope": "0.2.1-beta.1",
57
- "@tinycloud/share-sdk": "0.3.0-beta.1",
56
+ "@tinycloud/share-envelope": "0.2.1-beta.2",
57
+ "@tinycloud/share-sdk": "0.3.0-beta.2",
58
58
  "@tinycloud/bootstrap": "2.7.0",
59
59
  "@tinycloud/sdk-services": "2.11.0",
60
60
  "multiformats": "^13.4.1",