@tinycloud/sdk-core 2.2.0-beta.0 → 2.2.0-beta.3
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.cjs +388 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -5
- package/dist/index.d.ts +87 -5
- package/dist/index.js +375 -18
- package/dist/index.js.map +1 -1
- package/package.json +7 -1
package/dist/index.d.cts
CHANGED
|
@@ -226,6 +226,8 @@ interface PermissionEntry {
|
|
|
226
226
|
skipPrefix?: boolean;
|
|
227
227
|
/** Per-entry expiry override, ms-format. */
|
|
228
228
|
expiry?: string;
|
|
229
|
+
/** User/agent-facing context for why this permission is requested. */
|
|
230
|
+
description?: string;
|
|
229
231
|
}
|
|
230
232
|
/**
|
|
231
233
|
* The valid values for `Manifest.defaults`.
|
|
@@ -296,6 +298,8 @@ interface ResourceCapability {
|
|
|
296
298
|
actions: string[];
|
|
297
299
|
/** Per-entry expiry override in milliseconds. */
|
|
298
300
|
expiryMs?: number;
|
|
301
|
+
/** User/agent-facing context copied from the source permission entry. */
|
|
302
|
+
description?: string;
|
|
299
303
|
}
|
|
300
304
|
/**
|
|
301
305
|
* A resolved delegation entry with fully-expanded permissions.
|
|
@@ -2131,8 +2135,8 @@ declare const ShareLinkSchema: z.ZodObject<{
|
|
|
2131
2135
|
};
|
|
2132
2136
|
token: string;
|
|
2133
2137
|
schema: "base64" | "compact" | "ipfs";
|
|
2134
|
-
expiresAt?: Date | undefined;
|
|
2135
2138
|
description?: string | undefined;
|
|
2139
|
+
expiresAt?: Date | undefined;
|
|
2136
2140
|
}, {
|
|
2137
2141
|
url: string;
|
|
2138
2142
|
delegation: {
|
|
@@ -2151,8 +2155,8 @@ declare const ShareLinkSchema: z.ZodObject<{
|
|
|
2151
2155
|
};
|
|
2152
2156
|
token: string;
|
|
2153
2157
|
schema: "base64" | "compact" | "ipfs";
|
|
2154
|
-
expiresAt?: Date | undefined;
|
|
2155
2158
|
description?: string | undefined;
|
|
2159
|
+
expiresAt?: Date | undefined;
|
|
2156
2160
|
}>;
|
|
2157
2161
|
type ShareLink = z.infer<typeof ShareLinkSchema>;
|
|
2158
2162
|
type ShareLinkData<T = unknown> = {
|
|
@@ -2209,15 +2213,15 @@ declare const GenerateShareParamsSchema: z.ZodObject<{
|
|
|
2209
2213
|
path: string;
|
|
2210
2214
|
actions?: string[] | undefined;
|
|
2211
2215
|
expiry?: Date | undefined;
|
|
2212
|
-
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2213
2216
|
description?: string | undefined;
|
|
2217
|
+
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2214
2218
|
baseUrl?: string | undefined;
|
|
2215
2219
|
}, {
|
|
2216
2220
|
path: string;
|
|
2217
2221
|
actions?: string[] | undefined;
|
|
2218
2222
|
expiry?: Date | undefined;
|
|
2219
|
-
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2220
2223
|
description?: string | undefined;
|
|
2224
|
+
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2221
2225
|
baseUrl?: string | undefined;
|
|
2222
2226
|
}>;
|
|
2223
2227
|
type GenerateShareParams = z.infer<typeof GenerateShareParamsSchema>;
|
|
@@ -4433,4 +4437,82 @@ interface NodeInfo {
|
|
|
4433
4437
|
}
|
|
4434
4438
|
declare function checkNodeInfo(host: string, sdkProtocol: number, fetchFn?: typeof globalThis.fetch): Promise<NodeInfo>;
|
|
4435
4439
|
|
|
4436
|
-
|
|
4440
|
+
/**
|
|
4441
|
+
* TinyCloud location registry helpers.
|
|
4442
|
+
*
|
|
4443
|
+
* The registry maps a DID to one or more multiaddrs. Registry records are
|
|
4444
|
+
* signed by the DID subject; centralized storage is only a discovery cache.
|
|
4445
|
+
*/
|
|
4446
|
+
interface LocationRecordPayload {
|
|
4447
|
+
version: 1;
|
|
4448
|
+
subject: string;
|
|
4449
|
+
multiaddrs: string[];
|
|
4450
|
+
updated_at: string;
|
|
4451
|
+
sequence: number;
|
|
4452
|
+
}
|
|
4453
|
+
interface LocationRecord extends LocationRecordPayload {
|
|
4454
|
+
signature: string;
|
|
4455
|
+
}
|
|
4456
|
+
type LocationSource = "explicit" | "blockchain" | "centralized" | "fallback";
|
|
4457
|
+
interface LocationCandidate {
|
|
4458
|
+
source: LocationSource;
|
|
4459
|
+
multiaddrs: string[];
|
|
4460
|
+
record?: LocationRecord;
|
|
4461
|
+
}
|
|
4462
|
+
interface LocationResolutionAttempt {
|
|
4463
|
+
source: LocationSource;
|
|
4464
|
+
candidate?: LocationCandidate;
|
|
4465
|
+
error?: Error;
|
|
4466
|
+
}
|
|
4467
|
+
interface ResolvedCloudLocation {
|
|
4468
|
+
subject: string;
|
|
4469
|
+
source: LocationSource;
|
|
4470
|
+
multiaddrs: string[];
|
|
4471
|
+
record?: LocationRecord;
|
|
4472
|
+
attempts: LocationResolutionAttempt[];
|
|
4473
|
+
resolvedAt: string;
|
|
4474
|
+
}
|
|
4475
|
+
interface ResolveCloudLocationOptions {
|
|
4476
|
+
/** Highest-priority location supplied directly by the caller. */
|
|
4477
|
+
explicitMultiaddrs?: string[];
|
|
4478
|
+
/** Optional blockchain resolver adapter. */
|
|
4479
|
+
blockchain?: (subject: string) => Promise<LocationCandidateInput | null | undefined>;
|
|
4480
|
+
/** Centralized location registry base URL, e.g. https://registry.tinycloud.xyz. */
|
|
4481
|
+
centralizedRegistryUrl?: string;
|
|
4482
|
+
/** Lowest-priority fallback location. */
|
|
4483
|
+
fallbackMultiaddrs?: string[];
|
|
4484
|
+
/** Custom fetch implementation. Defaults to globalThis.fetch. */
|
|
4485
|
+
fetch?: typeof fetch;
|
|
4486
|
+
/** Verify centralized/blockchain record signatures. Default true. */
|
|
4487
|
+
verifyRecords?: boolean;
|
|
4488
|
+
}
|
|
4489
|
+
type LocationCandidateInput = string[] | LocationRecord | {
|
|
4490
|
+
multiaddrs: string[];
|
|
4491
|
+
record?: LocationRecord;
|
|
4492
|
+
};
|
|
4493
|
+
type LocationRecordSigner = {
|
|
4494
|
+
type: "did:pkh";
|
|
4495
|
+
signMessage(message: string): Promise<string>;
|
|
4496
|
+
} | {
|
|
4497
|
+
type: "did:key";
|
|
4498
|
+
signBytes(bytes: Uint8Array): Promise<Uint8Array>;
|
|
4499
|
+
};
|
|
4500
|
+
declare class LocationRecordValidationError extends Error {
|
|
4501
|
+
constructor(message: string);
|
|
4502
|
+
}
|
|
4503
|
+
declare class CloudLocationResolutionError extends Error {
|
|
4504
|
+
readonly attempts: LocationResolutionAttempt[];
|
|
4505
|
+
constructor(subject: string, attempts: LocationResolutionAttempt[]);
|
|
4506
|
+
}
|
|
4507
|
+
declare function locationPayloadForRecord(record: LocationRecord): LocationRecordPayload;
|
|
4508
|
+
declare function canonicalLocationPayload(payload: LocationRecordPayload): string;
|
|
4509
|
+
declare function signLocationRecord(payload: LocationRecordPayload, signer: LocationRecordSigner): Promise<LocationRecord>;
|
|
4510
|
+
declare function validateLocationRecordPayload(input: unknown): LocationRecordPayload;
|
|
4511
|
+
declare function validateLocationRecord(input: unknown): LocationRecord;
|
|
4512
|
+
declare function verifyLocationRecord(input: LocationRecord): Promise<boolean>;
|
|
4513
|
+
declare function fetchLocationRecord(registryUrl: string, subject: string, fetchFn?: typeof fetch): Promise<LocationRecord | null>;
|
|
4514
|
+
declare function resolveCloudLocation(subject: string, options?: ResolveCloudLocationOptions): Promise<ResolvedCloudLocation>;
|
|
4515
|
+
declare function multiaddrToHttpUrl(input: string): string;
|
|
4516
|
+
declare function httpUrlToMultiaddr(input: string): string;
|
|
4517
|
+
|
|
4518
|
+
export { ACCOUNT_REGISTRY_PATH, ACCOUNT_REGISTRY_SPACE, type AbilitiesMap, AutoApproveSpaceCreationHandler, type AutoRejectStrategy, type AutoSignStrategy, type Bytes, type CallbackStrategy, type CapabilityEntry, CapabilityKeyRegistry, type CapabilityKeyRegistryErrorCode, CapabilityKeyRegistryErrorCodes, type ClientSession, ClientSessionSchema, CloudLocationResolutionError, type ComposeManifestOptions, type ComposedManifestRequest, type CreateDelegationFunction, type CreateDelegationParams, type CreateDelegationWasmParams, type CreateDelegationWasmResult, DEFAULT_DEFAULTS, DEFAULT_EXPIRY, DEFAULT_MANIFEST_SPACE, DEFAULT_MANIFEST_VERSION, type DelegatedResource, type Delegation, type DelegationApiResponse, type DelegationChain, type DelegationChainV2, type DelegationDirection, type DelegationError, type DelegationErrorCode, DelegationErrorCodes, type DelegationFilters, DelegationManager, type DelegationManagerConfig, type DelegationRecord, type Result as DelegationResult, type EncodedShareData, type EnsData, EnsDataSchema, type EventEmitterStrategy, type Extension, type GenerateShareParams, type ICapabilityKeyRegistry, type IENSResolver, type INotificationHandler, type ISessionManager, type ISessionStorage, type ISharingService, type ISigner, type ISpace, type ISpaceCreationHandler, type ISpaceScopedDelegations, type ISpaceScopedSharing, type ISpaceService, type IUserAuthorization, type IWasmBindings, type IngestOptions, type JWK, type KeyInfo, type KeyProvider, type KeyType, type LocationCandidate, type LocationCandidateInput, type LocationRecord, type LocationRecordPayload, type LocationRecordSigner, LocationRecordValidationError, type LocationResolutionAttempt, type LocationSource, type Manifest, type ManifestDefaults, type ManifestRegistryRecord, ManifestValidationError, type NodeInfo, type ParseRecapFromSiwe, type PartialSiweMessage, type PermissionEntry, PermissionNotInManifestError, type PersistedSessionData, type PersistedTinyCloudSession, ProtocolMismatchError, type ReceiveOptions, type ResolveCloudLocationOptions, type ResolvedCapabilities, type ResolvedCloudLocation, type ResolvedDelegate, type ResourceCapability, SERVICE_LONG_TO_SHORT, SERVICE_SHORT_TO_LONG, type ServerHost, SessionExpiredError, type ShareAccess, type ShareLink, type ShareLinkData, type ShareSchema, SharingService, type SharingServiceConfig, type SignCallback, type SignInOptions, type SignRequest, type SignResponse, type SignStrategy, SilentNotificationHandler, type SiweConfig, SiweConfigSchema, Space, type SpaceAbilitiesMap, type SpaceConfig, type SpaceCreationContext, type SpaceDelegationParams, type SpaceErrorCode, SpaceErrorCodes, type SpaceHostResult, type SpaceInfo, type SpaceOwnership, SpaceService, type SpaceServiceConfig, type StoredDelegationChain, type SubsetCheckResult, TinyCloud, type TinyCloudConfig, type TinyCloudSession, UnsupportedFeatureError, type UserAuthorizationConfig, type ValidationError, VersionCheckError, type WasmRecapEntry, activateSessionWithHost, applyPrefix, buildSpaceUri, canonicalLocationPayload, checkNodeInfo, composeManifestRequest, createCapabilityKeyRegistry, createSharingService, createSpaceService, defaultSignStrategy, defaultSpaceCreationHandler, expandActionShortNames, fetchLocationRecord, fetchPeerId, httpUrlToMultiaddr, isCapabilitySubset, loadManifest, locationPayloadForRecord, makePublicSpaceId, manifestAbilitiesUnion, multiaddrToHttpUrl, normalizeDefaults, parseExpiry, parseRecapCapabilities, parseSpaceUri, resolveCloudLocation, resolveManifest, resourceCapabilitiesToAbilitiesMap, resourceCapabilitiesToSpaceAbilitiesMap, signLocationRecord, submitHostDelegation, validateClientSession, validateLocationRecord, validateLocationRecordPayload, validateManifest, validatePersistedSessionData, verifyLocationRecord };
|
package/dist/index.d.ts
CHANGED
|
@@ -226,6 +226,8 @@ interface PermissionEntry {
|
|
|
226
226
|
skipPrefix?: boolean;
|
|
227
227
|
/** Per-entry expiry override, ms-format. */
|
|
228
228
|
expiry?: string;
|
|
229
|
+
/** User/agent-facing context for why this permission is requested. */
|
|
230
|
+
description?: string;
|
|
229
231
|
}
|
|
230
232
|
/**
|
|
231
233
|
* The valid values for `Manifest.defaults`.
|
|
@@ -296,6 +298,8 @@ interface ResourceCapability {
|
|
|
296
298
|
actions: string[];
|
|
297
299
|
/** Per-entry expiry override in milliseconds. */
|
|
298
300
|
expiryMs?: number;
|
|
301
|
+
/** User/agent-facing context copied from the source permission entry. */
|
|
302
|
+
description?: string;
|
|
299
303
|
}
|
|
300
304
|
/**
|
|
301
305
|
* A resolved delegation entry with fully-expanded permissions.
|
|
@@ -2131,8 +2135,8 @@ declare const ShareLinkSchema: z.ZodObject<{
|
|
|
2131
2135
|
};
|
|
2132
2136
|
token: string;
|
|
2133
2137
|
schema: "base64" | "compact" | "ipfs";
|
|
2134
|
-
expiresAt?: Date | undefined;
|
|
2135
2138
|
description?: string | undefined;
|
|
2139
|
+
expiresAt?: Date | undefined;
|
|
2136
2140
|
}, {
|
|
2137
2141
|
url: string;
|
|
2138
2142
|
delegation: {
|
|
@@ -2151,8 +2155,8 @@ declare const ShareLinkSchema: z.ZodObject<{
|
|
|
2151
2155
|
};
|
|
2152
2156
|
token: string;
|
|
2153
2157
|
schema: "base64" | "compact" | "ipfs";
|
|
2154
|
-
expiresAt?: Date | undefined;
|
|
2155
2158
|
description?: string | undefined;
|
|
2159
|
+
expiresAt?: Date | undefined;
|
|
2156
2160
|
}>;
|
|
2157
2161
|
type ShareLink = z.infer<typeof ShareLinkSchema>;
|
|
2158
2162
|
type ShareLinkData<T = unknown> = {
|
|
@@ -2209,15 +2213,15 @@ declare const GenerateShareParamsSchema: z.ZodObject<{
|
|
|
2209
2213
|
path: string;
|
|
2210
2214
|
actions?: string[] | undefined;
|
|
2211
2215
|
expiry?: Date | undefined;
|
|
2212
|
-
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2213
2216
|
description?: string | undefined;
|
|
2217
|
+
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2214
2218
|
baseUrl?: string | undefined;
|
|
2215
2219
|
}, {
|
|
2216
2220
|
path: string;
|
|
2217
2221
|
actions?: string[] | undefined;
|
|
2218
2222
|
expiry?: Date | undefined;
|
|
2219
|
-
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2220
2223
|
description?: string | undefined;
|
|
2224
|
+
schema?: "base64" | "compact" | "ipfs" | undefined;
|
|
2221
2225
|
baseUrl?: string | undefined;
|
|
2222
2226
|
}>;
|
|
2223
2227
|
type GenerateShareParams = z.infer<typeof GenerateShareParamsSchema>;
|
|
@@ -4433,4 +4437,82 @@ interface NodeInfo {
|
|
|
4433
4437
|
}
|
|
4434
4438
|
declare function checkNodeInfo(host: string, sdkProtocol: number, fetchFn?: typeof globalThis.fetch): Promise<NodeInfo>;
|
|
4435
4439
|
|
|
4436
|
-
|
|
4440
|
+
/**
|
|
4441
|
+
* TinyCloud location registry helpers.
|
|
4442
|
+
*
|
|
4443
|
+
* The registry maps a DID to one or more multiaddrs. Registry records are
|
|
4444
|
+
* signed by the DID subject; centralized storage is only a discovery cache.
|
|
4445
|
+
*/
|
|
4446
|
+
interface LocationRecordPayload {
|
|
4447
|
+
version: 1;
|
|
4448
|
+
subject: string;
|
|
4449
|
+
multiaddrs: string[];
|
|
4450
|
+
updated_at: string;
|
|
4451
|
+
sequence: number;
|
|
4452
|
+
}
|
|
4453
|
+
interface LocationRecord extends LocationRecordPayload {
|
|
4454
|
+
signature: string;
|
|
4455
|
+
}
|
|
4456
|
+
type LocationSource = "explicit" | "blockchain" | "centralized" | "fallback";
|
|
4457
|
+
interface LocationCandidate {
|
|
4458
|
+
source: LocationSource;
|
|
4459
|
+
multiaddrs: string[];
|
|
4460
|
+
record?: LocationRecord;
|
|
4461
|
+
}
|
|
4462
|
+
interface LocationResolutionAttempt {
|
|
4463
|
+
source: LocationSource;
|
|
4464
|
+
candidate?: LocationCandidate;
|
|
4465
|
+
error?: Error;
|
|
4466
|
+
}
|
|
4467
|
+
interface ResolvedCloudLocation {
|
|
4468
|
+
subject: string;
|
|
4469
|
+
source: LocationSource;
|
|
4470
|
+
multiaddrs: string[];
|
|
4471
|
+
record?: LocationRecord;
|
|
4472
|
+
attempts: LocationResolutionAttempt[];
|
|
4473
|
+
resolvedAt: string;
|
|
4474
|
+
}
|
|
4475
|
+
interface ResolveCloudLocationOptions {
|
|
4476
|
+
/** Highest-priority location supplied directly by the caller. */
|
|
4477
|
+
explicitMultiaddrs?: string[];
|
|
4478
|
+
/** Optional blockchain resolver adapter. */
|
|
4479
|
+
blockchain?: (subject: string) => Promise<LocationCandidateInput | null | undefined>;
|
|
4480
|
+
/** Centralized location registry base URL, e.g. https://registry.tinycloud.xyz. */
|
|
4481
|
+
centralizedRegistryUrl?: string;
|
|
4482
|
+
/** Lowest-priority fallback location. */
|
|
4483
|
+
fallbackMultiaddrs?: string[];
|
|
4484
|
+
/** Custom fetch implementation. Defaults to globalThis.fetch. */
|
|
4485
|
+
fetch?: typeof fetch;
|
|
4486
|
+
/** Verify centralized/blockchain record signatures. Default true. */
|
|
4487
|
+
verifyRecords?: boolean;
|
|
4488
|
+
}
|
|
4489
|
+
type LocationCandidateInput = string[] | LocationRecord | {
|
|
4490
|
+
multiaddrs: string[];
|
|
4491
|
+
record?: LocationRecord;
|
|
4492
|
+
};
|
|
4493
|
+
type LocationRecordSigner = {
|
|
4494
|
+
type: "did:pkh";
|
|
4495
|
+
signMessage(message: string): Promise<string>;
|
|
4496
|
+
} | {
|
|
4497
|
+
type: "did:key";
|
|
4498
|
+
signBytes(bytes: Uint8Array): Promise<Uint8Array>;
|
|
4499
|
+
};
|
|
4500
|
+
declare class LocationRecordValidationError extends Error {
|
|
4501
|
+
constructor(message: string);
|
|
4502
|
+
}
|
|
4503
|
+
declare class CloudLocationResolutionError extends Error {
|
|
4504
|
+
readonly attempts: LocationResolutionAttempt[];
|
|
4505
|
+
constructor(subject: string, attempts: LocationResolutionAttempt[]);
|
|
4506
|
+
}
|
|
4507
|
+
declare function locationPayloadForRecord(record: LocationRecord): LocationRecordPayload;
|
|
4508
|
+
declare function canonicalLocationPayload(payload: LocationRecordPayload): string;
|
|
4509
|
+
declare function signLocationRecord(payload: LocationRecordPayload, signer: LocationRecordSigner): Promise<LocationRecord>;
|
|
4510
|
+
declare function validateLocationRecordPayload(input: unknown): LocationRecordPayload;
|
|
4511
|
+
declare function validateLocationRecord(input: unknown): LocationRecord;
|
|
4512
|
+
declare function verifyLocationRecord(input: LocationRecord): Promise<boolean>;
|
|
4513
|
+
declare function fetchLocationRecord(registryUrl: string, subject: string, fetchFn?: typeof fetch): Promise<LocationRecord | null>;
|
|
4514
|
+
declare function resolveCloudLocation(subject: string, options?: ResolveCloudLocationOptions): Promise<ResolvedCloudLocation>;
|
|
4515
|
+
declare function multiaddrToHttpUrl(input: string): string;
|
|
4516
|
+
declare function httpUrlToMultiaddr(input: string): string;
|
|
4517
|
+
|
|
4518
|
+
export { ACCOUNT_REGISTRY_PATH, ACCOUNT_REGISTRY_SPACE, type AbilitiesMap, AutoApproveSpaceCreationHandler, type AutoRejectStrategy, type AutoSignStrategy, type Bytes, type CallbackStrategy, type CapabilityEntry, CapabilityKeyRegistry, type CapabilityKeyRegistryErrorCode, CapabilityKeyRegistryErrorCodes, type ClientSession, ClientSessionSchema, CloudLocationResolutionError, type ComposeManifestOptions, type ComposedManifestRequest, type CreateDelegationFunction, type CreateDelegationParams, type CreateDelegationWasmParams, type CreateDelegationWasmResult, DEFAULT_DEFAULTS, DEFAULT_EXPIRY, DEFAULT_MANIFEST_SPACE, DEFAULT_MANIFEST_VERSION, type DelegatedResource, type Delegation, type DelegationApiResponse, type DelegationChain, type DelegationChainV2, type DelegationDirection, type DelegationError, type DelegationErrorCode, DelegationErrorCodes, type DelegationFilters, DelegationManager, type DelegationManagerConfig, type DelegationRecord, type Result as DelegationResult, type EncodedShareData, type EnsData, EnsDataSchema, type EventEmitterStrategy, type Extension, type GenerateShareParams, type ICapabilityKeyRegistry, type IENSResolver, type INotificationHandler, type ISessionManager, type ISessionStorage, type ISharingService, type ISigner, type ISpace, type ISpaceCreationHandler, type ISpaceScopedDelegations, type ISpaceScopedSharing, type ISpaceService, type IUserAuthorization, type IWasmBindings, type IngestOptions, type JWK, type KeyInfo, type KeyProvider, type KeyType, type LocationCandidate, type LocationCandidateInput, type LocationRecord, type LocationRecordPayload, type LocationRecordSigner, LocationRecordValidationError, type LocationResolutionAttempt, type LocationSource, type Manifest, type ManifestDefaults, type ManifestRegistryRecord, ManifestValidationError, type NodeInfo, type ParseRecapFromSiwe, type PartialSiweMessage, type PermissionEntry, PermissionNotInManifestError, type PersistedSessionData, type PersistedTinyCloudSession, ProtocolMismatchError, type ReceiveOptions, type ResolveCloudLocationOptions, type ResolvedCapabilities, type ResolvedCloudLocation, type ResolvedDelegate, type ResourceCapability, SERVICE_LONG_TO_SHORT, SERVICE_SHORT_TO_LONG, type ServerHost, SessionExpiredError, type ShareAccess, type ShareLink, type ShareLinkData, type ShareSchema, SharingService, type SharingServiceConfig, type SignCallback, type SignInOptions, type SignRequest, type SignResponse, type SignStrategy, SilentNotificationHandler, type SiweConfig, SiweConfigSchema, Space, type SpaceAbilitiesMap, type SpaceConfig, type SpaceCreationContext, type SpaceDelegationParams, type SpaceErrorCode, SpaceErrorCodes, type SpaceHostResult, type SpaceInfo, type SpaceOwnership, SpaceService, type SpaceServiceConfig, type StoredDelegationChain, type SubsetCheckResult, TinyCloud, type TinyCloudConfig, type TinyCloudSession, UnsupportedFeatureError, type UserAuthorizationConfig, type ValidationError, VersionCheckError, type WasmRecapEntry, activateSessionWithHost, applyPrefix, buildSpaceUri, canonicalLocationPayload, checkNodeInfo, composeManifestRequest, createCapabilityKeyRegistry, createSharingService, createSpaceService, defaultSignStrategy, defaultSpaceCreationHandler, expandActionShortNames, fetchLocationRecord, fetchPeerId, httpUrlToMultiaddr, isCapabilitySubset, loadManifest, locationPayloadForRecord, makePublicSpaceId, manifestAbilitiesUnion, multiaddrToHttpUrl, normalizeDefaults, parseExpiry, parseRecapCapabilities, parseSpaceUri, resolveCloudLocation, resolveManifest, resourceCapabilitiesToAbilitiesMap, resourceCapabilitiesToSpaceAbilitiesMap, signLocationRecord, submitHostDelegation, validateClientSession, validateLocationRecord, validateLocationRecordPayload, validateManifest, validatePersistedSessionData, verifyLocationRecord };
|