openvibers/openvibe.examples Commits
Events moves to openvibe.events: connect-src, stream URLs and shared 2.13.0 / sdk 0.35.0 in one change (plan T7) (#1)
Changes
@@@ -64,7 +64,7 @@ retention gaps come from its `pruneEvents()`.Things to know:--- Pull goes to `https://events.openvibe.network/api/v1/events` (the origin comes from the registry).++- Pull goes to `https://openvibe.events/api/v1/events` (the origin comes from the registry).You see your project's events in your app's environment only: a sandbox app never sees productionevents and the other way round. A first-party pattern in `OV_PLATFORM_TOPICS`, such as`live.stream.*`, returns only that namespace's `public` events.@@@ -84,6 +84,8 @@ async function runAgainstMock({ log, platformOptions = {} } = {}) {const lines = [];const result = await runDeveloperPath({network: PRODUCTION_NETWORK,++ // The pinned openvibe-sdk v0.11.0 mock serves Events at its old origin; production defaults to openvibe.events.++ events: 'https://events.openvibe.network',fetch: withAccounts(platform),account: { username: 'developer_path', password: 'mock-password-not-checked', register: true },log: (m) => { lines.push(m); if (log) log(m); },@@@ -54,7 +54,7 @@ const { createSubscriber, createCursorStore, loadConfig: subscriberConfig } = reconst PRODUCTION_NETWORK = 'https://openvibe.network';const PRODUCTION_CODES = 'https://openvibe.codes';const PRODUCTION_MEDIA = 'https://openvibe.media';--const PRODUCTION_EVENTS = 'https://events.openvibe.network';++const PRODUCTION_EVENTS = 'https://openvibe.events';const GRANTS = ['media.object.upload', 'media.object.read', 'events.app.publish', 'events.app.read', 'codes.release.manage'];const STEPS = ['account', 'discovery', 'project', 'app', 'grants', 'media', 'events', 'export', 'release', 'credentials', 'cleanup'];const STEP_TIMEOUT_MS = 120000;
@@ -64,7 +64,7 @@ retention gaps come from its `pruneEvents()`.
@@ -64,7 +64,7 @@ retention gaps come from its `pruneEvents()`.
Things to know:
Things to know:
-- Pull goes to `https://events.openvibe.network/api/v1/events` (the origin comes from the registry).
+- Pull goes to `https://openvibe.events/api/v1/events` (the origin comes from the registry).
You see your project's events in your app's environment only: a sandbox app never sees production
You see your project's events in your app's environment only: a sandbox app never sees production
events and the other way round. A first-party pattern in `OV_PLATFORM_TOPICS`, such as
events and the other way round. A first-party pattern in `OV_PLATFORM_TOPICS`, such as
`live.stream.*`, returns only that namespace's `public` events.
`live.stream.*`, returns only that namespace's `public` events.
@@ -84,6 +84,8 @@ async function runAgainstMock({ log, platformOptions = {} } = {}) {
@@ -84,6 +84,8 @@ async function runAgainstMock({ log, platformOptions = {} } = {}) {
const lines = [];
const lines = [];
const result = await runDeveloperPath({
const result = await runDeveloperPath({
network: PRODUCTION_NETWORK,
network: PRODUCTION_NETWORK,
+ // The pinned openvibe-sdk v0.11.0 mock serves Events at its old origin; production defaults to openvibe.events.
+ events: 'https://events.openvibe.network',
fetch: withAccounts(platform),
fetch: withAccounts(platform),
account: { username: 'developer_path', password: 'mock-password-not-checked', register: true },
account: { username: 'developer_path', password: 'mock-password-not-checked', register: true },
log: (m) => { lines.push(m); if (log) log(m); },
log: (m) => { lines.push(m); if (log) log(m); },
@@ -54,7 +54,7 @@ const { createSubscriber, createCursorStore, loadConfig: subscriberConfig } = re
@@ -54,7 +54,7 @@ const { createSubscriber, createCursorStore, loadConfig: subscriberConfig } = re
const PRODUCTION_NETWORK = 'https://openvibe.network';
const PRODUCTION_NETWORK = 'https://openvibe.network';
const PRODUCTION_CODES = 'https://openvibe.codes';
const PRODUCTION_CODES = 'https://openvibe.codes';
const PRODUCTION_MEDIA = 'https://openvibe.media';
const PRODUCTION_MEDIA = 'https://openvibe.media';
-const PRODUCTION_EVENTS = 'https://events.openvibe.network';
+const PRODUCTION_EVENTS = 'https://openvibe.events';
const GRANTS = ['media.object.upload', 'media.object.read', 'events.app.publish', 'events.app.read', 'codes.release.manage'];
const GRANTS = ['media.object.upload', 'media.object.read', 'events.app.publish', 'events.app.read', 'codes.release.manage'];
const STEPS = ['account', 'discovery', 'project', 'app', 'grants', 'media', 'events', 'export', 'release', 'credentials', 'cleanup'];
const STEPS = ['account', 'discovery', 'project', 'app', 'grants', 'media', 'events', 'export', 'release', 'credentials', 'cleanup'];
const STEP_TIMEOUT_MS = 120000;
const STEP_TIMEOUT_MS = 120000;