@viamrobotics/sdk 0.0.22 → 0.0.24

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 CHANGED
@@ -1,4 +1,9 @@
1
1
  import Client from './Client';
2
+ import * as Base from './components/base/Base';
3
+ import * as Board from './components/board/Board';
4
+ import * as Camera from './components/camera/Camera';
5
+ import * as Motor from './components/motor/Motor';
6
+ export { Base, Board, Camera, Motor };
2
7
  import armApi from './gen/component/arm/v1/arm_pb.esm';
3
8
  import baseApi from './gen/component/base/v1/base_pb.esm';
4
9
  import boardApi from './gen/component/board/v1/board_pb.esm';
@@ -21,10 +26,10 @@ import streamApi from './gen/proto/stream/v1/stream_pb.esm';
21
26
  import visionApi from './gen/service/vision/v1/vision_pb.esm';
22
27
  export { type Robot, RobotClient } from './components/robot';
23
28
  export { type Arm, ArmClient } from './components/arm';
24
- export { type Base, BaseClient } from './components/base';
25
- export { type Board, BoardClient } from './components/board';
26
- export { type Camera, CameraClient } from './components/camera';
27
- export { type Motor, MotorClient } from './components/motor';
29
+ export { BaseClient } from './components/base';
30
+ export { BoardClient } from './components/board';
31
+ export { CameraClient } from './components/camera';
32
+ export { MotorClient } from './components/motor';
28
33
  export { type MovementSensor, MovementSensorClient, } from './components/movementsensor';
29
34
  export { type Sensor, SensorClient } from './components/sensor';
30
35
  export { type Stream, StreamClient } from './extra/stream';
package/dist/main.es.js CHANGED
@@ -215289,6 +215289,18 @@ class Client {
215289
215289
  }
215290
215290
  }
215291
215291
  }
215292
+ const Base = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
215293
+ __proto__: null
215294
+ }, Symbol.toStringTag, { value: "Module" })), Board = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
215295
+ __proto__: null
215296
+ }, Symbol.toStringTag, { value: "Module" }));
215297
+ var MimeType = /* @__PURE__ */ ((o) => (o.VIAM_RGBA = "image/vnd.viam.rgba", o.JPEG = "image/jpeg", o.PNG = "image/png", o.PCD = "pointcloud/pcd", o.UNSUPPORTED = "unsupported", o))(MimeType || {});
215298
+ const Camera = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
215299
+ __proto__: null,
215300
+ MimeType
215301
+ }, Symbol.toStringTag, { value: "Module" })), Motor = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
215302
+ __proto__: null
215303
+ }, Symbol.toStringTag, { value: "Module" }));
215292
215304
  var commonjsGlobal$l = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, arm_pb = {}, googleProtobuf$m = {};
215293
215305
  (function(exports) {
215294
215306
  var $jscomp = $jscomp || {};
@@ -419234,7 +419246,7 @@ class BoardClient {
419234
419246
  return n.setBoardName(e), n.setDigitalInterruptName(r), n.setExtra(struct_pb$2.Struct.fromJavaScript(p)), this.options.requestLogger?.(n), (await promisify(t.getDigitalInterruptValue.bind(t), n)).getValue();
419235
419247
  }
419236
419248
  }
419237
- var MimeType = /* @__PURE__ */ ((o) => (o.VIAM_RGBA = "image/vnd.viam.rgba", o.JPEG = "image/jpeg", o.PNG = "image/png", o.PCD = "pointcloud/pcd", o.UNSUPPORTED = "unsupported", o))(MimeType || {}), commonjsGlobal$2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, camera_pb = {}, googleProtobuf$2 = {};
419249
+ var commonjsGlobal$2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, camera_pb = {}, googleProtobuf$2 = {};
419238
419250
  (function(exports) {
419239
419251
  var $jscomp = $jscomp || {};
419240
419252
  $jscomp.scope = {}, $jscomp.findInternal = function(o, e, r) {
@@ -447964,10 +447976,14 @@ class StreamClient extends EventDispatcher {
447964
447976
  }
447965
447977
  export {
447966
447978
  ArmClient,
447979
+ Base,
447967
447980
  BaseClient,
447981
+ Board,
447968
447982
  BoardClient,
447983
+ Camera,
447969
447984
  CameraClient,
447970
447985
  Client,
447986
+ Motor,
447971
447987
  MotorClient,
447972
447988
  MovementSensorClient,
447973
447989
  RobotClient,