@tinycloud/sdk-core 3.0.0-beta.6 → 3.0.0-beta.8
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-BVUC6kdw.d.cts → credential-admission-CFjUChF8.d.cts} +56 -1
- package/dist/{credential-admission-BgvwOTIV.d.ts → credential-admission-DIEPgQ0o.d.ts} +56 -1
- package/dist/delegations/index.cjs +32 -60
- package/dist/delegations/index.cjs.map +1 -1
- package/dist/delegations/index.d.cts +2 -2
- package/dist/delegations/index.d.ts +2 -2
- package/dist/delegations/index.js +32 -60
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +192 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +193 -67
- package/dist/index.js.map +1 -1
- package/dist/policy/index.cjs +159 -7
- 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 +159 -7
- package/dist/policy/index.js.map +1 -1
- package/dist/{recipient-types.schema-BdCeDExl.d.cts → recipient-types.schema-DjmM_yJu.d.cts} +37 -37
- package/dist/{recipient-types.schema-BdCeDExl.d.ts → recipient-types.schema-DjmM_yJu.d.ts} +37 -37
- package/package.json +4 -4
package/dist/{recipient-types.schema-BdCeDExl.d.cts → recipient-types.schema-DjmM_yJu.d.cts}
RENAMED
|
@@ -3590,7 +3590,8 @@ 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
|
|
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";
|
|
3594
3595
|
interface ShareDeliveryAuthorizationV3Request {
|
|
3595
3596
|
readonly envelope: Record<string, unknown>;
|
|
3596
3597
|
readonly sealedEnvelope: string;
|
|
@@ -3603,41 +3604,43 @@ interface ShareDeliveryAuthorizationV3Request {
|
|
|
3603
3604
|
readonly expiresAt: string;
|
|
3604
3605
|
readonly requestBodyDigest: string;
|
|
3605
3606
|
}
|
|
3606
|
-
interface
|
|
3607
|
-
readonly
|
|
3608
|
-
readonly
|
|
3609
|
-
readonly
|
|
3610
|
-
readonly
|
|
3611
|
-
readonly
|
|
3612
|
-
readonly
|
|
3613
|
-
readonly
|
|
3614
|
-
readonly
|
|
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;
|
|
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;
|
|
3630
3616
|
readonly issuedAt: string;
|
|
3631
|
-
readonly
|
|
3632
|
-
readonly
|
|
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;
|
|
3633
3625
|
readonly resource: string;
|
|
3634
|
-
readonly
|
|
3635
|
-
readonly
|
|
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;
|
|
3636
3633
|
readonly expiresAt: string;
|
|
3637
|
-
readonly
|
|
3634
|
+
readonly nonce: string;
|
|
3635
|
+
readonly signature: {
|
|
3636
|
+
readonly suite: "eddsa-ed25519-sha256-jcs-v1";
|
|
3637
|
+
readonly signerDid: string;
|
|
3638
|
+
readonly value: string;
|
|
3639
|
+
};
|
|
3638
3640
|
}
|
|
3639
3641
|
interface ShareDeliveryAuthorizationV3Receipt {
|
|
3640
|
-
readonly
|
|
3642
|
+
readonly request: CredentialInvitationRequest;
|
|
3643
|
+
readonly admission: DeliveryAdmission;
|
|
3641
3644
|
readonly proof: {
|
|
3642
3645
|
readonly alg: "EdDSA";
|
|
3643
3646
|
readonly kid: string;
|
|
@@ -3646,12 +3649,9 @@ interface ShareDeliveryAuthorizationV3Receipt {
|
|
|
3646
3649
|
}
|
|
3647
3650
|
declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
|
|
3648
3651
|
readonly request: ShareDeliveryAuthorizationV3Request;
|
|
3649
|
-
readonly
|
|
3650
|
-
readonly kid: string;
|
|
3651
|
-
readonly publicKey: Uint8Array;
|
|
3652
|
-
};
|
|
3652
|
+
readonly senderKeyDid: string;
|
|
3653
3653
|
readonly credentialsAudience: string;
|
|
3654
|
-
}): ShareDeliveryAuthorizationV3Receipt
|
|
3654
|
+
}): Omit<ShareDeliveryAuthorizationV3Receipt, "proof">;
|
|
3655
3655
|
|
|
3656
3656
|
/**
|
|
3657
3657
|
* The durable record a sender needs, after a reload, to display and manage
|
|
@@ -4635,4 +4635,4 @@ declare const ShareNativeResponseSchema: z.ZodDiscriminatedUnion<"action", [z.Zo
|
|
|
4635
4635
|
}>]>;
|
|
4636
4636
|
type ShareNativeResponse = z.infer<typeof ShareNativeResponseSchema>;
|
|
4637
4637
|
|
|
4638
|
-
export { type
|
|
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,7 +3590,8 @@ 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
|
|
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";
|
|
3594
3595
|
interface ShareDeliveryAuthorizationV3Request {
|
|
3595
3596
|
readonly envelope: Record<string, unknown>;
|
|
3596
3597
|
readonly sealedEnvelope: string;
|
|
@@ -3603,41 +3604,43 @@ interface ShareDeliveryAuthorizationV3Request {
|
|
|
3603
3604
|
readonly expiresAt: string;
|
|
3604
3605
|
readonly requestBodyDigest: string;
|
|
3605
3606
|
}
|
|
3606
|
-
interface
|
|
3607
|
-
readonly
|
|
3608
|
-
readonly
|
|
3609
|
-
readonly
|
|
3610
|
-
readonly
|
|
3611
|
-
readonly
|
|
3612
|
-
readonly
|
|
3613
|
-
readonly
|
|
3614
|
-
readonly
|
|
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;
|
|
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;
|
|
3630
3616
|
readonly issuedAt: string;
|
|
3631
|
-
readonly
|
|
3632
|
-
readonly
|
|
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;
|
|
3633
3625
|
readonly resource: string;
|
|
3634
|
-
readonly
|
|
3635
|
-
readonly
|
|
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;
|
|
3636
3633
|
readonly expiresAt: string;
|
|
3637
|
-
readonly
|
|
3634
|
+
readonly nonce: string;
|
|
3635
|
+
readonly signature: {
|
|
3636
|
+
readonly suite: "eddsa-ed25519-sha256-jcs-v1";
|
|
3637
|
+
readonly signerDid: string;
|
|
3638
|
+
readonly value: string;
|
|
3639
|
+
};
|
|
3638
3640
|
}
|
|
3639
3641
|
interface ShareDeliveryAuthorizationV3Receipt {
|
|
3640
|
-
readonly
|
|
3642
|
+
readonly request: CredentialInvitationRequest;
|
|
3643
|
+
readonly admission: DeliveryAdmission;
|
|
3641
3644
|
readonly proof: {
|
|
3642
3645
|
readonly alg: "EdDSA";
|
|
3643
3646
|
readonly kid: string;
|
|
@@ -3646,12 +3649,9 @@ interface ShareDeliveryAuthorizationV3Receipt {
|
|
|
3646
3649
|
}
|
|
3647
3650
|
declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
|
|
3648
3651
|
readonly request: ShareDeliveryAuthorizationV3Request;
|
|
3649
|
-
readonly
|
|
3650
|
-
readonly kid: string;
|
|
3651
|
-
readonly publicKey: Uint8Array;
|
|
3652
|
-
};
|
|
3652
|
+
readonly senderKeyDid: string;
|
|
3653
3653
|
readonly credentialsAudience: string;
|
|
3654
|
-
}): ShareDeliveryAuthorizationV3Receipt
|
|
3654
|
+
}): Omit<ShareDeliveryAuthorizationV3Receipt, "proof">;
|
|
3655
3655
|
|
|
3656
3656
|
/**
|
|
3657
3657
|
* The durable record a sender needs, after a reload, to display and manage
|
|
@@ -4635,4 +4635,4 @@ declare const ShareNativeResponseSchema: z.ZodDiscriminatedUnion<"action", [z.Zo
|
|
|
4635
4635
|
}>]>;
|
|
4636
4636
|
type ShareNativeResponse = z.infer<typeof ShareNativeResponseSchema>;
|
|
4637
4637
|
|
|
4638
|
-
export { type
|
|
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.
|
|
3
|
+
"version": "3.0.0-beta.8",
|
|
4
4
|
"description": "Core TinyCloud SDK - shared interfaces and TinyCloud class",
|
|
5
5
|
"author": "TinyCloud, Inc.",
|
|
6
6
|
"license": "EGPL",
|
|
@@ -53,10 +53,10 @@
|
|
|
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.
|
|
57
|
-
"@tinycloud/share-sdk": "0.3.0-beta.
|
|
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
|
-
"@tinycloud/sdk-services": "
|
|
59
|
+
"@tinycloud/sdk-services": "3.0.0-beta.8",
|
|
60
60
|
"multiformats": "^13.4.1",
|
|
61
61
|
"ms": "^2.1.3",
|
|
62
62
|
"siwe": "^3.0.0",
|