@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.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
8333
|
-
if (!$util.isInteger(message.
|
|
8334
|
-
return "
|
|
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.
|
|
8406
|
+
if (object.userTimeMs != null) {
|
|
8407
8407
|
if ($util.Long)
|
|
8408
|
-
(message.
|
|
8409
|
-
else if (typeof object.
|
|
8410
|
-
message.
|
|
8411
|
-
else if (typeof object.
|
|
8412
|
-
message.
|
|
8413
|
-
else if (typeof object.
|
|
8414
|
-
message.
|
|
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.
|
|
8457
|
+
object.userTimeMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
8458
8458
|
} else
|
|
8459
|
-
object.
|
|
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.
|
|
8496
|
-
if (typeof message.
|
|
8497
|
-
object.
|
|
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.
|
|
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() {
|