openvibers/openvibe.contracts Commits

v0.34.3: openvibe-contracts-check skips *.test.* and *.spec.* files (tests mint tokens for other owners on purpose; Games keeps tests next to the code)

OP OpenVibers committed 24 Sept 2026 · 3835c009db · 4 files, +9 −4


Changes

ddiff --git a/CHANGELOG.md b/CHANGELOG.md
iindex 7d64d4b0..3d5f0ba7 100644
---- a/CHANGELOG.md
++++ b/CHANGELOG.md
@@@ -4,6 +4,11 @@ All notable changes to `openvibe-contracts`. Releases are git tags (`vX.Y.Z`) th
from `https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/<tag>`. Before v0.30.0,
the notes were in the tag and commit messages (`git tag -n1`).
++## 0.34.3 — 2026-09-24
++
++- `openvibe-contracts-check` skips `*.test.*` and `*.spec.*` files: tests mint tokens carrying other owners'
++ capabilities on purpose, and repositories that keep tests next to the code (Games) could not run the check.
++
## 0.34.2 — 2026-09-24
- Fixture fix: the valid mod-manifest 1.1 example (`market-stall-1.1.json`) asked for the first-party
ddiff --git a/bin/check-service.js b/bin/check-service.js
iindex edafcf93..f6354eba 100755
---- a/bin/check-service.js
++++ b/bin/check-service.js
@@@ -53,7 +53,7 @@ for (const d of srcDirs) (function walk(dir) {
for (const e of ents) {
if (e.name === 'node_modules' || e.name.startsWith('.')) continue;
const p = path.join(dir, e.name);
-- if (e.isDirectory()) walk(p); else if (/\.[cm]?[jt]s$/.test(e.name)) files.push(p);
++ if (e.isDirectory()) walk(p); else if (/\.[cm]?[jt]s$/.test(e.name) && !/\.(test|spec)\.[cm]?[jt]s$/.test(e.name)) files.push(p); // tests mint tokens for other owners on purpose
}
})(d);
ddiff --git a/package-lock.json b/package-lock.json
iindex a1f0de3e..46c7a326 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -1,12 +1,12 @@
{
"name": "openvibe-contracts",
-- "version": "0.34.2",
++ "version": "0.34.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "openvibe-contracts",
-- "version": "0.34.2",
++ "version": "0.34.3",
"license": "AGPL-3.0-only",
"dependencies": {
"ajv": "^8.17.1",
ddiff --git a/package.json b/package.json
iindex a829a188..21edf23a 100644
---- a/package.json
++++ b/package.json
@@@ -1,6 +1,6 @@
{
"name": "openvibe-contracts",
-- "version": "0.34.2",
++ "version": "0.34.3",
"description": "Machine-readable contracts for the OpenVibe network: schemas, manifests, ids, error envelope, capability checks.",
"main": "index.js",
"types": "generated/typescript/index.d.ts",