@tinycloud/web-sdk 3.12.0-beta.13 → 3.12.0-beta.14

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.
@@ -26,7 +26,7 @@ export declare function isPanelGrant(grant: PortableDelegation, address: string)
26
26
  * Stores the panel's own grants among `grants` for `address`, replacing a stored grant with the same cid. Other
27
27
  * delegations (an app's larger grant that already covered the request) are never stored.
28
28
  */
29
- export declare function rememberRuntimeGrants(store: RuntimeGrantStore, address: string, grants: readonly PortableDelegation[]): Promise<void>;
29
+ export declare function rememberRuntimeGrants(store: RuntimeGrantStore, address: string, grants: readonly PortableDelegation[], isCurrent?: () => boolean): Promise<void>;
30
30
  /**
31
31
  * Activates each stored grant through `use` (the SDK's validated activation). A grant refused for good is removed from
32
32
  * storage; the others stay, including one whose activation failed for a transient reason. Waits at most `budgetMs`;
@@ -230,6 +230,7 @@ export declare class TinyCloudWeb {
230
230
  /** The signer set with `setRuntimePermissionSigner`, with the session it was set for. */
231
231
  private runtimeSigner?;
232
232
  private signOutInFlight;
233
+ private signOutOperation?;
233
234
  private persistedRestoreBlocked;
234
235
  private signOutCleanupFailed;
235
236
  private remoteSignOutTimeoutMs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/web-sdk",
3
- "version": "3.12.0-beta.13",
3
+ "version": "3.12.0-beta.14",
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",
@@ -67,9 +67,9 @@
67
67
  "@multiformats/multiaddr": "^13.0.1",
68
68
  "@multiformats/multiaddr-to-uri": "^12.0.0",
69
69
  "@noble/curves": "^1.9.7",
70
- "@tinycloud/node-sdk": "3.12.0-beta.13",
70
+ "@tinycloud/node-sdk": "3.12.0-beta.14",
71
71
  "@tinycloud/replica": "0.4.5-beta.4",
72
- "@tinycloud/sdk-core": "3.12.0-beta.13",
72
+ "@tinycloud/sdk-core": "3.12.0-beta.14",
73
73
  "@tinycloud/share-envelope": "1.5.0",
74
74
  "@tinycloud/share-sdk": "1.5.0-beta.0",
75
75
  "@tinycloud/web-sdk-wasm": "1.7.7",