@tinycloud/sdk-core 2.11.0-beta.1 → 2.11.0-beta.10

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.
@@ -1,5 +1,6 @@
1
- import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-CWIt63Qp.cjs';
2
- export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as ReceiveOptions, $ as RegisterOwnerSharePolicyParams, a0 as SHARE_DELIVERY_AUTHORIZATION_DOMAIN, a1 as SenderShareKeyStorage, a2 as SenderShareRecord, a3 as SenderShareRecordStorage, a4 as SenderShareRevocationScope, a5 as SenderShareStore, a6 as ShareAccess, a7 as ShareAccessError, a8 as ShareAccessV2, a9 as ShareAction, aa as ShareActionSchema, ab as ShareAddressedDelegationEnvelopeV2, ac as ShareAddressedDelegationEnvelopeV2Schema, ad as ShareAddressedDelegationRequestV2, ae as ShareAddressedDelegationRequestV2Schema, af as ShareAddressedDelegationResponseV2, ag as ShareAddressedDelegationResponseV2Schema, ah as ShareAddressedRecipientMatcher, ai as ShareArtifactInput, aj as ShareArtifactResult, ak as ShareArtifactV2, al as ShareCache, am as ShareCacheEntry, an as ShareCacheKey, ao as ShareCacheMetadata, ap as ShareCapabilityLike, aq as ShareConflict, ar as ShareContentMetadata, as as ShareContentSource, at as ShareDeliveryAuthorization, au as ShareDeliveryAuthorizationReceipt, av as ShareDeliveryAuthorizationRequest, aw as ShareDetachedProof, ax as ShareEnvelopeError, ay as ShareEnvelopeV2, az as ShareExpiryBounds, aA as ShareKvContentSource, aB as ShareLink, aC as ShareLinkData, aD as ShareLinkLocation, aE as ShareListEntry, aF as ShareListResult, aG as ShareNativeAction, aH as ShareNativeInvokeEnvelopeV1, aI as ShareNativeInvokeErrorResult, aJ as ShareNativeInvokeInput, aK as ShareNativeInvokeResult, aL as ShareNativeInvokeSuccessResult, aM as ShareNativeResponse, aN as ShareNativeResponseSchema, aO as SharePolicy, aP as SharePolicyBinding, aQ as SharePolicySession, aR as SharePolicySessionV1, aS as SharePolicySessionWireV1, aT as ShareReadInvocationV1, aU as ShareReadResult, aV as ShareRecipientClient, aW as ShareRecipientClientOptions, aX as ShareRecipientClientOptionsSchema, aY as ShareRecipientPolicy, aZ as ShareRecipientPolicySchema, a_ as ShareRecipientResult, a$ as ShareRecipientTarget, b0 as ShareRecipientTargetSchema, b1 as ShareResource, b2 as ShareResourceSchema, b3 as ShareSaveOptions, b4 as ShareSchema, b5 as ShareSqlContentSource, b6 as ShareWireAction, b7 as SharingService, b8 as SharingServiceConfig, b9 as SignedDelegation, ba as SpaceInfo, bb as SpaceOwnership, bc as ValidateShareDeliveryAuthorizationExpected, bd as VerifyShareEnvelopeOptions, be as canonicalOwnerSharePolicy, bf as computeOwnerShareRegistrationCid, bg as computeShareCid, bh as createDelegatedShareKey, bi as createPolicyEnforcementDelegation, bj as createShareArtifact, bk as createShareArtifactAsync, bl as createSharePolicy, bm as createSharingService, bn as decryptShareBytesAsync, bo as encodeInlineShareUrl, bp as encodeShareArtifact, bq as encodeShareUrl, br as encryptShareBytes, bs as encryptShareBytesAsync, bt as intersectShareCapabilities, bu as isV2ShareLink, bv as normalizeShareActions, bw as normalizeShareRecipientTarget, bx as normalizeShareResource, by as parseShareArtifact, bz as parseShareUrl, bA as restoreDelegatedShareKey, bB as shareCapabilityAllows, bC as shareDeliveryTrustedKid, bD as signShareEnvelope, bE as validateOwnerSharePolicyRegistration, bF as validateOwnerSharePolicyRegistrationBytes, bG as validateShareDeliveryAuthorizationBytes, bH as verifyShareCid, bI as verifyShareEnvelope } from '../recipient-types.schema-CWIt63Qp.cjs';
1
+ import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-D5pDlIqn.cjs';
2
+ export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as ReceiveOptions, $ as RegisterOwnerSharePolicyParams, a0 as SHARE_DELIVERY_AUTHORIZATION_DOMAIN, a1 as SenderShareKeyStorage, a2 as SenderShareRecord, a3 as SenderShareRecordStorage, a4 as SenderShareRevocationScope, a5 as SenderShareStore, a6 as ShareAccess, a7 as ShareAccessError, a8 as ShareAccessV2, a9 as ShareAction, aa as ShareActionSchema, ab as ShareAddressedDelegationEnvelopeV2, ac as ShareAddressedDelegationEnvelopeV2Schema, ad as ShareAddressedDelegationRequestV2, ae as ShareAddressedDelegationRequestV2Schema, af as ShareAddressedDelegationResponseV2, ag as ShareAddressedDelegationResponseV2Schema, ah as ShareAddressedRecipientMatcher, ai as ShareArtifactInput, aj as ShareArtifactResult, ak as ShareArtifactV2, al as ShareCache, am as ShareCacheEntry, an as ShareCacheKey, ao as ShareCacheMetadata, ap as ShareCapabilityLike, aq as ShareConflict, ar as ShareContentMetadata, as as ShareContentSource, at as ShareDeliveryAuthorization, au as ShareDeliveryAuthorizationReceipt, av as ShareDeliveryAuthorizationRequest, aw as ShareDetachedProof, ax as ShareEnvelopeError, ay as ShareEnvelopeV2, az as ShareExpiryBounds, aA as ShareKvContentSource, aB as ShareLink, aC as ShareLinkData, aD as ShareLinkLocation, aE as ShareListEntry, aF as ShareListResult, aG as ShareNativeAction, aH as ShareNativeInvokeEnvelopeV1, aI as ShareNativeInvokeErrorResult, aJ as ShareNativeInvokeInput, aK as ShareNativeInvokeResult, aL as ShareNativeInvokeSuccessResult, aM as ShareNativeResponse, aN as ShareNativeResponseSchema, aO as SharePolicy, aP as SharePolicyBinding, aQ as SharePolicySession, aR as SharePolicySessionV1, aS as SharePolicySessionWireV1, aT as ShareReadInvocationV1, aU as ShareReadResult, aV as ShareRecipientClient, aW as ShareRecipientClientOptions, aX as ShareRecipientClientOptionsSchema, aY as ShareRecipientPolicy, aZ as ShareRecipientPolicySchema, a_ as ShareRecipientResult, a$ as ShareRecipientTarget, b0 as ShareRecipientTargetSchema, b1 as ShareResource, b2 as ShareResourceSchema, b3 as ShareSaveOptions, b4 as ShareSchema, b5 as ShareSqlContentSource, b6 as ShareWireAction, b7 as SharingService, b8 as SharingServiceConfig, b9 as SignedDelegation, ba as SpaceInfo, bb as SpaceOwnership, bc as ValidateShareDeliveryAuthorizationExpected, bd as VerifyShareEnvelopeOptions, be as canonicalOwnerSharePolicy, bf as computeOwnerShareRegistrationCid, bg as computeShareCid, bh as createDelegatedShareKey, bi as createPolicyEnforcementDelegation, bj as createShareArtifact, bk as createShareArtifactAsync, bl as createSharePolicy, bm as createSharingService, bn as decryptShareBytesAsync, bo as encodeInlineShareUrl, bp as encodeShareArtifact, bq as encodeShareUrl, br as encryptShareBytes, bs as encryptShareBytesAsync, bt as intersectShareCapabilities, bu as isV2ShareLink, bv as normalizeShareActions, bw as normalizeShareRecipientTarget, bx as normalizeShareResource, by as parseShareArtifact, bz as parseShareUrl, bA as restoreDelegatedShareKey, bB as shareCapabilityAllows, bC as shareDeliveryTrustedKid, bD as signShareEnvelope, bE as validateOwnerSharePolicyRegistration, bF as validateOwnerSharePolicyRegistrationBytes, bG as validateShareDeliveryAuthorizationBytes, bH as verifyShareCid, bI as verifyShareEnvelope } from '../recipient-types.schema-D5pDlIqn.cjs';
3
+ export { EncryptedSenderShareHistory, EncryptedShareHistoryStorage, LegacyMigrationResult, LegacyShareReader, MemoryEncryptedShareHistoryStorage, ShareAuthorizationAdapter, ShareAuthorizationDenied, ShareAuthorizationMethod, ShareAuthorizationReady, ShareAuthorizationRequired, ShareAuthorizationResult, ShareDeliveryAdapter, ShareErrorCode, ShareErrorInfo, ShareFetchOptions, ShareHistoryView, ShareInspection, ShareMetadata, ShareNotifyResult, ShareNotifyState, SharePolicyPublishAdapter, ShareReceiveError, ShareReceiveResult, ShareRevocationAdapter, ShareRevocationResult, ShareTarget, TargetPublishAdapter, TargetPublishInput, TargetPublishOutcome, VerifyBearerEnvelopeOptions, authorizationMethodForTarget, authorizeShare, claimShare, inspectShare, isLegacyShareLink, listShares, migrateShare, notifyShare, publishPolicyShare, publishTargetShare, receiveLegacyShare, receiveShare, resumeShareAuthorization, revokeShare, showShare, toShareErrorInfo, verifyBearerEnvelope } from '@tinycloud/share-sdk';
3
4
  import { z } from 'zod';
4
5
  import { ServiceSession, InvokeFunction, FetchFunction, IKVService } from '@tinycloud/sdk-services';
5
6
 
@@ -1,5 +1,6 @@
1
- import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-CWIt63Qp.js';
2
- export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as ReceiveOptions, $ as RegisterOwnerSharePolicyParams, a0 as SHARE_DELIVERY_AUTHORIZATION_DOMAIN, a1 as SenderShareKeyStorage, a2 as SenderShareRecord, a3 as SenderShareRecordStorage, a4 as SenderShareRevocationScope, a5 as SenderShareStore, a6 as ShareAccess, a7 as ShareAccessError, a8 as ShareAccessV2, a9 as ShareAction, aa as ShareActionSchema, ab as ShareAddressedDelegationEnvelopeV2, ac as ShareAddressedDelegationEnvelopeV2Schema, ad as ShareAddressedDelegationRequestV2, ae as ShareAddressedDelegationRequestV2Schema, af as ShareAddressedDelegationResponseV2, ag as ShareAddressedDelegationResponseV2Schema, ah as ShareAddressedRecipientMatcher, ai as ShareArtifactInput, aj as ShareArtifactResult, ak as ShareArtifactV2, al as ShareCache, am as ShareCacheEntry, an as ShareCacheKey, ao as ShareCacheMetadata, ap as ShareCapabilityLike, aq as ShareConflict, ar as ShareContentMetadata, as as ShareContentSource, at as ShareDeliveryAuthorization, au as ShareDeliveryAuthorizationReceipt, av as ShareDeliveryAuthorizationRequest, aw as ShareDetachedProof, ax as ShareEnvelopeError, ay as ShareEnvelopeV2, az as ShareExpiryBounds, aA as ShareKvContentSource, aB as ShareLink, aC as ShareLinkData, aD as ShareLinkLocation, aE as ShareListEntry, aF as ShareListResult, aG as ShareNativeAction, aH as ShareNativeInvokeEnvelopeV1, aI as ShareNativeInvokeErrorResult, aJ as ShareNativeInvokeInput, aK as ShareNativeInvokeResult, aL as ShareNativeInvokeSuccessResult, aM as ShareNativeResponse, aN as ShareNativeResponseSchema, aO as SharePolicy, aP as SharePolicyBinding, aQ as SharePolicySession, aR as SharePolicySessionV1, aS as SharePolicySessionWireV1, aT as ShareReadInvocationV1, aU as ShareReadResult, aV as ShareRecipientClient, aW as ShareRecipientClientOptions, aX as ShareRecipientClientOptionsSchema, aY as ShareRecipientPolicy, aZ as ShareRecipientPolicySchema, a_ as ShareRecipientResult, a$ as ShareRecipientTarget, b0 as ShareRecipientTargetSchema, b1 as ShareResource, b2 as ShareResourceSchema, b3 as ShareSaveOptions, b4 as ShareSchema, b5 as ShareSqlContentSource, b6 as ShareWireAction, b7 as SharingService, b8 as SharingServiceConfig, b9 as SignedDelegation, ba as SpaceInfo, bb as SpaceOwnership, bc as ValidateShareDeliveryAuthorizationExpected, bd as VerifyShareEnvelopeOptions, be as canonicalOwnerSharePolicy, bf as computeOwnerShareRegistrationCid, bg as computeShareCid, bh as createDelegatedShareKey, bi as createPolicyEnforcementDelegation, bj as createShareArtifact, bk as createShareArtifactAsync, bl as createSharePolicy, bm as createSharingService, bn as decryptShareBytesAsync, bo as encodeInlineShareUrl, bp as encodeShareArtifact, bq as encodeShareUrl, br as encryptShareBytes, bs as encryptShareBytesAsync, bt as intersectShareCapabilities, bu as isV2ShareLink, bv as normalizeShareActions, bw as normalizeShareRecipientTarget, bx as normalizeShareResource, by as parseShareArtifact, bz as parseShareUrl, bA as restoreDelegatedShareKey, bB as shareCapabilityAllows, bC as shareDeliveryTrustedKid, bD as signShareEnvelope, bE as validateOwnerSharePolicyRegistration, bF as validateOwnerSharePolicyRegistrationBytes, bG as validateShareDeliveryAuthorizationBytes, bH as verifyShareCid, bI as verifyShareEnvelope } from '../recipient-types.schema-CWIt63Qp.js';
1
+ import { I as ICapabilityKeyRegistry, D as DelegationManager, R as Result, a as DelegationError } from '../recipient-types.schema-D5pDlIqn.js';
2
+ export { A as AccountDelegationPage, b as AccountDelegationQueryOptions, c as AccountDelegationRecord, d as AccountDelegationResource, C as CapabilityEntry, e as CreateDelegationParams, f as CreateDelegationWasmParams, g as CreateDelegationWasmResult, h as CreateOwnerDelegationParams, i as DelegateReceivedShareParams, j as DelegatedResource, k as DelegatedShareAccess, l as DelegatedShareKey, m as Delegation, n as DelegationApiResponse, o as DelegationChain, p as DelegationChainV2, q as DelegationDirection, r as DelegationErrorCode, s as DelegationErrorCodes, t as DelegationFilters, u as DelegationManagerConfig, v as DelegationRecord, w as DelegationRevocationReceipt, x as DelegationStatus, E as EncodedShareData, G as GenerateShareParams, y as ISharingService, z as IngestOptions, J as JWK, K as KeyInfo, B as KeyProvider, F as KeyType, M as MAX_CONTENT_BYTES, H as MAX_SEALED_SHARE_CONTENT_BYTES, L as MAX_SHARE_ARTIFACT_BYTES, N as MAX_SHARE_CONTENT_BYTES, O as MemorySenderShareKeyStorage, P as MemorySenderShareRecordStorage, Q as MemoryShareCache, S as OwnerDelegationPermission, T as OwnerDelegationReceipt, U as OwnerShareAction, V as OwnerShareDecryption, W as OwnerShareMatcher, X as OwnerSharePolicyRegistration, Y as OwnerSharePolicyRegistrationReceipt, Z as OwnerSharePolicyV2, _ as ReceiveOptions, $ as RegisterOwnerSharePolicyParams, a0 as SHARE_DELIVERY_AUTHORIZATION_DOMAIN, a1 as SenderShareKeyStorage, a2 as SenderShareRecord, a3 as SenderShareRecordStorage, a4 as SenderShareRevocationScope, a5 as SenderShareStore, a6 as ShareAccess, a7 as ShareAccessError, a8 as ShareAccessV2, a9 as ShareAction, aa as ShareActionSchema, ab as ShareAddressedDelegationEnvelopeV2, ac as ShareAddressedDelegationEnvelopeV2Schema, ad as ShareAddressedDelegationRequestV2, ae as ShareAddressedDelegationRequestV2Schema, af as ShareAddressedDelegationResponseV2, ag as ShareAddressedDelegationResponseV2Schema, ah as ShareAddressedRecipientMatcher, ai as ShareArtifactInput, aj as ShareArtifactResult, ak as ShareArtifactV2, al as ShareCache, am as ShareCacheEntry, an as ShareCacheKey, ao as ShareCacheMetadata, ap as ShareCapabilityLike, aq as ShareConflict, ar as ShareContentMetadata, as as ShareContentSource, at as ShareDeliveryAuthorization, au as ShareDeliveryAuthorizationReceipt, av as ShareDeliveryAuthorizationRequest, aw as ShareDetachedProof, ax as ShareEnvelopeError, ay as ShareEnvelopeV2, az as ShareExpiryBounds, aA as ShareKvContentSource, aB as ShareLink, aC as ShareLinkData, aD as ShareLinkLocation, aE as ShareListEntry, aF as ShareListResult, aG as ShareNativeAction, aH as ShareNativeInvokeEnvelopeV1, aI as ShareNativeInvokeErrorResult, aJ as ShareNativeInvokeInput, aK as ShareNativeInvokeResult, aL as ShareNativeInvokeSuccessResult, aM as ShareNativeResponse, aN as ShareNativeResponseSchema, aO as SharePolicy, aP as SharePolicyBinding, aQ as SharePolicySession, aR as SharePolicySessionV1, aS as SharePolicySessionWireV1, aT as ShareReadInvocationV1, aU as ShareReadResult, aV as ShareRecipientClient, aW as ShareRecipientClientOptions, aX as ShareRecipientClientOptionsSchema, aY as ShareRecipientPolicy, aZ as ShareRecipientPolicySchema, a_ as ShareRecipientResult, a$ as ShareRecipientTarget, b0 as ShareRecipientTargetSchema, b1 as ShareResource, b2 as ShareResourceSchema, b3 as ShareSaveOptions, b4 as ShareSchema, b5 as ShareSqlContentSource, b6 as ShareWireAction, b7 as SharingService, b8 as SharingServiceConfig, b9 as SignedDelegation, ba as SpaceInfo, bb as SpaceOwnership, bc as ValidateShareDeliveryAuthorizationExpected, bd as VerifyShareEnvelopeOptions, be as canonicalOwnerSharePolicy, bf as computeOwnerShareRegistrationCid, bg as computeShareCid, bh as createDelegatedShareKey, bi as createPolicyEnforcementDelegation, bj as createShareArtifact, bk as createShareArtifactAsync, bl as createSharePolicy, bm as createSharingService, bn as decryptShareBytesAsync, bo as encodeInlineShareUrl, bp as encodeShareArtifact, bq as encodeShareUrl, br as encryptShareBytes, bs as encryptShareBytesAsync, bt as intersectShareCapabilities, bu as isV2ShareLink, bv as normalizeShareActions, bw as normalizeShareRecipientTarget, bx as normalizeShareResource, by as parseShareArtifact, bz as parseShareUrl, bA as restoreDelegatedShareKey, bB as shareCapabilityAllows, bC as shareDeliveryTrustedKid, bD as signShareEnvelope, bE as validateOwnerSharePolicyRegistration, bF as validateOwnerSharePolicyRegistrationBytes, bG as validateShareDeliveryAuthorizationBytes, bH as verifyShareCid, bI as verifyShareEnvelope } from '../recipient-types.schema-D5pDlIqn.js';
3
+ export { EncryptedSenderShareHistory, EncryptedShareHistoryStorage, LegacyMigrationResult, LegacyShareReader, MemoryEncryptedShareHistoryStorage, ShareAuthorizationAdapter, ShareAuthorizationDenied, ShareAuthorizationMethod, ShareAuthorizationReady, ShareAuthorizationRequired, ShareAuthorizationResult, ShareDeliveryAdapter, ShareErrorCode, ShareErrorInfo, ShareFetchOptions, ShareHistoryView, ShareInspection, ShareMetadata, ShareNotifyResult, ShareNotifyState, SharePolicyPublishAdapter, ShareReceiveError, ShareReceiveResult, ShareRevocationAdapter, ShareRevocationResult, ShareTarget, TargetPublishAdapter, TargetPublishInput, TargetPublishOutcome, VerifyBearerEnvelopeOptions, authorizationMethodForTarget, authorizeShare, claimShare, inspectShare, isLegacyShareLink, listShares, migrateShare, notifyShare, publishPolicyShare, publishTargetShare, receiveLegacyShare, receiveShare, resumeShareAuthorization, revokeShare, showShare, toShareErrorInfo, verifyBearerEnvelope } from '@tinycloud/share-sdk';
3
4
  import { z } from 'zod';
4
5
  import { ServiceSession, InvokeFunction, FetchFunction, IKVService } from '@tinycloud/sdk-services';
5
6
 
@@ -2153,13 +2153,12 @@ function digest(input, options) {
2153
2153
  }
2154
2154
  var identity2 = { code: code2, name, encode: encode4, digest };
2155
2155
 
2156
- // ../../node_modules/multiformats/dist/src/hashes/sha2.js
2157
- var sha2_exports = {};
2158
- __export(sha2_exports, {
2156
+ // ../../node_modules/multiformats/dist/src/hashes/sha2-browser.js
2157
+ var sha2_browser_exports = {};
2158
+ __export(sha2_browser_exports, {
2159
2159
  sha256: () => sha256,
2160
2160
  sha512: () => sha512
2161
2161
  });
2162
- import crypto2 from "crypto";
2163
2162
 
2164
2163
  // ../../node_modules/multiformats/dist/src/hashes/hasher.js
2165
2164
  var DEFAULT_MIN_DIGEST_LENGTH = 20;
@@ -2209,16 +2208,19 @@ function createDigest(digest4, code3, truncate) {
2209
2208
  return create(code3, digest4);
2210
2209
  }
2211
2210
 
2212
- // ../../node_modules/multiformats/dist/src/hashes/sha2.js
2211
+ // ../../node_modules/multiformats/dist/src/hashes/sha2-browser.js
2212
+ function sha(name2) {
2213
+ return async (data) => new Uint8Array(await crypto.subtle.digest(name2, data));
2214
+ }
2213
2215
  var sha256 = from2({
2214
2216
  name: "sha2-256",
2215
2217
  code: 18,
2216
- encode: (input) => coerce(crypto2.createHash("sha256").update(input).digest())
2218
+ encode: sha("SHA-256")
2217
2219
  });
2218
2220
  var sha512 = from2({
2219
2221
  name: "sha2-512",
2220
2222
  code: 19,
2221
- encode: (input) => coerce(crypto2.createHash("sha512").update(input).digest())
2223
+ encode: sha("SHA-512")
2222
2224
  });
2223
2225
 
2224
2226
  // ../../node_modules/multiformats/dist/src/cid.js
@@ -2560,7 +2562,7 @@ var cidSymbol = /* @__PURE__ */ Symbol.for("@ipld/js-cid/CID");
2560
2562
 
2561
2563
  // ../../node_modules/multiformats/dist/src/basics.js
2562
2564
  var bases = { ...identity_exports, ...base2_exports, ...base8_exports, ...base10_exports, ...base16_exports, ...base32_exports, ...base36_exports, ...base58_exports, ...base64_exports, ...base256emoji_exports };
2563
- var hashes = { ...sha2_exports, ...identity_exports2 };
2565
+ var hashes = { ...sha2_browser_exports, ...identity_exports2 };
2564
2566
 
2565
2567
  // src/delegations/SharingService.ts
2566
2568
  import { ed25519 as ed255193 } from "@noble/curves/ed25519";
@@ -2733,6 +2735,10 @@ function normalizeRecipient(recipient) {
2733
2735
  }
2734
2736
  return { kind: recipient.kind, value: domain };
2735
2737
  }
2738
+ if (recipient.kind === "recipientDid") {
2739
+ if (!isCanonicalRecipientDid(recipient.value)) throw new ShareEnvelopeError("invalid-envelope", "recipient DID is invalid");
2740
+ return { kind: recipient.kind, value: recipient.value };
2741
+ }
2736
2742
  const exact = recipient.value.trim();
2737
2743
  const at = exact.lastIndexOf("@");
2738
2744
  const normalizedExact = at > 0 ? `${exact.slice(0, at)}@${exact.slice(at + 1).toLowerCase()}` : exact;
@@ -2741,6 +2747,28 @@ function normalizeRecipient(recipient) {
2741
2747
  }
2742
2748
  return { kind: recipient.kind, value: normalizedExact };
2743
2749
  }
2750
+ function isCanonicalRecipientDid(value) {
2751
+ if (value.length === 0 || value.length > 2048 || /[\u0000-\u0020\u007f]/.test(value)) return false;
2752
+ const parts = value.split(":");
2753
+ if (parts.length < 3 || parts[0] !== "did" || !/^[a-z0-9]+$/.test(parts[1] ?? "")) return false;
2754
+ const identifier = parts.slice(2);
2755
+ if (identifier.some((part) => part.length === 0)) return false;
2756
+ if (parts[1] === "web") {
2757
+ const host = identifier[0] ?? "";
2758
+ if (host.length > 253 || host.split(".").some((label) => !label || label.length > 63 || !/^[A-Za-z0-9-]+$/.test(label) || label.startsWith("-") || label.endsWith("-"))) return false;
2759
+ return identifier.slice(1).every((part) => /^[A-Za-z0-9._%-]+$/.test(part));
2760
+ }
2761
+ if (parts[1] === "pkh") return identifier.length >= 3 && identifier.every((part) => /^[A-Za-z0-9._%-]+$/.test(part));
2762
+ if (parts[1] === "key") {
2763
+ try {
2764
+ const bytes2 = base58btc.decode(identifier.join(":"));
2765
+ return bytes2.length === 34 && bytes2[0] === 237 && bytes2[1] === 1;
2766
+ } catch {
2767
+ return false;
2768
+ }
2769
+ }
2770
+ return false;
2771
+ }
2744
2772
  function normalizeShareRecipientTarget(recipient) {
2745
2773
  const normalized = normalizeRecipient(recipient);
2746
2774
  if (normalized === void 0) throw new ShareEnvelopeError("invalid-envelope", "recipient matcher is required");
@@ -2827,9 +2855,9 @@ function verifyShareEnvelope(envelope, options = {}) {
2827
2855
  const recipient = normalizeRecipient(envelope.recipient);
2828
2856
  if (recipient !== void 0 && JSON.stringify(recipient) !== JSON.stringify(envelope.recipient)) throw new ShareEnvelopeError("invalid-envelope", "recipient is not canonical");
2829
2857
  if (recipient?.kind === "exactEmail" || recipient?.kind === "emailDomain") throw new ShareEnvelopeError("unsafe-plaintext", "recipient matchers are not public envelope fields");
2830
- if (envelope.recipientKind !== void 0 && !["exactEmail", "emailDomain", "bearer"].includes(envelope.recipientKind)) throw new ShareEnvelopeError("invalid-envelope", "recipient mode is invalid");
2858
+ if (envelope.recipientKind !== void 0 && !["exactEmail", "emailDomain", "recipientDid", "bearer"].includes(envelope.recipientKind)) throw new ShareEnvelopeError("invalid-envelope", "recipient mode is invalid");
2831
2859
  if (envelope.recipientKind === "bearer" && recipient?.kind !== void 0 && recipient.kind !== "bearer") throw new ShareEnvelopeError("invalid-envelope", "recipient mode does not match recipient");
2832
- if ((envelope.recipientKind === "exactEmail" || envelope.recipientKind === "emailDomain") && !envelope.encrypted) throw new ShareEnvelopeError("unsafe-plaintext", "policy shares require encryption");
2860
+ if ((envelope.recipientKind === "exactEmail" || envelope.recipientKind === "emailDomain" || envelope.recipientKind === "recipientDid") && !envelope.encrypted) throw new ShareEnvelopeError("unsafe-plaintext", "addressed shares require encryption");
2833
2861
  if (typeof envelope.spaceId !== "string" || envelope.spaceId.length === 0 || typeof envelope.content.mimeType !== "string" || envelope.content.mimeType.length === 0 || typeof envelope.content.digest !== "string" || !/^[A-Za-z0-9_-]+$/.test(envelope.content.digest)) throw new ShareEnvelopeError("invalid-envelope", "content metadata is invalid");
2834
2862
  const maxContentBytes = envelope.encrypted ? options.maxSealedContentBytes ?? MAX_SEALED_SHARE_CONTENT_BYTES : options.maxContentBytes ?? MAX_SHARE_CONTENT_BYTES;
2835
2863
  if (!Number.isInteger(envelope.content.size) || envelope.content.size < 0 || envelope.content.size > maxContentBytes) throw new ShareEnvelopeError("content-too-large", "share content exceeds the configured limit");
@@ -2968,7 +2996,7 @@ function parsePolicyMetadata(policyBytes, target, expectedExpiry) {
2968
2996
  assertKeys(policy, ["type", "version", "issuerDid", "recipientMatcher", "target", "delegation", "authority", "actions", "resource", "content-source", "expiresAt"], "published canonical policy material");
2969
2997
  if (typeof policy.issuerDid !== "string" || typeof policy.expiresAt !== "string" || policy.expiresAt !== expectedExpiry) throw new ShareEnvelopeError("invalid-envelope", "policy expiry is not bound to the envelope");
2970
2998
  const matcherValue = policy.recipientMatcher;
2971
- if (!isPlainObject(matcherValue) || matcherValue.kind !== "exactEmail" && matcherValue.kind !== "emailDomain" || typeof matcherValue.value !== "string") throw new ShareEnvelopeError("invalid-envelope", "policy matcher is invalid");
2999
+ if (!isPlainObject(matcherValue) || matcherValue.kind !== "exactEmail" && matcherValue.kind !== "emailDomain" && matcherValue.kind !== "recipientDid" || typeof matcherValue.value !== "string") throw new ShareEnvelopeError("invalid-envelope", "policy matcher is invalid");
2972
3000
  const matcher2 = normalizeRecipient(matcherValue);
2973
3001
  if (matcher2 === void 0 || matcher2.kind === "bearer") throw new ShareEnvelopeError("invalid-envelope", "policy matcher is invalid");
2974
3002
  if (!isPlainObject(policy.target)) throw new ShareEnvelopeError("invalid-envelope", "policy target is invalid");
@@ -3055,7 +3083,7 @@ function parseCanonicalPublishedV2(value, options) {
3055
3083
  if (!Number.isFinite(expiry) || expiry <= (options.now ?? /* @__PURE__ */ new Date()).getTime() || new Date(expiry).toISOString() !== value.expiry) throw new ShareEnvelopeError("expired", "published share envelope has expired");
3056
3084
  if (typeof delegation.cid !== "string" || typeof delegation.issuerDid !== "string" || typeof delegation.audience !== "string" || typeof delegation.expiresAt !== "string" || Date.parse(delegation.expiresAt) > expiry) throw new ShareEnvelopeError("invalid-envelope", "published v2 delegation is invalid");
3057
3085
  const matcher = value.recipientMatcher;
3058
- if (!isPlainObject(matcher) || matcher.kind !== "exactEmail" && matcher.kind !== "emailDomain" || typeof matcher.value !== "string") throw new ShareEnvelopeError("invalid-envelope", "published v2 recipient matcher is invalid");
3086
+ if (!isPlainObject(matcher) || matcher.kind !== "exactEmail" && matcher.kind !== "emailDomain" && matcher.kind !== "recipientDid" || typeof matcher.value !== "string") throw new ShareEnvelopeError("invalid-envelope", "published v2 recipient matcher is invalid");
3059
3087
  const normalizedMatcher = normalizeRecipient(matcher);
3060
3088
  if (normalizedMatcher === void 0 || normalizedMatcher.kind === "bearer") throw new ShareEnvelopeError("invalid-envelope", "published v2 recipient matcher is invalid");
3061
3089
  if (!Array.isArray(value.actions)) throw new ShareEnvelopeError("invalid-envelope", "published v2 actions are invalid");
@@ -3496,10 +3524,11 @@ var ShareConflict = class extends Error {
3496
3524
  }
3497
3525
  };
3498
3526
  var ShareAccessError = class extends Error {
3499
- constructor(code3, message) {
3527
+ constructor(code3, message, details) {
3500
3528
  super(message ?? "shared access could not be completed");
3501
3529
  this.name = "ShareAccessError";
3502
3530
  this.code = code3;
3531
+ this.details = details;
3503
3532
  }
3504
3533
  };
3505
3534
 
@@ -3508,6 +3537,7 @@ import { z as z3 } from "zod";
3508
3537
  var ShareRecipientTargetSchema = z3.discriminatedUnion("kind", [
3509
3538
  z3.object({ kind: z3.literal("exactEmail"), value: z3.string().min(1) }).strict(),
3510
3539
  z3.object({ kind: z3.literal("emailDomain"), value: z3.string().min(1) }).strict(),
3540
+ z3.object({ kind: z3.literal("recipientDid"), value: z3.string().regex(/^did:[a-z0-9]+:.+$/) }).strict(),
3511
3541
  z3.object({ kind: z3.literal("bearer") }).strict()
3512
3542
  ]);
3513
3543
  var ShareResourceSchema = z3.discriminatedUnion("kind", [
@@ -3551,7 +3581,8 @@ var ShareContentSourceSchema = z3.discriminatedUnion("kind", [
3551
3581
  ]);
3552
3582
  var ShareAddressedRecipientSchema = z3.discriminatedUnion("kind", [
3553
3583
  z3.object({ kind: z3.literal("exactEmail"), value: z3.string().min(1) }).strict(),
3554
- z3.object({ kind: z3.literal("emailDomain"), value: z3.string().min(1) }).strict()
3584
+ z3.object({ kind: z3.literal("emailDomain"), value: z3.string().min(1) }).strict(),
3585
+ z3.object({ kind: z3.literal("recipientDid"), value: z3.string().regex(/^did:[a-z0-9]+:.+$/) }).strict()
3555
3586
  ]);
3556
3587
  var ShareAddressedDelegationRequestV2Schema = z3.object({
3557
3588
  version: z3.literal(2),
@@ -3806,12 +3837,21 @@ var ShareRecipientClient = class {
3806
3837
  const { envelope } = resolved.artifact;
3807
3838
  const { location } = resolved;
3808
3839
  const bearer = isBearerEnvelope(envelope);
3809
- const policy = envelope.recipientKind === "exactEmail" || envelope.recipientKind === "emailDomain";
3840
+ const policy = envelope.recipientKind === "exactEmail" || envelope.recipientKind === "emailDomain" || envelope.authorizationTargetKind === "recipientDid";
3810
3841
  const legacyBearer = !policy && envelope.recipientKind === void 0;
3811
- if (envelope.authorizationTargetKind === "recipientDid") throw new ShareAccessError("SHARE_RECIPIENT_DID_UNSUPPORTED");
3842
+ let recipientDidSession;
3843
+ if (envelope.authorizationTargetKind === "recipientDid") {
3844
+ if (this.options.establishRecipientDidSession === void 0) throw new ShareAccessError("SHARE_DEVICE_AUTH_REQUIRED", "an OpenKey device authorization is required");
3845
+ const authorization = await this.options.establishRecipientDidSession({ envelope, recipientDid: envelope.recipient?.kind === "recipientDid" ? envelope.recipient.value : "" });
3846
+ if ("state" in authorization) {
3847
+ if (authorization.state === "authorization-required") throw new ShareAccessError("SHARE_DEVICE_AUTH_REQUIRED", "an OpenKey device authorization is required", authorization);
3848
+ throw new ShareAccessError("SHARE_DENIED", "recipient DID authorization was denied", authorization);
3849
+ }
3850
+ recipientDidSession = authorization;
3851
+ }
3812
3852
  if (policy && this.options.bearerSession !== void 0) throw new ShareAccessError("SHARE_POLICY_BEARER_MISMATCH");
3813
3853
  if (bearer && this.options.presentation !== void 0) throw new ShareAccessError("SHARE_BEARER_PRESENTATION_MISMATCH");
3814
- const session = bearer || legacyBearer ? this.options.bearerSession : policy && this.options.establishPolicySession !== void 0 ? await this.options.establishPolicySession({ envelope, presentation: this.options.presentation }) : policy ? await this.establishPolicySession(envelope) : void 0;
3854
+ const session = bearer || legacyBearer ? this.options.bearerSession : recipientDidSession ? recipientDidSession : policy && this.options.establishPolicySession !== void 0 ? await this.options.establishPolicySession({ envelope, presentation: this.options.presentation }) : policy ? await this.establishPolicySession(envelope) : void 0;
3815
3855
  const kv = bearer || legacyBearer ? session === void 0 ? void 0 : this.createKV(envelope.origin, session) : void 0;
3816
3856
  const policySession = policy ? session : void 0;
3817
3857
  if (policySession !== void 0) this.assertProvidedPolicySession(policySession, envelope);
@@ -5710,15 +5750,11 @@ function verifySignedChild(result, expected, computeCid) {
5710
5750
 
5711
5751
  // src/delegations/owner-policy.ts
5712
5752
  import { ed25519 as ed255195 } from "@noble/curves/ed25519";
5713
- import { sha256 as sha2567 } from "@noble/hashes/sha256";
5753
+ import { sha256 as sha2566 } from "@noble/hashes/sha256";
5714
5754
 
5715
5755
  // src/policy/signed-object.ts
5716
5756
  import { ed25519 as ed255194 } from "@noble/curves/ed25519";
5717
- import { bytesToHex as bytesToHex2, sha256 as sha2566, verifyMessage } from "viem";
5718
-
5719
- // src/policy/capability.ts
5720
- import { CAPABILITY_REGISTRY } from "@tinycloud/bootstrap";
5721
- import { bytesToHex, sha256 as sha2565 } from "viem";
5757
+ import { bytesToHex, sha256 as sha2565, verifyMessage } from "viem";
5722
5758
 
5723
5759
  // src/policy/errors.ts
5724
5760
  var SignedObjectProfileError = class extends Error {
@@ -5916,33 +5952,11 @@ function assertUnicodeScalarString(value, path) {
5916
5952
  }
5917
5953
  }
5918
5954
 
5919
- // src/policy/capability.ts
5955
+ // src/policy/signed-object.ts
5920
5956
  var textEncoder2 = new TextEncoder();
5921
5957
  var objectHasOwn2 = Object.hasOwn ?? Object.prototype.hasOwnProperty.call.bind(
5922
5958
  Object.prototype.hasOwnProperty
5923
5959
  );
5924
- var CEILING_SERVICES = /* @__PURE__ */ new Set(["tinycloud.kv", "tinycloud.sql", "tinycloud.vfs"]);
5925
- var GRANTABLE_ACTIONS = /* @__PURE__ */ new Map();
5926
- for (const entry of CAPABILITY_REGISTRY) {
5927
- if (!CEILING_SERVICES.has(entry.service)) {
5928
- continue;
5929
- }
5930
- if (entry.aliasOf !== void 0 || entry.implies !== void 0 || entry.urn.endsWith("/*")) {
5931
- continue;
5932
- }
5933
- const existing = GRANTABLE_ACTIONS.get(entry.service);
5934
- if (existing === void 0) {
5935
- GRANTABLE_ACTIONS.set(entry.service, /* @__PURE__ */ new Set([entry.urn]));
5936
- continue;
5937
- }
5938
- existing.add(entry.urn);
5939
- }
5940
-
5941
- // src/policy/signed-object.ts
5942
- var textEncoder3 = new TextEncoder();
5943
- var objectHasOwn3 = Object.hasOwn ?? Object.prototype.hasOwnProperty.call.bind(
5944
- Object.prototype.hasOwnProperty
5945
- );
5946
5960
  function canonicalizeSignedObjectUnsigned(input) {
5947
5961
  return jcsCanonicalize(input);
5948
5962
  }
@@ -5974,10 +5988,10 @@ function fromB64(value) {
5974
5988
  throw new Error("base64url decoding is unavailable");
5975
5989
  }
5976
5990
  function cid(bytesValue) {
5977
- return CID.createV1(code, create(sha256.code, sha2567(bytesValue))).toString(base32.encoder);
5991
+ return CID.createV1(code, create(sha256.code, sha2566(bytesValue))).toString(base32.encoder);
5978
5992
  }
5979
5993
  function digest3(bytesValue) {
5980
- return b64(sha2567(bytesValue));
5994
+ return b64(sha2566(bytesValue));
5981
5995
  }
5982
5996
  function didKeyFromEd25519PublicKey(publicKey) {
5983
5997
  if (publicKey.length !== 32) throw new Error("share key public key must be 32 bytes");
@@ -6249,7 +6263,7 @@ function validateShareDeliveryAuthorizationBytes(bytesValue, expected) {
6249
6263
  const authorization = assertObject2(root.authorization, AUTHORIZATION_KEYS, "share delivery authorization");
6250
6264
  const proof = assertObject2(root.proof, ["alg", "kid", "signature"], "share delivery authorization proof");
6251
6265
  const request = expected.request;
6252
- if (authorization.type !== "TinyCloudShareDeliveryAuthorization" || authorization.version !== 2 || authorization.dataAuthority !== false || authorization.jti !== request.jti || authorization.shareCid !== request.shareCid || authorization.shareId !== request.shareId || authorization.registrationCid !== request.registrationCid || authorization.delegationCid !== request.delegationCid || authorization.enforcementDelegationCid !== request.enforcementDelegationCid || authorization.envelopeCid !== request.envelopeCid || authorization.policyCid !== request.policyCid || authorization.deliveryEmail !== request.recipientEmail || authorization.shareUrl !== request.shareUrl || authorization.documentName !== request.documentName || authorization.requestBodyDigest !== request.requestBodyDigest || authorization.expiresAt !== request.expiresAt || authorization.idempotencyKey !== request.jti || authorization.reportAbuseToken !== request.jti || authorization.authorityMaterialHandle !== request.registrationCid) {
6266
+ if (authorization.type !== "TinyCloudShareDeliveryAuthorization" || authorization.version !== 2 || authorization.dataAuthority !== false || authorization.jti !== request.jti || authorization.shareCid !== request.shareCid || authorization.shareId !== request.shareId || authorization.registrationCid !== request.registrationCid || authorization.delegationCid !== request.delegationCid || authorization.enforcementDelegationCid !== request.enforcementDelegationCid || authorization.envelopeCid !== request.envelopeCid || authorization.policyCid !== request.policyCid || authorization.deliveryEmail !== request.recipientEmail || authorization.shareUrl !== request.shareUrl || authorization.documentName !== request.documentName || authorization.requestBodyDigest !== request.requestBodyDigest || authorization.expiresAt !== request.expiresAt || authorization.idempotencyKey !== request.idempotencyKey || authorization.reportAbuseToken !== request.jti || authorization.authorityMaterialHandle !== request.registrationCid) {
6253
6267
  throw new Error("share delivery authorization is not bound to the submitted request");
6254
6268
  }
6255
6269
  if (typeof authorization.issuedAt !== "string" || Date.parse(authorization.issuedAt) > Date.now() + 6e4) throw new Error("share delivery authorization issuedAt is invalid");
@@ -6383,14 +6397,42 @@ var SenderShareStore = class {
6383
6397
  await this.keys.delete(shareId);
6384
6398
  }
6385
6399
  };
6400
+
6401
+ // src/delegations/index.ts
6402
+ import {
6403
+ authorizeShare,
6404
+ authorizationMethodForTarget,
6405
+ notifyShare,
6406
+ revokeShare,
6407
+ listShares,
6408
+ showShare,
6409
+ publishTargetShare,
6410
+ publishPolicyShare,
6411
+ claimShare,
6412
+ resumeShareAuthorization,
6413
+ isLegacyShareLink,
6414
+ receiveLegacyShare,
6415
+ migrateShare,
6416
+ MemoryEncryptedShareHistoryStorage,
6417
+ EncryptedSenderShareHistory
6418
+ } from "@tinycloud/share-sdk";
6419
+ import {
6420
+ inspectShare,
6421
+ receiveShare,
6422
+ ShareReceiveError,
6423
+ toShareErrorInfo,
6424
+ verifyBearerEnvelope
6425
+ } from "@tinycloud/share-sdk";
6386
6426
  export {
6387
6427
  DelegationErrorCodes,
6388
6428
  DelegationManager,
6389
6429
  EncodedShareDataSchema,
6430
+ EncryptedSenderShareHistory,
6390
6431
  MAX_CONTENT_BYTES,
6391
6432
  MAX_SEALED_SHARE_CONTENT_BYTES,
6392
6433
  MAX_SHARE_ARTIFACT_BYTES,
6393
6434
  MAX_SHARE_CONTENT_BYTES,
6435
+ MemoryEncryptedShareHistoryStorage,
6394
6436
  MemorySenderShareKeyStorage,
6395
6437
  MemorySenderShareRecordStorage,
6396
6438
  MemoryShareCache,
@@ -6405,6 +6447,7 @@ export {
6405
6447
  ShareConflict,
6406
6448
  ShareEnvelopeError,
6407
6449
  ShareNativeResponseSchema,
6450
+ ShareReceiveError,
6408
6451
  ShareRecipientClient,
6409
6452
  ShareRecipientClientOptionsSchema,
6410
6453
  ShareRecipientPolicySchema,
@@ -6412,7 +6455,10 @@ export {
6412
6455
  ShareResourceSchema,
6413
6456
  SharingService,
6414
6457
  SharingServiceConfigSchema,
6458
+ authorizationMethodForTarget,
6459
+ authorizeShare,
6415
6460
  canonicalOwnerSharePolicy,
6461
+ claimShare,
6416
6462
  computeOwnerShareRegistrationCid,
6417
6463
  computeShareCid,
6418
6464
  createDelegatedShareKey,
@@ -6427,23 +6473,37 @@ export {
6427
6473
  encodeShareUrl,
6428
6474
  encryptShareBytes,
6429
6475
  encryptShareBytesAsync,
6476
+ inspectShare,
6430
6477
  intersectShareCapabilities,
6478
+ isLegacyShareLink,
6431
6479
  isV2ShareLink,
6480
+ listShares,
6481
+ migrateShare,
6432
6482
  normalizeShareActions,
6433
6483
  normalizeShareRecipientTarget,
6434
6484
  normalizeShareResource,
6485
+ notifyShare,
6435
6486
  parseShareArtifact,
6436
6487
  parseShareUrl,
6488
+ publishPolicyShare,
6489
+ publishTargetShare,
6490
+ receiveLegacyShare,
6491
+ receiveShare,
6437
6492
  restoreDelegatedShareKey,
6493
+ resumeShareAuthorization,
6494
+ revokeShare,
6438
6495
  shareCapabilityAllows,
6439
6496
  shareDeliveryTrustedKid,
6497
+ showShare,
6440
6498
  signShareEnvelope,
6499
+ toShareErrorInfo,
6441
6500
  validateEncodedShareData,
6442
6501
  validateOwnerSharePolicyRegistration,
6443
6502
  validateOwnerSharePolicyRegistrationBytes,
6444
6503
  validateReceiveOptions,
6445
6504
  validateShareDeliveryAuthorizationBytes,
6446
6505
  validateSharingServiceConfig,
6506
+ verifyBearerEnvelope,
6447
6507
  verifyShareCid,
6448
6508
  verifyShareEnvelope
6449
6509
  };