@sailfish-ai/recorder 1.7.3 → 1.7.6

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/graphql.js CHANGED
@@ -42,13 +42,18 @@ export function fetchCaptureSettings(apiKey, backendApi) {
42
42
  `, { apiKey, backendApi });
43
43
  }
44
44
  export function startRecordingSession(apiKey, recordingId, backendApi) {
45
- return sendGraphQLRequest("StartSession", `mutation StartSession($apiKey: UUID!, $recordingSessionId: UUID!) {
46
- startRecordingSession(companyApiKey: $apiKey, sessionId: $recordingSessionId) {
45
+ return sendGraphQLRequest("StartSession", `mutation StartSession($apiKey: UUID!, $recordingSessionId: UUID!, $pageSplitRecording: Boolean) {
46
+ startRecordingSession(
47
+ companyApiKey: $apiKey,
48
+ sessionId: $recordingSessionId,
49
+ pageSplitRecordingPossible: $pageSplitRecording
50
+ ) {
47
51
  id
48
52
  }
49
53
  }`, {
50
54
  apiKey,
51
55
  recordingSessionId: recordingId,
56
+ pageSplitRecording: true, // for creating shadow session with page split recording data in BE
52
57
  backendApi,
53
58
  });
54
59
  }