@m1kad0/hannah-proto 3.7.0 → 3.7.2

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.12.0
4
+ // protoc-gen-ts_proto v2.12.1
5
5
  // protoc unknown
6
6
  // source: hannah/satellite_provisioning.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -27,39 +27,49 @@ exports.ProvisionSatelliteRequest = {
27
27
  },
28
28
  decode(input, length) {
29
29
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
30
- const end = length === undefined ? reader.len : reader.pos + length;
31
- const message = createBaseProvisionSatelliteRequest();
32
- while (reader.pos < end) {
33
- const tag = reader.uint32();
34
- switch (tag >>> 3) {
35
- case 1: {
36
- if (tag !== 10) {
37
- break;
30
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
31
+ if (previousRecursionDepth >= 100) {
32
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
33
+ }
34
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
35
+ try {
36
+ const end = length === undefined ? reader.len : reader.pos + length;
37
+ const message = createBaseProvisionSatelliteRequest();
38
+ while (reader.pos < end) {
39
+ const tag = reader.uint32();
40
+ switch (tag >>> 3) {
41
+ case 1: {
42
+ if (tag !== 10) {
43
+ break;
44
+ }
45
+ message.seed = reader.string();
46
+ continue;
38
47
  }
39
- message.seed = reader.string();
40
- continue;
41
- }
42
- case 2: {
43
- if (tag !== 18) {
44
- break;
48
+ case 2: {
49
+ if (tag !== 18) {
50
+ break;
51
+ }
52
+ message.displayName = reader.string();
53
+ continue;
45
54
  }
46
- message.displayName = reader.string();
47
- continue;
48
- }
49
- case 3: {
50
- if (tag !== 26) {
51
- break;
55
+ case 3: {
56
+ if (tag !== 26) {
57
+ break;
58
+ }
59
+ message.roomId = reader.string();
60
+ continue;
52
61
  }
53
- message.roomId = reader.string();
54
- continue;
55
62
  }
63
+ if ((tag & 7) === 4 || tag === 0) {
64
+ break;
65
+ }
66
+ reader.skip(tag & 7);
56
67
  }
57
- if ((tag & 7) === 4 || tag === 0) {
58
- break;
59
- }
60
- reader.skip(tag & 7);
68
+ return message;
69
+ }
70
+ finally {
71
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
61
72
  }
62
- return message;
63
73
  },
64
74
  create(base) {
65
75
  return exports.ProvisionSatelliteRequest.fromPartial(base ?? {});
@@ -54,8 +54,11 @@ export interface SubmitSatelliteAudioRequest {
54
54
  /** sample rate of the audio (typically 16000) */
55
55
  sampleRate: number;
56
56
  /**
57
- * Optional: speaker identity (Hannah users.id) provided by an upstream speaker-ID service.
58
- * Empty = anonymous (Hannah treats as unknown user).
57
+ * Deprecated: Hannah Core now resolves the speaker itself via its own
58
+ * VoiceID client, independent of proxy connectivity (hannah#210). The
59
+ * proxy no longer populates this field and Core no longer reads it.
60
+ *
61
+ * @deprecated
59
62
  */
60
63
  speakerUserId: string;
61
64
  }