@viamrobotics/sdk 0.11.1-next.0 → 0.12.0-rc.0
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.
- package/dist/main.d.ts +15 -21
- package/dist/main.es.js +2987 -2902
- package/dist/main.umd.js +8 -8
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -180,31 +180,14 @@ export { type Stream, StreamClient } from './extra/stream';
|
|
|
180
180
|
*
|
|
181
181
|
* Generated with https://github.com/improbable-eng/grpc-web
|
|
182
182
|
*
|
|
183
|
-
* @
|
|
184
|
-
*
|
|
185
|
-
* ```ts
|
|
186
|
-
* import { grpc } from '@improbable-eng/grpc-web';
|
|
187
|
-
* import { Struct } from 'google-protobuf/google/protobuf/struct_pb';
|
|
188
|
-
*
|
|
189
|
-
* const client = {}; // replace with a connected robot client
|
|
190
|
-
*
|
|
191
|
-
* const request = new commonApi.DoCommandRequest();
|
|
192
|
-
* request.setName('mygeneric');
|
|
193
|
-
* request.setCommand(Struct.fromJavaScript({ foo: 'bar' }));
|
|
194
|
-
*
|
|
195
|
-
* client.genericService.doCommand(
|
|
196
|
-
* request,
|
|
197
|
-
* new grpc.Metadata(),
|
|
198
|
-
* (error, response) => {
|
|
199
|
-
* // do something with error or response
|
|
200
|
-
* }
|
|
201
|
-
* );
|
|
202
|
-
* ```
|
|
203
|
-
*
|
|
183
|
+
* @deprecated Use {@link GenericComponentClient} instead.
|
|
184
|
+
* @deprecated Renamed to genericComponentApi
|
|
204
185
|
* @alpha
|
|
205
186
|
* @group Raw Protobufs
|
|
206
187
|
*/
|
|
207
188
|
export { default as genericApi } from './gen/component/generic/v1/generic_pb';
|
|
189
|
+
export { default as genericComponentApi } from './gen/component/generic/v1/generic_pb';
|
|
190
|
+
export { type Generic as GenericComponent, GenericClient as GenericComponentClient, } from './components/generic';
|
|
208
191
|
/**
|
|
209
192
|
* Raw Protobuf interfaces for a Gripper component.
|
|
210
193
|
*
|
|
@@ -300,6 +283,17 @@ export { type SlamPosition, type SlamProperties, SlamClient, } from './services/
|
|
|
300
283
|
*/
|
|
301
284
|
export { default as visionApi } from './gen/service/vision/v1/vision_pb';
|
|
302
285
|
export { type Detection, type Classification, type PointCloudObject, VisionClient, } from './services/vision';
|
|
286
|
+
/**
|
|
287
|
+
* Raw Protobuf interfaces for a Generic service.
|
|
288
|
+
*
|
|
289
|
+
* Generated with https://github.com/improbable-eng/grpc-web
|
|
290
|
+
*
|
|
291
|
+
* @deprecated Use {@link GenericServiceClient} instead.
|
|
292
|
+
* @alpha
|
|
293
|
+
* @group Raw Protobufs
|
|
294
|
+
*/
|
|
295
|
+
export { default as genericServiceApi } from './gen/service/generic/v1/generic_pb';
|
|
296
|
+
export { type Generic as GenericService, GenericClient as GenericServiceClient, } from './services/generic';
|
|
303
297
|
/**
|
|
304
298
|
* Raw Protobuf interfaces that are shared across multiple components and
|
|
305
299
|
* services.
|