File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ The following files create an example TypeScript web app that connects to a mach
48
48
``` ts {class="line-numbers linkable-line-numbers"}
49
49
// This code must be run in a browser environment.
50
50
import * as VIAM from " @viamrobotics/sdk" ;
51
- import { CameraClient , SensorClient } from " @viamrobotics/sdk" ;
51
+ import { CameraClient , SensorClient , StreamClient } from " @viamrobotics/sdk" ;
52
52
53
53
let isStreaming = false ;
54
54
let camera: CameraClient ;
@@ -59,7 +59,7 @@ let machine: VIAM.RobotClient;
59
59
const main = async () => {
60
60
const host = " demo-main.abcdefg1234.viam.cloud" ;
61
61
62
- const machine = await VIAM .createRobotClient ({
62
+ machine = await VIAM .createRobotClient ({
63
63
host ,
64
64
credentials: {
65
65
type: " api-key" ,
You can’t perform that action at this time.
0 commit comments