@tinycloud/web-sdk 3.14.0-beta.9 → 3.16.0
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/README.md +2 -2
- package/dist/delegations-issued.cjs +1 -1
- package/dist/delegations-issued.mjs +1 -1
- package/dist/delegations-renewal.cjs +1 -1
- package/dist/delegations-renewal.mjs +1 -1
- package/dist/encryption-keys.cjs +1 -1
- package/dist/encryption-keys.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +1 -1
- package/dist/modals.cjs +2 -1
- package/dist/modals.cjs.LICENSE.txt +23 -0
- package/dist/modals.mjs +2 -1
- package/dist/modals.mjs.LICENSE.txt +23 -0
- package/dist/modules/WebSecretsService.d.ts +19 -4
- package/dist/modules/requestPermissionsCore.d.ts +10 -1
- package/dist/modules/runtimeGrantPersistence.d.ts +42 -2
- package/dist/modules/tcw.d.ts +74 -11
- package/dist/notifications/PermissionRequestModal.d.ts +10 -0
- package/dist/notifications/permissionLine.d.ts +90 -0
- package/dist/registry-publish.d.ts +72 -0
- package/dist/runtime-grants.cjs +1 -1
- package/dist/runtime-grants.mjs +1 -1
- package/dist/secret-read.cjs +1 -1
- package/dist/secret-read.mjs +1 -1
- package/dist/space-hosting-entry.d.ts +1 -1
- package/dist/space-hosting.cjs +1 -1
- package/dist/space-hosting.mjs +1 -1
- package/package.json +12 -7
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { SessionAccountMismatchError } from "./modules/restoreAccount";
|
|
|
2
2
|
export { sharePlacementCore as __sharePlacementCore } from "./share-placement-core";
|
|
3
3
|
export { TinyCloudWeb, type Config, type RuntimePermissionSigner, type ShareReceiveResult, type SessionRestoreResult, type SessionRestoreStatus, } from "./modules/tcw";
|
|
4
4
|
export type { TinyCloudUI, UiConfig, UiPosition } from "./ui";
|
|
5
|
+
export type { RegistryPublishOutcome } from "./registry-publish";
|
|
5
6
|
export { establishOpenKeySession, type EstablishOpenKeySessionOptions, type EstablishOpenKeySessionResult, type EstablishOpenKeySessionStatus, } from "./openkey-session";
|
|
6
7
|
export { OpenKeySigningKeyError, type OpenKeySigningKeyErrorCode, } from "./openkey-signing-key";
|
|
7
8
|
export { establishManageKeySession, type EstablishManageKeySessionOptions, type EstablishManageKeySessionResult, } from "./manage-key-session";
|
|
@@ -18,7 +19,7 @@ export { ModalSpaceCreationHandler, type ModalSpaceCreationHandlerOptions, type
|
|
|
18
19
|
export { AWAITING_USER_INPUT_ATTRIBUTE, AWAITING_USER_INPUT_EVENT, AWAITING_USER_INPUT_RESOLVED_EVENT, type AwaitingUserInputDetail, type AwaitingUserInputOutcome, type AwaitingUserInputResolvedDetail, pendingUserInputKind, } from "./notifications/awaitingUserInput";
|
|
19
20
|
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";
|
|
20
21
|
export * from "./providers";
|
|
21
|
-
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, isStorageFullError, STORAGE_FULL_MESSAGE, STORAGE_WRITE_TOO_LARGE_MESSAGE, STORAGE_MANAGE_URL, storageUsageState, } from "@tinycloud/sdk-core";
|
|
22
|
+
export { type ClientSession, type ClientSignInResult, type SignInResult, type SignInWarning, 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, isStorageFullError, STORAGE_FULL_MESSAGE, STORAGE_WRITE_TOO_LARGE_MESSAGE, STORAGE_MANAGE_URL, storageUsageState, } from "@tinycloud/sdk-core";
|
|
22
23
|
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, StorageAccountUsage, StorageFullEvent, StorageStatus, StorageStatusOptions, StorageUsage, StorageUsageState, IStorageService, } from "@tinycloud/sdk-core";
|
|
23
24
|
export { KVService, PrefixedKVService, type IKVService, type KVResponse, type IPrefixedKVService, } from "@tinycloud/sdk-core";
|
|
24
25
|
export { HooksService } from "@tinycloud/sdk-core";
|
|
@@ -27,7 +28,7 @@ export { DelegationManager, type DelegationManagerConfig, type Delegation, type
|
|
|
27
28
|
export { CapabilityKeyRegistry, type ICapabilityKeyRegistry, createCapabilityKeyRegistry, type StoredDelegationChain, CapabilityKeyRegistryErrorCodes, type CapabilityKeyRegistryErrorCode, } from "@tinycloud/sdk-core";
|
|
28
29
|
export { SpaceService, type ISpaceService, type SpaceServiceConfig, SpaceErrorCodes, type SpaceErrorCode, createSpaceService, parseSpaceUri, buildSpaceUri, makePublicSpaceId, Space, type ISpace, type SpaceConfig, type ISpaceScopedDelegations, type ISpaceScopedSharing, } from "@tinycloud/sdk-core";
|
|
29
30
|
export { ProtocolMismatchError, VersionCheckError, UnsupportedFeatureError, checkNodeInfo, } from "@tinycloud/sdk-core";
|
|
30
|
-
export { DataVaultService, VaultPublicSpaceKVActions, createVaultCrypto, SecretsService, SECRET_NAME_RE, canonicalizeSecretScope, appSecretScope, SECRET_SCOPE_RE, MAX_SECRET_SCOPE_LENGTH, TC832_RESERVED_SCOPES, parseSecretCatalogKey, resolveSecretListPrefix, resolveSecretPath, type WasmVaultFunctions, type VaultHeaders, type IDataVaultService, type VaultCrypto, type DataVaultConfig, type VaultPutOptions, type VaultGetOptions, type VaultListOptions, type VaultGrantOptions, type VaultEntry, type VaultNetworkReadResult, type VaultError, type ISecretsService, type SecretCatalogEntry, type SecretEntry, type SecretPayload, type SecretType, type SecretsError, type ResolvedSecretPath, type ParsedSecretCatalogKey, type SecretScopeOptions, type SecretPutOptions, } from "@tinycloud/sdk-core";
|
|
31
|
+
export { DataVaultService, VaultPublicSpaceKVActions, createVaultCrypto, SecretsService, SECRET_NAME_RE, canonicalizeSecretScope, appSecretScope, SECRET_SCOPE_RE, MAX_SECRET_SCOPE_LENGTH, TC832_RESERVED_SCOPES, parseSecretCatalogKey, resolveSecretListPrefix, resolveSecretPath, type WasmVaultFunctions, type VaultHeaders, type IDataVaultService, type VaultCrypto, type DataVaultConfig, type VaultPutOptions, type VaultGetOptions, type VaultListOptions, type VaultGrantOptions, type VaultEntry, type VaultNetworkReadResult, type VaultError, type ISecretsService, type SecretCatalogEntry, type SecretEntry, type SecretPayload, type SecretType, type SecretsError, type ResolvedSecretPath, type ParsedSecretCatalogKey, type SecretScopeOptions, type SecretPutOptions, type SecretGetOptions, } from "@tinycloud/sdk-core";
|
|
31
32
|
export { EncryptionService, DecryptTransportResponseError, canonicalizeNetworkId, parseNetworkId, parseCanonicalNetworkId, buildNetworkId, isNetworkId, networkDiscoveryKey, NetworkIdError, ENCRYPTION_NETWORK_URN_PREFIX, NETWORK_NAME_PATTERN, canonicalizeEncryptionJson, canonicalHashHex, hexEncode, hexDecode, encryptionBase64Encode, encryptionBase64Decode, encryptionUtf8Encode, encryptionUtf8Decode, encryptToNetwork, decryptEnvelopeWithKey, validateEnvelope, generateRandomReceiverKey, deriveSignedReceiverKey, buildCanonicalDecryptRequest, buildDecryptFacts, buildDecryptAttenuation, buildDecryptInvocation, checkDecryptInvocationInput, verifyDecryptResponse, canonicalSignedResponse, openWrappedKey, discoverNetwork, ensureNetworkUsableForDecrypt, DEFAULT_ENCRYPTION_ALG, ENVELOPE_VERSION, DEFAULT_KEY_VERSION, DECRYPT_FACT_TYPE, DECRYPT_RESULT_TYPE, DECRYPT_ACTION, ENCRYPTION_SERVICE, ENCRYPTION_SERVICE_SHORT, encryptionError, } from "@tinycloud/sdk-core";
|
|
32
33
|
export type { IEncryptionService, EncryptionServiceConfig, DecryptTransport, EncryptToNetworkOptions, DecryptEnvelopeOptions, ParsedNetworkId, BuildDecryptInvocationInput, BuiltDecryptInvocation, CanonicalJson, DecryptCapabilityProof, DecryptInvocationFact, DecryptInvocationSigner, DecryptRequestBody, DecryptResponseBody, EncryptionCrypto, EncryptionError, EncryptionErrorInput, InlineEncryptedEnvelope, NetworkDescriptor, ReceiverKeyPair, ReceiverKeySigner, EncryptToNetworkInput, EncryptToNetworkResult, CanonicalDecryptRequest, BuildCanonicalDecryptRequestInput, BuildDecryptFactsInput, RandomReceiverKeyInput, SignedReceiverKeyInput, VerifyDecryptResponseInput, DiscoverNetworkInput, DiscoveredNetwork, DiscoverySource, NodeDescriptorFetcher, WellKnownDescriptorFetcher, } from "@tinycloud/sdk-core";
|
|
33
34
|
export { createKVService } from "./modules/Storage/tinycloud/KVServiceAdapter";
|