New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

analytics-client

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics-client - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0-amplitude-init-changes-4908f2561a043b663689b63e83ac7e74f51ef292

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # Change Log

# v1.2.0
## (2021-02-18)
* Changed type of passedDeviceId on url-params [gelbal]
# v1.1.0

@@ -9,0 +14,0 @@ ## (2021-02-17)

2

dist/package.json
{
"name": "analytics-client",
"version": "1.1.0",
"version": "1.2.0-amplitude-init-changes-4908f2561a043b663689b63e83ac7e74f51ef292",
"description": "Convenient builders to compose analytics tools",

@@ -5,0 +5,0 @@ "repository": {

@@ -13,5 +13,5 @@ import { Client } from './client';

allDeviceIds(): string[];
getPassedDeviceId(): string | null;
getPassedDeviceId(): string | undefined;
getDeviceIdsQueryString(): string;
isOptOutRequested(): boolean;
}

@@ -17,3 +17,5 @@ "use strict";

var list = inputIdString ? inputIdString.split(deviceIdSeparator) : [];
this.passedDeviceId = list.length > 0 ? list[0] : null;
if (list.length > 0) {
this.passedDeviceId = list[0];
}
if (currentDeviceId) {

@@ -20,0 +22,0 @@ list.push(currentDeviceId);

{
"name": "analytics-client",
"version": "1.1.0",
"version": "1.2.0-amplitude-init-changes-4908f2561a043b663689b63e83ac7e74f51ef292",
"description": "Convenient builders to compose analytics tools",

@@ -5,0 +5,0 @@ "repository": {

@@ -18,3 +18,3 @@ import * as Cookies from 'js-cookie';

private deviceIds: Set<string> = new Set();
private passedDeviceId: string | null;
private passedDeviceId: string | undefined;
private optOutRequsted: boolean = false;

@@ -32,3 +32,5 @@

const list = inputIdString ? inputIdString.split(deviceIdSeparator) : [];
this.passedDeviceId = list.length > 0 ? list[0] : null;
if (list.length > 0) {
this.passedDeviceId = list[0];
}

@@ -35,0 +37,0 @@ if (currentDeviceId) {

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