openvibers/openvibe.sdk Commits
openvibe-contracts v0.289.1 (was v0.261.0) (#117)
Changes
@@@ -564,5 +564,5 @@ Nothing at runtime. `openvibe-contracts` and `@electric-sql/pglite` are devDepenPart of the [OpenVibe network](https://openvibe.network). Built in the open by [OpenVibers](https://github.com/OpenVibers).<!-- versions:start -->--- openvibe-contracts: v0.261.0++- openvibe-contracts: v0.289.1<!-- versions:end -->@@@ -7,7 +7,7 @@"plan": "OpenVibe End-to-End Realignment & Implementation Plan, revision 3 (20 Sep 2026), §3.2; roadmap §30","deployed": false,"deployment": "none: a package released as git tags; services and apps pin a tag",-- "contracts": "openvibe-contracts v0.261.0 (devDependency; runtime contracts range >=0.5.0 <1.0.0)",++ "contracts": "openvibe-contracts v0.289.1 (devDependency; runtime contracts range >=0.5.0 <1.0.0)","features": ["redact (openvibe-sdk/redact): the shared secret scrubber for memory, the same shapes and corpus as OpenVibe.Node's internal/memory/redact.go (redact, onlySecret)","core client: retries, timeouts, problem+json errors, trace propagation",@@@ -39,5 +39,5 @@"openvibe-sdk/machines: the network's machines hub (list, get, catalogue, pair, rename, roles, revoke) against OpenVibe.Network, for a person and for the apps they consented to","vibes (openvibe-sdk/vibes): Vibes Pay charges (create with the app reference as the Idempotency-Key, get, refund) and constant-time webhook verification (X-OpenVibe-Signature-V2, ±300 s) for developer apps"],-- "updated": "2026-11-04"++ "updated": "2026-11-05"}@@@ -14,7 +14,7 @@"devDependencies": {"@electric-sql/pglite": "^0.5.8","iovalkey": "^0.4.0",-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.261.0",++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1","pg": "^8.23.0"},"engines": {@@@ -198,9 +198,9 @@"license": "MIT"},"node_modules/openvibe-contracts": {-- "version": "0.261.0",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.261.0",-- "integrity": "sha512-SiXOcXRL9+WivMkKM1W6sGNJMD4uCBR9o7KYZvs99hT2xgYxDvP4rM7tLBudGu1boPH+coMdUXVQAAWbS/3JDw==",++ "version": "0.289.1",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1",++ "integrity": "sha512-LrKTwe8VPCWn+b0MTNmfjAYEJ0rtgLxeM6EHONBDl0ynt/Igndz+ruDEpwuz5SZ9HYCIMkCqSV5ujhedh6zmzQ==","dev": true,"license": "AGPL-3.0-only","dependencies": {@@@ -493,7 +493,7 @@"devDependencies": {"@electric-sql/pglite": "^0.5.8","iovalkey": "^0.4.0",-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.261.0",++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1","pg": "^8.23.0"},"peerDependencies": {@@@ -141,6 +141,8 @@ function rateCard(fields) {id: f.id,provider: f.provider,adapter: f.adapter,++ side: f.side,++ version: f.version,metric: f.metric,unit_size: f.unit_size,unit_price_usd: f.unit_price_usd,@@@ -148,6 +150,7 @@ function rateCard(fields) {reset_period: f.reset_period,region: f.region,effective_from: f.effective_from,++ effective_to: f.effective_to,effective_until: f.effective_until,source: f.source,verified_at: f.verified_at,@@@ -1,4 +1,4 @@--/* Copied verbatim from openvibe-contracts v0.214.0 generated/typescript/index.d.ts (the SDK does not++/* Copied verbatim from openvibe-contracts v0.289.1 generated/typescript/index.d.ts (the SDK does not* require the package at runtime; it is a devDependency for the tests). test/types.test.js checks* these against it. *//* eslint-disable */@@@ -176,7 +176,7 @@ export interface ServiceManifest {/*** Which legal wording its /terms, /privacy and /dmca use (openvibe-shared/legal).*/-- legalProfile: "streaming" | "tools" | "ugc" | "games" | "hosting" | "account" | "info";++ legalProfile: "streaming" | "tools" | "ugc" | "games" | "hosting" | "account" | "info" | "public" | "service";/*** Order in site lists.*/@@@ -1,8 +1,9 @@/** platform.rate-card@1 and platform.cost-snapshot@1: provider pricing and cost windows. Validated by* openvibe-contracts (required lazily by the validate* functions). */--export type RateCard = { id: string; provider: string; adapter?: string; metric: string; unit_size: number;-- unit_price_usd: number; free_allowance: number; reset_period: 'day' | 'month' | 'none'; region?: string;-- effective_from: string; effective_until?: string; source: string; verified_at: string };++export type RateCard = { id: string; provider: string; adapter?: string; side?: 'supply' | 'retail'; version?: string;++ metric: string; unit_size: number; unit_price_usd: number; free_allowance: number;++ reset_period: 'day' | 'month' | 'none'; region?: string; effective_from: string; effective_to?: string;++ effective_until?: string; source: string; verified_at: string };export type CostSnapshotTarget = { id: string; units: number; cost_usd: number; p50_ms?: number; p95_ms?: number };export type CostSnapshot = { window_start: string; window_end: string; project_id?: string; scope: string;by_target: CostSnapshotTarget[]; actual_usd: number; counterfactual_usd?: Record<string, number> };
@@ -564,5 +564,5 @@ Nothing at runtime. `openvibe-contracts` and `@electric-sql/pglite` are devDepen
@@ -564,5 +564,5 @@ Nothing at runtime. `openvibe-contracts` and `@electric-sql/pglite` are devDepen
Part of the [OpenVibe network](https://openvibe.network). Built in the open by [OpenVibers](https://github.com/OpenVibers).
Part of the [OpenVibe network](https://openvibe.network). Built in the open by [OpenVibers](https://github.com/OpenVibers).
<!-- versions:start -->
<!-- versions:start -->
-- openvibe-contracts: v0.261.0
+- openvibe-contracts: v0.289.1
<!-- versions:end -->
<!-- versions:end -->
@@ -7,7 +7,7 @@
@@ -7,7 +7,7 @@
"plan": "OpenVibe End-to-End Realignment & Implementation Plan, revision 3 (20 Sep 2026), §3.2; roadmap §30",
"plan": "OpenVibe End-to-End Realignment & Implementation Plan, revision 3 (20 Sep 2026), §3.2; roadmap §30",
"deployed": false,
"deployed": false,
"deployment": "none: a package released as git tags; services and apps pin a tag",
"deployment": "none: a package released as git tags; services and apps pin a tag",
- "contracts": "openvibe-contracts v0.261.0 (devDependency; runtime contracts range >=0.5.0 <1.0.0)",
+ "contracts": "openvibe-contracts v0.289.1 (devDependency; runtime contracts range >=0.5.0 <1.0.0)",
"features": [
"features": [
"redact (openvibe-sdk/redact): the shared secret scrubber for memory, the same shapes and corpus as OpenVibe.Node's internal/memory/redact.go (redact, onlySecret)",
"redact (openvibe-sdk/redact): the shared secret scrubber for memory, the same shapes and corpus as OpenVibe.Node's internal/memory/redact.go (redact, onlySecret)",
"core client: retries, timeouts, problem+json errors, trace propagation",
"core client: retries, timeouts, problem+json errors, trace propagation",
@@ -39,5 +39,5 @@
@@ -39,5 +39,5 @@
"openvibe-sdk/machines: the network's machines hub (list, get, catalogue, pair, rename, roles, revoke) against OpenVibe.Network, for a person and for the apps they consented to",
"openvibe-sdk/machines: the network's machines hub (list, get, catalogue, pair, rename, roles, revoke) against OpenVibe.Network, for a person and for the apps they consented to",
"vibes (openvibe-sdk/vibes): Vibes Pay charges (create with the app reference as the Idempotency-Key, get, refund) and constant-time webhook verification (X-OpenVibe-Signature-V2, ±300 s) for developer apps"
"vibes (openvibe-sdk/vibes): Vibes Pay charges (create with the app reference as the Idempotency-Key, get, refund) and constant-time webhook verification (X-OpenVibe-Signature-V2, ±300 s) for developer apps"
],
],
- "updated": "2026-11-04"
+ "updated": "2026-11-05"
}
}
@@ -14,7 +14,7 @@
@@ -14,7 +14,7 @@
"devDependencies": {
"devDependencies": {
"@electric-sql/pglite": "^0.5.8",
"@electric-sql/pglite": "^0.5.8",
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.261.0",
+ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"engines": {
"engines": {
@@ -198,9 +198,9 @@
@@ -198,9 +198,9 @@
"license": "MIT"
"license": "MIT"
},
},
"node_modules/openvibe-contracts": {
"node_modules/openvibe-contracts": {
- "version": "0.261.0",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.261.0",
- "integrity": "sha512-SiXOcXRL9+WivMkKM1W6sGNJMD4uCBR9o7KYZvs99hT2xgYxDvP4rM7tLBudGu1boPH+coMdUXVQAAWbS/3JDw==",
+ "version": "0.289.1",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1",
+ "integrity": "sha512-LrKTwe8VPCWn+b0MTNmfjAYEJ0rtgLxeM6EHONBDl0ynt/Igndz+ruDEpwuz5SZ9HYCIMkCqSV5ujhedh6zmzQ==",
"dev": true,
"dev": true,
"license": "AGPL-3.0-only",
"license": "AGPL-3.0-only",
"dependencies": {
"dependencies": {
@@ -493,7 +493,7 @@
@@ -493,7 +493,7 @@
"devDependencies": {
"devDependencies": {
"@electric-sql/pglite": "^0.5.8",
"@electric-sql/pglite": "^0.5.8",
"iovalkey": "^0.4.0",
"iovalkey": "^0.4.0",
- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.261.0",
+ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"peerDependencies": {
"peerDependencies": {
@@ -141,6 +141,8 @@ function rateCard(fields) {
@@ -141,6 +141,8 @@ function rateCard(fields) {
id: f.id,
id: f.id,
provider: f.provider,
provider: f.provider,
adapter: f.adapter,
adapter: f.adapter,
+ side: f.side,
+ version: f.version,
metric: f.metric,
metric: f.metric,
unit_size: f.unit_size,
unit_size: f.unit_size,
unit_price_usd: f.unit_price_usd,
unit_price_usd: f.unit_price_usd,
@@ -148,6 +150,7 @@ function rateCard(fields) {
@@ -148,6 +150,7 @@ function rateCard(fields) {
reset_period: f.reset_period,
reset_period: f.reset_period,
region: f.region,
region: f.region,
effective_from: f.effective_from,
effective_from: f.effective_from,
+ effective_to: f.effective_to,
effective_until: f.effective_until,
effective_until: f.effective_until,
source: f.source,
source: f.source,
verified_at: f.verified_at,
verified_at: f.verified_at,
@@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
-/* Copied verbatim from openvibe-contracts v0.214.0 generated/typescript/index.d.ts (the SDK does not
+/* Copied verbatim from openvibe-contracts v0.289.1 generated/typescript/index.d.ts (the SDK does not
* require the package at runtime; it is a devDependency for the tests). test/types.test.js checks
* require the package at runtime; it is a devDependency for the tests). test/types.test.js checks
* these against it. */
* these against it. */
/* eslint-disable */
/* eslint-disable */
@@ -176,7 +176,7 @@ export interface ServiceManifest {
@@ -176,7 +176,7 @@ export interface ServiceManifest {
/**
/**
* Which legal wording its /terms, /privacy and /dmca use (openvibe-shared/legal).
* Which legal wording its /terms, /privacy and /dmca use (openvibe-shared/legal).
*/
*/
- legalProfile: "streaming" | "tools" | "ugc" | "games" | "hosting" | "account" | "info";
+ legalProfile: "streaming" | "tools" | "ugc" | "games" | "hosting" | "account" | "info" | "public" | "service";
/**
/**
* Order in site lists.
* Order in site lists.
*/
*/
@@ -1,8 +1,9 @@
@@ -1,8 +1,9 @@
/** platform.rate-card@1 and platform.cost-snapshot@1: provider pricing and cost windows. Validated by
/** platform.rate-card@1 and platform.cost-snapshot@1: provider pricing and cost windows. Validated by
* openvibe-contracts (required lazily by the validate* functions). */
* openvibe-contracts (required lazily by the validate* functions). */
-export type RateCard = { id: string; provider: string; adapter?: string; metric: string; unit_size: number;
- unit_price_usd: number; free_allowance: number; reset_period: 'day' | 'month' | 'none'; region?: string;
- effective_from: string; effective_until?: string; source: string; verified_at: string };
+export type RateCard = { id: string; provider: string; adapter?: string; side?: 'supply' | 'retail'; version?: string;
+ metric: string; unit_size: number; unit_price_usd: number; free_allowance: number;
+ reset_period: 'day' | 'month' | 'none'; region?: string; effective_from: string; effective_to?: string;
+ effective_until?: string; source: string; verified_at: string };
export type CostSnapshotTarget = { id: string; units: number; cost_usd: number; p50_ms?: number; p95_ms?: number };
export type CostSnapshotTarget = { id: string; units: number; cost_usd: number; p50_ms?: number; p95_ms?: number };
export type CostSnapshot = { window_start: string; window_end: string; project_id?: string; scope: string;
export type CostSnapshot = { window_start: string; window_end: string; project_id?: string; scope: string;
by_target: CostSnapshotTarget[]; actual_usd: number; counterfactual_usd?: Record<string, number> };
by_target: CostSnapshotTarget[]; actual_usd: number; counterfactual_usd?: Record<string, number> };