@tinycloud/sdk-core 3.0.0-beta.2 → 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.
- package/dist/delegations/index.cjs +106 -13
- 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 +106 -13
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +278 -185
- 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 +278 -185
- package/dist/index.js.map +1 -1
- package/dist/{recipient-types.schema-G8NEKRoo.d.cts → recipient-types.schema-BdCeDExl.d.cts} +64 -1
- package/dist/{recipient-types.schema-G8NEKRoo.d.ts → recipient-types.schema-BdCeDExl.d.ts} +64 -1
- package/package.json +3 -3
package/dist/{recipient-types.schema-G8NEKRoo.d.cts → recipient-types.schema-BdCeDExl.d.cts}
RENAMED
|
@@ -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,
|
|
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,
|
|
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.
|
|
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",
|
|
@@ -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.
|
|
57
|
-
"@tinycloud/share-sdk": "0.3.0-beta.
|
|
56
|
+
"@tinycloud/share-envelope": "0.2.1-beta.1",
|
|
57
|
+
"@tinycloud/share-sdk": "0.3.0-beta.1",
|
|
58
58
|
"@tinycloud/bootstrap": "2.7.0",
|
|
59
59
|
"@tinycloud/sdk-services": "2.11.0",
|
|
60
60
|
"multiformats": "^13.4.1",
|