openvibers/openvibe.sources Commits

openvibe-shared v4.126.0 (was v4.124.0) (#223)

OP OpenVibers committed 6 days ago · 557bcf1961 · 5 files, +11 −8

* openvibe-shared v4.126.0 (was v4.124.0)

Opened by scripts/pin-bump.js in OpenVibers/OpenVibe.Shared after the v4.126.0 release.

* Merge remote-tracking branch 'origin/main' into pin-bump/openvibe-shared-v4.126.0

* openvibe-shared v4.126.0 pin, refreshed on top of main

* the owner's test route answers before the shared dispatcher

openvibe-shared 4.125.0 gave adminRoutes a test route of its own, so the dispatcher answered POST /internal/config/:namespace/test/:key before this service's own route and returned 403 (it wants an acting subject; this route is guarded by the service-token capability). The service's route is mounted in front of the dispatcher again.

2026-11-07, the openvibe-shared v4.126.0 pin round.

* Merge origin/main into pin-bump/openvibe-shared-v4.126.0

* openvibe-shared v4.126.0 pin, refreshed on top of main

Changes

ddiff --git a/README.md b/README.md
iindex bcfceb2..c98c8f0 100644
---- a/README.md
++++ b/README.md
@@@ -603,5 +603,5 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
- openvibe-contracts: v0.315.0
- openvibe-sdk: v0.94.0
--- openvibe-shared: v4.124.0
++- openvibe-shared: v4.126.0
<!-- versions:end -->
ddiff --git a/STATUS.json b/STATUS.json
iindex 7316c41..ae97f12 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -9,7 +9,7 @@
"domain": "sources.openvibe.network (vhost in deploy/nginx: an internal-service page, the merchant opt-in pages, health and JSON 404s; the JSON API is loopback-only; README \"Public host\")",
"contracts": "openvibe-contracts v0.315.0",
"sdk": "openvibe-sdk v0.94.0",
-- "shared": "openvibe-shared v4.124.0",
++ "shared": "openvibe-shared v4.126.0",
"capabilities": [
"sources.source.read",
"sources.item.read",
ddiff --git a/package-lock.json b/package-lock.json
iindex d78ef0c..f275cfb 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -14,7 +14,7 @@
"fast-xml-parser": "^4.5.3",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.315.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",
-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.124.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.126.0",
"pg": "^8.23.0"
},
"devDependencies": {
@@@ -1088,9 +1088,9 @@
}
},
"node_modules/openvibe-shared": {
-- "version": "4.124.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.124.0",
-- "integrity": "sha512-L0u70eK/W5njDfFyH/njXA8cWP2POrsIhWlKPngyF2qXLGSo+8Cup/UDzbO+Bo7zFhniI67iuSLPVSQmAdEzfw==",
++ "version": "4.126.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.126.0",
++ "integrity": "sha512-LF1eiR8xaT2wRtNSQ0qvVHu0lo8lfb2jPpRmkUkK8BJjNzF07fxZNuEcO16GIYYpXy7eloIMwu/DHcZwhF/Xtw==",
"license": "MIT",
"dependencies": {
"jsonwebtoken": "^9.0.0",
ddiff --git a/package.json b/package.json
iindex 3243f8c..1c311f1 100644
---- a/package.json
++++ b/package.json
@@@ -32,7 +32,7 @@
"fast-xml-parser": "^4.5.3",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.315.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.94.0",
-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.124.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.126.0",
"pg": "^8.23.0"
},
"engines": {
ddiff --git a/server/settings.js b/server/settings.js
iindex fc6a8af..48746f6 100644
---- a/server/settings.js
++++ b/server/settings.js
@@@ -98,7 +98,9 @@ function createSettings({ db, env = process.env, log = console, fetchImpl = glob
requireFresh: (req) => String(req.get('x-ov-fresh') || '') === '1',
log: appLog,
});
-- app.use(routes.handle);
++ // The owner's test route is mounted in front of the store's dispatcher: openvibe-shared 4.125.0 gave
++ // adminRoutes a test route of its own, and the dispatcher answers it first (it wants an acting subject,
++ // this one the service-token capability). 2026-11-07, the openvibe-shared v4.126.0 pin round.
app.post(`${BASE_PATH}/:namespace/test/:key`, guard, async (req, res) => {
if (req.params.namespace !== NAMESPACE) return res.status(404).json({ error: 'no such configuration namespace' });
let key = String(req.params.key || '');
@@@ -112,6 +114,7 @@ function createSettings({ db, env = process.env, log = console, fetchImpl = glob
return res.status(200).json({ ok: false, detail: 'failed — the test did not finish. The service log has the reason.' });
}
});
++ app.use(routes.handle);
return routes;
}