@stinkycomputing/sesame-api-client 1.4.1-alpha.6 → 1.4.1-alpha.8

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/browser.mjs CHANGED
@@ -8180,7 +8180,7 @@ var sesame = $root.sesame = (() => {
8180
8180
  RecorderClip.prototype.endTimeUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8181
8181
  RecorderClip.prototype.lockedStartUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8182
8182
  RecorderClip.prototype.lockedEndUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8183
- RecorderClip.prototype.userTimeUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8183
+ RecorderClip.prototype.userTimeMs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8184
8184
  RecorderClip.create = function create(properties) {
8185
8185
  return new RecorderClip(properties);
8186
8186
  };
@@ -8227,11 +8227,11 @@ var sesame = $root.sesame = (() => {
8227
8227
  /* id 8, wireType 0 =*/
8228
8228
  64
8229
8229
  ).int64(message.lockedEndUs);
8230
- if (message.userTimeUs != null && Object.hasOwnProperty.call(message, "userTimeUs"))
8230
+ if (message.userTimeMs != null && Object.hasOwnProperty.call(message, "userTimeMs"))
8231
8231
  writer.uint32(
8232
8232
  /* id 9, wireType 0 =*/
8233
8233
  72
8234
- ).int64(message.userTimeUs);
8234
+ ).int64(message.userTimeMs);
8235
8235
  return writer;
8236
8236
  };
8237
8237
  RecorderClip.encodeDelimited = function encodeDelimited(message, writer) {
@@ -8279,7 +8279,7 @@ var sesame = $root.sesame = (() => {
8279
8279
  break;
8280
8280
  }
8281
8281
  case 9: {
8282
- message.userTimeUs = reader.int64();
8282
+ message.userTimeMs = reader.int64();
8283
8283
  break;
8284
8284
  }
8285
8285
  default:
@@ -8329,9 +8329,9 @@ var sesame = $root.sesame = (() => {
8329
8329
  if (!$util.isInteger(message.lockedEndUs) && !(message.lockedEndUs && $util.isInteger(message.lockedEndUs.low) && $util.isInteger(message.lockedEndUs.high)))
8330
8330
  return "lockedEndUs: integer|Long expected";
8331
8331
  }
8332
- if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs")) {
8333
- if (!$util.isInteger(message.userTimeUs) && !(message.userTimeUs && $util.isInteger(message.userTimeUs.low) && $util.isInteger(message.userTimeUs.high)))
8334
- return "userTimeUs: integer|Long expected";
8332
+ if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs")) {
8333
+ if (!$util.isInteger(message.userTimeMs) && !(message.userTimeMs && $util.isInteger(message.userTimeMs.low) && $util.isInteger(message.userTimeMs.high)))
8334
+ return "userTimeMs: integer|Long expected";
8335
8335
  }
8336
8336
  return null;
8337
8337
  };
@@ -8403,15 +8403,15 @@ var sesame = $root.sesame = (() => {
8403
8403
  else if (typeof object.lockedEndUs === "object")
8404
8404
  message.lockedEndUs = new $util.LongBits(object.lockedEndUs.low >>> 0, object.lockedEndUs.high >>> 0).toNumber();
8405
8405
  }
8406
- if (object.userTimeUs != null) {
8406
+ if (object.userTimeMs != null) {
8407
8407
  if ($util.Long)
8408
- (message.userTimeUs = $util.Long.fromValue(object.userTimeUs)).unsigned = false;
8409
- else if (typeof object.userTimeUs === "string")
8410
- message.userTimeUs = parseInt(object.userTimeUs, 10);
8411
- else if (typeof object.userTimeUs === "number")
8412
- message.userTimeUs = object.userTimeUs;
8413
- else if (typeof object.userTimeUs === "object")
8414
- message.userTimeUs = new $util.LongBits(object.userTimeUs.low >>> 0, object.userTimeUs.high >>> 0).toNumber();
8408
+ (message.userTimeMs = $util.Long.fromValue(object.userTimeMs)).unsigned = false;
8409
+ else if (typeof object.userTimeMs === "string")
8410
+ message.userTimeMs = parseInt(object.userTimeMs, 10);
8411
+ else if (typeof object.userTimeMs === "number")
8412
+ message.userTimeMs = object.userTimeMs;
8413
+ else if (typeof object.userTimeMs === "object")
8414
+ message.userTimeMs = new $util.LongBits(object.userTimeMs.low >>> 0, object.userTimeMs.high >>> 0).toNumber();
8415
8415
  }
8416
8416
  return message;
8417
8417
  };
@@ -8454,9 +8454,9 @@ var sesame = $root.sesame = (() => {
8454
8454
  object.lockedEndUs = options.longs === String ? "0" : 0;
8455
8455
  if ($util.Long) {
8456
8456
  let long = new $util.Long(0, 0, false);
8457
- object.userTimeUs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
8457
+ object.userTimeMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
8458
8458
  } else
8459
- object.userTimeUs = options.longs === String ? "0" : 0;
8459
+ object.userTimeMs = options.longs === String ? "0" : 0;
8460
8460
  }
8461
8461
  if (message.id != null && message.hasOwnProperty("id"))
8462
8462
  if (typeof message.id === "number")
@@ -8492,11 +8492,11 @@ var sesame = $root.sesame = (() => {
8492
8492
  object.lockedEndUs = options.longs === String ? String(message.lockedEndUs) : message.lockedEndUs;
8493
8493
  else
8494
8494
  object.lockedEndUs = options.longs === String ? $util.Long.prototype.toString.call(message.lockedEndUs) : options.longs === Number ? new $util.LongBits(message.lockedEndUs.low >>> 0, message.lockedEndUs.high >>> 0).toNumber() : message.lockedEndUs;
8495
- if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs"))
8496
- if (typeof message.userTimeUs === "number")
8497
- object.userTimeUs = options.longs === String ? String(message.userTimeUs) : message.userTimeUs;
8495
+ if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs"))
8496
+ if (typeof message.userTimeMs === "number")
8497
+ object.userTimeMs = options.longs === String ? String(message.userTimeMs) : message.userTimeMs;
8498
8498
  else
8499
- object.userTimeUs = options.longs === String ? $util.Long.prototype.toString.call(message.userTimeUs) : options.longs === Number ? new $util.LongBits(message.userTimeUs.low >>> 0, message.userTimeUs.high >>> 0).toNumber() : message.userTimeUs;
8499
+ object.userTimeMs = options.longs === String ? $util.Long.prototype.toString.call(message.userTimeMs) : options.longs === Number ? new $util.LongBits(message.userTimeMs.low >>> 0, message.userTimeMs.high >>> 0).toNumber() : message.userTimeMs;
8500
8500
  return object;
8501
8501
  };
8502
8502
  RecorderClip.prototype.toJSON = function toJSON() {