@sailfish-ai/recorder 1.0.0-beta-10 → 1.0.0-beta-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/recording.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { record } from "@sailfish-rrweb/record";
2
2
  import { getRecordConsolePlugin, } from "@sailfish-rrweb/rrweb-plugin-console-record";
3
- import { getRecordNetworkPlugin, } from "@sailfish-rrweb/rrweb-plugin-network-record";
4
3
  import { cacheEvents, sendRecordingEvents } from "./eventCache";
5
4
  import { initializeWebSocket } from "./websocket";
6
5
  const MASK_CLASS = "sailfishSanitize";
@@ -9,7 +8,7 @@ function maskInputFn(text, node) {
9
8
  // The maskInputFn logic here
10
9
  return text; // Placeholder return
11
10
  }
12
- export async function initializeRecording(captureSettings, // TODO - Sibyl launch - replace type
11
+ export async function initializeRecording(captureSettings, // TODO - Sibyl post-launch - replace type
13
12
  consoleRecordSettings, networkRecordSettings, backendApi, apiKey, sessionId) {
14
13
  try {
15
14
  record({
@@ -18,7 +17,7 @@ consoleRecordSettings, networkRecordSettings, backendApi, apiKey, sessionId) {
18
17
  },
19
18
  plugins: [
20
19
  getRecordConsolePlugin(consoleRecordSettings),
21
- getRecordNetworkPlugin(networkRecordSettings),
20
+ // getRecordNetworkPlugin(networkRecordSettings),
22
21
  ],
23
22
  maskInputOptions: { text: true }, // Fix the incorrect property name
24
23
  maskInputFn,