@alwaysmeticulous/recorder-loader
Advanced tools
Comparing version 2.154.0 to 2.154.1
@@ -39,3 +39,3 @@ import { NetworkResponseSanitizer } from "@alwaysmeticulous/sdk-bundles-api"; | ||
*/ | ||
export const loadAndStartRecorder: ({ recordingToken, uploadIntervalMs, snapshotLinkedStylesheets, commitHash, maxMsToBlockFor: maxMsToBlockFor_, snippetsBaseUrl, forceRecording, responseSanitizers, isProduction, }: LoaderOptions) => Promise<void>; | ||
export const loadAndStartRecorder: ({ projectId, recordingToken, uploadIntervalMs, snapshotLinkedStylesheets, commitHash, maxMsToBlockFor: maxMsToBlockFor_, snippetsBaseUrl, forceRecording, responseSanitizers, isProduction, }: LoaderOptions) => Promise<void>; | ||
interface Interceptor { | ||
@@ -42,0 +42,0 @@ startRecordingSession: (options: LoaderOptions) => Promise<Recorder>; |
@@ -22,3 +22,3 @@ function $parcel$export(e, n, v, s) { | ||
}; | ||
const $c97024bcb09807fa$var$unsafeLoadAndStartRecorder = ({ recordingToken: recordingToken , uploadIntervalMs: uploadIntervalMs , snapshotLinkedStylesheets: snapshotLinkedStylesheets , commitHash: commitHash , maxMsToBlockFor: maxMsToBlockFor_ , snippetsBaseUrl: snippetsBaseUrl , forceRecording: forceRecording , responseSanitizers: responseSanitizers , isProduction: isProduction })=>{ | ||
const $c97024bcb09807fa$var$unsafeLoadAndStartRecorder = ({ projectId: projectId , recordingToken: recordingToken , uploadIntervalMs: uploadIntervalMs , snapshotLinkedStylesheets: snapshotLinkedStylesheets , commitHash: commitHash , maxMsToBlockFor: maxMsToBlockFor_ , snippetsBaseUrl: snippetsBaseUrl , forceRecording: forceRecording , responseSanitizers: responseSanitizers , isProduction: isProduction })=>{ | ||
let abandoned = false; | ||
@@ -37,3 +37,3 @@ return new Promise((resolve, reject)=>{ | ||
const typedWindow = window; | ||
typedWindow.METICULOUS_RECORDING_TOKEN = recordingToken; | ||
typedWindow.METICULOUS_RECORDING_TOKEN = recordingToken ?? projectId; | ||
if (uploadIntervalMs !== undefined) typedWindow.METICULOUS_UPLOAD_INTERVAL_MS = uploadIntervalMs; | ||
@@ -40,0 +40,0 @@ if (commitHash !== undefined) typedWindow.METICULOUS_APP_COMMIT_HASH = commitHash; |
@@ -15,3 +15,3 @@ const $7d7683134fbb8fec$export$d16af6ab0c202bae = "https://snippet.meticulous.ai"; | ||
}; | ||
const $5d774bdb3a883001$var$unsafeLoadAndStartRecorder = ({ recordingToken: recordingToken , uploadIntervalMs: uploadIntervalMs , snapshotLinkedStylesheets: snapshotLinkedStylesheets , commitHash: commitHash , maxMsToBlockFor: maxMsToBlockFor_ , snippetsBaseUrl: snippetsBaseUrl , forceRecording: forceRecording , responseSanitizers: responseSanitizers , isProduction: isProduction })=>{ | ||
const $5d774bdb3a883001$var$unsafeLoadAndStartRecorder = ({ projectId: projectId , recordingToken: recordingToken , uploadIntervalMs: uploadIntervalMs , snapshotLinkedStylesheets: snapshotLinkedStylesheets , commitHash: commitHash , maxMsToBlockFor: maxMsToBlockFor_ , snippetsBaseUrl: snippetsBaseUrl , forceRecording: forceRecording , responseSanitizers: responseSanitizers , isProduction: isProduction })=>{ | ||
let abandoned = false; | ||
@@ -30,3 +30,3 @@ return new Promise((resolve, reject)=>{ | ||
const typedWindow = window; | ||
typedWindow.METICULOUS_RECORDING_TOKEN = recordingToken; | ||
typedWindow.METICULOUS_RECORDING_TOKEN = recordingToken ?? projectId; | ||
if (uploadIntervalMs !== undefined) typedWindow.METICULOUS_UPLOAD_INTERVAL_MS = uploadIntervalMs; | ||
@@ -33,0 +33,0 @@ if (commitHash !== undefined) typedWindow.METICULOUS_APP_COMMIT_HASH = commitHash; |
{ | ||
"name": "@alwaysmeticulous/recorder-loader", | ||
"version": "2.154.0", | ||
"version": "2.154.1", | ||
"license": "ISC", | ||
@@ -24,3 +24,3 @@ "source": "src/index.ts", | ||
"devDependencies": { | ||
"@alwaysmeticulous/sdk-bundles-api": "^2.153.0" | ||
"@alwaysmeticulous/sdk-bundles-api": "^2.154.1" | ||
}, | ||
@@ -41,3 +41,3 @@ "author": { | ||
}, | ||
"gitHead": "33257b43e07f98b7eed8d966fd585ffaa43ab34e" | ||
"gitHead": "4eb7688452ac99105773b1b971e13377c6e3b16e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41501