This commit is contained in:
nick-delirium 2024-04-08 11:53:18 +02:00
parent 3902c26971
commit 3cffbe18fc
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
4 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "9.0.13",
"version": "9.0.14",
"keywords": [
"logging",
"replay"

View file

@ -168,9 +168,10 @@ export default class API {
if (options.resetTabOnWindowOpen) {
sessStorage.removeItem(options.session_tabid_key || '__openreplay_tabid')
}
wOpen.call(window, ...args)
const result = wOpen.call(window, ...args)
app.resetNextPageSession(false)
sessStorage.setItem(options.session_tabid_key || '__openreplay_tabid', tabId)
return result
}
})
app.attachStopCallback(() => {

View file

@ -168,6 +168,7 @@ export default function (app: App, options?: MouseHandlerOptions): void {
mouseTarget = null
selectorMap = {}
if (checkIntervalId) {
// @ts-ignore
clearInterval(checkIntervalId)
}
})

View file

@ -230,6 +230,7 @@ export default function (app: App, opts: Partial<Options> = {}) {
return response
})
}
// @ts-ignore
context.fetch = trackFetch
/* ====== <> ====== */