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
219
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 10.0.0 to 10.0.2

12

CHANGELOG.md

@@ -0,7 +1,15 @@

# 10.0.2
- fix default ignore headers
# 10.0.1
- network proxy api is now default turned on
# 10.0.0
- networkRequest message changed to include `TransferredBodySize`
- tracker now attempts to create proxy for beacon api as well (if its in scope)
- tracker now attempts to create proxy for beacon api as well (if its in scope of the current env)
- safe wrapper for angular apps
- better browser lag handling
- better browser lag handling (and some performance improvements as a bonus)

@@ -8,0 +16,0 @@ # 9.0.11

2

cjs/app/index.js

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

this.activityState = ActivityState.NotActive;
this.version = '10.0.0'; // TODO: version compatability check inside each plugin.
this.version = '10.0.2'; // TODO: version compatability check inside each plugin.
this.compressionThreshold = 24 * 1000;

@@ -45,0 +45,0 @@ this.restartAttempts = 0;

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

req.send(JSON.stringify({
trackerVersion: '10.0.0',
trackerVersion: '10.0.2',
projectKey: options.projectKey,

@@ -168,0 +168,0 @@ doNotTrack,

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

failuresOnly: false,
ignoreHeaders: ['Cookie', 'Set-Cookie', 'Authorization'],
ignoreHeaders: ['cookie', 'set-cookie', 'authorization'],
capturePayload: false,

@@ -28,3 +28,3 @@ sessionTokenHeader: false,

axiosInstances: undefined,
useProxy: false,
useProxy: true,
}, opts);

@@ -31,0 +31,0 @@ if (options.useProxy === false) {

@@ -120,2 +120,5 @@ "use strict";

const init = argsList[1];
// @ts-ignore
if (!(input === null || input === void 0 ? void 0 : input.url) && !input)
return target.apply(window, argsList);
const isORUrl = input instanceof URL || typeof input === 'string'

@@ -122,0 +125,0 @@ ? this.isServiceUrl(String(input))

@@ -77,7 +77,10 @@ "use strict";

isHeaderIgnored(key) {
if (Array.isArray(this.ignoredHeaders))
return this.ignoredHeaders.includes(key);
return this.ignoredHeaders;
if (Array.isArray(this.ignoredHeaders)) {
return this.ignoredHeaders.map((k) => k.toLowerCase()).includes(key.toLowerCase());
}
else {
return this.ignoredHeaders;
}
}
}
exports.default = NetworkMessage;

@@ -39,3 +39,3 @@ import { Timestamp, Metadata, UserID, TabChange, TabData } from './messages.gen.js';

this.activityState = ActivityState.NotActive;
this.version = '10.0.0'; // TODO: version compatability check inside each plugin.
this.version = '10.0.2'; // TODO: version compatability check inside each plugin.
this.compressionThreshold = 24 * 1000;

@@ -42,0 +42,0 @@ this.restartAttempts = 0;

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

req.send(JSON.stringify({
trackerVersion: '10.0.0',
trackerVersion: '10.0.2',
projectKey: options.projectKey,

@@ -163,0 +163,0 @@ doNotTrack,

@@ -20,3 +20,3 @@ import { NetworkRequest } from '../app/messages.gen.js';

failuresOnly: false,
ignoreHeaders: ['Cookie', 'Set-Cookie', 'Authorization'],
ignoreHeaders: ['cookie', 'set-cookie', 'authorization'],
capturePayload: false,

@@ -26,3 +26,3 @@ sessionTokenHeader: false,

axiosInstances: undefined,
useProxy: false,
useProxy: true,
}, opts);

@@ -29,0 +29,0 @@ if (options.useProxy === false) {

@@ -116,2 +116,5 @@ /**

const init = argsList[1];
// @ts-ignore
if (!(input === null || input === void 0 ? void 0 : input.url) && !input)
return target.apply(window, argsList);
const isORUrl = input instanceof URL || typeof input === 'string'

@@ -118,0 +121,0 @@ ? this.isServiceUrl(String(input))

@@ -74,6 +74,9 @@ import { NetworkRequest } from '../../app/messages.gen.js';

isHeaderIgnored(key) {
if (Array.isArray(this.ignoredHeaders))
return this.ignoredHeaders.includes(key);
return this.ignoredHeaders;
if (Array.isArray(this.ignoredHeaders)) {
return this.ignoredHeaders.map((k) => k.toLowerCase()).includes(key.toLowerCase());
}
else {
return this.ignoredHeaders;
}
}
}
{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "10.0.0",
"version": "10.0.2",
"keywords": [

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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