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

@segment/analytics.js-integration-amplitude

Package Overview
Dependencies
Maintainers
123
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/analytics.js-integration-amplitude - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

4

HISTORY.md

@@ -0,1 +1,5 @@

# 3.2.0 / 2019-08-27
- Add support for unsetParamsReferrerOnNewSession setting
# 3.1.0 / 2019-08-09

@@ -2,0 +6,0 @@

@@ -53,2 +53,3 @@ 'use strict';

.option('appendFieldsToEventProps', {})
.option('unsetParamsReferrerOnNewSession', false)
.tag('<script src="' + src + '">'));

@@ -83,2 +84,4 @@

deviceIdFromUrlParam: this.options.deviceIdFromUrlParam,
unsetParamsReferrerOnNewSession: this.options
.unsetParamsReferrerOnNewSession,
deviceId:

@@ -85,0 +88,0 @@ this.options.preferAnonymousIdForDeviceId &&

5

package.json
{
"name": "@segment/analytics.js-integration-amplitude",
"description": "The Amplitude analytics.js integration.",
"version": "3.1.0",
"version": "3.2.0",
"keywords": [

@@ -52,4 +52,3 @@ "analytics.js",

"watchify": "^3.11.1"
},
"gitHead": "a582549646b9c88bb628cdb78e9a7d4519589604"
}
}

@@ -29,3 +29,4 @@ 'use strict';

traitsToSetOnce: [],
preferAnonymousIdForDeviceId: true
preferAnonymousIdForDeviceId: true,
unsetParamsReferrerOnNewSession: false
};

@@ -69,2 +70,3 @@

.option('appendFieldsToEventProps', {})
.option('unsetParamsReferrerOnNewSession', false)
);

@@ -137,2 +139,6 @@ });

analytics.assert(config.deviceId === analytics.user().anonymousId());
analytics.assert(
config.unsetParamsReferrerOnNewSession ===
options.unsetParamsReferrerOnNewSession
);
});

@@ -139,0 +145,0 @@

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