Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@openreplay/tracker

Package Overview
Dependencies
Maintainers
4
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openreplay/tracker - npm Package Compare versions

Comparing version 14.0.12 to 14.0.13

13

dist/cjs/index.js

@@ -60,2 +60,10 @@ 'use strict';

}
const canAccessTop = () => {
try {
return Boolean(window.top);
}
catch {
return false;
}
};
class API {

@@ -78,3 +86,3 @@ constructor(options) {

req.send(JSON.stringify({
trackerVersion: '14.0.12',
trackerVersion: '14.0.13',
projectKey: this.options.projectKey,

@@ -109,6 +117,7 @@ doNotTrack,

if (!utils_js_1.IN_BROWSER || !processOptions(options)) {
console.error('OpenReplay: tracker called in a non-browser environment or with invalid options');
return;
}
if (window.__OPENREPLAY__ ||
(!this.crossdomainMode && (0, utils_js_1.inIframe)() && window.top?.__OPENREPLAY__)) {
(!this.crossdomainMode && (0, utils_js_1.inIframe)() && canAccessTop() && window.top?.__OPENREPLAY__)) {
console.error('OpenReplay: one tracker instance has been initialised already');

@@ -115,0 +124,0 @@ return;

@@ -296,2 +296,3 @@ import type { Options as WebworkerOptions } from '../../common/interaction.js';

uploadOfflineRecording(): Promise<void>;
prevOpts: StartOptions;
private _start;

@@ -298,0 +299,0 @@ restartCanvasTracking: () => void;

1

dist/cjs/main/app/observer/iframe_observer.d.ts

@@ -6,3 +6,2 @@ import Observer from './observer.js';

syntheticObserve(rootNodeId: number, doc: Document): void;
disconnect(): void;
}

@@ -296,2 +296,3 @@ import type { Options as WebworkerOptions } from '../../common/interaction.js';

uploadOfflineRecording(): Promise<void>;
prevOpts: StartOptions;
private _start;

@@ -298,0 +299,0 @@ restartCanvasTracking: () => void;

@@ -6,3 +6,2 @@ import Observer from './observer.js';

syntheticObserve(rootNodeId: number, doc: Document): void;
disconnect(): void;
}
{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "14.0.12",
"version": "14.0.13",
"keywords": [

@@ -37,4 +37,3 @@ "logging",

"clean": "rm -Rf build && rm -Rf lib && rm -Rf cjs",
"build:common": "tsc -b src/common",
"build": "yarn run clean && yarn build:common && rollup --config rollup.config.js",
"build": "yarn run clean && rollup --config rollup.config.js",
"lint-front": "lint-staged",

@@ -41,0 +40,0 @@ "test": "jest --coverage=false",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc