@stinkycomputing/sesame-api-client 1.4.1-alpha.6 → 1.4.1-alpha.7
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/index.cjs +1 -12
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +1 -12
- package/dist/index.mjs.map +2 -2
- package/dist/sesame-api-client.d.ts +1 -10
- package/dist/sesame-api-client.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -22056,18 +22056,7 @@ var SesameClient = class extends EventEmitter3 {
|
|
|
22056
22056
|
const msg = sesame.v1.recorder.RecorderClipsGetRequest.create();
|
|
22057
22057
|
const reply = await this.rpc.service.requestRecorderOperation({ recorderId, getClips: msg });
|
|
22058
22058
|
if (reply.getClipsResponse && reply.getClipsResponse.clips) {
|
|
22059
|
-
return reply.getClipsResponse.clips
|
|
22060
|
-
return {
|
|
22061
|
-
id: Number(c.id),
|
|
22062
|
-
startTime: Number(c.startTimeUs),
|
|
22063
|
-
endTime: Number(c.endTimeUs),
|
|
22064
|
-
lockedStart: Number(c.lockedStartUs),
|
|
22065
|
-
lockedEnd: Number(c.lockedEndUs),
|
|
22066
|
-
userTime: c.userTimeUs ? Number(c.userTimeUs) : void 0,
|
|
22067
|
-
name: c.name ?? "",
|
|
22068
|
-
userData: c.userData
|
|
22069
|
-
};
|
|
22070
|
-
});
|
|
22059
|
+
return reply.getClipsResponse.clips;
|
|
22071
22060
|
} else {
|
|
22072
22061
|
throw new Error(`No clips returned: ${JSON.stringify(reply)}`);
|
|
22073
22062
|
}
|