@tinycloud/web-sdk 3.2.6-beta.0 → 3.2.6-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/modules/tcw.d.ts
CHANGED
|
@@ -157,6 +157,8 @@ export declare class TinyCloudWeb {
|
|
|
157
157
|
private walletSigner?;
|
|
158
158
|
private sessionStorage?;
|
|
159
159
|
private _sessionRestoreStatus;
|
|
160
|
+
/** Incremented by signOut; a sign-in that started before it does not complete. */
|
|
161
|
+
private signOutCount;
|
|
160
162
|
private _secrets;
|
|
161
163
|
private _credentialsService?;
|
|
162
164
|
private _shareReceiverService?;
|
|
@@ -290,6 +292,11 @@ export declare class TinyCloudWeb {
|
|
|
290
292
|
private configuredManifestPermissions;
|
|
291
293
|
private restoredSessionCoversConfiguredManifest;
|
|
292
294
|
signIn: (options?: SignInOptions) => Promise<ClientSession>;
|
|
295
|
+
/**
|
|
296
|
+
* Sign out: end the session on this instance and clear the persisted
|
|
297
|
+
* session. Afterwards session accessors return `undefined` and service
|
|
298
|
+
* calls fail with "Not signed in" until the next sign-in or restore.
|
|
299
|
+
*/
|
|
293
300
|
signOut: () => Promise<void>;
|
|
294
301
|
session: () => ClientSession | undefined;
|
|
295
302
|
address: () => string | undefined;
|
|
@@ -54,8 +54,8 @@ export declare const ToastSchema: z.ZodObject<{
|
|
|
54
54
|
timestamp: z.ZodNumber;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
description?: string;
|
|
57
|
-
id?: string;
|
|
58
57
|
type?: "error" | "success" | "warning" | "info" | "loading";
|
|
58
|
+
id?: string;
|
|
59
59
|
title?: string;
|
|
60
60
|
duration?: number;
|
|
61
61
|
action?: {
|
|
@@ -65,8 +65,8 @@ export declare const ToastSchema: z.ZodObject<{
|
|
|
65
65
|
timestamp?: number;
|
|
66
66
|
}, {
|
|
67
67
|
description?: string;
|
|
68
|
-
id?: string;
|
|
69
68
|
type?: "error" | "success" | "warning" | "info" | "loading";
|
|
69
|
+
id?: string;
|
|
70
70
|
title?: string;
|
|
71
71
|
duration?: number;
|
|
72
72
|
action?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinycloud/web-sdk",
|
|
3
|
-
"version": "3.2.6-beta.
|
|
3
|
+
"version": "3.2.6-beta.2",
|
|
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",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@multiformats/multiaddr": "^13.0.1",
|
|
45
45
|
"@multiformats/multiaddr-to-uri": "^12.0.0",
|
|
46
|
-
"@tinycloud/node-sdk": "3.2.6-beta.
|
|
47
|
-
"@tinycloud/sdk-core": "3.2.
|
|
46
|
+
"@tinycloud/node-sdk": "3.2.6-beta.2",
|
|
47
|
+
"@tinycloud/sdk-core": "3.2.6-beta.2",
|
|
48
48
|
"@tinycloud/share-envelope": "1.1.0",
|
|
49
49
|
"@tinycloud/share-sdk": "1.1.1",
|
|
50
50
|
"@tinycloud/web-sdk-wasm": "1.7.6",
|