@sailfish-ai/recorder 1.10.6 → 1.10.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/chunks/{chunkSerializer-BFe33uXR.js → chunkSerializer-BuEZW3N4.js} +1 -1
- package/dist/chunks/chunkSerializer-BuEZW3N4.js.br +0 -0
- package/dist/chunks/chunkSerializer-BuEZW3N4.js.gz +0 -0
- package/dist/chunks/{chunkSerializer-BKUFGtBu.js → chunkSerializer-DM9muyGb.js} +1 -1
- package/dist/chunks/chunkSerializer-DM9muyGb.js.br +0 -0
- package/dist/chunks/chunkSerializer-DM9muyGb.js.gz +0 -0
- package/dist/chunks/{index-CywnXnF8.js → index-BlPJWz9y.js} +3 -3
- package/dist/chunks/index-BlPJWz9y.js.br +0 -0
- package/dist/chunks/index-BlPJWz9y.js.gz +0 -0
- package/dist/chunks/{index-CJhJKC_I.js → index-soHaKXF4.js} +3 -3
- package/dist/chunks/index-soHaKXF4.js.br +0 -0
- package/dist/chunks/index-soHaKXF4.js.gz +0 -0
- package/dist/inAppReportIssueModal/state.js +5 -2
- package/dist/recorder.cjs +1 -1
- package/dist/recorder.js +1 -1
- package/dist/recorder.js.br +0 -0
- package/dist/recorder.js.gz +0 -0
- package/package.json +1 -1
- package/dist/chunks/chunkSerializer-BFe33uXR.js.br +0 -0
- package/dist/chunks/chunkSerializer-BFe33uXR.js.gz +0 -0
- package/dist/chunks/chunkSerializer-BKUFGtBu.js.br +0 -0
- package/dist/chunks/chunkSerializer-BKUFGtBu.js.gz +0 -0
- package/dist/chunks/index-CJhJKC_I.js.br +0 -0
- package/dist/chunks/index-CJhJKC_I.js.gz +0 -0
- package/dist/chunks/index-CywnXnF8.js.br +0 -0
- package/dist/chunks/index-CywnXnF8.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as e } from "./index-
|
|
1
|
+
import { y as e } from "./index-soHaKXF4.js";
|
|
2
2
|
async function chunkedSnapshot(t, n, o = {}) {
|
|
3
3
|
const s = o.chunkSize ?? 500, r = o.maxChunkMs ?? 16, { blockClass: c, blockSelector: a, maskTextClass: i, maskTextSelector: d } = o;
|
|
4
4
|
let u = 100001, l = 0, N = performance.now();
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("./index-
|
|
3
|
+
const e = require("./index-BlPJWz9y.js");
|
|
4
4
|
exports.chunkedSnapshot = async function chunkedSnapshot(t, n, o = {}) {
|
|
5
5
|
const s = o.chunkSize ?? 500, r = o.maxChunkMs ?? 16, { blockClass: c, blockSelector: a, maskTextClass: i, maskTextSelector: d } = o;
|
|
6
6
|
let u = 100001, l = 0, N = performance.now();
|
|
Binary file
|
|
Binary file
|
|
@@ -383,7 +383,7 @@ function initializeWebSocket(t2, n2, i2, o2, s2 = false) {
|
|
|
383
383
|
const t3 = new URL(e2);
|
|
384
384
|
return `${t3.hostname}${t3.port ? `:${t3.port}` : ""}`;
|
|
385
385
|
})(t2);
|
|
386
|
-
let r2 = `${"https:" === new URL(t2).protocol ? "wss" : "ws"}://${a2}/ws/notify/?apiKey=${n2}&sessionId=${i2}&sender=JS%2FTS&version=1.10.
|
|
386
|
+
let r2 = `${"https:" === new URL(t2).protocol ? "wss" : "ws"}://${a2}/ws/notify/?apiKey=${n2}&sessionId=${i2}&sender=JS%2FTS&version=1.10.7`;
|
|
387
387
|
if (o2 && (r2 += `&envValue=${encodeURIComponent(o2)}`), k = s2 ? (function tryCreateWsWorker() {
|
|
388
388
|
if ("undefined" == typeof Worker) return null;
|
|
389
389
|
try {
|
|
@@ -705,7 +705,7 @@ async function initializeRecording(e2, n2, i2, o2, s2, a2 = true, r2 = false, l2
|
|
|
705
705
|
}
|
|
706
706
|
const { record: n4 } = await import("@sailfish-rrweb/rrweb-record-only");
|
|
707
707
|
if (Q = n4, await yieldToMain(), l2) {
|
|
708
|
-
const { chunkedSnapshot: i3 } = await Promise.resolve().then(() => require("./chunkSerializer-
|
|
708
|
+
const { chunkedSnapshot: i3 } = await Promise.resolve().then(() => require("./chunkSerializer-DM9muyGb.js")), o3 = n4.mirror;
|
|
709
709
|
let s3 = true;
|
|
710
710
|
const a3 = [];
|
|
711
711
|
n4({ emit(e3) {
|
|
@@ -913,7 +913,7 @@ const re = Object.freeze(Object.defineProperty({ __proto__: null, fetchIntegrati
|
|
|
913
913
|
}, getFieldsForProject, getIntegrationData, getProjectsForTeam, getSprintFieldId, getUsers, hasValidIntegration, populatePriorityOptions, populateSelectOptions, populateSprintOptions, refreshIntegrationData, updateFormWithIntegrationData, updateIssueTypeOptions }, Symbol.toStringTag, { value: "Module" })), le = "sf-create-issue-preference", ce = "sf-create-eng-ticket-preference";
|
|
914
914
|
function getInitialState() {
|
|
915
915
|
const e2 = (function loadUserPreferences() {
|
|
916
|
-
return { createIssue: "true" === localStorage.getItem(le), createEngTicket: "true" === localStorage.getItem(ce) };
|
|
916
|
+
return { createIssue: g && "true" === localStorage.getItem(le), createEngTicket: g && "true" === localStorage.getItem(ce) };
|
|
917
917
|
})();
|
|
918
918
|
return { mode: "lookback", description: "", occurredInThisTab: true, createIssue: e2.createIssue, issueName: "", issueDescription: "", createEngTicket: e2.createEngTicket, engTicketTeam: "", engTicketProject: "", engTicketPriority: 0, engTicketLabels: [], engTicketSprint: "", engTicketIssueType: "", engTicketCustomFields: {} };
|
|
919
919
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -362,7 +362,7 @@ function initializeWebSocket(t2, n2, i2, o2, s2 = false) {
|
|
|
362
362
|
const t3 = new URL(e2);
|
|
363
363
|
return `${t3.hostname}${t3.port ? `:${t3.port}` : ""}`;
|
|
364
364
|
})(t2);
|
|
365
|
-
let r2 = `${"https:" === new URL(t2).protocol ? "wss" : "ws"}://${a2}/ws/notify/?apiKey=${n2}&sessionId=${i2}&sender=JS%2FTS&version=1.10.
|
|
365
|
+
let r2 = `${"https:" === new URL(t2).protocol ? "wss" : "ws"}://${a2}/ws/notify/?apiKey=${n2}&sessionId=${i2}&sender=JS%2FTS&version=1.10.7`;
|
|
366
366
|
if (o2 && (r2 += `&envValue=${encodeURIComponent(o2)}`), x = s2 ? (function tryCreateWsWorker() {
|
|
367
367
|
if ("undefined" == typeof Worker) return null;
|
|
368
368
|
try {
|
|
@@ -695,7 +695,7 @@ async function initializeRecording(e2, n2, i2, o2, s2, a2 = true, r2 = false, l2
|
|
|
695
695
|
}
|
|
696
696
|
const { record: n4 } = await import("@sailfish-rrweb/rrweb-record-only");
|
|
697
697
|
if (J = n4, await yieldToMain(), l2) {
|
|
698
|
-
const { chunkedSnapshot: i3 } = await import("./chunkSerializer-
|
|
698
|
+
const { chunkedSnapshot: i3 } = await import("./chunkSerializer-BuEZW3N4.js"), o3 = n4.mirror;
|
|
699
699
|
let s3 = true;
|
|
700
700
|
const a3 = [];
|
|
701
701
|
n4({ emit(e3) {
|
|
@@ -903,7 +903,7 @@ const le = Object.freeze(Object.defineProperty({ __proto__: null, fetchIntegrati
|
|
|
903
903
|
}, getFieldsForProject, getIntegrationData, getProjectsForTeam, getSprintFieldId, getUsers, hasValidIntegration, populatePriorityOptions, populateSelectOptions, populateSprintOptions, refreshIntegrationData, updateFormWithIntegrationData, updateIssueTypeOptions }, Symbol.toStringTag, { value: "Module" })), ce = "sf-create-issue-preference", de = "sf-create-eng-ticket-preference";
|
|
904
904
|
function getInitialState() {
|
|
905
905
|
const e2 = (function loadUserPreferences() {
|
|
906
|
-
return { createIssue: "true" === localStorage.getItem(ce), createEngTicket: "true" === localStorage.getItem(de) };
|
|
906
|
+
return { createIssue: g && "true" === localStorage.getItem(ce), createEngTicket: g && "true" === localStorage.getItem(de) };
|
|
907
907
|
})();
|
|
908
908
|
return { mode: "lookback", description: "", occurredInThisTab: true, createIssue: e2.createIssue, issueName: "", issueDescription: "", createEngTicket: e2.createEngTicket, engTicketTeam: "", engTicketProject: "", engTicketPriority: 0, engTicketLabels: [], engTicketSprint: "", engTicketIssueType: "", engTicketCustomFields: {} };
|
|
909
909
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { STORAGE_KEYS } from "./types";
|
|
2
|
+
import { HAS_LOCAL_STORAGE } from "../runtimeEnv";
|
|
2
3
|
// Helper function to load user preferences from localStorage
|
|
3
4
|
function loadUserPreferences() {
|
|
4
5
|
return {
|
|
5
|
-
createIssue:
|
|
6
|
-
|
|
6
|
+
createIssue: HAS_LOCAL_STORAGE &&
|
|
7
|
+
localStorage.getItem(STORAGE_KEYS.CREATE_ISSUE) === "true",
|
|
8
|
+
createEngTicket: HAS_LOCAL_STORAGE &&
|
|
9
|
+
localStorage.getItem(STORAGE_KEYS.CREATE_ENG_TICKET) === "true",
|
|
7
10
|
};
|
|
8
11
|
}
|
|
9
12
|
// Helper function to get initial state
|
package/dist/recorder.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("./chunks/index-
|
|
3
|
+
const e = require("./chunks/index-BlPJWz9y.js");
|
|
4
4
|
exports.DEFAULT_CAPTURE_SETTINGS = e.DEFAULT_CAPTURE_SETTINGS, exports.DEFAULT_CONSOLE_RECORDING_SETTINGS = e.DEFAULT_CONSOLE_RECORDING_SETTINGS, exports.STORAGE_VERSION = e.STORAGE_VERSION, exports.addOrUpdateMetadata = e.addOrUpdateMetadata, exports.buildBatches = e.buildBatches, exports.clearStaleFuncSpanState = e.clearStaleFuncSpanState, exports.createTriageAndIssueFromRecorder = e.createTriageAndIssueFromRecorder, exports.createTriageFromRecorder = e.createTriageFromRecorder, exports.disableFunctionSpanTracking = e.disableFunctionSpanTracking, exports.enableFunctionSpanTracking = e.enableFunctionSpanTracking, exports.ensureHrefCache = e.ensureHrefCache, exports.eventSize = e.eventSize, exports.fetchAndSendIp = e.fetchAndSendIp, exports.fetchCaptureSettings = e.fetchCaptureSettings, exports.fetchEngineeringTicketPlatformIntegrations = e.fetchEngineeringTicketPlatformIntegrations, exports.fetchFunctionSpanTrackingEnabled = e.fetchFunctionSpanTrackingEnabled, exports.flushBufferedEvents = e.flushBufferedEvents, exports.getCachedHref = e.getCachedHref, exports.getCachedHrefNoQuery = e.getCachedHrefNoQuery, exports.getFuncSpanHeader = e.getFuncSpanHeader, exports.getOrSetSessionId = e.getOrSetSessionId, exports.getUrlAndStoredUuids = e.getUrlAndStoredUuids, exports.identify = e.identify, exports.initRecorder = e.initRecorder, exports.initializeConsolePlugin = e.initializeConsolePlugin, exports.initializeDomContentEvents = e.initializeDomContentEvents, exports.initializeFunctionSpanTrackingFromApi = e.initializeFunctionSpanTrackingFromApi, exports.initializeRecording = e.initializeRecording, exports.initializeWebSocket = e.initializeWebSocket, exports.invalidateUrlCache = e.invalidateUrlCache, exports.isFunctionSpanTrackingEnabled = e.isFunctionSpanTrackingEnabled, exports.matchUrlWithWildcard = e.matchUrlWithWildcard, Object.defineProperty(exports, "nowTimestamp", { enumerable: true, get: () => e.nowTimestamp }), exports.openReportIssueModal = e.openReportIssueModal, exports.restoreFuncSpanState = e.restoreFuncSpanState, exports.sendDomainsToNotPropagateHeaderTo = e.sendDomainsToNotPropagateHeaderTo, exports.sendEvent = e.sendEvent, exports.sendGraphQLRequest = e.sendGraphQLRequest, exports.sendMessage = e.sendMessage, exports.startRecording = e.startRecording, exports.startRecordingSession = e.startRecordingSession, exports.trackingEvent = e.trackingEvent, exports.withAppUrlMetadata = e.withAppUrlMetadata;
|
package/dist/recorder.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D, a, S, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, z, A, B, C, E, F, G, H, I, J, K, L, M, N, O, P, Q } from "./chunks/index-
|
|
1
|
+
import { D, a, S, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, z, A, B, C, E, F, G, H, I, J, K, L, M, N, O, P, Q } from "./chunks/index-soHaKXF4.js";
|
|
2
2
|
export {
|
|
3
3
|
D as DEFAULT_CAPTURE_SETTINGS,
|
|
4
4
|
a as DEFAULT_CONSOLE_RECORDING_SETTINGS,
|
package/dist/recorder.js.br
CHANGED
|
Binary file
|
package/dist/recorder.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|