@viamrobotics/sdk 0.2.4-rc.0 → 0.2.4

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.
@@ -608,6 +608,11 @@ export class GetKinematicsRequest extends jspb.Message {
608
608
  getName(): string;
609
609
  setName(value: string): void;
610
610
 
611
+ hasExtra(): boolean;
612
+ clearExtra(): void;
613
+ getExtra(): google_protobuf_struct_pb.Struct | undefined;
614
+ setExtra(value?: google_protobuf_struct_pb.Struct): void;
615
+
611
616
  serializeBinary(): Uint8Array;
612
617
  toObject(includeInstance?: boolean): GetKinematicsRequest.AsObject;
613
618
  static toObject(includeInstance: boolean, msg: GetKinematicsRequest): GetKinematicsRequest.AsObject;
@@ -621,6 +626,7 @@ export class GetKinematicsRequest extends jspb.Message {
621
626
  export namespace GetKinematicsRequest {
622
627
  export type AsObject = {
623
628
  name: string,
629
+ extra?: google_protobuf_struct_pb.Struct.AsObject,
624
630
  }
625
631
  }
626
632
 
@@ -654,6 +660,11 @@ export class GetGeometriesRequest extends jspb.Message {
654
660
  getName(): string;
655
661
  setName(value: string): void;
656
662
 
663
+ hasExtra(): boolean;
664
+ clearExtra(): void;
665
+ getExtra(): google_protobuf_struct_pb.Struct | undefined;
666
+ setExtra(value?: google_protobuf_struct_pb.Struct): void;
667
+
657
668
  serializeBinary(): Uint8Array;
658
669
  toObject(includeInstance?: boolean): GetGeometriesRequest.AsObject;
659
670
  static toObject(includeInstance: boolean, msg: GetGeometriesRequest): GetGeometriesRequest.AsObject;
@@ -667,6 +678,7 @@ export class GetGeometriesRequest extends jspb.Message {
667
678
  export namespace GetGeometriesRequest {
668
679
  export type AsObject = {
669
680
  name: string,
681
+ extra?: google_protobuf_struct_pb.Struct.AsObject,
670
682
  }
671
683
  }
672
684
 
package/dist/main.es.js CHANGED
@@ -9955,10 +9955,11 @@ var timestamp_pb = {};
9955
9955
  }, e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetKinematicsRequest.prototype.toObject = function(o) {
9956
9956
  return proto.viam.common.v1.GetKinematicsRequest.toObject(o, this);
9957
9957
  }, proto.viam.common.v1.GetKinematicsRequest.toObject = function(o, r) {
9958
- var n = {
9959
- name: e.Message.getFieldWithDefault(r, 1, "")
9958
+ var n, l = {
9959
+ name: e.Message.getFieldWithDefault(r, 1, ""),
9960
+ extra: (n = r.getExtra()) && g.Struct.toObject(o, n)
9960
9961
  };
9961
- return o && (n.$jspbMessageInstance = r), n;
9962
+ return o && (l.$jspbMessageInstance = r), l;
9962
9963
  }), proto.viam.common.v1.GetKinematicsRequest.deserializeBinary = function(o) {
9963
9964
  var r = new e.BinaryReader(o), n = new proto.viam.common.v1.GetKinematicsRequest();
9964
9965
  return proto.viam.common.v1.GetKinematicsRequest.deserializeBinaryFromReader(n, r);
@@ -9973,6 +9974,10 @@ var timestamp_pb = {};
9973
9974
  );
9974
9975
  o.setName(l);
9975
9976
  break;
9977
+ case 99:
9978
+ var l = new g.Struct();
9979
+ r.readMessage(l, g.Struct.deserializeBinaryFromReader), o.setExtra(l);
9980
+ break;
9976
9981
  default:
9977
9982
  r.skipField();
9978
9983
  break;
@@ -9987,6 +9992,10 @@ var timestamp_pb = {};
9987
9992
  n = o.getName(), n.length > 0 && r.writeString(
9988
9993
  1,
9989
9994
  n
9995
+ ), n = o.getExtra(), n != null && r.writeMessage(
9996
+ 99,
9997
+ n,
9998
+ g.Struct.serializeBinaryToWriter
9990
9999
  );
9991
10000
  }, proto.viam.common.v1.GetKinematicsRequest.prototype.getName = function() {
9992
10001
  return (
@@ -9995,6 +10004,17 @@ var timestamp_pb = {};
9995
10004
  );
9996
10005
  }, proto.viam.common.v1.GetKinematicsRequest.prototype.setName = function(o) {
9997
10006
  return e.Message.setProto3StringField(this, 1, o);
10007
+ }, proto.viam.common.v1.GetKinematicsRequest.prototype.getExtra = function() {
10008
+ return (
10009
+ /** @type{?proto.google.protobuf.Struct} */
10010
+ e.Message.getWrapperField(this, g.Struct, 99)
10011
+ );
10012
+ }, proto.viam.common.v1.GetKinematicsRequest.prototype.setExtra = function(o) {
10013
+ return e.Message.setWrapperField(this, 99, o);
10014
+ }, proto.viam.common.v1.GetKinematicsRequest.prototype.clearExtra = function() {
10015
+ return this.setExtra(void 0);
10016
+ }, proto.viam.common.v1.GetKinematicsRequest.prototype.hasExtra = function() {
10017
+ return e.Message.getField(this, 99) != null;
9998
10018
  }, e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetKinematicsResponse.prototype.toObject = function(o) {
9999
10019
  return proto.viam.common.v1.GetKinematicsResponse.toObject(o, this);
10000
10020
  }, proto.viam.common.v1.GetKinematicsResponse.toObject = function(o, r) {
@@ -10073,10 +10093,11 @@ var timestamp_pb = {};
10073
10093
  }, e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetGeometriesRequest.prototype.toObject = function(o) {
10074
10094
  return proto.viam.common.v1.GetGeometriesRequest.toObject(o, this);
10075
10095
  }, proto.viam.common.v1.GetGeometriesRequest.toObject = function(o, r) {
10076
- var n = {
10077
- name: e.Message.getFieldWithDefault(r, 1, "")
10096
+ var n, l = {
10097
+ name: e.Message.getFieldWithDefault(r, 1, ""),
10098
+ extra: (n = r.getExtra()) && g.Struct.toObject(o, n)
10078
10099
  };
10079
- return o && (n.$jspbMessageInstance = r), n;
10100
+ return o && (l.$jspbMessageInstance = r), l;
10080
10101
  }), proto.viam.common.v1.GetGeometriesRequest.deserializeBinary = function(o) {
10081
10102
  var r = new e.BinaryReader(o), n = new proto.viam.common.v1.GetGeometriesRequest();
10082
10103
  return proto.viam.common.v1.GetGeometriesRequest.deserializeBinaryFromReader(n, r);
@@ -10091,6 +10112,10 @@ var timestamp_pb = {};
10091
10112
  );
10092
10113
  o.setName(l);
10093
10114
  break;
10115
+ case 99:
10116
+ var l = new g.Struct();
10117
+ r.readMessage(l, g.Struct.deserializeBinaryFromReader), o.setExtra(l);
10118
+ break;
10094
10119
  default:
10095
10120
  r.skipField();
10096
10121
  break;
@@ -10105,6 +10130,10 @@ var timestamp_pb = {};
10105
10130
  n = o.getName(), n.length > 0 && r.writeString(
10106
10131
  1,
10107
10132
  n
10133
+ ), n = o.getExtra(), n != null && r.writeMessage(
10134
+ 99,
10135
+ n,
10136
+ g.Struct.serializeBinaryToWriter
10108
10137
  );
10109
10138
  }, proto.viam.common.v1.GetGeometriesRequest.prototype.getName = function() {
10110
10139
  return (
@@ -10113,6 +10142,17 @@ var timestamp_pb = {};
10113
10142
  );
10114
10143
  }, proto.viam.common.v1.GetGeometriesRequest.prototype.setName = function(o) {
10115
10144
  return e.Message.setProto3StringField(this, 1, o);
10145
+ }, proto.viam.common.v1.GetGeometriesRequest.prototype.getExtra = function() {
10146
+ return (
10147
+ /** @type{?proto.google.protobuf.Struct} */
10148
+ e.Message.getWrapperField(this, g.Struct, 99)
10149
+ );
10150
+ }, proto.viam.common.v1.GetGeometriesRequest.prototype.setExtra = function(o) {
10151
+ return e.Message.setWrapperField(this, 99, o);
10152
+ }, proto.viam.common.v1.GetGeometriesRequest.prototype.clearExtra = function() {
10153
+ return this.setExtra(void 0);
10154
+ }, proto.viam.common.v1.GetGeometriesRequest.prototype.hasExtra = function() {
10155
+ return e.Message.getField(this, 99) != null;
10116
10156
  }, proto.viam.common.v1.GetGeometriesResponse.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.common.v1.GetGeometriesResponse.prototype.toObject = function(o) {
10117
10157
  return proto.viam.common.v1.GetGeometriesResponse.toObject(o, this);
10118
10158
  }, proto.viam.common.v1.GetGeometriesResponse.toObject = function(o, r) {
@@ -43293,7 +43333,7 @@ class ServoClient {
43293
43333
  return doCommandFromClient(s, this.name, e, this.options);
43294
43334
  }
43295
43335
  }
43296
- const version = "0.2.4-rc.0";
43336
+ const version = "0.2.4";
43297
43337
  export {
43298
43338
  ArmClient,
43299
43339
  BaseClient,