@tinycloud/sdk-core 3.6.1 → 3.7.0-beta.1
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/delegations/index.cjs +35 -6
- 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 +35 -6
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +35 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +35 -6
- package/dist/index.js.map +1 -1
- package/dist/{recipient-types.schema-DbCAdUKc.d.cts → recipient-types.schema-BApcOn1t.d.cts} +32 -9
- package/dist/{recipient-types.schema-DbCAdUKc.d.ts → recipient-types.schema-BApcOn1t.d.ts} +32 -9
- package/package.json +3 -3
package/dist/{recipient-types.schema-DbCAdUKc.d.cts → recipient-types.schema-BApcOn1t.d.cts}
RENAMED
|
@@ -3495,15 +3495,11 @@ declare function validateOwnerSharePolicyRegistration(value: unknown, expected:
|
|
|
3495
3495
|
declare function validateOwnerSharePolicyRegistrationBytes(bytesValue: Uint8Array, expected: RegisterOwnerSharePolicyParams): OwnerSharePolicyRegistrationReceipt;
|
|
3496
3496
|
|
|
3497
3497
|
declare const CREDENTIAL_INVITATION_REQUEST_DOMAIN = "xyz.tinycloud.credentials/invitation-request/v1\0";
|
|
3498
|
-
declare const DELIVERY_ADMISSION_DOMAIN = "xyz.tinycloud.policy/delivery-admission/
|
|
3498
|
+
declare const DELIVERY_ADMISSION_DOMAIN = "xyz.tinycloud.policy/delivery-admission/v1\0";
|
|
3499
|
+
/** The strict body of `POST /policy/v3/deliveries/authorize`: the link carries the key, the node fetches the sealed body. */
|
|
3499
3500
|
interface ShareDeliveryAuthorizationV3Request {
|
|
3500
|
-
readonly envelope: Record<string, unknown>;
|
|
3501
|
-
/** Base64url canonical sealed envelope bytes, bound by the Node before delivery. */
|
|
3502
|
-
readonly sealedEnvelope: string;
|
|
3503
|
-
/** Base64url 32-byte AES-GCM key; this is the #k fragment value in the return link. */
|
|
3504
|
-
readonly envelopeKey: string;
|
|
3505
|
-
readonly shareCid: string;
|
|
3506
3501
|
readonly recipientEmail: string;
|
|
3502
|
+
/** The short `/s/<id>#v=4&k=…&c=…` share link. */
|
|
3507
3503
|
readonly shareUrl: string;
|
|
3508
3504
|
readonly documentName: string;
|
|
3509
3505
|
readonly jti: string;
|
|
@@ -3526,7 +3522,7 @@ interface CredentialInvitationRequest {
|
|
|
3526
3522
|
readonly nonce: string;
|
|
3527
3523
|
}
|
|
3528
3524
|
interface DeliveryAdmission {
|
|
3529
|
-
readonly schema: "xyz.tinycloud.policy/delivery-admission/
|
|
3525
|
+
readonly schema: "xyz.tinycloud.policy/delivery-admission/v1";
|
|
3530
3526
|
readonly policyId: string;
|
|
3531
3527
|
readonly ownerDid: string;
|
|
3532
3528
|
readonly recipient: string;
|
|
@@ -3559,9 +3555,36 @@ interface ShareDeliveryAuthorizationV3Receipt {
|
|
|
3559
3555
|
}
|
|
3560
3556
|
declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
|
|
3561
3557
|
readonly request: ShareDeliveryAuthorizationV3Request;
|
|
3558
|
+
/** The signed v3 envelope the sender holds. It checks the admission locally and is not sent. */
|
|
3559
|
+
readonly envelope: Record<string, unknown>;
|
|
3560
|
+
/** The `c` of the short link: the admission's `envelopeRef`. */
|
|
3561
|
+
readonly envelopeRef: string;
|
|
3562
3562
|
readonly senderKeyDid: string;
|
|
3563
3563
|
readonly deliveryAudience: string;
|
|
3564
3564
|
}): Omit<ShareDeliveryAuthorizationV3Receipt, "proof">;
|
|
3565
|
+
/**
|
|
3566
|
+
* {@link validateShareDeliveryAuthorizationV3Bytes}, then the signature again under the strict Ed25519 rule of the
|
|
3567
|
+
* links contract (`S < L`, canonical and prime-order `A` and `R`), checked by `@tinycloud/share-envelope/links`.
|
|
3568
|
+
*/
|
|
3569
|
+
declare function verifyShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: Parameters<typeof validateShareDeliveryAuthorizationV3Bytes>[1]): Promise<Omit<ShareDeliveryAuthorizationV3Receipt, "proof">>;
|
|
3570
|
+
/**
|
|
3571
|
+
* The body CID of a short share link on one of `trustedOrigins` (default: the production share origin). Any other
|
|
3572
|
+
* link (another origin, the full form, another type or version, a query, a non-canonical spelling, an id that is
|
|
3573
|
+
* not lowercase) is refused, so the node is only ever sent a link it can fetch by id.
|
|
3574
|
+
*/
|
|
3575
|
+
declare function shortDeliveryLinkBodyCid(shareUrl: string, trustedOrigins?: readonly string[]): Promise<string>;
|
|
3576
|
+
/** The text with the share link and its key replaced, for an error that carries a node's reply. */
|
|
3577
|
+
declare function withoutShareLink(text: string, shareUrl: string): Promise<string>;
|
|
3578
|
+
/**
|
|
3579
|
+
* The node refused a delivery authorization: its body did not parse (HTTP 422) or it failed the node's checks (HTTP
|
|
3580
|
+
* 400 `delivery-authorization-invalid`). Both are the same refusal, so the error carries no status, body or link of
|
|
3581
|
+
* the reply.
|
|
3582
|
+
*/
|
|
3583
|
+
declare class ShareDeliveryRefusedError extends Error {
|
|
3584
|
+
readonly code = "delivery-authorization-invalid";
|
|
3585
|
+
readonly status = 400;
|
|
3586
|
+
constructor();
|
|
3587
|
+
}
|
|
3565
3588
|
|
|
3566
3589
|
/**
|
|
3567
3590
|
* The durable record a sender needs, after a reload, to display and manage
|
|
@@ -4545,4 +4568,4 @@ declare const ShareNativeResponseSchema: z.ZodDiscriminatedUnion<"action", [z.Zo
|
|
|
4545
4568
|
}>]>;
|
|
4546
4569
|
type ShareNativeResponse = z.infer<typeof ShareNativeResponseSchema>;
|
|
4547
4570
|
|
|
4548
|
-
export { type OwnerSharePolicyRegistration as $, type AccountDelegationPage as A, type DelegationStatus as B, CREDENTIAL_INVITATION_REQUEST_DOMAIN as C, type DelegationError 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 AccountDelegationQueryOptions as a,
|
|
4571
|
+
export { type OwnerSharePolicyRegistration as $, type AccountDelegationPage as A, type DelegationStatus as B, CREDENTIAL_INVITATION_REQUEST_DOMAIN as C, type DelegationError 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 AccountDelegationQueryOptions as a, ShareRecipientClient as a$, type OwnerSharePolicyRegistrationReceipt as a0, type OwnerSharePolicyV2 as a1, type PortableDelegationImportReceipt as a2, type ReceiveOptions as a3, type RegisterOwnerSharePolicyParams as a4, type SenderShareKeyStorage as a5, type SenderShareRecord as a6, type SenderShareRecordStorage as a7, type SenderShareRevocationScope as a8, SenderShareStore as a9, ShareDeliveryRefusedError 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 ShareAccess as aa, ShareAccessError as ab, type ShareAccessV2 as ac, type ShareAction as ad, ShareActionSchema as ae, type ShareAddressedDelegationEnvelopeV2 as af, ShareAddressedDelegationEnvelopeV2Schema as ag, type ShareAddressedDelegationRequestV2 as ah, ShareAddressedDelegationRequestV2Schema as ai, type ShareAddressedDelegationResponseV2 as aj, ShareAddressedDelegationResponseV2Schema as ak, type ShareAddressedRecipientMatcher as al, type ShareArtifactInput as am, type ShareArtifactResult as an, type ShareArtifactV2 as ao, type ShareCache as ap, type ShareCacheEntry as aq, type ShareCacheKey as ar, type ShareCacheMetadata as as, type ShareCapabilityLike as at, ShareConflict as au, type ShareContentMetadata as av, type ShareContentSource as aw, type ShareDelegationPreflight as ax, type ShareDeliveryAuthorizationV3Receipt as ay, type ShareDeliveryAuthorizationV3Request as az, type AccountDelegationRecord 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, intersectShareCapabilities as bA, isV2ShareLink as bB, normalizeShareActions as bC, normalizeShareRecipientTarget as bD, normalizeShareResource as bE, parsePortableDelegation as bF, parseShareArtifact as bG, parseShareUrl as bH, restoreDelegatedShareKey as bI, serializePortableDelegation as bJ, shareCapabilityAllows as bK, shortDeliveryLinkBodyCid as bL, signShareEnvelope as bM, validateOwnerSharePolicyRegistration as bN, validateOwnerSharePolicyRegistrationBytes as bO, verifyShareCid as bP, verifyShareDeliveryAuthorizationV3Bytes as bQ, verifyShareEnvelope as bR, withoutShareLink as bS, CapabilityKeyRegistry as bT, type CapabilityKeyRegistryErrorCode as bU, CapabilityKeyRegistryErrorCodes as bV, type StoredDelegationChain as bW, createCapabilityKeyRegistry as bX, 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 VerifyShareEnvelopeOptions as bi, canonicalOwnerSharePolicy as bj, computeOwnerShareRegistrationCid as bk, computeShareCid as bl, createDelegatedShareKey as bm, createPolicyEnforcementDelegation as bn, createShareArtifact as bo, createShareArtifactAsync as bp, createSharePolicy as bq, createSharingService as br, decryptShareBytesAsync as bs, delegatePortablePolicySession as bt, encodeInlineShareUrl as bu, encodeShareArtifact as bv, encodeShareUrl as bw, encryptShareBytes as bx, encryptShareBytesAsync as by, importPortableDelegation as bz, type AccountDelegationResource as c, type CapabilityEntry as d, type CreateDelegationParams as e, type CreateDelegationWasmParams as f, type CreateDelegationWasmResult as g, type CreateOwnerDelegationParams as h, type CredentialInvitationRequest as i, DELIVERY_ADMISSION_DOMAIN as j, type DelegateReceivedShareParams as k, type DelegatedResource as l, type DelegatedShareAccess as m, type DelegatedShareKey as n, type Delegation as o, type DelegationApiResponse as p, type DelegationChain as q, type DelegationChainV2 as r, type DelegationDirection as s, type DelegationErrorCode as t, DelegationErrorCodes as u, type DelegationFilters as v, DelegationManager as w, type DelegationManagerConfig as x, type DelegationRecord as y, type DelegationRevocationReceipt as z };
|
|
@@ -3495,15 +3495,11 @@ declare function validateOwnerSharePolicyRegistration(value: unknown, expected:
|
|
|
3495
3495
|
declare function validateOwnerSharePolicyRegistrationBytes(bytesValue: Uint8Array, expected: RegisterOwnerSharePolicyParams): OwnerSharePolicyRegistrationReceipt;
|
|
3496
3496
|
|
|
3497
3497
|
declare const CREDENTIAL_INVITATION_REQUEST_DOMAIN = "xyz.tinycloud.credentials/invitation-request/v1\0";
|
|
3498
|
-
declare const DELIVERY_ADMISSION_DOMAIN = "xyz.tinycloud.policy/delivery-admission/
|
|
3498
|
+
declare const DELIVERY_ADMISSION_DOMAIN = "xyz.tinycloud.policy/delivery-admission/v1\0";
|
|
3499
|
+
/** The strict body of `POST /policy/v3/deliveries/authorize`: the link carries the key, the node fetches the sealed body. */
|
|
3499
3500
|
interface ShareDeliveryAuthorizationV3Request {
|
|
3500
|
-
readonly envelope: Record<string, unknown>;
|
|
3501
|
-
/** Base64url canonical sealed envelope bytes, bound by the Node before delivery. */
|
|
3502
|
-
readonly sealedEnvelope: string;
|
|
3503
|
-
/** Base64url 32-byte AES-GCM key; this is the #k fragment value in the return link. */
|
|
3504
|
-
readonly envelopeKey: string;
|
|
3505
|
-
readonly shareCid: string;
|
|
3506
3501
|
readonly recipientEmail: string;
|
|
3502
|
+
/** The short `/s/<id>#v=4&k=…&c=…` share link. */
|
|
3507
3503
|
readonly shareUrl: string;
|
|
3508
3504
|
readonly documentName: string;
|
|
3509
3505
|
readonly jti: string;
|
|
@@ -3526,7 +3522,7 @@ interface CredentialInvitationRequest {
|
|
|
3526
3522
|
readonly nonce: string;
|
|
3527
3523
|
}
|
|
3528
3524
|
interface DeliveryAdmission {
|
|
3529
|
-
readonly schema: "xyz.tinycloud.policy/delivery-admission/
|
|
3525
|
+
readonly schema: "xyz.tinycloud.policy/delivery-admission/v1";
|
|
3530
3526
|
readonly policyId: string;
|
|
3531
3527
|
readonly ownerDid: string;
|
|
3532
3528
|
readonly recipient: string;
|
|
@@ -3559,9 +3555,36 @@ interface ShareDeliveryAuthorizationV3Receipt {
|
|
|
3559
3555
|
}
|
|
3560
3556
|
declare function validateShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: {
|
|
3561
3557
|
readonly request: ShareDeliveryAuthorizationV3Request;
|
|
3558
|
+
/** The signed v3 envelope the sender holds. It checks the admission locally and is not sent. */
|
|
3559
|
+
readonly envelope: Record<string, unknown>;
|
|
3560
|
+
/** The `c` of the short link: the admission's `envelopeRef`. */
|
|
3561
|
+
readonly envelopeRef: string;
|
|
3562
3562
|
readonly senderKeyDid: string;
|
|
3563
3563
|
readonly deliveryAudience: string;
|
|
3564
3564
|
}): Omit<ShareDeliveryAuthorizationV3Receipt, "proof">;
|
|
3565
|
+
/**
|
|
3566
|
+
* {@link validateShareDeliveryAuthorizationV3Bytes}, then the signature again under the strict Ed25519 rule of the
|
|
3567
|
+
* links contract (`S < L`, canonical and prime-order `A` and `R`), checked by `@tinycloud/share-envelope/links`.
|
|
3568
|
+
*/
|
|
3569
|
+
declare function verifyShareDeliveryAuthorizationV3Bytes(bytes: Uint8Array, expected: Parameters<typeof validateShareDeliveryAuthorizationV3Bytes>[1]): Promise<Omit<ShareDeliveryAuthorizationV3Receipt, "proof">>;
|
|
3570
|
+
/**
|
|
3571
|
+
* The body CID of a short share link on one of `trustedOrigins` (default: the production share origin). Any other
|
|
3572
|
+
* link (another origin, the full form, another type or version, a query, a non-canonical spelling, an id that is
|
|
3573
|
+
* not lowercase) is refused, so the node is only ever sent a link it can fetch by id.
|
|
3574
|
+
*/
|
|
3575
|
+
declare function shortDeliveryLinkBodyCid(shareUrl: string, trustedOrigins?: readonly string[]): Promise<string>;
|
|
3576
|
+
/** The text with the share link and its key replaced, for an error that carries a node's reply. */
|
|
3577
|
+
declare function withoutShareLink(text: string, shareUrl: string): Promise<string>;
|
|
3578
|
+
/**
|
|
3579
|
+
* The node refused a delivery authorization: its body did not parse (HTTP 422) or it failed the node's checks (HTTP
|
|
3580
|
+
* 400 `delivery-authorization-invalid`). Both are the same refusal, so the error carries no status, body or link of
|
|
3581
|
+
* the reply.
|
|
3582
|
+
*/
|
|
3583
|
+
declare class ShareDeliveryRefusedError extends Error {
|
|
3584
|
+
readonly code = "delivery-authorization-invalid";
|
|
3585
|
+
readonly status = 400;
|
|
3586
|
+
constructor();
|
|
3587
|
+
}
|
|
3565
3588
|
|
|
3566
3589
|
/**
|
|
3567
3590
|
* The durable record a sender needs, after a reload, to display and manage
|
|
@@ -4545,4 +4568,4 @@ declare const ShareNativeResponseSchema: z.ZodDiscriminatedUnion<"action", [z.Zo
|
|
|
4545
4568
|
}>]>;
|
|
4546
4569
|
type ShareNativeResponse = z.infer<typeof ShareNativeResponseSchema>;
|
|
4547
4570
|
|
|
4548
|
-
export { type OwnerSharePolicyRegistration as $, type AccountDelegationPage as A, type DelegationStatus as B, CREDENTIAL_INVITATION_REQUEST_DOMAIN as C, type DelegationError 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 AccountDelegationQueryOptions as a,
|
|
4571
|
+
export { type OwnerSharePolicyRegistration as $, type AccountDelegationPage as A, type DelegationStatus as B, CREDENTIAL_INVITATION_REQUEST_DOMAIN as C, type DelegationError 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 AccountDelegationQueryOptions as a, ShareRecipientClient as a$, type OwnerSharePolicyRegistrationReceipt as a0, type OwnerSharePolicyV2 as a1, type PortableDelegationImportReceipt as a2, type ReceiveOptions as a3, type RegisterOwnerSharePolicyParams as a4, type SenderShareKeyStorage as a5, type SenderShareRecord as a6, type SenderShareRecordStorage as a7, type SenderShareRevocationScope as a8, SenderShareStore as a9, ShareDeliveryRefusedError 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 ShareAccess as aa, ShareAccessError as ab, type ShareAccessV2 as ac, type ShareAction as ad, ShareActionSchema as ae, type ShareAddressedDelegationEnvelopeV2 as af, ShareAddressedDelegationEnvelopeV2Schema as ag, type ShareAddressedDelegationRequestV2 as ah, ShareAddressedDelegationRequestV2Schema as ai, type ShareAddressedDelegationResponseV2 as aj, ShareAddressedDelegationResponseV2Schema as ak, type ShareAddressedRecipientMatcher as al, type ShareArtifactInput as am, type ShareArtifactResult as an, type ShareArtifactV2 as ao, type ShareCache as ap, type ShareCacheEntry as aq, type ShareCacheKey as ar, type ShareCacheMetadata as as, type ShareCapabilityLike as at, ShareConflict as au, type ShareContentMetadata as av, type ShareContentSource as aw, type ShareDelegationPreflight as ax, type ShareDeliveryAuthorizationV3Receipt as ay, type ShareDeliveryAuthorizationV3Request as az, type AccountDelegationRecord 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, intersectShareCapabilities as bA, isV2ShareLink as bB, normalizeShareActions as bC, normalizeShareRecipientTarget as bD, normalizeShareResource as bE, parsePortableDelegation as bF, parseShareArtifact as bG, parseShareUrl as bH, restoreDelegatedShareKey as bI, serializePortableDelegation as bJ, shareCapabilityAllows as bK, shortDeliveryLinkBodyCid as bL, signShareEnvelope as bM, validateOwnerSharePolicyRegistration as bN, validateOwnerSharePolicyRegistrationBytes as bO, verifyShareCid as bP, verifyShareDeliveryAuthorizationV3Bytes as bQ, verifyShareEnvelope as bR, withoutShareLink as bS, CapabilityKeyRegistry as bT, type CapabilityKeyRegistryErrorCode as bU, CapabilityKeyRegistryErrorCodes as bV, type StoredDelegationChain as bW, createCapabilityKeyRegistry as bX, 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 VerifyShareEnvelopeOptions as bi, canonicalOwnerSharePolicy as bj, computeOwnerShareRegistrationCid as bk, computeShareCid as bl, createDelegatedShareKey as bm, createPolicyEnforcementDelegation as bn, createShareArtifact as bo, createShareArtifactAsync as bp, createSharePolicy as bq, createSharingService as br, decryptShareBytesAsync as bs, delegatePortablePolicySession as bt, encodeInlineShareUrl as bu, encodeShareArtifact as bv, encodeShareUrl as bw, encryptShareBytes as bx, encryptShareBytesAsync as by, importPortableDelegation as bz, type AccountDelegationResource as c, type CapabilityEntry as d, type CreateDelegationParams as e, type CreateDelegationWasmParams as f, type CreateDelegationWasmResult as g, type CreateOwnerDelegationParams as h, type CredentialInvitationRequest as i, DELIVERY_ADMISSION_DOMAIN as j, type DelegateReceivedShareParams as k, type DelegatedResource as l, type DelegatedShareAccess as m, type DelegatedShareKey as n, type Delegation as o, type DelegationApiResponse as p, type DelegationChain as q, type DelegationChainV2 as r, type DelegationDirection as s, type DelegationErrorCode as t, DelegationErrorCodes as u, type DelegationFilters as v, DelegationManager 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.
|
|
3
|
+
"version": "3.7.0-beta.1",
|
|
4
4
|
"description": "Core TinyCloud SDK - shared interfaces and TinyCloud class",
|
|
5
5
|
"author": "TinyCloud, Inc.",
|
|
6
6
|
"license": "EGPL",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@multiformats/multiaddr-to-uri": "^12.0.0",
|
|
64
64
|
"@multiformats/uri-to-multiaddr": "^10.0.0",
|
|
65
65
|
"@noble/curves": "^1.9.7",
|
|
66
|
-
"@tinycloud/share-envelope": "1.
|
|
67
|
-
"@tinycloud/share-sdk": "1.
|
|
66
|
+
"@tinycloud/share-envelope": "1.3.0-beta.0",
|
|
67
|
+
"@tinycloud/share-sdk": "1.4.0-beta.0",
|
|
68
68
|
"@tinycloud/bootstrap": "2.8.0",
|
|
69
69
|
"@tinycloud/sdk-services": "3.6.1",
|
|
70
70
|
"multiformats": "^13.4.1",
|