@sailfish-ai/recorder 1.7.12-alpha5 → 1.7.12

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
@@ -60,30 +60,3 @@ export function sendDomainsToNotPropagateHeaderTo(apiKey, domains, backendApi) {
60
60
  domainsToNotPassHeaderTo(apiKey: $apiKey, domains: $domains)
61
61
  }`, { apiKey, domains, backendApi });
62
62
  }
63
- export function createTriageFromRecorder(apiKey, backendApi, recordingSessionId, timestampStart, timestampEnd, description) {
64
- return sendGraphQLRequest("CreateTriageFromRecorder", `mutation CreateTriageFromRecorder(
65
- $apiKey: String!,
66
- $recordingSessionId: String!,
67
- $timestampStart: String!,
68
- $timestampEnd: String!,
69
- $description: String
70
- ) {
71
- createTriageFromRecorder(
72
- apiKey: $apiKey,
73
- recordingSessionId: $recordingSessionId,
74
- timestampStart: $timestampStart,
75
- timestampEnd: $timestampEnd,
76
- description: $description
77
- ) {
78
- id
79
- }
80
- }
81
- `, {
82
- apiKey,
83
- recordingSessionId,
84
- timestampStart,
85
- timestampEnd,
86
- description,
87
- backendApi,
88
- });
89
- }
package/dist/index.js CHANGED
@@ -5,7 +5,6 @@ import { NetworkRequestEventId, xSf3RidHeader } from "./constants";
5
5
  import { gatherAndCacheDeviceInfo } from "./deviceInfo";
6
6
  import { fetchCaptureSettings, sendDomainsToNotPropagateHeaderTo, startRecordingSession, } from "./graphql";
7
7
  import { sendMapUuidIfAvailable } from "./mapUuid";
8
- import { setupIssueReporting } from "./modal";
9
8
  import { getUrlAndStoredUuids, initializeConsolePlugin, initializeDomContentEvents, initializeRecording, } from "./recording";
10
9
  import { sendEvent, sendMessage } from "./websocket";
11
10
  // Default list of domains to ignore
@@ -732,18 +731,10 @@ export const initRecorder = async (options) => {
732
731
  return;
733
732
  }
734
733
  // Directly invoke the startRecording function from within the same package
735
- return startRecording(options).then(() => {
736
- setupIssueReporting({
737
- apiKey: options.apiKey,
738
- backendApi: options.backendApi ?? "https://api-service.sailfishqa.com",
739
- getSessionId: () => getOrSetSessionId(),
740
- enableShortcuts: options.enableShortcuts ?? false,
741
- });
742
- });
734
+ return startRecording(options);
743
735
  };
744
736
  // Re-export from other modules
745
737
  export * from "./graphql";
746
- export { openReportIssueModal } from "./modal";
747
738
  export * from "./recording";
748
739
  export * from "./sendSailfishMessages";
749
740
  export * from "./types";