@estiva-app/interop 0.1.0 → 0.1.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/CHANGELOG.md +45 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,51 @@ how a declaration is read, is a MAJOR — in `0.x`, a MINOR — even when no
|
|
|
6
6
|
TypeScript signature moved. A consumer upgrading must be able to tell whether
|
|
7
7
|
manifests already published still mean what they meant.
|
|
8
8
|
|
|
9
|
-
## 0.1.
|
|
9
|
+
## 0.1.2 — 2026-08-31
|
|
10
|
+
|
|
11
|
+
**Manifest behaviour: unchanged.** A build fix; 0.1.1 was tagged and never
|
|
12
|
+
published, so this is the first release carrying its peer-range change.
|
|
13
|
+
|
|
14
|
+
- **`prebuild` builds `@estiva-app/protocol` first.** This package resolves that
|
|
15
|
+
one's *types* through its `dist/`, which does not exist in a fresh checkout
|
|
16
|
+
until it has been built — so `npm run build -w packages/interop`, which is
|
|
17
|
+
exactly what the release workflow runs, failed with four TS2307s that read as
|
|
18
|
+
if this package were broken.
|
|
19
|
+
|
|
20
|
+
**It is the first foundation package that depends on another one.** protocol,
|
|
21
|
+
identity and hello have no workspace siblings, so every release before this
|
|
22
|
+
was independent and the workflow never had to care.
|
|
23
|
+
|
|
24
|
+
Building every package instead would not have fixed it: `npm run build
|
|
25
|
+
--workspaces` runs alphabetically, and `interop` sorts before `protocol`.
|
|
26
|
+
Measured rather than assumed — that was the first fix attempted and it failed
|
|
27
|
+
the same way. The dependency belongs in the package that has it.
|
|
28
|
+
|
|
29
|
+
## 0.1.1 — 2026-08-31 (tagged, never published)
|
|
30
|
+
|
|
31
|
+
**Manifest behaviour: unchanged.** No resolution, declaration or export moved.
|
|
32
|
+
|
|
33
|
+
- **`peerDependencies` relaxed to `@estiva-app/protocol >=0.1.2`**, from
|
|
34
|
+
`>=0.2.0`.
|
|
35
|
+
|
|
36
|
+
The stricter range was not justified by anything this package uses. It was
|
|
37
|
+
chosen because the foundation repo happened to sit at 0.2.0 when the package
|
|
38
|
+
was written — a fact about the workspace, not about the dependency.
|
|
39
|
+
|
|
40
|
+
Found the way these things are found: **the second consumer tried to install
|
|
41
|
+
it.** Peek is on `protocol@0.1.2` and `npm install` refused with `ERESOLVE`,
|
|
42
|
+
which would have forced an unrelated protocol upgrade to adopt this package.
|
|
43
|
+
Verified rather than assumed before relaxing — all four symbols this package
|
|
44
|
+
imports (`encodeNaddr`, `pointerToAddress`, `referenceToPointer`,
|
|
45
|
+
`parseProfile`) are exported by 0.1.2, and 0.2.0's change was to `Relay`'s
|
|
46
|
+
paging, which this package does not use because it takes a `QueryFn` instead
|
|
47
|
+
of a client.
|
|
48
|
+
|
|
49
|
+
This is SHA-7's lesson one level up. The package shipped with one consumer
|
|
50
|
+
that happened to be on the newer protocol, so nothing exercised the floor of
|
|
51
|
+
the range until somebody else installed it.
|
|
52
|
+
|
|
53
|
+
## 0.1.0 — 2026-08-31
|
|
10
54
|
|
|
11
55
|
First publish. Extracted from `peek-app/interop/`, which was extracted from
|
|
12
56
|
`peek-app/convex/nostr/projection.ts` (PRO-1) — a path that said Convex about a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@estiva-app/interop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Render and act on another app's objects from its published NIP-89 manifest. The owner defines the projection; the consumer decides how it looks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,13 +40,14 @@
|
|
|
40
40
|
"estiva"
|
|
41
41
|
],
|
|
42
42
|
"scripts": {
|
|
43
|
+
"prebuild": "npm run build --workspace @estiva-app/protocol",
|
|
43
44
|
"build": "tsc -p tsconfig.json",
|
|
44
45
|
"test": "npm run build && node --test test/*.test.mjs",
|
|
45
46
|
"typecheck": "npm run build && tsc -p tsconfig.json --noEmit false --emitDeclarationOnly",
|
|
46
47
|
"prepublishOnly": "npm run build"
|
|
47
48
|
},
|
|
48
49
|
"peerDependencies": {
|
|
49
|
-
"@estiva-app/protocol": ">=0.2
|
|
50
|
+
"@estiva-app/protocol": ">=0.1.2"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"@estiva-app/protocol": "^0.2.0",
|