@async/framework 0.11.13 → 0.11.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +3 -0
  3. package/package.json +13 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.14 - 2026-06-18
4
+
5
+ - Added condition-specific root declaration targets so browser-conditioned root
6
+ imports resolve to browser declarations while Node/default root imports keep
7
+ server-capable declarations.
8
+ - Preserved the root browser runtime condition and documented that server-only
9
+ APIs remain on the Node/server entrypoints.
10
+ - Added packed-artifact export-map, declaration/runtime parity, and static
11
+ import checks for root browser, root Node, explicit `/browser`, and explicit
12
+ `/server` entrypoints.
13
+ - Bundle size from bundled TypeScript source: `browser.ts` 187,564 B raw /
14
+ 35,332 B gzip -> `browser.min.js` 80,009 B raw / 23,677 B gzip
15
+ (-107,555 B raw, -11,655 B gzip).
16
+
3
17
  ## 0.11.13 - 2026-06-18
4
18
 
5
19
  - Validated server proxy arguments, default input payloads, and selected signal
package/README.md CHANGED
@@ -306,6 +306,9 @@ patches, and browser-cache patches. Async does not ship a component resume graph
306
306
  For npm consumers, `@async/framework` uses conditional exports: browser-aware
307
307
  tooling receives the browser entry, while Node receives the server-capable
308
308
  entry. Use explicit subpaths when the target matters.
309
+ The root export also uses condition-specific declarations, so browser-conditioned
310
+ root imports expose the same API as `@async/framework/browser`; server-only APIs
311
+ remain declared on the Node/server entrypoints.
309
312
 
310
313
  ```js
311
314
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@async/framework",
3
- "version": "0.11.13",
3
+ "version": "0.11.14",
4
4
  "description": "No-build Loader app runtime with browser and server entrypoints, signals, command events, route partials, cache split, SSR activation, and streaming boundaries.",
5
5
  "type": "module",
6
6
  "main": "./server.js",
@@ -37,10 +37,19 @@
37
37
  "jsdelivr": "./browser.umd.min.js",
38
38
  "exports": {
39
39
  ".": {
40
+ "browser": {
41
+ "types": "./browser.d.ts",
42
+ "default": "./browser.min.js"
43
+ },
44
+ "node": {
45
+ "types": "./framework.d.ts",
46
+ "default": "./server.js"
47
+ },
48
+ "import": {
49
+ "types": "./framework.d.ts",
50
+ "default": "./server.js"
51
+ },
40
52
  "types": "./framework.d.ts",
41
- "browser": "./browser.min.js",
42
- "node": "./server.js",
43
- "import": "./server.js",
44
53
  "default": "./server.js"
45
54
  },
46
55
  "./browser": {