@ai-matrx/media 0.2.2 → 0.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @ai-matrx/media
2
2
 
3
+ ## 0.2.3 — 2026-08-30
4
+
5
+ - `@ai-matrx/associations` is now a REAL dependency (`^0.5.2`) instead of an
6
+ optional peer (register row X3 / law C23: sibling `@ai-matrx/*` packages are
7
+ never peers). It is still consumed only by the `/share` entry, strictly
8
+ through the associations public `/react` surface, and association
9
+ affordances still degrade to ABSENT at runtime without an
10
+ `AssociationsProvider` — the flip changes installation (the graph resolves
11
+ itself; no 4-package peer chase), not behavior. The tarball canary no longer
12
+ installs associations/design-system manually. Peers are now react +
13
+ react-dom only. No code changes.
14
+
3
15
  ## 0.2.2 — 2026-08-30
4
16
 
5
17
  Two thumbnail defect fixes (QA F3/F4 — silent stalls and wasted byte
package/README.md CHANGED
@@ -119,9 +119,10 @@ const SharePopover = createMediaSharePopover({
119
119
  </MediaProvider>
120
120
  ```
121
121
 
122
- Only `/share` carries the `@ai-matrx/associations` peer (optional — install
123
- it, plus `@ai-matrx/design-system` which its `/react` entry loads, to use
124
- this entry). The other entries never do.
122
+ Only `/share` imports `@ai-matrx/associations` — a REAL dependency, installed
123
+ automatically (it brings `@ai-matrx/design-system` with it). Nothing extra to
124
+ resolve; association affordances still degrade to absent at runtime when no
125
+ `AssociationsProvider` wraps the tree. The other entries never touch it.
125
126
 
126
127
  ## Styling
127
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/media",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "The AI Matrx media components kit: durable-ref-only renderers for images, video, audio and file thumbnails that just work with the Matrx file system — headless core hooks plus DOM bindings, wired to an injected MediaClient. A signed URL is a handoff, never an identity.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -79,17 +79,14 @@
79
79
  "./package.json": "./package.json"
80
80
  },
81
81
  "dependencies": {
82
+ "@ai-matrx/associations": "^0.5.2",
82
83
  "tailwind-merge": "^3.6.0"
83
84
  },
84
85
  "peerDependencies": {
85
- "@ai-matrx/associations": ">=0.4.0",
86
86
  "react": ">=18.0.0",
87
87
  "react-dom": ">=18.0.0"
88
88
  },
89
89
  "peerDependenciesMeta": {
90
- "@ai-matrx/associations": {
91
- "optional": true
92
- },
93
90
  "react-dom": {
94
91
  "optional": true
95
92
  }
@@ -106,8 +103,7 @@
106
103
  "react-dom": "^19.1.0",
107
104
  "tsup": "^8.5.1",
108
105
  "typescript": "^5.9.3",
109
- "vitest": "^4.1.6",
110
- "@ai-matrx/associations": "0.5.1"
106
+ "vitest": "^4.1.6"
111
107
  },
112
108
  "publishConfig": {
113
109
  "access": "public",