@clockworkdog/cogs-client-react 3.0.0-alpha.11 → 3.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ export function MediaSurface({ cogsConnection }) {
21
21
  }, []);
22
22
  // Create and attach new surface manager
23
23
  useEffect(() => {
24
- const sm = new SurfaceManager((url) => cogsConnection.getAssetUrl(url), (outputLabel) => audioOutputs.current[outputLabel]);
24
+ const sm = new SurfaceManager((url) => cogsConnection.getAssetUrl(url), (outputLabel) => audioOutputs.current[outputLabel] ?? '');
25
25
  surfaceManagerRef.current = sm;
26
26
  surfaceElem?.replaceChildren(sm.element);
27
27
  return () => {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "React components and hooks to connect to COGS to build a custom Media Master",
4
4
  "author": "Clockwork Dog <info@clockwork.dog>",
5
5
  "homepage": "https://github.com/clockwork-dog/cogs-sdk/tree/main/packages/react",
6
- "version": "3.0.0-alpha.11",
6
+ "version": "3.0.0-alpha.13",
7
7
  "keywords": [],
8
8
  "license": "MIT",
9
9
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "prerelease": "yarn npm publish --access public --tag=next"
29
29
  },
30
30
  "dependencies": {
31
- "@clockworkdog/cogs-client": "^3.0.0-alpha.11"
31
+ "@clockworkdog/cogs-client": "^3.0.0-alpha.13"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^18.0.0 || ^19.0.0",