sh3-core 0.10.1 → 0.10.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/Shell.svelte +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/Shell.svelte
CHANGED
|
@@ -104,7 +104,13 @@
|
|
|
104
104
|
// Forwards server-side revocations to the local revocation bus so that
|
|
105
105
|
// onKeyRevoked fires on the owning shard even when the user revokes from
|
|
106
106
|
// the Keys & Peers shell view (not via the shard's own ctx.keys.revoke).
|
|
107
|
+
//
|
|
108
|
+
// Gated on isAuthenticated() because /api/keys/events requires a tenant
|
|
109
|
+
// (via tenantRequired middleware) — opening it as a guest produces a 401
|
|
110
|
+
// that Firefox surfaces as "can't establish a connection." The effect
|
|
111
|
+
// re-runs on login/logout thanks to currentSession being $state.
|
|
107
112
|
$effect(() => {
|
|
113
|
+
if (!isAuthenticated()) return;
|
|
108
114
|
const stop = startServerSideStream();
|
|
109
115
|
return stop;
|
|
110
116
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Auto-generated from package.json — do not edit manually. */
|
|
2
|
-
export declare const VERSION = "0.10.
|
|
2
|
+
export declare const VERSION = "0.10.2";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Auto-generated from package.json — do not edit manually. */
|
|
2
|
-
export const VERSION = '0.10.
|
|
2
|
+
export const VERSION = '0.10.2';
|