You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (payload.schema!=="perpscope.export.v1") thrownewError("Unexpected export schema");
27
29
28
-
constmarket=payload.market.name;
29
-
constheat=payload.radar.rows[0].scoreLabel;
30
-
constreasons=payload.market.whyHot.reasons;
30
+
constsummary=summarizePerpScopeExport(payload);
31
31
```
32
32
33
-
Use `docs/embed-integration.md` for the copy-paste guide and `examples/embed-consumer/` for a tiny iframe plus JSON parser example.
33
+
Use `docs/embed-integration.md` for the copy-paste guide, `examples/copy-integration/` for a live copy page, and `examples/embed-consumer/` for the terminal side-rail mock.
The source-backed adapter field map lives in `docs/field-compatibility-map.md`, with a JSON manifest at `examples/field-compatibility-map.json`, an export artifact at `examples/compatibility-report-export.json`, a diff artifact at `examples/compatibility-diff.json`, and fixture packs such as `examples/fixture-pack-drifted-aliases.json`, `examples/fixture-pack-real-sanitized-rpc-shape.json`, and `examples/static-real-snapshot.json`.
Copy file name to clipboardExpand all lines: docs/field-compatibility-map.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# PerpScope Field Compatibility Map
2
2
3
-
This map is the v1.1.0 implementation contract for terminal builders sending read-only Percolator-like output into PerpScope. It is source-grounded in:
3
+
This map is the v2.0.0 implementation contract for terminal builders sending read-only Percolator-like output into PerpScope. It is source-grounded in:
PerpScope v2.0 turns the embed layer into a schema-locked terminal integration kit.
4
+
5
+
## Shipped
6
+
7
+
- Adds `schemas/perpscope-export.schema.json` for the `perpscope.export.v1` contract.
8
+
- Adds package helpers: `parsePerpScopeExport()`, `summarizePerpScopeExport()`, `summarizeFeedHealth()`, and `rankRadarRows()`.
9
+
- Adds `examples/copy-integration/`, a live copy page for iframe snippets, npm parser imports, schema links, and terminal placement.
10
+
- Updates `examples/embed-consumer/` into a richer terminal side-rail mock that consumes the same export contract.
11
+
- Bumps the app export and `@perpscope/percolator-adapter` package surfaces to `2.0.0`.
12
+
- Documents the install-and-embed path in the README and `docs/embed-integration.md`.
13
+
14
+
## Safety
15
+
16
+
The v2.0 integration kit remains read-only. The schema requires `wallet`, `signer`, `transaction`, and `orderRouting` to be false, and the helpers reject exports that do not declare that safety boundary.
0 commit comments