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

@openreplay/tracker

Package Overview
Dependencies
Maintainers
3
Versions
218
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 3.4.8 to 3.4.9

2

cjs/app/index.d.ts

@@ -7,3 +7,3 @@ import Message from "../messages/message.js";

import type { Options as WebworkerOptions } from "../messages/webworker.js";
interface OnStartInfo {
export interface OnStartInfo {
sessionID: string;

@@ -10,0 +10,0 @@ sessionToken: string;

@@ -20,3 +20,3 @@ "use strict";

this.isActive = false;
this.version = '3.4.8';
this.version = '3.4.9';
this.projectKey = projectKey;

@@ -23,0 +23,0 @@ this.options = Object.assign({

@@ -11,2 +11,3 @@ import App from "./app/index.js";

import { Options as TimingOptions } from "./modules/timing.js";
export type { OnStartInfo } from './app/index.js';
export declare type Options = Partial<AppOptions & ConsoleOptions & ExceptionOptions & InputOptions & PerformanceOptions & TimingOptions> & {

@@ -26,3 +27,3 @@ projectID?: number;

active(): boolean;
start(): void;
start(): Promise<import("./app/index.js").OnStartInfo>;
stop(): void;

@@ -29,0 +30,0 @@ getSessionToken(): string | null | undefined;

@@ -118,3 +118,3 @@ "use strict";

req.send(JSON.stringify({
trackerVersion: '3.4.8',
trackerVersion: '3.4.9',
projectKey: options.projectKey,

@@ -142,8 +142,8 @@ doNotTrack,

console.error(`OpenReplay: you are trying to start Tracker on a node.js environment. If you want to use OpenReplay with SSR, please, use componentDidMount or useEffect API for placing the \`tracker.start()\` line. Check documentation on ${utils_js_1.DOCS_HOST}${DOCS_SETUP}`);
return;
return Promise.reject("Trying to start not in browser.");
}
if (this.app === null) {
return;
return Promise.reject("Browser doesn't support required api, or doNotTrack is active.");
}
this.app.start();
return this.app.start();
}

@@ -150,0 +150,0 @@ stop() {

@@ -7,3 +7,3 @@ import Message from "../messages/message.js";

import type { Options as WebworkerOptions } from "../messages/webworker.js";
interface OnStartInfo {
export interface OnStartInfo {
sessionID: string;

@@ -10,0 +10,0 @@ sessionToken: string;

@@ -17,3 +17,3 @@ import { timestamp, log, warn } from "../utils.js";

this.isActive = false;
this.version = '3.4.8';
this.version = '3.4.9';
this.projectKey = projectKey;

@@ -20,0 +20,0 @@ this.options = Object.assign({

@@ -11,2 +11,3 @@ import App from "./app/index.js";

import { Options as TimingOptions } from "./modules/timing.js";
export type { OnStartInfo } from './app/index.js';
export declare type Options = Partial<AppOptions & ConsoleOptions & ExceptionOptions & InputOptions & PerformanceOptions & TimingOptions> & {

@@ -26,3 +27,3 @@ projectID?: number;

active(): boolean;
start(): void;
start(): Promise<import("./app/index.js").OnStartInfo>;
stop(): void;

@@ -29,0 +30,0 @@ getSessionToken(): string | null | undefined;

@@ -114,3 +114,3 @@ import App, { DEFAULT_INGEST_POINT } from "./app/index.js";

req.send(JSON.stringify({
trackerVersion: '3.4.8',
trackerVersion: '3.4.9',
projectKey: options.projectKey,

@@ -138,8 +138,8 @@ doNotTrack,

console.error(`OpenReplay: you are trying to start Tracker on a node.js environment. If you want to use OpenReplay with SSR, please, use componentDidMount or useEffect API for placing the \`tracker.start()\` line. Check documentation on ${DOCS_HOST}${DOCS_SETUP}`);
return;
return Promise.reject("Trying to start not in browser.");
}
if (this.app === null) {
return;
return Promise.reject("Browser doesn't support required api, or doNotTrack is active.");
}
this.app.start();
return this.app.start();
}

@@ -146,0 +146,0 @@ stop() {

{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "3.4.8",
"version": "3.4.9",
"keywords": [

@@ -6,0 +6,0 @@ "logging",

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