@viamrobotics/sdk 0.0.50 → 0.0.52-alpha.1

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.
Files changed (40) hide show
  1. package/dist/components/arm/{Client.d.ts → client.d.ts} +1 -1
  2. package/dist/components/arm.d.ts +2 -2
  3. package/dist/components/base/{Client.d.ts → client.d.ts} +1 -1
  4. package/dist/components/base.d.ts +2 -2
  5. package/dist/components/board/{Client.d.ts → client.d.ts} +1 -1
  6. package/dist/components/board.d.ts +2 -2
  7. package/dist/components/camera/{Camera.d.ts → camera.d.ts} +3 -3
  8. package/dist/components/camera/{Client.d.ts → client.d.ts} +3 -3
  9. package/dist/components/camera.d.ts +2 -2
  10. package/dist/components/encoder/{Client.d.ts → client.d.ts} +1 -1
  11. package/dist/components/encoder.d.ts +3 -3
  12. package/dist/components/motor/{Client.d.ts → client.d.ts} +1 -1
  13. package/dist/components/motor.d.ts +2 -2
  14. package/dist/components/{movementsensor/Client.d.ts → movement-sensor/client.d.ts} +1 -1
  15. package/dist/components/movementsensor.d.ts +2 -2
  16. package/dist/components/sensor/{Client.d.ts → client.d.ts} +1 -1
  17. package/dist/components/sensor.d.ts +2 -2
  18. package/dist/extra/stream/{Client.d.ts → client.d.ts} +1 -1
  19. package/dist/extra/stream.d.ts +2 -2
  20. package/dist/main.d.ts +1 -1
  21. package/dist/main.es.js +2402 -2407
  22. package/dist/main.umd.js +5 -5
  23. package/dist/robot/{Client.d.ts → client.d.ts} +3 -3
  24. package/dist/robot/dial.d.ts +1 -1
  25. package/dist/robot/{SessionTransport.d.ts → session-transport.d.ts} +1 -1
  26. package/dist/robot.d.ts +2 -2
  27. package/dist/services/motion/{Client.d.ts → client.d.ts} +1 -1
  28. package/dist/services/motion.d.ts +2 -2
  29. package/package.json +1 -1
  30. package/dist/components/arm/{Arm.d.ts → arm.d.ts} +0 -0
  31. package/dist/components/base/{Base.d.ts → base.d.ts} +0 -0
  32. package/dist/components/board/{Board.d.ts → board.d.ts} +0 -0
  33. package/dist/components/encoder/{Encoder.d.ts → encoder.d.ts} +0 -0
  34. package/dist/components/motor/{Motor.d.ts → motor.d.ts} +0 -0
  35. package/dist/components/{movementsensor/MovementSensor.d.ts → movement-sensor/movement-sensor.d.ts} +0 -0
  36. package/dist/components/sensor/{Sensor.d.ts → sensor.d.ts} +0 -0
  37. package/dist/extra/stream/{Stream.d.ts → stream.d.ts} +0 -0
  38. package/dist/robot/{Robot.d.ts → robot.d.ts} +1 -1
  39. /package/dist/robot/{SessionManager.d.ts → session-manager.d.ts} +0 -0
  40. /package/dist/services/motion/{Motion.d.ts → motion.d.ts} +0 -0
@@ -1,8 +1,8 @@
1
1
  import type { Credentials } from '@viamrobotics/rpc/src/dial';
2
- import type { Robot } from './Robot';
2
+ import type { Duration } from 'google-protobuf/google/protobuf/duration_pb';
3
+ import type { grpc } from '@improbable-eng/grpc-web';
3
4
  import proto from '../gen/robot/v1/robot_pb';
4
5
  import type { PoseInFrame, ResourceName, Transform } from '../gen/common/v1/common_pb';
5
- import type { Duration } from 'google-protobuf/google/protobuf/duration_pb';
6
6
  import { ArmServiceClient } from '../gen/component/arm/v1/arm_pb_service';
7
7
  import { BaseServiceClient } from '../gen/component/base/v1/base_pb_service';
8
8
  import { BoardServiceClient } from '../gen/component/board/v1/board_pb_service';
@@ -20,7 +20,7 @@ import { SLAMServiceClient } from '../gen/service/slam/v1/slam_pb_service';
20
20
  import { SensorsServiceClient } from '../gen/service/sensors/v1/sensors_pb_service';
21
21
  import { ServoServiceClient } from '../gen/component/servo/v1/servo_pb_service';
22
22
  import { VisionServiceClient } from '../gen/service/vision/v1/vision_pb_service';
23
- import type { grpc } from '@improbable-eng/grpc-web';
23
+ import type { Robot } from './robot';
24
24
  interface WebRTCOptions {
25
25
  enabled: boolean;
26
26
  host: string;
@@ -1,4 +1,4 @@
1
- import { RobotClient } from './Client';
1
+ import { RobotClient } from './client';
2
2
  interface Credential {
3
3
  type: string;
4
4
  payload: string;
@@ -1,5 +1,5 @@
1
- import type SessionManager from './SessionManager';
2
1
  import { grpc } from '@improbable-eng/grpc-web';
2
+ import type SessionManager from './session-manager';
3
3
  export default class SessionTransport implements grpc.Transport {
4
4
  private readonly opts;
5
5
  protected readonly transport: grpc.Transport;
package/dist/robot.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export type { Robot } from './robot/Robot';
2
- export { RobotClient } from './robot/Client';
1
+ export type { Robot } from './robot/robot';
2
+ export { RobotClient } from './robot/client';
3
3
  export { type DialConf, type DialDirectConf, type DialWebRTCConf, createRobotClient, } from './robot/dial';
@@ -1,7 +1,7 @@
1
1
  import type { RobotClient } from '../../robot';
2
2
  import type { Options, Pose, PoseInFrame, ResourceName, Transform, WorldState } from '../../types';
3
3
  import { type Constraints } from './types';
4
- import type { Motion } from './Motion';
4
+ import type { Motion } from './motion';
5
5
  /**
6
6
  * A gRPC-web client for a Motion service.
7
7
  *
@@ -1,3 +1,3 @@
1
- export type { Motion } from './motion/Motion';
1
+ export type { Motion } from './motion/motion';
2
2
  export type { Constraints, LinearConstraint, OrientationConstraint, CollisionSpecification, } from './motion/types';
3
- export { MotionClient } from './motion/Client';
3
+ export { MotionClient } from './motion/client';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/sdk",
3
- "version": "0.0.50",
3
+ "version": "0.0.52-alpha.1",
4
4
  "description": "",
5
5
  "main": "./dist/main.umd.js",
6
6
  "module": "./dist/main.es.js",
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
- import type { PoseInFrame, ResourceName, Transform } from '../gen/common/v1/common_pb';
2
1
  import type { Duration } from 'google-protobuf/google/protobuf/duration_pb';
2
+ import type { PoseInFrame, ResourceName, Transform } from '../gen/common/v1/common_pb';
3
3
  import type { Extra } from '../types';
4
4
  import type proto from '../gen/robot/v1/robot_pb';
5
5
  export interface Robot {