@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.cjs
CHANGED
|
@@ -22108,18 +22108,7 @@ var SesameClient = class extends import_events3.EventEmitter {
|
|
|
22108
22108
|
const msg = sesame.v1.recorder.RecorderClipsGetRequest.create();
|
|
22109
22109
|
const reply = await this.rpc.service.requestRecorderOperation({ recorderId, getClips: msg });
|
|
22110
22110
|
if (reply.getClipsResponse && reply.getClipsResponse.clips) {
|
|
22111
|
-
return reply.getClipsResponse.clips
|
|
22112
|
-
return {
|
|
22113
|
-
id: Number(c.id),
|
|
22114
|
-
startTime: Number(c.startTimeUs),
|
|
22115
|
-
endTime: Number(c.endTimeUs),
|
|
22116
|
-
lockedStart: Number(c.lockedStartUs),
|
|
22117
|
-
lockedEnd: Number(c.lockedEndUs),
|
|
22118
|
-
userTime: c.userTimeUs ? Number(c.userTimeUs) : void 0,
|
|
22119
|
-
name: c.name ?? "",
|
|
22120
|
-
userData: c.userData
|
|
22121
|
-
};
|
|
22122
|
-
});
|
|
22111
|
+
return reply.getClipsResponse.clips;
|
|
22123
22112
|
} else {
|
|
22124
22113
|
throw new Error(`No clips returned: ${JSON.stringify(reply)}`);
|
|
22125
22114
|
}
|