@segment/analytics.js-integration-amplitude
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -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 && |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1185
49587
7
1