@stinkycomputing/sesame-api-client 1.4.1-alpha.7 → 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 +21 -21
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.mjs +21 -21
- package/dist/browser.mjs.map +1 -1
- package/dist/index.cjs +169 -136
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +166 -136
- package/dist/index.mjs.map +4 -4
- package/dist/jobs-api.d.ts +15 -0
- package/dist/jobs-api.d.ts.map +1 -0
- package/dist/proto/api.d.ts +4 -4
- package/dist/proto/api.js +24 -24
- package/dist/recorder-api.d.ts +16 -0
- package/dist/recorder-api.d.ts.map +1 -0
- package/dist/sesame-api-client.d.ts +16 -25
- package/dist/sesame-api-client.d.ts.map +1 -1
- package/dist/status-api.d.ts +11 -0
- package/dist/status-api.d.ts.map +1 -0
- package/package.json +1 -1
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
8377
|
-
if (!$util.isInteger(message.
|
|
8378
|
-
return "
|
|
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.
|
|
8450
|
+
if (object.userTimeMs != null) {
|
|
8451
8451
|
if ($util.Long)
|
|
8452
|
-
(message.
|
|
8453
|
-
else if (typeof object.
|
|
8454
|
-
message.
|
|
8455
|
-
else if (typeof object.
|
|
8456
|
-
message.
|
|
8457
|
-
else if (typeof object.
|
|
8458
|
-
message.
|
|
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.
|
|
8501
|
+
object.userTimeMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
8502
8502
|
} else
|
|
8503
|
-
object.
|
|
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.
|
|
8540
|
-
if (typeof message.
|
|
8541
|
-
object.
|
|
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.
|
|
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() {
|