@viamrobotics/sdk 0.36.0 → 0.36.1-b.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/components/arm/arm.d.ts +3 -0
- package/dist/components/arm/client.d.ts +1 -0
- package/dist/components/base/base.d.ts +3 -0
- package/dist/components/base/client.d.ts +1 -0
- package/dist/components/camera/camera.d.ts +3 -0
- package/dist/components/camera/client.d.ts +1 -0
- package/dist/components/gantry/client.d.ts +1 -0
- package/dist/components/gantry/gantry.d.ts +3 -0
- package/dist/components/generic/client.d.ts +2 -1
- package/dist/components/generic/generic.d.ts +4 -1
- package/dist/components/gripper/client.d.ts +1 -0
- package/dist/components/gripper/gripper.d.ts +3 -0
- package/dist/main.es.js +187 -145
- package/dist/main.umd.js +7 -7
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -350,7 +350,7 @@ function Uy() {
|
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
352
|
}
|
|
353
|
-
const
|
|
353
|
+
const $ = Uy();
|
|
354
354
|
var f;
|
|
355
355
|
(function(a) {
|
|
356
356
|
a[a.DOUBLE = 1] = "DOUBLE", a[a.FLOAT = 2] = "FLOAT", a[a.INT64 = 3] = "INT64", a[a.UINT64 = 4] = "UINT64", a[a.INT32 = 5] = "INT32", a[a.FIXED64 = 6] = "FIXED64", a[a.FIXED32 = 7] = "FIXED32", a[a.BOOL = 8] = "BOOL", a[a.STRING = 9] = "STRING", a[a.BYTES = 12] = "BYTES", a[a.UINT32 = 13] = "UINT32", a[a.SFIXED32 = 15] = "SFIXED32", a[a.SFIXED64 = 16] = "SFIXED64", a[a.SINT32 = 17] = "SINT32", a[a.SINT64 = 18] = "SINT64";
|
|
@@ -389,7 +389,7 @@ function Qe(a, e) {
|
|
|
389
389
|
case f.INT64:
|
|
390
390
|
case f.SFIXED64:
|
|
391
391
|
case f.SINT64:
|
|
392
|
-
return e == 0 ?
|
|
392
|
+
return e == 0 ? $.zero : "0";
|
|
393
393
|
case f.DOUBLE:
|
|
394
394
|
case f.FLOAT:
|
|
395
395
|
return 0;
|
|
@@ -543,35 +543,35 @@ class Gy {
|
|
|
543
543
|
* Write a `fixed64` value, a signed, fixed-length 64-bit integer.
|
|
544
544
|
*/
|
|
545
545
|
sfixed64(e) {
|
|
546
|
-
let n = new Uint8Array(8), t = new DataView(n.buffer), s =
|
|
546
|
+
let n = new Uint8Array(8), t = new DataView(n.buffer), s = $.enc(e);
|
|
547
547
|
return t.setInt32(0, s.lo, !0), t.setInt32(4, s.hi, !0), this.raw(n);
|
|
548
548
|
}
|
|
549
549
|
/**
|
|
550
550
|
* Write a `fixed64` value, an unsigned, fixed-length 64 bit integer.
|
|
551
551
|
*/
|
|
552
552
|
fixed64(e) {
|
|
553
|
-
let n = new Uint8Array(8), t = new DataView(n.buffer), s =
|
|
553
|
+
let n = new Uint8Array(8), t = new DataView(n.buffer), s = $.uEnc(e);
|
|
554
554
|
return t.setInt32(0, s.lo, !0), t.setInt32(4, s.hi, !0), this.raw(n);
|
|
555
555
|
}
|
|
556
556
|
/**
|
|
557
557
|
* Write a `int64` value, a signed 64-bit varint.
|
|
558
558
|
*/
|
|
559
559
|
int64(e) {
|
|
560
|
-
let n =
|
|
560
|
+
let n = $.enc(e);
|
|
561
561
|
return wa(n.lo, n.hi, this.buf), this;
|
|
562
562
|
}
|
|
563
563
|
/**
|
|
564
564
|
* Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.
|
|
565
565
|
*/
|
|
566
566
|
sint64(e) {
|
|
567
|
-
let n =
|
|
567
|
+
let n = $.enc(e), t = n.hi >> 31, s = n.lo << 1 ^ t, i = (n.hi << 1 | n.lo >>> 31) ^ t;
|
|
568
568
|
return wa(s, i, this.buf), this;
|
|
569
569
|
}
|
|
570
570
|
/**
|
|
571
571
|
* Write a `uint64` value, an unsigned 64-bit varint.
|
|
572
572
|
*/
|
|
573
573
|
uint64(e) {
|
|
574
|
-
let n =
|
|
574
|
+
let n = $.uEnc(e);
|
|
575
575
|
return wa(n.lo, n.hi, this.buf), this;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
@@ -650,20 +650,20 @@ class Ly {
|
|
|
650
650
|
* Read a `int64` field, a signed 64-bit varint.
|
|
651
651
|
*/
|
|
652
652
|
int64() {
|
|
653
|
-
return
|
|
653
|
+
return $.dec(...this.varint64());
|
|
654
654
|
}
|
|
655
655
|
/**
|
|
656
656
|
* Read a `uint64` field, an unsigned 64-bit varint.
|
|
657
657
|
*/
|
|
658
658
|
uint64() {
|
|
659
|
-
return
|
|
659
|
+
return $.uDec(...this.varint64());
|
|
660
660
|
}
|
|
661
661
|
/**
|
|
662
662
|
* Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint.
|
|
663
663
|
*/
|
|
664
664
|
sint64() {
|
|
665
665
|
let [e, n] = this.varint64(), t = -(e & 1);
|
|
666
|
-
return e = (e >>> 1 | (n & 1) << 31) ^ t, n = n >>> 1 ^ t,
|
|
666
|
+
return e = (e >>> 1 | (n & 1) << 31) ^ t, n = n >>> 1 ^ t, $.dec(e, n);
|
|
667
667
|
}
|
|
668
668
|
/**
|
|
669
669
|
* Read a `bool` field, a variant.
|
|
@@ -688,13 +688,13 @@ class Ly {
|
|
|
688
688
|
* Read a `fixed64` field, an unsigned, fixed-length 64 bit integer.
|
|
689
689
|
*/
|
|
690
690
|
fixed64() {
|
|
691
|
-
return
|
|
691
|
+
return $.uDec(this.sfixed32(), this.sfixed32());
|
|
692
692
|
}
|
|
693
693
|
/**
|
|
694
694
|
* Read a `fixed64` field, a signed, fixed-length 64-bit integer.
|
|
695
695
|
*/
|
|
696
696
|
sfixed64() {
|
|
697
|
-
return
|
|
697
|
+
return $.dec(this.sfixed32(), this.sfixed32());
|
|
698
698
|
}
|
|
699
699
|
/**
|
|
700
700
|
* Read a `float` field, 32-bit floating point number.
|
|
@@ -1172,13 +1172,13 @@ function un(a, e, n, t) {
|
|
|
1172
1172
|
case f.SINT64:
|
|
1173
1173
|
if (typeof e != "number" && typeof e != "string")
|
|
1174
1174
|
break;
|
|
1175
|
-
const r =
|
|
1175
|
+
const r = $.parse(e);
|
|
1176
1176
|
return n ? r.toString() : r;
|
|
1177
1177
|
case f.FIXED64:
|
|
1178
1178
|
case f.UINT64:
|
|
1179
1179
|
if (typeof e != "number" && typeof e != "string")
|
|
1180
1180
|
break;
|
|
1181
|
-
const c =
|
|
1181
|
+
const c = $.uParse(e);
|
|
1182
1182
|
return n ? c.toString() : c;
|
|
1183
1183
|
case f.BOOL:
|
|
1184
1184
|
if (typeof e != "boolean")
|
|
@@ -2109,9 +2109,9 @@ class ge extends E {
|
|
|
2109
2109
|
ge.runtime = p;
|
|
2110
2110
|
ge.typeName = "google.protobuf.ExtensionRangeOptions";
|
|
2111
2111
|
ge.fields = p.util.newFieldList(() => [
|
|
2112
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2112
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 },
|
|
2113
2113
|
{ no: 2, name: "declaration", kind: "message", T: Te, repeated: !0 },
|
|
2114
|
-
{ no: 50, name: "features", kind: "message", T:
|
|
2114
|
+
{ no: 50, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2115
2115
|
{ no: 3, name: "verification", kind: "enum", T: p.getEnumType(gn), opt: !0, default: gn.UNVERIFIED }
|
|
2116
2116
|
]);
|
|
2117
2117
|
var gn;
|
|
@@ -2399,8 +2399,8 @@ Re.fields = p.util.newFieldList(() => [
|
|
|
2399
2399
|
{ no: 41, name: "php_namespace", kind: "scalar", T: 9, opt: !0 },
|
|
2400
2400
|
{ no: 44, name: "php_metadata_namespace", kind: "scalar", T: 9, opt: !0 },
|
|
2401
2401
|
{ no: 45, name: "ruby_package", kind: "scalar", T: 9, opt: !0 },
|
|
2402
|
-
{ no: 50, name: "features", kind: "message", T:
|
|
2403
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2402
|
+
{ no: 50, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2403
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2404
2404
|
]);
|
|
2405
2405
|
var Tn;
|
|
2406
2406
|
(function(a) {
|
|
@@ -2436,8 +2436,8 @@ _e.fields = p.util.newFieldList(() => [
|
|
|
2436
2436
|
{ no: 3, name: "deprecated", kind: "scalar", T: 8, opt: !0, default: !1 },
|
|
2437
2437
|
{ no: 7, name: "map_entry", kind: "scalar", T: 8, opt: !0 },
|
|
2438
2438
|
{ no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8, opt: !0 },
|
|
2439
|
-
{ no: 12, name: "features", kind: "message", T:
|
|
2440
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2439
|
+
{ no: 12, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2440
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2441
2441
|
]);
|
|
2442
2442
|
class Se extends E {
|
|
2443
2443
|
constructor(e) {
|
|
@@ -2470,9 +2470,9 @@ Se.fields = p.util.newFieldList(() => [
|
|
|
2470
2470
|
{ no: 17, name: "retention", kind: "enum", T: p.getEnumType(Yn), opt: !0 },
|
|
2471
2471
|
{ no: 19, name: "targets", kind: "enum", T: p.getEnumType($n), repeated: !0 },
|
|
2472
2472
|
{ no: 20, name: "edition_defaults", kind: "message", T: Ie, repeated: !0 },
|
|
2473
|
-
{ no: 21, name: "features", kind: "message", T:
|
|
2473
|
+
{ no: 21, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2474
2474
|
{ no: 22, name: "feature_support", kind: "message", T: ie, opt: !0 },
|
|
2475
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2475
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2476
2476
|
]);
|
|
2477
2477
|
var kn;
|
|
2478
2478
|
(function(a) {
|
|
@@ -2585,8 +2585,8 @@ class be extends E {
|
|
|
2585
2585
|
be.runtime = p;
|
|
2586
2586
|
be.typeName = "google.protobuf.OneofOptions";
|
|
2587
2587
|
be.fields = p.util.newFieldList(() => [
|
|
2588
|
-
{ no: 1, name: "features", kind: "message", T:
|
|
2589
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2588
|
+
{ no: 1, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2589
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2590
2590
|
]);
|
|
2591
2591
|
class we extends E {
|
|
2592
2592
|
constructor(e) {
|
|
@@ -2611,8 +2611,8 @@ we.fields = p.util.newFieldList(() => [
|
|
|
2611
2611
|
{ no: 2, name: "allow_alias", kind: "scalar", T: 8, opt: !0 },
|
|
2612
2612
|
{ no: 3, name: "deprecated", kind: "scalar", T: 8, opt: !0, default: !1 },
|
|
2613
2613
|
{ no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8, opt: !0 },
|
|
2614
|
-
{ no: 7, name: "features", kind: "message", T:
|
|
2615
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2614
|
+
{ no: 7, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2615
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2616
2616
|
]);
|
|
2617
2617
|
class Ee extends E {
|
|
2618
2618
|
constructor(e) {
|
|
@@ -2635,10 +2635,10 @@ Ee.runtime = p;
|
|
|
2635
2635
|
Ee.typeName = "google.protobuf.EnumValueOptions";
|
|
2636
2636
|
Ee.fields = p.util.newFieldList(() => [
|
|
2637
2637
|
{ no: 1, name: "deprecated", kind: "scalar", T: 8, opt: !0, default: !1 },
|
|
2638
|
-
{ no: 2, name: "features", kind: "message", T:
|
|
2638
|
+
{ no: 2, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2639
2639
|
{ no: 3, name: "debug_redact", kind: "scalar", T: 8, opt: !0, default: !1 },
|
|
2640
2640
|
{ no: 4, name: "feature_support", kind: "message", T: ie, opt: !0 },
|
|
2641
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2641
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2642
2642
|
]);
|
|
2643
2643
|
class Oe extends E {
|
|
2644
2644
|
constructor(e) {
|
|
@@ -2660,9 +2660,9 @@ class Oe extends E {
|
|
|
2660
2660
|
Oe.runtime = p;
|
|
2661
2661
|
Oe.typeName = "google.protobuf.ServiceOptions";
|
|
2662
2662
|
Oe.fields = p.util.newFieldList(() => [
|
|
2663
|
-
{ no: 34, name: "features", kind: "message", T:
|
|
2663
|
+
{ no: 34, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2664
2664
|
{ no: 33, name: "deprecated", kind: "scalar", T: 8, opt: !0, default: !1 },
|
|
2665
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2665
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2666
2666
|
]);
|
|
2667
2667
|
class re extends E {
|
|
2668
2668
|
constructor(e) {
|
|
@@ -2686,8 +2686,8 @@ re.typeName = "google.protobuf.MethodOptions";
|
|
|
2686
2686
|
re.fields = p.util.newFieldList(() => [
|
|
2687
2687
|
{ no: 33, name: "deprecated", kind: "scalar", T: 8, opt: !0, default: !1 },
|
|
2688
2688
|
{ no: 34, name: "idempotency_level", kind: "enum", T: p.getEnumType(hn), opt: !0, default: hn.IDEMPOTENCY_UNKNOWN },
|
|
2689
|
-
{ no: 35, name: "features", kind: "message", T:
|
|
2690
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", T:
|
|
2689
|
+
{ no: 35, name: "features", kind: "message", T: Y, opt: !0 },
|
|
2690
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
|
|
2691
2691
|
]);
|
|
2692
2692
|
var hn;
|
|
2693
2693
|
(function(a) {
|
|
@@ -2698,26 +2698,26 @@ p.util.setEnumType(hn, "google.protobuf.MethodOptions.IdempotencyLevel", [
|
|
|
2698
2698
|
{ no: 1, name: "NO_SIDE_EFFECTS" },
|
|
2699
2699
|
{ no: 2, name: "IDEMPOTENT" }
|
|
2700
2700
|
]);
|
|
2701
|
-
class
|
|
2701
|
+
class W extends E {
|
|
2702
2702
|
constructor(e) {
|
|
2703
2703
|
super(), this.name = [], p.util.initPartial(e, this);
|
|
2704
2704
|
}
|
|
2705
2705
|
static fromBinary(e, n) {
|
|
2706
|
-
return new
|
|
2706
|
+
return new W().fromBinary(e, n);
|
|
2707
2707
|
}
|
|
2708
2708
|
static fromJson(e, n) {
|
|
2709
|
-
return new
|
|
2709
|
+
return new W().fromJson(e, n);
|
|
2710
2710
|
}
|
|
2711
2711
|
static fromJsonString(e, n) {
|
|
2712
|
-
return new
|
|
2712
|
+
return new W().fromJsonString(e, n);
|
|
2713
2713
|
}
|
|
2714
2714
|
static equals(e, n) {
|
|
2715
|
-
return p.util.equals(
|
|
2715
|
+
return p.util.equals(W, e, n);
|
|
2716
2716
|
}
|
|
2717
2717
|
}
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2718
|
+
W.runtime = p;
|
|
2719
|
+
W.typeName = "google.protobuf.UninterpretedOption";
|
|
2720
|
+
W.fields = p.util.newFieldList(() => [
|
|
2721
2721
|
{ no: 2, name: "name", kind: "message", T: Me, repeated: !0 },
|
|
2722
2722
|
{ no: 3, name: "identifier_value", kind: "scalar", T: 9, opt: !0 },
|
|
2723
2723
|
{ no: 4, name: "positive_int_value", kind: "scalar", T: 4, opt: !0 },
|
|
@@ -2749,26 +2749,26 @@ Me.fields = p.util.newFieldList(() => [
|
|
|
2749
2749
|
{ no: 1, name: "name_part", kind: "scalar", T: 9, req: !0 },
|
|
2750
2750
|
{ no: 2, name: "is_extension", kind: "scalar", T: 8, req: !0 }
|
|
2751
2751
|
]);
|
|
2752
|
-
class
|
|
2752
|
+
class Y extends E {
|
|
2753
2753
|
constructor(e) {
|
|
2754
2754
|
super(), p.util.initPartial(e, this);
|
|
2755
2755
|
}
|
|
2756
2756
|
static fromBinary(e, n) {
|
|
2757
|
-
return new
|
|
2757
|
+
return new Y().fromBinary(e, n);
|
|
2758
2758
|
}
|
|
2759
2759
|
static fromJson(e, n) {
|
|
2760
|
-
return new
|
|
2760
|
+
return new Y().fromJson(e, n);
|
|
2761
2761
|
}
|
|
2762
2762
|
static fromJsonString(e, n) {
|
|
2763
|
-
return new
|
|
2763
|
+
return new Y().fromJsonString(e, n);
|
|
2764
2764
|
}
|
|
2765
2765
|
static equals(e, n) {
|
|
2766
|
-
return p.util.equals(
|
|
2766
|
+
return p.util.equals(Y, e, n);
|
|
2767
2767
|
}
|
|
2768
2768
|
}
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2769
|
+
Y.runtime = p;
|
|
2770
|
+
Y.typeName = "google.protobuf.FeatureSet";
|
|
2771
|
+
Y.fields = p.util.newFieldList(() => [
|
|
2772
2772
|
{ no: 1, name: "field_presence", kind: "enum", T: p.getEnumType(Vn), opt: !0 },
|
|
2773
2773
|
{ no: 2, name: "enum_type", kind: "enum", T: p.getEnumType(Wn), opt: !0 },
|
|
2774
2774
|
{ no: 3, name: "repeated_field_encoding", kind: "enum", T: p.getEnumType(jn), opt: !0 },
|
|
@@ -2876,8 +2876,8 @@ Ce.runtime = p;
|
|
|
2876
2876
|
Ce.typeName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault";
|
|
2877
2877
|
Ce.fields = p.util.newFieldList(() => [
|
|
2878
2878
|
{ no: 3, name: "edition", kind: "enum", T: p.getEnumType(ne), opt: !0 },
|
|
2879
|
-
{ no: 4, name: "overridable_features", kind: "message", T:
|
|
2880
|
-
{ no: 5, name: "fixed_features", kind: "message", T:
|
|
2879
|
+
{ no: 4, name: "overridable_features", kind: "message", T: Y, opt: !0 },
|
|
2880
|
+
{ no: 5, name: "fixed_features", kind: "message", T: Y, opt: !0 }
|
|
2881
2881
|
]);
|
|
2882
2882
|
class Ne extends E {
|
|
2883
2883
|
constructor(e) {
|
|
@@ -2986,7 +2986,7 @@ p.util.setEnumType(Qn, "google.protobuf.GeneratedCodeInfo.Annotation.Semantic",
|
|
|
2986
2986
|
]);
|
|
2987
2987
|
class _ extends E {
|
|
2988
2988
|
constructor(e) {
|
|
2989
|
-
super(), this.seconds =
|
|
2989
|
+
super(), this.seconds = $.zero, this.nanos = 0, o.util.initPartial(e, this);
|
|
2990
2990
|
}
|
|
2991
2991
|
fromJson(e, n) {
|
|
2992
2992
|
if (typeof e != "string")
|
|
@@ -2999,7 +2999,7 @@ class _ extends E {
|
|
|
2999
2999
|
throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");
|
|
3000
3000
|
if (s < Date.parse("0001-01-01T00:00:00Z") || s > Date.parse("9999-12-31T23:59:59Z"))
|
|
3001
3001
|
throw new Error("cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");
|
|
3002
|
-
return this.seconds =
|
|
3002
|
+
return this.seconds = $.parse(s / 1e3), this.nanos = 0, t[7] && (this.nanos = parseInt("1" + t[7] + "0".repeat(9 - t[7].length)) - 1e9), this;
|
|
3003
3003
|
}
|
|
3004
3004
|
toJson(e) {
|
|
3005
3005
|
const n = Number(this.seconds) * 1e3;
|
|
@@ -3023,7 +3023,7 @@ class _ extends E {
|
|
|
3023
3023
|
static fromDate(e) {
|
|
3024
3024
|
const n = e.getTime();
|
|
3025
3025
|
return new _({
|
|
3026
|
-
seconds:
|
|
3026
|
+
seconds: $.parse(Math.floor(n / 1e3)),
|
|
3027
3027
|
nanos: n % 1e3 * 1e6
|
|
3028
3028
|
});
|
|
3029
3029
|
}
|
|
@@ -3058,9 +3058,9 @@ _.fields = o.util.newFieldList(() => [
|
|
|
3058
3058
|
/* ScalarType.INT32 */
|
|
3059
3059
|
}
|
|
3060
3060
|
]);
|
|
3061
|
-
class
|
|
3061
|
+
class V extends E {
|
|
3062
3062
|
constructor(e) {
|
|
3063
|
-
super(), this.seconds =
|
|
3063
|
+
super(), this.seconds = $.zero, this.nanos = 0, o.util.initPartial(e, this);
|
|
3064
3064
|
}
|
|
3065
3065
|
fromJson(e, n) {
|
|
3066
3066
|
if (typeof e != "string")
|
|
@@ -3071,7 +3071,7 @@ class $ extends E {
|
|
|
3071
3071
|
const s = Number(t[1]);
|
|
3072
3072
|
if (s > 315576e6 || s < -315576e6)
|
|
3073
3073
|
throw new Error(`cannot decode google.protobuf.Duration from JSON: ${o.json.debug(e)}`);
|
|
3074
|
-
if (this.seconds =
|
|
3074
|
+
if (this.seconds = $.parse(s), typeof t[2] == "string") {
|
|
3075
3075
|
const i = t[2] + "0".repeat(9 - t[2].length);
|
|
3076
3076
|
this.nanos = parseInt(i), (s < 0 || Object.is(s, -0)) && (this.nanos = -this.nanos);
|
|
3077
3077
|
}
|
|
@@ -3088,21 +3088,21 @@ class $ extends E {
|
|
|
3088
3088
|
return n + "s";
|
|
3089
3089
|
}
|
|
3090
3090
|
static fromBinary(e, n) {
|
|
3091
|
-
return new
|
|
3091
|
+
return new V().fromBinary(e, n);
|
|
3092
3092
|
}
|
|
3093
3093
|
static fromJson(e, n) {
|
|
3094
|
-
return new
|
|
3094
|
+
return new V().fromJson(e, n);
|
|
3095
3095
|
}
|
|
3096
3096
|
static fromJsonString(e, n) {
|
|
3097
|
-
return new
|
|
3097
|
+
return new V().fromJsonString(e, n);
|
|
3098
3098
|
}
|
|
3099
3099
|
static equals(e, n) {
|
|
3100
|
-
return o.util.equals(
|
|
3100
|
+
return o.util.equals(V, e, n);
|
|
3101
3101
|
}
|
|
3102
3102
|
}
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3103
|
+
V.runtime = o;
|
|
3104
|
+
V.typeName = "google.protobuf.Duration";
|
|
3105
|
+
V.fields = o.util.newFieldList(() => [
|
|
3106
3106
|
{
|
|
3107
3107
|
no: 1,
|
|
3108
3108
|
name: "seconds",
|
|
@@ -3118,7 +3118,7 @@ $.fields = o.util.newFieldList(() => [
|
|
|
3118
3118
|
/* ScalarType.INT32 */
|
|
3119
3119
|
}
|
|
3120
3120
|
]);
|
|
3121
|
-
class
|
|
3121
|
+
class j extends E {
|
|
3122
3122
|
constructor(e) {
|
|
3123
3123
|
super(), this.typeUrl = "", this.value = new Uint8Array(0), o.util.initPartial(e, this);
|
|
3124
3124
|
}
|
|
@@ -3185,25 +3185,25 @@ class W extends E {
|
|
|
3185
3185
|
return t;
|
|
3186
3186
|
}
|
|
3187
3187
|
static pack(e) {
|
|
3188
|
-
const n = new
|
|
3188
|
+
const n = new j();
|
|
3189
3189
|
return n.packFrom(e), n;
|
|
3190
3190
|
}
|
|
3191
3191
|
static fromBinary(e, n) {
|
|
3192
|
-
return new
|
|
3192
|
+
return new j().fromBinary(e, n);
|
|
3193
3193
|
}
|
|
3194
3194
|
static fromJson(e, n) {
|
|
3195
|
-
return new
|
|
3195
|
+
return new j().fromJson(e, n);
|
|
3196
3196
|
}
|
|
3197
3197
|
static fromJsonString(e, n) {
|
|
3198
|
-
return new
|
|
3198
|
+
return new j().fromJsonString(e, n);
|
|
3199
3199
|
}
|
|
3200
3200
|
static equals(e, n) {
|
|
3201
|
-
return o.util.equals(
|
|
3201
|
+
return o.util.equals(j, e, n);
|
|
3202
3202
|
}
|
|
3203
3203
|
}
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3204
|
+
j.runtime = o;
|
|
3205
|
+
j.typeName = "google.protobuf.Any";
|
|
3206
|
+
j.fields = o.util.newFieldList(() => [
|
|
3207
3207
|
{
|
|
3208
3208
|
no: 1,
|
|
3209
3209
|
name: "type_url",
|
|
@@ -3517,8 +3517,8 @@ var ph = function(a) {
|
|
|
3517
3517
|
}
|
|
3518
3518
|
function c(R, I) {
|
|
3519
3519
|
t[R] && (s[R] = function(M) {
|
|
3520
|
-
return new Promise(function(N,
|
|
3521
|
-
i.push([R, M, N,
|
|
3520
|
+
return new Promise(function(N, J) {
|
|
3521
|
+
i.push([R, M, N, J]) > 1 || d(R, M);
|
|
3522
3522
|
});
|
|
3523
3523
|
}, I && (s[R] = I(s[R])));
|
|
3524
3524
|
}
|
|
@@ -3656,8 +3656,8 @@ var Li = function(a) {
|
|
|
3656
3656
|
}
|
|
3657
3657
|
function c(R, I) {
|
|
3658
3658
|
t[R] && (s[R] = function(M) {
|
|
3659
|
-
return new Promise(function(N,
|
|
3660
|
-
i.push([R, M, N,
|
|
3659
|
+
return new Promise(function(N, J) {
|
|
3660
|
+
i.push([R, M, N, J]) > 1 || d(R, M);
|
|
3661
3661
|
});
|
|
3662
3662
|
}, I && (s[R] = I(s[R])));
|
|
3663
3663
|
}
|
|
@@ -3721,8 +3721,8 @@ function _h(a, e, n) {
|
|
|
3721
3721
|
try {
|
|
3722
3722
|
for (var I = !0, M = Li(v.message), N; N = await M.next(), i = N.done, !i; I = !0)
|
|
3723
3723
|
d = N.value, I = !1, S = d, R++;
|
|
3724
|
-
} catch (
|
|
3725
|
-
r = { error:
|
|
3724
|
+
} catch (J) {
|
|
3725
|
+
r = { error: J };
|
|
3726
3726
|
} finally {
|
|
3727
3727
|
try {
|
|
3728
3728
|
!I && !i && (c = M.return) && await c.call(M);
|
|
@@ -3853,7 +3853,7 @@ ra.fields = o.util.newFieldList(() => [
|
|
|
3853
3853
|
T: 9
|
|
3854
3854
|
/* ScalarType.STRING */
|
|
3855
3855
|
},
|
|
3856
|
-
{ no: 3, name: "details", kind: "message", T:
|
|
3856
|
+
{ no: 3, name: "details", kind: "message", T: j, repeated: !0 }
|
|
3857
3857
|
]);
|
|
3858
3858
|
const Dh = "0";
|
|
3859
3859
|
function Ji(a) {
|
|
@@ -3997,7 +3997,7 @@ function Wi(a) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
];
|
|
3999
3999
|
}
|
|
4000
|
-
var
|
|
4000
|
+
var H = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ji = {}, Qa = {}, ea = H && H.__assign || function() {
|
|
4001
4001
|
return ea = Object.assign || function(a) {
|
|
4002
4002
|
for (var e, n = 1, t = arguments.length; n < t; n++) {
|
|
4003
4003
|
e = arguments[n];
|
|
@@ -4086,7 +4086,7 @@ var zh = nt, Yh = (
|
|
|
4086
4086
|
}()
|
|
4087
4087
|
);
|
|
4088
4088
|
ma.Delay = Yh;
|
|
4089
|
-
var $h =
|
|
4089
|
+
var $h = H && H.__extends || /* @__PURE__ */ function() {
|
|
4090
4090
|
var a = function(e, n) {
|
|
4091
4091
|
return a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, s) {
|
|
4092
4092
|
t.__proto__ = s;
|
|
@@ -4101,7 +4101,7 @@ var $h = j && j.__extends || /* @__PURE__ */ function() {
|
|
|
4101
4101
|
}
|
|
4102
4102
|
e.prototype = n === null ? Object.create(n) : (t.prototype = n.prototype, new t());
|
|
4103
4103
|
};
|
|
4104
|
-
}(), Vh =
|
|
4104
|
+
}(), Vh = H && H.__awaiter || function(a, e, n, t) {
|
|
4105
4105
|
function s(i) {
|
|
4106
4106
|
return i instanceof n ? i : new n(function(r) {
|
|
4107
4107
|
r(i);
|
|
@@ -4127,7 +4127,7 @@ var $h = j && j.__extends || /* @__PURE__ */ function() {
|
|
|
4127
4127
|
}
|
|
4128
4128
|
l((t = t.apply(a, e || [])).next());
|
|
4129
4129
|
});
|
|
4130
|
-
}, Wh =
|
|
4130
|
+
}, Wh = H && H.__generator || function(a, e) {
|
|
4131
4131
|
var n = { label: 0, sent: function() {
|
|
4132
4132
|
if (i[0] & 1) throw i[1];
|
|
4133
4133
|
return i[1];
|
|
@@ -4217,7 +4217,7 @@ var jh = ma, Hh = (
|
|
|
4217
4217
|
}(jh.Delay)
|
|
4218
4218
|
);
|
|
4219
4219
|
et.SkipFirstDelay = Hh;
|
|
4220
|
-
var st = {}, Kh =
|
|
4220
|
+
var st = {}, Kh = H && H.__extends || /* @__PURE__ */ function() {
|
|
4221
4221
|
var a = function(e, n) {
|
|
4222
4222
|
return a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, s) {
|
|
4223
4223
|
t.__proto__ = s;
|
|
@@ -4255,7 +4255,7 @@ Za.DelayFactory = nf;
|
|
|
4255
4255
|
function af(a) {
|
|
4256
4256
|
return a.delayFirstAttempt ? new ef.AlwaysDelay(a) : new Zh.SkipFirstDelay(a);
|
|
4257
4257
|
}
|
|
4258
|
-
var qa =
|
|
4258
|
+
var qa = H && H.__awaiter || function(a, e, n, t) {
|
|
4259
4259
|
function s(i) {
|
|
4260
4260
|
return i instanceof n ? i : new n(function(r) {
|
|
4261
4261
|
r(i);
|
|
@@ -4281,7 +4281,7 @@ var qa = j && j.__awaiter || function(a, e, n, t) {
|
|
|
4281
4281
|
}
|
|
4282
4282
|
l((t = t.apply(a, e || [])).next());
|
|
4283
4283
|
});
|
|
4284
|
-
}, Ua =
|
|
4284
|
+
}, Ua = H && H.__generator || function(a, e) {
|
|
4285
4285
|
var n = { label: 0, sent: function() {
|
|
4286
4286
|
if (i[0] & 1) throw i[1];
|
|
4287
4287
|
return i[1];
|
|
@@ -4533,7 +4533,7 @@ const Hi = /* @__PURE__ */ o.makeMessageType(
|
|
|
4533
4533
|
T: 9
|
|
4534
4534
|
/* ScalarType.STRING */
|
|
4535
4535
|
},
|
|
4536
|
-
{ no: 3, name: "details", kind: "message", T:
|
|
4536
|
+
{ no: 3, name: "details", kind: "message", T: j, repeated: !0 }
|
|
4537
4537
|
]
|
|
4538
4538
|
), bn = /* @__PURE__ */ o.makeMessageType(
|
|
4539
4539
|
"proto.rpc.webrtc.v1.ICECandidate",
|
|
@@ -4961,8 +4961,8 @@ var Ye = function(a) {
|
|
|
4961
4961
|
}
|
|
4962
4962
|
function c(R, I) {
|
|
4963
4963
|
t[R] && (s[R] = function(M) {
|
|
4964
|
-
return new Promise(function(N,
|
|
4965
|
-
i.push([R, M, N,
|
|
4964
|
+
return new Promise(function(N, J) {
|
|
4965
|
+
i.push([R, M, N, J]) > 1 || d(R, M);
|
|
4966
4966
|
});
|
|
4967
4967
|
}, I && (s[R] = I(s[R])));
|
|
4968
4968
|
}
|
|
@@ -5015,9 +5015,9 @@ function qf(a) {
|
|
|
5015
5015
|
},
|
|
5016
5016
|
next: async (R) => {
|
|
5017
5017
|
var I;
|
|
5018
|
-
const N = await ((I = a.fetch) !== null && I !== void 0 ? I : globalThis.fetch)(R.url, Object.assign(Object.assign({}, R.init), { headers: R.header, signal: R.signal, body: si(0, v(R.message)) })), { headerError:
|
|
5018
|
+
const N = await ((I = a.fetch) !== null && I !== void 0 ? I : globalThis.fetch)(R.url, Object.assign(Object.assign({}, R.init), { headers: R.header, signal: R.signal, body: si(0, v(R.message)) })), { headerError: J } = di(N.status, N.headers);
|
|
5019
5019
|
if (!N.body)
|
|
5020
|
-
throw
|
|
5020
|
+
throw J !== void 0 ? J : "missing response body";
|
|
5021
5021
|
const k = ti(N.body).getReader();
|
|
5022
5022
|
let h, g;
|
|
5023
5023
|
for (; ; ) {
|
|
@@ -5038,7 +5038,7 @@ function qf(a) {
|
|
|
5038
5038
|
g = S(b);
|
|
5039
5039
|
}
|
|
5040
5040
|
if (h === void 0)
|
|
5041
|
-
throw
|
|
5041
|
+
throw J !== void 0 ? J : new C("missing trailer", N.headers.has(en) ? O.Unimplemented : O.Unknown);
|
|
5042
5042
|
if (ci(h, N.headers), g === void 0)
|
|
5043
5043
|
throw new C("missing message", h.has(en) ? O.Unimplemented : O.Unknown);
|
|
5044
5044
|
return {
|
|
@@ -5055,7 +5055,7 @@ function qf(a) {
|
|
|
5055
5055
|
async stream(t, s, i, r, c, d, l) {
|
|
5056
5056
|
var T;
|
|
5057
5057
|
const { serialize: v, parse: S } = Aa(s, n, a.jsonOptions, a.binaryOptions);
|
|
5058
|
-
function R(M, N,
|
|
5058
|
+
function R(M, N, J, k, h) {
|
|
5059
5059
|
return Af(this, arguments, function* () {
|
|
5060
5060
|
const y = ti(M).getReader();
|
|
5061
5061
|
if (N) {
|
|
@@ -5073,8 +5073,8 @@ function qf(a) {
|
|
|
5073
5073
|
if (w)
|
|
5074
5074
|
throw "extra trailer";
|
|
5075
5075
|
w = !0;
|
|
5076
|
-
const
|
|
5077
|
-
ci(
|
|
5076
|
+
const z = oi(D);
|
|
5077
|
+
ci(z, k), z.forEach((Ia, ba) => J.set(ba, Ia));
|
|
5078
5078
|
continue;
|
|
5079
5079
|
}
|
|
5080
5080
|
if (w)
|
|
@@ -5174,7 +5174,7 @@ const aa = /* @__PURE__ */ o.makeMessageType(
|
|
|
5174
5174
|
/* ScalarType.STRING */
|
|
5175
5175
|
},
|
|
5176
5176
|
{ no: 2, name: "metadata", kind: "message", T: ca },
|
|
5177
|
-
{ no: 3, name: "timeout", kind: "message", T:
|
|
5177
|
+
{ no: 3, name: "timeout", kind: "message", T: V }
|
|
5178
5178
|
]
|
|
5179
5179
|
), Fa = /* @__PURE__ */ o.makeMessageType(
|
|
5180
5180
|
"proto.rpc.webrtc.v1.RequestMessage",
|
|
@@ -6490,7 +6490,7 @@ const _n = (a) => {
|
|
|
6490
6490
|
/* ScalarType.BYTES */
|
|
6491
6491
|
}
|
|
6492
6492
|
]
|
|
6493
|
-
),
|
|
6493
|
+
), F = /* @__PURE__ */ o.makeMessageType(
|
|
6494
6494
|
"viam.common.v1.GetGeometriesRequest",
|
|
6495
6495
|
() => [
|
|
6496
6496
|
{
|
|
@@ -6580,7 +6580,7 @@ const _n = (a) => {
|
|
|
6580
6580
|
GeoPoint: Je,
|
|
6581
6581
|
GeometriesInFrame: it,
|
|
6582
6582
|
Geometry: Ve,
|
|
6583
|
-
GetGeometriesRequest:
|
|
6583
|
+
GetGeometriesRequest: F,
|
|
6584
6584
|
GetGeometriesResponse: K,
|
|
6585
6585
|
GetKinematicsRequest: ur,
|
|
6586
6586
|
GetKinematicsResponse: pr,
|
|
@@ -6601,7 +6601,7 @@ const _n = (a) => {
|
|
|
6601
6601
|
WorldState: lr,
|
|
6602
6602
|
safety_heartbeat_monitored: sv
|
|
6603
6603
|
}, Symbol.toStringTag, { value: "Module" })), Ya = new Headers({
|
|
6604
|
-
"viam-client": `typescript;v0.36.0;${av}`
|
|
6604
|
+
"viam-client": `typescript;v0.36.1-b.0;${av}`
|
|
6605
6605
|
}), G = async function(e, n, t, s = {}, i = {}) {
|
|
6606
6606
|
const r = new A({
|
|
6607
6607
|
name: n,
|
|
@@ -6938,7 +6938,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
6938
6938
|
*/
|
|
6939
6939
|
getGeometries: {
|
|
6940
6940
|
name: "GetGeometries",
|
|
6941
|
-
I:
|
|
6941
|
+
I: F,
|
|
6942
6942
|
O: K,
|
|
6943
6943
|
kind: m.Unary
|
|
6944
6944
|
}
|
|
@@ -7217,7 +7217,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
7217
7217
|
*/
|
|
7218
7218
|
getGeometries: {
|
|
7219
7219
|
name: "GetGeometries",
|
|
7220
|
-
I:
|
|
7220
|
+
I: F,
|
|
7221
7221
|
O: K,
|
|
7222
7222
|
kind: m.Unary
|
|
7223
7223
|
},
|
|
@@ -7590,7 +7590,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
7590
7590
|
/* ScalarType.STRING */
|
|
7591
7591
|
},
|
|
7592
7592
|
{ no: 2, name: "power_mode", kind: "enum", T: o.getEnumType(Ar) },
|
|
7593
|
-
{ no: 3, name: "duration", kind: "message", T:
|
|
7593
|
+
{ no: 3, name: "duration", kind: "message", T: V, opt: !0 },
|
|
7594
7594
|
{ no: 99, name: "extra", kind: "message", T: u }
|
|
7595
7595
|
]
|
|
7596
7596
|
), $r = /* @__PURE__ */ o.makeMessageType(
|
|
@@ -7762,7 +7762,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
7762
7762
|
*/
|
|
7763
7763
|
getGeometries: {
|
|
7764
7764
|
name: "GetGeometries",
|
|
7765
|
-
I:
|
|
7765
|
+
I: F,
|
|
7766
7766
|
O: K,
|
|
7767
7767
|
kind: m.Unary
|
|
7768
7768
|
}
|
|
@@ -7905,7 +7905,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
7905
7905
|
*/
|
|
7906
7906
|
getGeometries: {
|
|
7907
7907
|
name: "GetGeometries",
|
|
7908
|
-
I:
|
|
7908
|
+
I: F,
|
|
7909
7909
|
O: K,
|
|
7910
7910
|
kind: m.Unary
|
|
7911
7911
|
}
|
|
@@ -8136,7 +8136,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
8136
8136
|
*/
|
|
8137
8137
|
getGeometries: {
|
|
8138
8138
|
name: "GetGeometries",
|
|
8139
|
-
I:
|
|
8139
|
+
I: F,
|
|
8140
8140
|
O: K,
|
|
8141
8141
|
kind: m.Unary
|
|
8142
8142
|
}
|
|
@@ -8162,7 +8162,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
8162
8162
|
*/
|
|
8163
8163
|
getGeometries: {
|
|
8164
8164
|
name: "GetGeometries",
|
|
8165
|
-
I:
|
|
8165
|
+
I: F,
|
|
8166
8166
|
O: K,
|
|
8167
8167
|
kind: m.Unary
|
|
8168
8168
|
}
|
|
@@ -8321,7 +8321,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
8321
8321
|
*/
|
|
8322
8322
|
getGeometries: {
|
|
8323
8323
|
name: "GetGeometries",
|
|
8324
|
-
I:
|
|
8324
|
+
I: F,
|
|
8325
8325
|
O: K,
|
|
8326
8326
|
kind: m.Unary
|
|
8327
8327
|
}
|
|
@@ -8518,7 +8518,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
8518
8518
|
*/
|
|
8519
8519
|
getGeometries: {
|
|
8520
8520
|
name: "GetGeometries",
|
|
8521
|
-
I:
|
|
8521
|
+
I: F,
|
|
8522
8522
|
O: K,
|
|
8523
8523
|
kind: m.Unary
|
|
8524
8524
|
}
|
|
@@ -8949,7 +8949,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
8949
8949
|
*/
|
|
8950
8950
|
getGeometries: {
|
|
8951
8951
|
name: "GetGeometries",
|
|
8952
|
-
I:
|
|
8952
|
+
I: F,
|
|
8953
8953
|
O: K,
|
|
8954
8954
|
kind: m.Unary
|
|
8955
8955
|
}
|
|
@@ -9261,7 +9261,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
9261
9261
|
*/
|
|
9262
9262
|
getGeometries: {
|
|
9263
9263
|
name: "GetGeometries",
|
|
9264
|
-
I:
|
|
9264
|
+
I: F,
|
|
9265
9265
|
O: K,
|
|
9266
9266
|
kind: m.Unary
|
|
9267
9267
|
},
|
|
@@ -9604,7 +9604,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
9604
9604
|
*/
|
|
9605
9605
|
getGeometries: {
|
|
9606
9606
|
name: "GetGeometries",
|
|
9607
|
-
I:
|
|
9607
|
+
I: F,
|
|
9608
9608
|
O: K,
|
|
9609
9609
|
kind: m.Unary
|
|
9610
9610
|
}
|
|
@@ -9923,7 +9923,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
9923
9923
|
"viam.robot.v1.StreamStatusRequest",
|
|
9924
9924
|
() => [
|
|
9925
9925
|
{ no: 1, name: "resource_names", kind: "message", T: x, repeated: !0 },
|
|
9926
|
-
{ no: 2, name: "every", kind: "message", T:
|
|
9926
|
+
{ no: 2, name: "every", kind: "message", T: V }
|
|
9927
9927
|
]
|
|
9928
9928
|
), Ic = /* @__PURE__ */ o.makeMessageType(
|
|
9929
9929
|
"viam.robot.v1.StreamStatusResponse",
|
|
@@ -9965,7 +9965,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
9965
9965
|
T: 9
|
|
9966
9966
|
/* ScalarType.STRING */
|
|
9967
9967
|
},
|
|
9968
|
-
{ no: 2, name: "heartbeat_window", kind: "message", T:
|
|
9968
|
+
{ no: 2, name: "heartbeat_window", kind: "message", T: V }
|
|
9969
9969
|
]
|
|
9970
9970
|
), ws = /* @__PURE__ */ o.makeMessageType(
|
|
9971
9971
|
"viam.robot.v1.SendSessionHeartbeatRequest",
|
|
@@ -10725,7 +10725,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
10725
10725
|
T: 5
|
|
10726
10726
|
/* ScalarType.INT32 */
|
|
10727
10727
|
},
|
|
10728
|
-
{ no: 8, name: "stop_timeout", kind: "message", T:
|
|
10728
|
+
{ no: 8, name: "stop_timeout", kind: "message", T: V },
|
|
10729
10729
|
{ no: 9, name: "env", kind: "map", K: 9, V: {
|
|
10730
10730
|
kind: "scalar",
|
|
10731
10731
|
T: 9
|
|
@@ -10818,7 +10818,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
10818
10818
|
), Xc = /* @__PURE__ */ o.makeMessageType(
|
|
10819
10819
|
"viam.app.v1.SessionsConfig",
|
|
10820
10820
|
() => [
|
|
10821
|
-
{ no: 1, name: "heartbeat_window", kind: "message", T:
|
|
10821
|
+
{ no: 1, name: "heartbeat_window", kind: "message", T: V }
|
|
10822
10822
|
]
|
|
10823
10823
|
), Qc = /* @__PURE__ */ o.makeMessageType(
|
|
10824
10824
|
"viam.app.v1.AuthConfig",
|
|
@@ -11098,8 +11098,8 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
11098
11098
|
T: 8
|
|
11099
11099
|
/* ScalarType.BOOL */
|
|
11100
11100
|
},
|
|
11101
|
-
{ no: 7, name: "connection_check_interval", kind: "message", T:
|
|
11102
|
-
{ no: 8, name: "reconnect_interval", kind: "message", T:
|
|
11101
|
+
{ no: 7, name: "connection_check_interval", kind: "message", T: V },
|
|
11102
|
+
{ no: 8, name: "reconnect_interval", kind: "message", T: V },
|
|
11103
11103
|
{ no: 9, name: "service_configs", kind: "message", T: pa, repeated: !0 },
|
|
11104
11104
|
{
|
|
11105
11105
|
no: 10,
|
|
@@ -11265,7 +11265,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
11265
11265
|
T: 8
|
|
11266
11266
|
/* ScalarType.BOOL */
|
|
11267
11267
|
},
|
|
11268
|
-
{ no: 3, name: "restart_check_interval", kind: "message", T:
|
|
11268
|
+
{ no: 3, name: "restart_check_interval", kind: "message", T: V }
|
|
11269
11269
|
]
|
|
11270
11270
|
), gl = /* @__PURE__ */ o.makeMessageType(
|
|
11271
11271
|
"viam.app.v1.ModuleConfig",
|
|
@@ -11311,7 +11311,7 @@ const ct = /* @__PURE__ */ o.makeMessageType(
|
|
|
11311
11311
|
/* ScalarType.STRING */
|
|
11312
11312
|
} },
|
|
11313
11313
|
{ no: 7, name: "status", kind: "message", T: ua },
|
|
11314
|
-
{ no: 8, name: "first_run_timeout", kind: "message", T:
|
|
11314
|
+
{ no: 8, name: "first_run_timeout", kind: "message", T: V }
|
|
11315
11315
|
]
|
|
11316
11316
|
), Tl = /* @__PURE__ */ o.makeMessageType(
|
|
11317
11317
|
"viam.app.v1.PackageConfig",
|
|
@@ -19737,11 +19737,11 @@ var ek = {}, nk = {};
|
|
|
19737
19737
|
}
|
|
19738
19738
|
function r(k, h) {
|
|
19739
19739
|
var g = 1;
|
|
19740
|
-
if (k && (g +=
|
|
19740
|
+
if (k && (g += J(k) + 1), h == null)
|
|
19741
19741
|
return g;
|
|
19742
19742
|
switch (h.constructor) {
|
|
19743
19743
|
case String:
|
|
19744
|
-
return g + 4 +
|
|
19744
|
+
return g + 4 + J(h) + 1;
|
|
19745
19745
|
case Number:
|
|
19746
19746
|
return Math.floor(h) === h && h <= 2147483647 && h >= -2147483647 ? g + 4 : g + 8;
|
|
19747
19747
|
case Boolean:
|
|
@@ -19837,42 +19837,42 @@ var ek = {}, nk = {};
|
|
|
19837
19837
|
;
|
|
19838
19838
|
if (D >= k.length - 1)
|
|
19839
19839
|
return;
|
|
19840
|
-
var
|
|
19841
|
-
switch (y && (
|
|
19840
|
+
var z = N(k.subarray(g, D));
|
|
19841
|
+
switch (y && (z = parseInt(z)), g = ++D, Z) {
|
|
19842
19842
|
case 1:
|
|
19843
|
-
b[
|
|
19843
|
+
b[z] = new Float64Array(k.slice(g, g += 8).buffer)[0];
|
|
19844
19844
|
break;
|
|
19845
19845
|
case 2:
|
|
19846
|
-
w = k[g++] | k[g++] << 8 | k[g++] << 16 | k[g++] << 24, b[
|
|
19846
|
+
w = k[g++] | k[g++] << 8 | k[g++] << 16 | k[g++] << 24, b[z] = N(k.subarray(g, g += w - 1)), g++;
|
|
19847
19847
|
break;
|
|
19848
19848
|
case 3:
|
|
19849
|
-
w = k[g] | k[g + 1] << 8 | k[g + 2] << 16 | k[g + 3] << 24, b[
|
|
19849
|
+
w = k[g] | k[g + 1] << 8 | k[g + 2] << 16 | k[g + 3] << 24, b[z] = S(k, h, g, !1), g += w;
|
|
19850
19850
|
break;
|
|
19851
19851
|
case 4:
|
|
19852
|
-
w = k[g] | k[g + 1] << 8 | k[g + 2] << 16 | k[g + 3] << 24, b[
|
|
19852
|
+
w = k[g] | k[g + 1] << 8 | k[g + 2] << 16 | k[g + 3] << 24, b[z] = S(k, h, g, !0), g += w;
|
|
19853
19853
|
break;
|
|
19854
19854
|
case 5:
|
|
19855
19855
|
if (w = k[g++] | k[g++] << 8 | k[g++] << 16 | k[g++] << 24, k[g++] === 4) {
|
|
19856
19856
|
if (w !== 16)
|
|
19857
19857
|
return;
|
|
19858
|
-
b[
|
|
19858
|
+
b[z] = new n(k.subarray(g, g += w));
|
|
19859
19859
|
} else
|
|
19860
|
-
b[
|
|
19860
|
+
b[z] = k.slice(g, g += w);
|
|
19861
19861
|
break;
|
|
19862
19862
|
case 6:
|
|
19863
|
-
b[
|
|
19863
|
+
b[z] = null;
|
|
19864
19864
|
break;
|
|
19865
19865
|
case 7:
|
|
19866
|
-
b[
|
|
19866
|
+
b[z] = new t(k.subarray(g, g += 12));
|
|
19867
19867
|
break;
|
|
19868
19868
|
case 8:
|
|
19869
|
-
b[
|
|
19869
|
+
b[z] = k[g++] === 1;
|
|
19870
19870
|
break;
|
|
19871
19871
|
case 9:
|
|
19872
|
-
b[
|
|
19872
|
+
b[z] = h ? new s(k.subarray(g, g += 8)) : new Date(I(k.subarray(g, g += 8)));
|
|
19873
19873
|
break;
|
|
19874
19874
|
case 10:
|
|
19875
|
-
b[
|
|
19875
|
+
b[z] = null;
|
|
19876
19876
|
break;
|
|
19877
19877
|
case 11:
|
|
19878
19878
|
for (D = g; D < k.length && k[D++] !== 0; )
|
|
@@ -19885,13 +19885,13 @@ var ek = {}, nk = {};
|
|
|
19885
19885
|
if (D >= k.length)
|
|
19886
19886
|
return;
|
|
19887
19887
|
var ba = N(k.subarray(g, D));
|
|
19888
|
-
g = D, b[
|
|
19888
|
+
g = D, b[z] = new RegExp(Ia, ba);
|
|
19889
19889
|
break;
|
|
19890
19890
|
case 16:
|
|
19891
|
-
b[
|
|
19891
|
+
b[z] = k[g++] | k[g++] << 8 | k[g++] << 16 | k[g++] << 24;
|
|
19892
19892
|
break;
|
|
19893
19893
|
case 18:
|
|
19894
|
-
b[
|
|
19894
|
+
b[z] = I(k.subarray(g, g += 8));
|
|
19895
19895
|
break;
|
|
19896
19896
|
default:
|
|
19897
19897
|
return;
|
|
@@ -19934,7 +19934,7 @@ var ek = {}, nk = {};
|
|
|
19934
19934
|
w = k[y], w < 128 ? (h += String.fromCharCode(w), y++) : w > 191 && w < 224 ? (b = k[y + 1], h += String.fromCharCode((w & 31) << 6 | b & 63), y += 2) : (b = k[y + 1], Z = k[y + 2], h += String.fromCharCode((w & 15) << 12 | (b & 63) << 6 | Z & 63), y += 3);
|
|
19935
19935
|
return h;
|
|
19936
19936
|
}
|
|
19937
|
-
function
|
|
19937
|
+
function J(k) {
|
|
19938
19938
|
return encodeURI(k).split(/%..|./).length - 1;
|
|
19939
19939
|
}
|
|
19940
19940
|
}(a.BSON || (a.BSON = {}));
|
|
@@ -20114,7 +20114,7 @@ const ak = /* @__PURE__ */ o.makeEnum(
|
|
|
20114
20114
|
T: 9
|
|
20115
20115
|
/* ScalarType.STRING */
|
|
20116
20116
|
},
|
|
20117
|
-
{ no: 11, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T:
|
|
20117
|
+
{ no: 11, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T: j } },
|
|
20118
20118
|
{ no: 12, name: "tags", kind: "scalar", T: 9, repeated: !0 },
|
|
20119
20119
|
{
|
|
20120
20120
|
no: 13,
|
|
@@ -21531,7 +21531,7 @@ const ak = /* @__PURE__ */ o.makeEnum(
|
|
|
21531
21531
|
T: 9
|
|
21532
21532
|
/* ScalarType.STRING */
|
|
21533
21533
|
},
|
|
21534
|
-
{ no: 8, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T:
|
|
21534
|
+
{ no: 8, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T: j } },
|
|
21535
21535
|
{
|
|
21536
21536
|
no: 9,
|
|
21537
21537
|
name: "file_extension",
|
|
@@ -22643,6 +22643,13 @@ class HR {
|
|
|
22643
22643
|
throw new Error("no pose");
|
|
22644
22644
|
return i;
|
|
22645
22645
|
}
|
|
22646
|
+
async getGeometries(e = {}, n = this.callOptions) {
|
|
22647
|
+
const t = new F({
|
|
22648
|
+
name: this.name,
|
|
22649
|
+
extra: u.fromJson(e)
|
|
22650
|
+
});
|
|
22651
|
+
return (await this.client.getGeometries(t, n)).geometries;
|
|
22652
|
+
}
|
|
22646
22653
|
async moveToPosition(e, n = {}, t = this.callOptions) {
|
|
22647
22654
|
const s = new dt({
|
|
22648
22655
|
name: this.name,
|
|
@@ -22704,6 +22711,13 @@ class XR {
|
|
|
22704
22711
|
constructor(e, n, t = {}) {
|
|
22705
22712
|
this.client = e.createServiceClient(Dr), this.name = n, this.options = t;
|
|
22706
22713
|
}
|
|
22714
|
+
async getGeometries(e = {}, n = this.callOptions) {
|
|
22715
|
+
const t = new F({
|
|
22716
|
+
name: this.name,
|
|
22717
|
+
extra: u.fromJson(e)
|
|
22718
|
+
});
|
|
22719
|
+
return (await this.client.getGeometries(t, n)).geometries;
|
|
22720
|
+
}
|
|
22707
22721
|
async moveStraight(e, n, t = {}, s = this.callOptions) {
|
|
22708
22722
|
const i = new Tt({
|
|
22709
22723
|
name: this.name,
|
|
@@ -22984,7 +22998,7 @@ const vR = /* @__PURE__ */ o.makeMessageType(
|
|
|
22984
22998
|
T: 12
|
|
22985
22999
|
/* ScalarType.BYTES */
|
|
22986
23000
|
},
|
|
22987
|
-
{ no: 3, name: "extensions", kind: "message", T:
|
|
23001
|
+
{ no: 3, name: "extensions", kind: "message", T: j, repeated: !0 }
|
|
22988
23002
|
]
|
|
22989
23003
|
), RR = {
|
|
22990
23004
|
typeName: "viam.component.camera.v1.CameraService",
|
|
@@ -23063,7 +23077,7 @@ const vR = /* @__PURE__ */ o.makeMessageType(
|
|
|
23063
23077
|
*/
|
|
23064
23078
|
getGeometries: {
|
|
23065
23079
|
name: "GetGeometries",
|
|
23066
|
-
I:
|
|
23080
|
+
I: F,
|
|
23067
23081
|
O: K,
|
|
23068
23082
|
kind: m.Unary
|
|
23069
23083
|
}
|
|
@@ -23077,6 +23091,13 @@ class t1 {
|
|
|
23077
23091
|
constructor(e, n, t = {}) {
|
|
23078
23092
|
this.client = e.createServiceClient(RR), this.name = n, this.options = t;
|
|
23079
23093
|
}
|
|
23094
|
+
async getGeometries(e = {}, n = this.callOptions) {
|
|
23095
|
+
const t = new F({
|
|
23096
|
+
name: this.name,
|
|
23097
|
+
extra: u.fromJson(e)
|
|
23098
|
+
});
|
|
23099
|
+
return (await this.client.getGeometries(t, n)).geometries;
|
|
23100
|
+
}
|
|
23080
23101
|
async getImage(e = "", n = {}, t = this.callOptions) {
|
|
23081
23102
|
const s = new to({
|
|
23082
23103
|
name: this.name,
|
|
@@ -23198,6 +23219,13 @@ class r1 {
|
|
|
23198
23219
|
constructor(e, n, t = {}) {
|
|
23199
23220
|
this.client = e.createServiceClient(tm), this.name = n, this.options = t;
|
|
23200
23221
|
}
|
|
23222
|
+
async getGeometries(e = {}, n = this.callOptions) {
|
|
23223
|
+
const t = new F({
|
|
23224
|
+
name: this.name,
|
|
23225
|
+
extra: u.fromJson(e)
|
|
23226
|
+
});
|
|
23227
|
+
return (await this.client.getGeometries(t, n)).geometries;
|
|
23228
|
+
}
|
|
23201
23229
|
async getPosition(e = {}, n = this.callOptions) {
|
|
23202
23230
|
const t = new Ut({
|
|
23203
23231
|
name: this.name,
|
|
@@ -23548,7 +23576,7 @@ const uy = {
|
|
|
23548
23576
|
*/
|
|
23549
23577
|
getGeometries: {
|
|
23550
23578
|
name: "GetGeometries",
|
|
23551
|
-
I:
|
|
23579
|
+
I: F,
|
|
23552
23580
|
O: K,
|
|
23553
23581
|
kind: m.Unary
|
|
23554
23582
|
}
|
|
@@ -24038,6 +24066,13 @@ let v1 = class {
|
|
|
24038
24066
|
constructor(e, n, t = {}) {
|
|
24039
24067
|
this.client = e.createServiceClient(Jt), this.name = n, this.options = t;
|
|
24040
24068
|
}
|
|
24069
|
+
async getGeometries(e = {}, n = this.callOptions) {
|
|
24070
|
+
const t = new F({
|
|
24071
|
+
name: this.name,
|
|
24072
|
+
extra: u.fromJson(e)
|
|
24073
|
+
});
|
|
24074
|
+
return (await this.client.getGeometries(t, n)).geometries;
|
|
24075
|
+
}
|
|
24041
24076
|
async doCommand(e, n = this.callOptions) {
|
|
24042
24077
|
return G(
|
|
24043
24078
|
this.client.doCommand,
|
|
@@ -24056,6 +24091,13 @@ class _1 {
|
|
|
24056
24091
|
constructor(e, n, t = {}) {
|
|
24057
24092
|
this.client = e.createServiceClient(mm), this.name = n, this.options = t;
|
|
24058
24093
|
}
|
|
24094
|
+
async getGeometries(e = {}, n = this.callOptions) {
|
|
24095
|
+
const t = new F({
|
|
24096
|
+
name: this.name,
|
|
24097
|
+
extra: u.fromJson(e)
|
|
24098
|
+
});
|
|
24099
|
+
return (await this.client.getGeometries(t, n)).geometries;
|
|
24100
|
+
}
|
|
24059
24101
|
async open(e = {}, n = this.callOptions) {
|
|
24060
24102
|
const t = new zt({
|
|
24061
24103
|
name: this.name,
|
|
@@ -24676,7 +24718,7 @@ class u_ {
|
|
|
24676
24718
|
);
|
|
24677
24719
|
}
|
|
24678
24720
|
}
|
|
24679
|
-
const p_ = "0.36.0";
|
|
24721
|
+
const p_ = "0.36.1-b.0";
|
|
24680
24722
|
export {
|
|
24681
24723
|
QR as AnalogValue,
|
|
24682
24724
|
HR as ArmClient,
|
|
@@ -24698,7 +24740,7 @@ export {
|
|
|
24698
24740
|
U1 as DataManagerClient,
|
|
24699
24741
|
c_ as Detection,
|
|
24700
24742
|
s1 as DiscoveryClient,
|
|
24701
|
-
|
|
24743
|
+
V as Duration,
|
|
24702
24744
|
i1 as EncoderClient,
|
|
24703
24745
|
SR as EncoderPositionType,
|
|
24704
24746
|
o1 as EncoderProperties,
|