@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.cjs CHANGED
@@ -8224,7 +8224,7 @@ var sesame = $root.sesame = (() => {
8224
8224
  RecorderClip.prototype.endTimeUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8225
8225
  RecorderClip.prototype.lockedStartUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8226
8226
  RecorderClip.prototype.lockedEndUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8227
- RecorderClip.prototype.userTimeUs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8227
+ RecorderClip.prototype.userTimeMs = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
8228
8228
  RecorderClip.create = function create(properties) {
8229
8229
  return new RecorderClip(properties);
8230
8230
  };
@@ -8271,11 +8271,11 @@ var sesame = $root.sesame = (() => {
8271
8271
  /* id 8, wireType 0 =*/
8272
8272
  64
8273
8273
  ).int64(message.lockedEndUs);
8274
- if (message.userTimeUs != null && Object.hasOwnProperty.call(message, "userTimeUs"))
8274
+ if (message.userTimeMs != null && Object.hasOwnProperty.call(message, "userTimeMs"))
8275
8275
  writer.uint32(
8276
8276
  /* id 9, wireType 0 =*/
8277
8277
  72
8278
- ).int64(message.userTimeUs);
8278
+ ).int64(message.userTimeMs);
8279
8279
  return writer;
8280
8280
  };
8281
8281
  RecorderClip.encodeDelimited = function encodeDelimited(message, writer) {
@@ -8323,7 +8323,7 @@ var sesame = $root.sesame = (() => {
8323
8323
  break;
8324
8324
  }
8325
8325
  case 9: {
8326
- message.userTimeUs = reader.int64();
8326
+ message.userTimeMs = reader.int64();
8327
8327
  break;
8328
8328
  }
8329
8329
  default:
@@ -8373,9 +8373,9 @@ var sesame = $root.sesame = (() => {
8373
8373
  if (!$util.isInteger(message.lockedEndUs) && !(message.lockedEndUs && $util.isInteger(message.lockedEndUs.low) && $util.isInteger(message.lockedEndUs.high)))
8374
8374
  return "lockedEndUs: integer|Long expected";
8375
8375
  }
8376
- if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs")) {
8377
- if (!$util.isInteger(message.userTimeUs) && !(message.userTimeUs && $util.isInteger(message.userTimeUs.low) && $util.isInteger(message.userTimeUs.high)))
8378
- return "userTimeUs: integer|Long expected";
8376
+ if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs")) {
8377
+ if (!$util.isInteger(message.userTimeMs) && !(message.userTimeMs && $util.isInteger(message.userTimeMs.low) && $util.isInteger(message.userTimeMs.high)))
8378
+ return "userTimeMs: integer|Long expected";
8379
8379
  }
8380
8380
  return null;
8381
8381
  };
@@ -8447,15 +8447,15 @@ var sesame = $root.sesame = (() => {
8447
8447
  else if (typeof object.lockedEndUs === "object")
8448
8448
  message.lockedEndUs = new $util.LongBits(object.lockedEndUs.low >>> 0, object.lockedEndUs.high >>> 0).toNumber();
8449
8449
  }
8450
- if (object.userTimeUs != null) {
8450
+ if (object.userTimeMs != null) {
8451
8451
  if ($util.Long)
8452
- (message.userTimeUs = $util.Long.fromValue(object.userTimeUs)).unsigned = false;
8453
- else if (typeof object.userTimeUs === "string")
8454
- message.userTimeUs = parseInt(object.userTimeUs, 10);
8455
- else if (typeof object.userTimeUs === "number")
8456
- message.userTimeUs = object.userTimeUs;
8457
- else if (typeof object.userTimeUs === "object")
8458
- message.userTimeUs = new $util.LongBits(object.userTimeUs.low >>> 0, object.userTimeUs.high >>> 0).toNumber();
8452
+ (message.userTimeMs = $util.Long.fromValue(object.userTimeMs)).unsigned = false;
8453
+ else if (typeof object.userTimeMs === "string")
8454
+ message.userTimeMs = parseInt(object.userTimeMs, 10);
8455
+ else if (typeof object.userTimeMs === "number")
8456
+ message.userTimeMs = object.userTimeMs;
8457
+ else if (typeof object.userTimeMs === "object")
8458
+ message.userTimeMs = new $util.LongBits(object.userTimeMs.low >>> 0, object.userTimeMs.high >>> 0).toNumber();
8459
8459
  }
8460
8460
  return message;
8461
8461
  };
@@ -8498,9 +8498,9 @@ var sesame = $root.sesame = (() => {
8498
8498
  object.lockedEndUs = options.longs === String ? "0" : 0;
8499
8499
  if ($util.Long) {
8500
8500
  let long = new $util.Long(0, 0, false);
8501
- object.userTimeUs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
8501
+ object.userTimeMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
8502
8502
  } else
8503
- object.userTimeUs = options.longs === String ? "0" : 0;
8503
+ object.userTimeMs = options.longs === String ? "0" : 0;
8504
8504
  }
8505
8505
  if (message.id != null && message.hasOwnProperty("id"))
8506
8506
  if (typeof message.id === "number")
@@ -8536,11 +8536,11 @@ var sesame = $root.sesame = (() => {
8536
8536
  object.lockedEndUs = options.longs === String ? String(message.lockedEndUs) : message.lockedEndUs;
8537
8537
  else
8538
8538
  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;
8539
- if (message.userTimeUs != null && message.hasOwnProperty("userTimeUs"))
8540
- if (typeof message.userTimeUs === "number")
8541
- object.userTimeUs = options.longs === String ? String(message.userTimeUs) : message.userTimeUs;
8539
+ if (message.userTimeMs != null && message.hasOwnProperty("userTimeMs"))
8540
+ if (typeof message.userTimeMs === "number")
8541
+ object.userTimeMs = options.longs === String ? String(message.userTimeMs) : message.userTimeMs;
8542
8542
  else
8543
- 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;
8543
+ 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;
8544
8544
  return object;
8545
8545
  };
8546
8546
  RecorderClip.prototype.toJSON = function toJSON() {