@happyvertical/smrt-svelte 0.38.8 → 0.38.10

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/AGENTS.md CHANGED
@@ -287,8 +287,8 @@ is the Svelte 5 reactive wrapper over smrt-web's framework-free `UpdateState`
287
287
  (from `createUpdateState()`). It surfaces `updateAvailable` / `bundle` /
288
288
  `contract` reactively (`$state`/`$derived`) for a toast or reload prompt, and
289
289
  wires SvelteKit's native `updated` store as the **bundle** signal. The
290
- **contract** signal (a manifest-hash change across loads, detected inside the
291
- smrt-web primitive under the build-time-inject decision) is surfaced as-is.
290
+ **contract** signal (a manifest-hash change across loads, or a live `_events`
291
+ manifest-frame mismatch latched by smrt-web on reconnect) is surfaced as-is.
292
292
 
293
293
  `updated` is passed IN as a reactive accessor (`() => updated.current` on modern
294
294
  `$app/state`, or a `$derived` over the legacy `$updated` store) rather than
@@ -48,6 +48,12 @@ function makeStubState() {
48
48
  bundle = true;
49
49
  notify();
50
50
  },
51
+ notifyContractUpdated() {
52
+ if (contract)
53
+ return;
54
+ contract = true;
55
+ notify();
56
+ },
51
57
  ready: Promise.resolve(),
52
58
  dispose() {
53
59
  subs.clear();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-svelte",
3
- "version": "0.38.8",
3
+ "version": "0.38.10",
4
4
  "description": "Svelte 5 components for SMRT user management - auth, users, tenants, roles, permissions, groups",
5
5
  "type": "module",
6
6
  "smrtRawPrimitives": "strict",
@@ -92,10 +92,10 @@
92
92
  "@tanstack/db": "^0.6.14",
93
93
  "@tanstack/svelte-db": "^0.1.91",
94
94
  "esm-env": "^1.2.2",
95
- "@happyvertical/smrt-languages": "0.38.8",
96
- "@happyvertical/smrt-types": "0.38.8",
97
- "@happyvertical/smrt-ui": "0.38.8",
98
- "@happyvertical/smrt-web": "0.38.8"
95
+ "@happyvertical/smrt-languages": "0.38.10",
96
+ "@happyvertical/smrt-types": "0.38.10",
97
+ "@happyvertical/smrt-ui": "0.38.10",
98
+ "@happyvertical/smrt-web": "0.38.10"
99
99
  },
100
100
  "peerDependencies": {
101
101
  "@huggingface/transformers": ">=3.8.1",