@tinycloud/web-sdk 3.0.0-beta.0 → 3.0.0-beta.2

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/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export { TinyCloudWeb, type Config, type ShareReceiveResult, type SessionRestoreResult, type SessionRestoreStatus, } from "./modules/tcw";
2
2
  export { establishOpenKeySession, type EstablishOpenKeySessionOptions, type EstablishOpenKeySessionResult, type EstablishOpenKeySessionStatus, } from "./openkey-session";
3
+ export { establishManageKeySession, type EstablishManageKeySessionOptions, type EstablishManageKeySessionResult, } from "./manage-key-session";
3
4
  export * from "./credentials";
5
+ export * from "./share";
4
6
  export type { SecretReadInput, SecretReadResult, BootstrapWarning } from "@tinycloud/node-sdk";
5
7
  export type { UnifiedOwnerRootInput, UnifiedOwnerRootReceipt } from "@tinycloud/node-sdk/core";
6
8
  export type { CreateOwnerDelegationParams, OwnerDelegationPermission, OwnerDelegationReceipt, RegisterOwnerSharePolicyParams, OwnerSharePolicyRegistrationReceipt, } from "@tinycloud/sdk-core";
@@ -8,7 +10,7 @@ export { BrowserWalletSigner, BrowserSessionStorage, BrowserENSResolver, Browser
8
10
  export type { BrowserSessionLoadResult, BrowserSessionLoadStatus, BrowserSessionStorageOptions, BrowserProvider, BrowserWalletProvider, } from "./adapters";
9
11
  export { ModalSpaceCreationHandler, type ModalSpaceCreationHandlerOptions, type SpaceCreationHandlerConfig, SpaceCreationTimeoutError, DEFAULT_SPACE_CREATION_TIMEOUT_MS, defaultWebSpaceCreationHandler, resolveSpaceCreationHandler, } from "./authorization/WebSpaceCreationHandler";
10
12
  export { AWAITING_USER_INPUT_ATTRIBUTE, AWAITING_USER_INPUT_EVENT, AWAITING_USER_INPUT_RESOLVED_EVENT, type AwaitingUserInputDetail, type AwaitingUserInputOutcome, type AwaitingUserInputResolvedDetail, pendingUserInputKind, } from "./notifications/awaitingUserInput";
11
- export { type SignStrategy, type SignRequest, type SignResponse, type SignCallback, type AutoSignStrategy, type AutoRejectStrategy, type CallbackStrategy, type EventEmitterStrategy, type OpenKeySigningStrategyOptions, type OpenKeySigningRequestBody, type OpenKeySigningResponseBody, type OpenKeyCallbackStrategy, defaultSignStrategy, createOpenKeyCallbackSigningStrategy, type ISpaceCreationHandler, type SpaceCreationContext, AutoApproveSpaceCreationHandler, defaultSpaceCreationHandler, } from "@tinycloud/sdk-core";
13
+ export { type SignStrategy, type SignRequest, type SignResponse, type SignCallback, type AutoSignStrategy, type AutoRejectStrategy, type CallbackStrategy, type EventEmitterStrategy, type OpenKeySigningStrategyOptions, type OpenKeySigningRequestBody, type OpenKeySigningResponseBody, type OpenKeyCallbackStrategy, defaultSignStrategy, createOpenKeyCallbackSigningStrategy, TINYCLOUD_MANAGE_KEY_SCOPE, TINYCLOUD_CANONICAL_IDENTITY_CLAIM, OpenKeyManageKeyError, requestTinyCloudManageKeyScope, hasTinyCloudManageKeyScope, parseCanonicalTinyCloudIdentity, parseCanonicalTinyCloudIdentityClaims, createOpenKeyManageKeySigningStrategy, type CanonicalTinyCloudIdentity, type OpenKeyManageKeyErrorCode, type OpenKeyManageKeySigningRequestBody, type OpenKeyManageKeySigningResponseBody, type OpenKeyManageKeyFetch, type OpenKeyManageKeySigningStrategyOptions, type OpenKeyManageKeyCallbackStrategy, type ISpaceCreationHandler, type SpaceCreationContext, AutoApproveSpaceCreationHandler, defaultSpaceCreationHandler, } from "@tinycloud/sdk-core";
12
14
  export * from "./providers";
13
15
  export { type ClientSession, type SiweConfig, type EnsData, SiweMessage, type ServerHost, type Extension, ClientSessionSchema, EnsDataSchema, SiweConfigSchema, validateClientSession, TinyCloud, type ISigner, type ISessionStorage, type IUserAuthorization as ICoreUserAuthorization, type PersistedSessionData, type PartialSiweMessage, AccountService, TinyCloudDebugLogger, tinyCloudDebugLogger, enableTinyCloudDebug, disableTinyCloudDebug, getTinyCloudDebugLogs, clearTinyCloudDebugLogs, installTinyCloudDebugGlobals, } from "@tinycloud/sdk-core";
14
16
  export type { OwnerShareAction, OwnerShareMatcher, OwnerSharePolicyV2, DelegatedShareKey, SignedDelegation, OwnerSharePolicyRegistration, AccountApplication, AccountApplicationListOptions, AccountApplicationRegisterOptions, AccountDelegation, AccountDelegationListOptions, AccountDelegationRevokeOptions, AccountIndexEnsureResult, AccountIndexRebuildResult, AccountIndexStatus, AccountIndexedReadOptions, AccountServiceConfig, AccountSpace, AccountSpaceListOptions, AccountStatus, RegisterBatchSuccess, SignInOptions, TinyCloudDebugEvent, TinyCloudDebugLevel, TinyCloudDebugEnableOptions, TinyCloudDebugTimer, } from "@tinycloud/sdk-core";