@tinycloud/web-sdk 3.11.1-beta.0 → 3.11.1
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/modules/tcw.d.ts
CHANGED
|
@@ -181,11 +181,6 @@ export interface SessionRestoreResult {
|
|
|
181
181
|
session?: ClientSession;
|
|
182
182
|
error?: Error;
|
|
183
183
|
}
|
|
184
|
-
/** A session storage that can fence a signed-out session (BrowserSessionStorage); others rely on the in-memory block. */
|
|
185
|
-
export type FenceCapableStorage = ISessionStorage & {
|
|
186
|
-
markSignedOut?: (address: string, signature: string) => void;
|
|
187
|
-
isSignedOut?: (address: string, signature: string) => boolean;
|
|
188
|
-
};
|
|
189
184
|
/**
|
|
190
185
|
* Result of receiving a share link.
|
|
191
186
|
*/
|
|
@@ -236,7 +231,6 @@ export declare class TinyCloudWeb {
|
|
|
236
231
|
private signOutInFlight;
|
|
237
232
|
private persistedRestoreBlocked;
|
|
238
233
|
private signOutCleanupFailed;
|
|
239
|
-
private remoteSignOutTimeoutMs;
|
|
240
234
|
private readonly pendingRestoreAddresses;
|
|
241
235
|
private _secrets;
|
|
242
236
|
private _credentialsService?;
|
|
@@ -405,12 +399,6 @@ export declare class TinyCloudWeb {
|
|
|
405
399
|
* unavailable until a fresh sign-in; prior persisted sessions cannot restore.
|
|
406
400
|
*/
|
|
407
401
|
signOut: () => Promise<void>;
|
|
408
|
-
/**
|
|
409
|
-
* Clears the stored session for `address` only while it is the signing-out session (`ownSignature`); a newer
|
|
410
|
-
* session saved for the same address is left alone. The session is fenced first, so that a clear that fails
|
|
411
|
-
* cannot let a reload restore it.
|
|
412
|
-
*/
|
|
413
|
-
private clearOwnPersistedSession;
|
|
414
402
|
session: () => ClientSession | undefined;
|
|
415
403
|
address: () => string | undefined;
|
|
416
404
|
chainId: () => number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinycloud/web-sdk",
|
|
3
|
-
"version": "3.11.1
|
|
3
|
+
"version": "3.11.1",
|
|
4
4
|
"description": "A set of tools and utilities to help you build your app with TinyCloud.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@multiformats/multiaddr": "^13.0.1",
|
|
67
67
|
"@multiformats/multiaddr-to-uri": "^12.0.0",
|
|
68
68
|
"@noble/curves": "^1.9.7",
|
|
69
|
-
"@tinycloud/node-sdk": "3.11.1
|
|
69
|
+
"@tinycloud/node-sdk": "3.11.1",
|
|
70
70
|
"@tinycloud/replica": "0.4.4",
|
|
71
|
-
"@tinycloud/sdk-core": "3.11.
|
|
71
|
+
"@tinycloud/sdk-core": "3.11.1",
|
|
72
72
|
"@tinycloud/share-envelope": "1.5.0",
|
|
73
73
|
"@tinycloud/share-sdk": "1.4.4",
|
|
74
74
|
"@tinycloud/web-sdk-wasm": "1.7.7",
|