@use-tusk/drift-schemas 0.1.23 → 0.1.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.
@@ -4,9 +4,9 @@ import "../timestamp-D0q8Zt_J.js";
4
4
  import "../json_schema-dDDndex9.js";
5
5
  import "../span-siIBLWdM.js";
6
6
  import { ExportSpansRequest, ExportSpansResponse } from "../span_export_service-C2Dil07L.js";
7
- import * as _protobuf_ts_runtime_rpc2 from "@protobuf-ts/runtime-rpc";
7
+ import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
8
8
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
9
- import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
9
+ import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
10
10
 
11
11
  //#region generated/ts/backend/span_export_service.client.d.ts
12
12
  /**
@@ -24,9 +24,9 @@ interface ISpanExportServiceClient {
24
24
  declare class SpanExportServiceClient implements ISpanExportServiceClient, ServiceInfo {
25
25
  private readonly _transport;
26
26
  typeName: string;
27
- methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
27
+ methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
28
28
  options: {
29
- [extensionName: string]: _protobuf_ts_runtime2.JsonValue;
29
+ [extensionName: string]: _protobuf_ts_runtime0.JsonValue;
30
30
  };
31
31
  constructor(_transport: RpcTransport);
32
32
  /**
@@ -28,6 +28,10 @@ interface ConnectRequest {
28
28
  * @generated from protobuf field: google.protobuf.Struct metadata = 4
29
29
  */
30
30
  metadata?: Struct;
31
+ /**
32
+ * @generated from protobuf field: tusk.drift.core.v1.Runtime runtime = 5
33
+ */
34
+ runtime: Runtime;
31
35
  }
32
36
  /**
33
37
  * @generated from protobuf message tusk.drift.core.v1.ConnectResponse
@@ -173,6 +177,12 @@ interface SDKMessage {
173
177
  * @generated from protobuf field: tusk.drift.core.v1.EnvVarRequest env_var_request = 7
174
178
  */
175
179
  envVarRequest: EnvVarRequest;
180
+ } | {
181
+ oneofKind: "setTimeTravelResponse";
182
+ /**
183
+ * @generated from protobuf field: tusk.drift.core.v1.SetTimeTravelResponse set_time_travel_response = 8
184
+ */
185
+ setTimeTravelResponse: SetTimeTravelResponse;
176
186
  } | {
177
187
  oneofKind: undefined;
178
188
  };
@@ -216,6 +226,12 @@ interface CLIMessage {
216
226
  * @generated from protobuf field: tusk.drift.core.v1.EnvVarResponse env_var_response = 6
217
227
  */
218
228
  envVarResponse: EnvVarResponse;
229
+ } | {
230
+ oneofKind: "setTimeTravelRequest";
231
+ /**
232
+ * @generated from protobuf field: tusk.drift.core.v1.SetTimeTravelRequest set_time_travel_request = 7
233
+ */
234
+ setTimeTravelRequest: SetTimeTravelRequest;
219
235
  } | {
220
236
  oneofKind: undefined;
221
237
  };
@@ -319,6 +335,66 @@ interface EnvVarResponse {
319
335
  [key: string]: string;
320
336
  };
321
337
  }
338
+ /**
339
+ * Request from CLI to SDK to start time travel before request replay
340
+ * Currently only used for python SDK
341
+ *
342
+ * @generated from protobuf message tusk.drift.core.v1.SetTimeTravelRequest
343
+ */
344
+ interface SetTimeTravelRequest {
345
+ /**
346
+ * Unix timestamp in seconds (can include fractional seconds)
347
+ *
348
+ * @generated from protobuf field: double timestamp_seconds = 1
349
+ */
350
+ timestampSeconds: number;
351
+ /**
352
+ * The trace ID this time travel is for (for debugging/logging)
353
+ *
354
+ * @generated from protobuf field: string trace_id = 2
355
+ */
356
+ traceId: string;
357
+ /**
358
+ * Description of why this timestamp was chosen: "first_span" or "server_span"
359
+ *
360
+ * @generated from protobuf field: string timestamp_source = 3
361
+ */
362
+ timestampSource: string;
363
+ }
364
+ /**
365
+ * Response from SDK acknowledging time travel was set
366
+ *
367
+ * @generated from protobuf message tusk.drift.core.v1.SetTimeTravelResponse
368
+ */
369
+ interface SetTimeTravelResponse {
370
+ /**
371
+ * @generated from protobuf field: bool success = 1
372
+ */
373
+ success: boolean;
374
+ /**
375
+ * @generated from protobuf field: string error = 2
376
+ */
377
+ error: string;
378
+ }
379
+ /**
380
+ * SDK runtime environment
381
+ *
382
+ * @generated from protobuf enum tusk.drift.core.v1.Runtime
383
+ */
384
+ declare enum Runtime {
385
+ /**
386
+ * @generated from protobuf enum value: RUNTIME_UNSPECIFIED = 0;
387
+ */
388
+ UNSPECIFIED = 0,
389
+ /**
390
+ * @generated from protobuf enum value: RUNTIME_NODE = 1;
391
+ */
392
+ NODE = 1,
393
+ /**
394
+ * @generated from protobuf enum value: RUNTIME_PYTHON = 2;
395
+ */
396
+ PYTHON = 2,
397
+ }
322
398
  /**
323
399
  * @generated from protobuf enum tusk.drift.core.v1.MessageType
324
400
  */
@@ -347,6 +423,10 @@ declare enum MessageType$1 {
347
423
  * @generated from protobuf enum value: MESSAGE_TYPE_ENV_VAR_REQUEST = 5;
348
424
  */
349
425
  ENV_VAR_REQUEST = 5,
426
+ /**
427
+ * @generated from protobuf enum value: MESSAGE_TYPE_SET_TIME_TRAVEL = 6;
428
+ */
429
+ SET_TIME_TRAVEL = 6,
350
430
  }
351
431
  declare class ConnectRequest$Type extends MessageType<ConnectRequest> {
352
432
  constructor();
@@ -480,10 +560,30 @@ declare class EnvVarResponse$Type extends MessageType<EnvVarResponse> {
480
560
  * @generated MessageType for protobuf message tusk.drift.core.v1.EnvVarResponse
481
561
  */
482
562
  declare const EnvVarResponse: EnvVarResponse$Type;
563
+ declare class SetTimeTravelRequest$Type extends MessageType<SetTimeTravelRequest> {
564
+ constructor();
565
+ create(value?: PartialMessage<SetTimeTravelRequest>): SetTimeTravelRequest;
566
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTimeTravelRequest): SetTimeTravelRequest;
567
+ internalBinaryWrite(message: SetTimeTravelRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
568
+ }
569
+ /**
570
+ * @generated MessageType for protobuf message tusk.drift.core.v1.SetTimeTravelRequest
571
+ */
572
+ declare const SetTimeTravelRequest: SetTimeTravelRequest$Type;
573
+ declare class SetTimeTravelResponse$Type extends MessageType<SetTimeTravelResponse> {
574
+ constructor();
575
+ create(value?: PartialMessage<SetTimeTravelResponse>): SetTimeTravelResponse;
576
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTimeTravelResponse): SetTimeTravelResponse;
577
+ internalBinaryWrite(message: SetTimeTravelResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
578
+ }
579
+ /**
580
+ * @generated MessageType for protobuf message tusk.drift.core.v1.SetTimeTravelResponse
581
+ */
582
+ declare const SetTimeTravelResponse: SetTimeTravelResponse$Type;
483
583
  /**
484
584
  * @generated ServiceType for protobuf service tusk.drift.core.v1.MockService
485
585
  */
486
586
  declare const MockService: ServiceType;
487
587
  //#endregion
488
- export { CLIMessage, ConnectRequest, ConnectResponse, EnvVarRequest, EnvVarResponse, GetMockRequest, GetMockResponse, InstrumentationVersionMismatchAlert, MessageType$1 as MessageType, MockService, SDKMessage, SendAlertRequest, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse, UnpatchedDependencyAlert };
489
- //# sourceMappingURL=communication-BFPjmCoM.d.cts.map
588
+ export { CLIMessage, ConnectRequest, ConnectResponse, EnvVarRequest, EnvVarResponse, GetMockRequest, GetMockResponse, InstrumentationVersionMismatchAlert, MessageType$1 as MessageType, MockService, Runtime, SDKMessage, SendAlertRequest, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse, SetTimeTravelRequest, SetTimeTravelResponse, UnpatchedDependencyAlert };
589
+ //# sourceMappingURL=communication-CBhWVss3.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"communication-CBhWVss3.d.cts","names":[],"sources":["../generated/ts/core/communication.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AA+CA;AAaA;;;AA8BkB,UApED,cAAA,CAoEC;EAAS;AAK3B;;WAcmB,EAAA,MAAA;;;;EA8BQ,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CAAwC,4BAA4B,wBAAwB;+BAsB1F,+BAA+B,wBAAwB,qBAAqB;;;;;cAgBhG,uBAAqB;;;;cAIrB,aAAW"}
@@ -9,6 +9,26 @@ __protobuf_ts_runtime = require_chunk.__toESM(__protobuf_ts_runtime);
9
9
 
10
10
  //#region generated/ts/core/communication.ts
11
11
  /**
12
+ * SDK runtime environment
13
+ *
14
+ * @generated from protobuf enum tusk.drift.core.v1.Runtime
15
+ */
16
+ let Runtime = /* @__PURE__ */ function(Runtime$1) {
17
+ /**
18
+ * @generated from protobuf enum value: RUNTIME_UNSPECIFIED = 0;
19
+ */
20
+ Runtime$1[Runtime$1["UNSPECIFIED"] = 0] = "UNSPECIFIED";
21
+ /**
22
+ * @generated from protobuf enum value: RUNTIME_NODE = 1;
23
+ */
24
+ Runtime$1[Runtime$1["NODE"] = 1] = "NODE";
25
+ /**
26
+ * @generated from protobuf enum value: RUNTIME_PYTHON = 2;
27
+ */
28
+ Runtime$1[Runtime$1["PYTHON"] = 2] = "PYTHON";
29
+ return Runtime$1;
30
+ }({});
31
+ /**
12
32
  * @generated from protobuf enum tusk.drift.core.v1.MessageType
13
33
  */
14
34
  let MessageType = /* @__PURE__ */ function(MessageType$1) {
@@ -36,6 +56,10 @@ let MessageType = /* @__PURE__ */ function(MessageType$1) {
36
56
  * @generated from protobuf enum value: MESSAGE_TYPE_ENV_VAR_REQUEST = 5;
37
57
  */
38
58
  MessageType$1[MessageType$1["ENV_VAR_REQUEST"] = 5] = "ENV_VAR_REQUEST";
59
+ /**
60
+ * @generated from protobuf enum value: MESSAGE_TYPE_SET_TIME_TRAVEL = 6;
61
+ */
62
+ MessageType$1[MessageType$1["SET_TIME_TRAVEL"] = 6] = "SET_TIME_TRAVEL";
39
63
  return MessageType$1;
40
64
  }({});
41
65
  var ConnectRequest$Type = class extends __protobuf_ts_runtime.MessageType {
@@ -64,6 +88,16 @@ var ConnectRequest$Type = class extends __protobuf_ts_runtime.MessageType {
64
88
  name: "metadata",
65
89
  kind: "message",
66
90
  T: () => require_struct.Struct
91
+ },
92
+ {
93
+ no: 5,
94
+ name: "runtime",
95
+ kind: "enum",
96
+ T: () => [
97
+ "tusk.drift.core.v1.Runtime",
98
+ Runtime,
99
+ "RUNTIME_"
100
+ ]
67
101
  }
68
102
  ]);
69
103
  }
@@ -72,6 +106,7 @@ var ConnectRequest$Type = class extends __protobuf_ts_runtime.MessageType {
72
106
  message.serviceId = "";
73
107
  message.sdkVersion = "";
74
108
  message.minCliVersion = "";
109
+ message.runtime = 0;
75
110
  if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
76
111
  return message;
77
112
  }
@@ -92,6 +127,9 @@ var ConnectRequest$Type = class extends __protobuf_ts_runtime.MessageType {
92
127
  case 4:
93
128
  message.metadata = require_struct.Struct.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
94
129
  break;
130
+ case 5:
131
+ message.runtime = reader.int32();
132
+ break;
95
133
  default:
96
134
  let u = options.readUnknownField;
97
135
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -106,6 +144,7 @@ var ConnectRequest$Type = class extends __protobuf_ts_runtime.MessageType {
106
144
  if (message.sdkVersion !== "") writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.sdkVersion);
107
145
  if (message.minCliVersion !== "") writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.minCliVersion);
108
146
  if (message.metadata) require_struct.Struct.internalBinaryWrite(message.metadata, writer.tag(4, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
147
+ if (message.runtime !== 0) writer.tag(5, __protobuf_ts_runtime.WireType.Varint).int32(message.runtime);
109
148
  let u = options.writeUnknownFields;
110
149
  if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
111
150
  return writer;
@@ -479,6 +518,13 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
479
518
  kind: "message",
480
519
  oneof: "payload",
481
520
  T: () => EnvVarRequest
521
+ },
522
+ {
523
+ no: 8,
524
+ name: "set_time_travel_response",
525
+ kind: "message",
526
+ oneof: "payload",
527
+ T: () => SetTimeTravelResponse
482
528
  }
483
529
  ]);
484
530
  }
@@ -531,6 +577,12 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
531
577
  envVarRequest: EnvVarRequest.internalBinaryRead(reader, reader.uint32(), options, message.payload.envVarRequest)
532
578
  };
533
579
  break;
580
+ case 8:
581
+ message.payload = {
582
+ oneofKind: "setTimeTravelResponse",
583
+ setTimeTravelResponse: SetTimeTravelResponse.internalBinaryRead(reader, reader.uint32(), options, message.payload.setTimeTravelResponse)
584
+ };
585
+ break;
534
586
  default:
535
587
  let u = options.readUnknownField;
536
588
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -548,6 +600,7 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
548
600
  if (message.payload.oneofKind === "sendInboundSpanForReplayRequest") SendInboundSpanForReplayRequest.internalBinaryWrite(message.payload.sendInboundSpanForReplayRequest, writer.tag(5, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
549
601
  if (message.payload.oneofKind === "sendAlertRequest") SendAlertRequest.internalBinaryWrite(message.payload.sendAlertRequest, writer.tag(6, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
550
602
  if (message.payload.oneofKind === "envVarRequest") EnvVarRequest.internalBinaryWrite(message.payload.envVarRequest, writer.tag(7, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
603
+ if (message.payload.oneofKind === "setTimeTravelResponse") SetTimeTravelResponse.internalBinaryWrite(message.payload.setTimeTravelResponse, writer.tag(8, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
551
604
  let u = options.writeUnknownFields;
552
605
  if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
553
606
  return writer;
@@ -603,6 +656,13 @@ var CLIMessage$Type = class extends __protobuf_ts_runtime.MessageType {
603
656
  kind: "message",
604
657
  oneof: "payload",
605
658
  T: () => EnvVarResponse
659
+ },
660
+ {
661
+ no: 7,
662
+ name: "set_time_travel_request",
663
+ kind: "message",
664
+ oneof: "payload",
665
+ T: () => SetTimeTravelRequest
606
666
  }
607
667
  ]);
608
668
  }
@@ -649,6 +709,12 @@ var CLIMessage$Type = class extends __protobuf_ts_runtime.MessageType {
649
709
  envVarResponse: EnvVarResponse.internalBinaryRead(reader, reader.uint32(), options, message.payload.envVarResponse)
650
710
  };
651
711
  break;
712
+ case 7:
713
+ message.payload = {
714
+ oneofKind: "setTimeTravelRequest",
715
+ setTimeTravelRequest: SetTimeTravelRequest.internalBinaryRead(reader, reader.uint32(), options, message.payload.setTimeTravelRequest)
716
+ };
717
+ break;
652
718
  default:
653
719
  let u = options.readUnknownField;
654
720
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -665,6 +731,7 @@ var CLIMessage$Type = class extends __protobuf_ts_runtime.MessageType {
665
731
  if (message.payload.oneofKind === "getMockResponse") GetMockResponse.internalBinaryWrite(message.payload.getMockResponse, writer.tag(4, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
666
732
  if (message.payload.oneofKind === "sendInboundSpanForReplayResponse") SendInboundSpanForReplayResponse.internalBinaryWrite(message.payload.sendInboundSpanForReplayResponse, writer.tag(5, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
667
733
  if (message.payload.oneofKind === "envVarResponse") EnvVarResponse.internalBinaryWrite(message.payload.envVarResponse, writer.tag(6, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
734
+ if (message.payload.oneofKind === "setTimeTravelRequest") SetTimeTravelRequest.internalBinaryWrite(message.payload.setTimeTravelRequest, writer.tag(7, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
668
735
  let u = options.writeUnknownFields;
669
736
  if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
670
737
  return writer;
@@ -1071,6 +1138,126 @@ var EnvVarResponse$Type = class extends __protobuf_ts_runtime.MessageType {
1071
1138
  * @generated MessageType for protobuf message tusk.drift.core.v1.EnvVarResponse
1072
1139
  */
1073
1140
  const EnvVarResponse = new EnvVarResponse$Type();
1141
+ var SetTimeTravelRequest$Type = class extends __protobuf_ts_runtime.MessageType {
1142
+ constructor() {
1143
+ super("tusk.drift.core.v1.SetTimeTravelRequest", [
1144
+ {
1145
+ no: 1,
1146
+ name: "timestamp_seconds",
1147
+ kind: "scalar",
1148
+ T: 1
1149
+ },
1150
+ {
1151
+ no: 2,
1152
+ name: "trace_id",
1153
+ kind: "scalar",
1154
+ T: 9
1155
+ },
1156
+ {
1157
+ no: 3,
1158
+ name: "timestamp_source",
1159
+ kind: "scalar",
1160
+ T: 9
1161
+ }
1162
+ ]);
1163
+ }
1164
+ create(value) {
1165
+ const message = globalThis.Object.create(this.messagePrototype);
1166
+ message.timestampSeconds = 0;
1167
+ message.traceId = "";
1168
+ message.timestampSource = "";
1169
+ if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
1170
+ return message;
1171
+ }
1172
+ internalBinaryRead(reader, length, options, target) {
1173
+ let message = target ?? this.create(), end = reader.pos + length;
1174
+ while (reader.pos < end) {
1175
+ let [fieldNo, wireType] = reader.tag();
1176
+ switch (fieldNo) {
1177
+ case 1:
1178
+ message.timestampSeconds = reader.double();
1179
+ break;
1180
+ case 2:
1181
+ message.traceId = reader.string();
1182
+ break;
1183
+ case 3:
1184
+ message.timestampSource = reader.string();
1185
+ break;
1186
+ default:
1187
+ let u = options.readUnknownField;
1188
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1189
+ let d = reader.skip(wireType);
1190
+ if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1191
+ }
1192
+ }
1193
+ return message;
1194
+ }
1195
+ internalBinaryWrite(message, writer, options) {
1196
+ if (message.timestampSeconds !== 0) writer.tag(1, __protobuf_ts_runtime.WireType.Bit64).double(message.timestampSeconds);
1197
+ if (message.traceId !== "") writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.traceId);
1198
+ if (message.timestampSource !== "") writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.timestampSource);
1199
+ let u = options.writeUnknownFields;
1200
+ if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1201
+ return writer;
1202
+ }
1203
+ };
1204
+ /**
1205
+ * @generated MessageType for protobuf message tusk.drift.core.v1.SetTimeTravelRequest
1206
+ */
1207
+ const SetTimeTravelRequest = new SetTimeTravelRequest$Type();
1208
+ var SetTimeTravelResponse$Type = class extends __protobuf_ts_runtime.MessageType {
1209
+ constructor() {
1210
+ super("tusk.drift.core.v1.SetTimeTravelResponse", [{
1211
+ no: 1,
1212
+ name: "success",
1213
+ kind: "scalar",
1214
+ T: 8
1215
+ }, {
1216
+ no: 2,
1217
+ name: "error",
1218
+ kind: "scalar",
1219
+ T: 9
1220
+ }]);
1221
+ }
1222
+ create(value) {
1223
+ const message = globalThis.Object.create(this.messagePrototype);
1224
+ message.success = false;
1225
+ message.error = "";
1226
+ if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
1227
+ return message;
1228
+ }
1229
+ internalBinaryRead(reader, length, options, target) {
1230
+ let message = target ?? this.create(), end = reader.pos + length;
1231
+ while (reader.pos < end) {
1232
+ let [fieldNo, wireType] = reader.tag();
1233
+ switch (fieldNo) {
1234
+ case 1:
1235
+ message.success = reader.bool();
1236
+ break;
1237
+ case 2:
1238
+ message.error = reader.string();
1239
+ break;
1240
+ default:
1241
+ let u = options.readUnknownField;
1242
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1243
+ let d = reader.skip(wireType);
1244
+ if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1245
+ }
1246
+ }
1247
+ return message;
1248
+ }
1249
+ internalBinaryWrite(message, writer, options) {
1250
+ if (message.success !== false) writer.tag(1, __protobuf_ts_runtime.WireType.Varint).bool(message.success);
1251
+ if (message.error !== "") writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.error);
1252
+ let u = options.writeUnknownFields;
1253
+ if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1254
+ return writer;
1255
+ }
1256
+ };
1257
+ /**
1258
+ * @generated MessageType for protobuf message tusk.drift.core.v1.SetTimeTravelResponse
1259
+ */
1260
+ const SetTimeTravelResponse = new SetTimeTravelResponse$Type();
1074
1261
  /**
1075
1262
  * @generated ServiceType for protobuf service tusk.drift.core.v1.MockService
1076
1263
  */
@@ -1156,6 +1343,12 @@ Object.defineProperty(exports, 'MockService', {
1156
1343
  return MockService;
1157
1344
  }
1158
1345
  });
1346
+ Object.defineProperty(exports, 'Runtime', {
1347
+ enumerable: true,
1348
+ get: function () {
1349
+ return Runtime;
1350
+ }
1351
+ });
1159
1352
  Object.defineProperty(exports, 'SDKMessage', {
1160
1353
  enumerable: true,
1161
1354
  get: function () {
@@ -1180,10 +1373,22 @@ Object.defineProperty(exports, 'SendInboundSpanForReplayResponse', {
1180
1373
  return SendInboundSpanForReplayResponse;
1181
1374
  }
1182
1375
  });
1376
+ Object.defineProperty(exports, 'SetTimeTravelRequest', {
1377
+ enumerable: true,
1378
+ get: function () {
1379
+ return SetTimeTravelRequest;
1380
+ }
1381
+ });
1382
+ Object.defineProperty(exports, 'SetTimeTravelResponse', {
1383
+ enumerable: true,
1384
+ get: function () {
1385
+ return SetTimeTravelResponse;
1386
+ }
1387
+ });
1183
1388
  Object.defineProperty(exports, 'UnpatchedDependencyAlert', {
1184
1389
  enumerable: true,
1185
1390
  get: function () {
1186
1391
  return UnpatchedDependencyAlert;
1187
1392
  }
1188
1393
  });
1189
- //# sourceMappingURL=communication-BGGDex5L.cjs.map
1394
+ //# sourceMappingURL=communication-Cl1cM-Nu.cjs.map