openvibers/openvibe.deals Commits
openvibe-sdk v0.43.0 (was v0.42.0) (#39)
Changes
@@@ -463,7 +463,7 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [<!-- versions:start -->- openvibe-contracts: v0.129.0--- openvibe-sdk: v0.42.0++- openvibe-sdk: v0.43.0- openvibe-shared: v3.0.1- openvibe-publishing: v1.3.0<!-- versions:end -->@@@ -8,13 +8,13 @@"port": 4840,"domain": "openvibe.deals","contracts": "openvibe-contracts v0.129.0",-- "sdk": "openvibe-sdk v0.42.0",++ "sdk": "openvibe-sdk v0.43.0","shared": "openvibe-shared v3.0.1","packages": ["openvibe-publishing v1.3.0","openvibe-contracts v0.129.0","openvibe-shared v3.0.1",-- "openvibe-sdk v0.42.0"++ "openvibe-sdk v0.43.0"],"capabilities": ["deals.offer.submit",@@@ -52,5 +52,5 @@"SDK outbox events and Search index documents","per-actor limits (openvibe-sdk/limits)"],-- "updated": "2026-10-10"++ "updated": "2026-10-11"}@@@ -17,7 +17,7 @@"iovalkey": "^0.4.0","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.129.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",-- "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.42.0",++ "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.43.0","openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v3.0.1","pg": "^8.23.0"},@@@ -907,9 +907,9 @@}},"node_modules/openvibe-sdk": {-- "version": "0.42.0",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.42.0",-- "integrity": "sha512-MpUPLW8iBviKYcnjvNffQ6pshDCMT9ETj70hYoh6VFtwu1rxCs2DwSs8B84yPLRIyTKNxiMFchTd7tLnOUZAtg==",++ "version": "0.43.0",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.43.0",++ "integrity": "sha512-Pgh/6gFna/h1o5+r0UZ2XHS3QkjD0Ti/bHO4LKvnCguS0cS1aDqbX5q4BGYEPWTW4IJUrvCYISEjbxIkCkm26w==","license": "MIT","engines": {"node": ">=20"@@@ -28,7 +28,7 @@"iovalkey": "^0.4.0","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.129.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",-- "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.42.0",++ "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.43.0","openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v3.0.1","pg": "^8.23.0"},@@@ -45,7 +45,7 @@ function createEvents({ config, store, importer, accountData = null, accountSend} catch (err) { return next(err); }if (r.status === 503) return http.sendProblem(res, 503, 'deals.webhook_disabled', { detail: 'DEALS_EVENTS_SECRET is not set', ctx: req.ov });if (r.status === 401) return http.sendProblem(res, 401, 'deals.bad_signature', { detail: 'X-OpenVibe-Signature-V2 does not verify or is outside the replay window', ctx: req.ov });-- if (r.status === 400) return http.sendProblem(res, 400, 'deals.bad_delivery', { detail: 'body must be { event: <envelope>, seq }', ctx: req.ov });++ if (r.status === 400) return http.sendProblem(res, 400, 'deals.bad_delivery', { detail: 'body must be { event: <envelope> }', ctx: req.ov });if (!r.duplicate && r.outcome === 'import_scheduled') importer.kick();res.status(200).json({ event_id: r.event_id, duplicate: Boolean(r.duplicate), outcome: r.duplicate ? null : r.outcome });});
@@ -463,7 +463,7 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
@@ -463,7 +463,7 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
<!-- versions:start -->
- openvibe-contracts: v0.129.0
- openvibe-contracts: v0.129.0
-- openvibe-sdk: v0.42.0
+- openvibe-sdk: v0.43.0
- openvibe-shared: v3.0.1
- openvibe-shared: v3.0.1
- openvibe-publishing: v1.3.0
- openvibe-publishing: v1.3.0
<!-- versions:end -->
<!-- versions:end -->
@@ -8,13 +8,13 @@
@@ -8,13 +8,13 @@
"port": 4840,
"port": 4840,
"domain": "openvibe.deals",
"domain": "openvibe.deals",
"contracts": "openvibe-contracts v0.129.0",
"contracts": "openvibe-contracts v0.129.0",
- "sdk": "openvibe-sdk v0.42.0",
+ "sdk": "openvibe-sdk v0.43.0",
"shared": "openvibe-shared v3.0.1",
"shared": "openvibe-shared v3.0.1",
"packages": [
"packages": [
"openvibe-publishing v1.3.0",
"openvibe-publishing v1.3.0",
"openvibe-contracts v0.129.0",
"openvibe-contracts v0.129.0",
"openvibe-shared v3.0.1",
"openvibe-shared v3.0.1",
- "openvibe-sdk v0.42.0"
+ "openvibe-sdk v0.43.0"
],
],
"capabilities": [
"capabilities": [
"deals.offer.submit",
"deals.offer.submit",
@@ -52,5 +52,5 @@
@@ -52,5 +52,5 @@
"SDK outbox events and Search index documents",
"SDK outbox events and Search index documents",
"per-actor limits (openvibe-sdk/limits)"
"per-actor limits (openvibe-sdk/limits)"
],
],
- "updated": "2026-10-10"
+ "updated": "2026-10-11"
}
}
@@ -17,7 +17,7 @@
@@ -17,7 +17,7 @@
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.129.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.129.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
- "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.42.0",
+ "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.43.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v3.0.1",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v3.0.1",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
@@ -907,9 +907,9 @@
@@ -907,9 +907,9 @@
}
}
},
},
"node_modules/openvibe-sdk": {
"node_modules/openvibe-sdk": {
- "version": "0.42.0",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.42.0",
- "integrity": "sha512-MpUPLW8iBviKYcnjvNffQ6pshDCMT9ETj70hYoh6VFtwu1rxCs2DwSs8B84yPLRIyTKNxiMFchTd7tLnOUZAtg==",
+ "version": "0.43.0",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.43.0",
+ "integrity": "sha512-Pgh/6gFna/h1o5+r0UZ2XHS3QkjD0Ti/bHO4LKvnCguS0cS1aDqbX5q4BGYEPWTW4IJUrvCYISEjbxIkCkm26w==",
"license": "MIT",
"license": "MIT",
"engines": {
"engines": {
"node": ">=20"
"node": ">=20"
@@ -28,7 +28,7 @@
@@ -28,7 +28,7 @@
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.129.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.129.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
- "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.42.0",
+ "openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.43.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v3.0.1",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v3.0.1",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
@@ -45,7 +45,7 @@ function createEvents({ config, store, importer, accountData = null, accountSend
@@ -45,7 +45,7 @@ function createEvents({ config, store, importer, accountData = null, accountSend
} catch (err) { return next(err); }
} catch (err) { return next(err); }
if (r.status === 503) return http.sendProblem(res, 503, 'deals.webhook_disabled', { detail: 'DEALS_EVENTS_SECRET is not set', ctx: req.ov });
if (r.status === 503) return http.sendProblem(res, 503, 'deals.webhook_disabled', { detail: 'DEALS_EVENTS_SECRET is not set', ctx: req.ov });
if (r.status === 401) return http.sendProblem(res, 401, 'deals.bad_signature', { detail: 'X-OpenVibe-Signature-V2 does not verify or is outside the replay window', ctx: req.ov });
if (r.status === 401) return http.sendProblem(res, 401, 'deals.bad_signature', { detail: 'X-OpenVibe-Signature-V2 does not verify or is outside the replay window', ctx: req.ov });
- if (r.status === 400) return http.sendProblem(res, 400, 'deals.bad_delivery', { detail: 'body must be { event: <envelope>, seq }', ctx: req.ov });
+ if (r.status === 400) return http.sendProblem(res, 400, 'deals.bad_delivery', { detail: 'body must be { event: <envelope> }', ctx: req.ov });
if (!r.duplicate && r.outcome === 'import_scheduled') importer.kick();
if (!r.duplicate && r.outcome === 'import_scheduled') importer.kick();
res.status(200).json({ event_id: r.event_id, duplicate: Boolean(r.duplicate), outcome: r.duplicate ? null : r.outcome });
res.status(200).json({ event_id: r.event_id, duplicate: Boolean(r.duplicate), outcome: r.duplicate ? null : r.outcome });
});
});