@aeptus/aexeo-emdash 0.8.0 → 0.8.1
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 +22 -1
- package/dist/admin.js +9 -1
- package/dist/configured.js +1 -1
- package/dist/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/wasm/aexeo_emdash_bridge_bg.wasm +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,26 @@ and the project follows [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.8.1] - 2026-05-03
|
|
10
|
+
|
|
11
|
+
Fix for the entity-presence diagnostic shipped in 0.8.0.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- `EntityPresence` admin component's fetch to `/presence` was
|
|
16
|
+
missing the `X-EmDash-Request: 1` header that emdash's catch-all
|
|
17
|
+
plugin-route handler requires for state-changing methods on
|
|
18
|
+
private routes. Without it the host returns 403 CSRF_REJECTED
|
|
19
|
+
before the plugin handler runs, and the host's plugin-registry
|
|
20
|
+
bundle then crashes on the rejected response shape with a
|
|
21
|
+
`Cannot read properties of undefined (reading 'trim')` error
|
|
22
|
+
during admin-page render. With the header added, both the 403
|
|
23
|
+
and the downstream trim crash clear.
|
|
24
|
+
|
|
25
|
+
The `/data`, `/refresh`, and `/facts` routes were already sending
|
|
26
|
+
the header — `/presence` was the new addition and the omission
|
|
27
|
+
shipped in 0.8.0.
|
|
28
|
+
|
|
9
29
|
## [0.8.0] - 2026-05-03
|
|
10
30
|
|
|
11
31
|
Layer-4 entity-presence diagnostic. The `/entity-legitimacy`
|
|
@@ -499,7 +519,8 @@ First public release.
|
|
|
499
519
|
`astro.config.mjs` for the WASM import to resolve to a
|
|
500
520
|
precompiled `WebAssembly.Module`. Not optional.
|
|
501
521
|
|
|
502
|
-
[Unreleased]: https://github.com/schiste/Aexeo/compare/aexeo-emdash-v0.8.
|
|
522
|
+
[Unreleased]: https://github.com/schiste/Aexeo/compare/aexeo-emdash-v0.8.1...HEAD
|
|
523
|
+
[0.8.1]: https://github.com/schiste/Aexeo/compare/aexeo-emdash-v0.8.0...aexeo-emdash-v0.8.1
|
|
503
524
|
[0.8.0]: https://github.com/schiste/Aexeo/compare/aexeo-emdash-v0.7.0...aexeo-emdash-v0.8.0
|
|
504
525
|
[0.7.0]: https://github.com/schiste/Aexeo/compare/aexeo-emdash-v0.6.0...aexeo-emdash-v0.7.0
|
|
505
526
|
[0.6.0]: https://github.com/schiste/Aexeo/compare/aexeo-emdash-v0.5.0...aexeo-emdash-v0.6.0
|
package/dist/admin.js
CHANGED
|
@@ -476,7 +476,15 @@ function formatAge(minutes) {
|
|
|
476
476
|
async function callPresenceRoute(kind) {
|
|
477
477
|
const res = await fetch(`${API_BASE2}/plugins/${PLUGIN_ID2}/presence`, {
|
|
478
478
|
method: "POST",
|
|
479
|
-
headers: {
|
|
479
|
+
headers: {
|
|
480
|
+
"Content-Type": "application/json",
|
|
481
|
+
// Required by emdash's catch-all plugin-route handler for any
|
|
482
|
+
// POST/PUT/PATCH/DELETE on a private (default) plugin route.
|
|
483
|
+
// Without it the host returns 403 CSRF_REJECTED before the
|
|
484
|
+
// plugin handler even runs. Same convention as the /facts and
|
|
485
|
+
// /data routes the other admin components use.
|
|
486
|
+
"X-EmDash-Request": "1"
|
|
487
|
+
},
|
|
480
488
|
body: JSON.stringify({ kind })
|
|
481
489
|
});
|
|
482
490
|
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
package/dist/configured.js
CHANGED
package/dist/index.js
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "0.8.
|
|
1
|
+
export declare const PACKAGE_VERSION = "0.8.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
Binary file
|