@snowplow/browser-plugin-ecommerce
Advanced tools
Comparing version 3.0.0-beta.5 to 3.0.0
@@ -10,4 +10,4 @@ import { BrowserPlugin } from '@snowplow/browser-tracker-core'; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -18,4 +18,4 @@ declare function addTrans(event: EcommerceTransactionEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -33,4 +33,4 @@ declare function addItem(event: EcommerceTransactionItemEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -41,6 +41,6 @@ declare function trackAddToCart(event: AddToCartEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
declare function trackRemoveFromCart(event: RemoveFromCartEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
export { AddToCartEvent, RemoveFromCartEvent, EcommerceTransactionEvent, EcommerceTransactionItemEvent, EcommercePlugin, addTrans, addItem, trackTrans, trackAddToCart, trackRemoveFromCart }; |
/*! | ||
* Ecommerce tracking for Snowplow v3.0.0-beta.5 (http://bit.ly/sp-js) | ||
* Ecommerce tracking for Snowplow v3.0.0 (http://bit.ly/sp-js) | ||
* Copyright 2021 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -60,4 +60,4 @@ * Licensed under BSD-3-Clause | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -75,4 +75,4 @@ function addTrans(event, trackers) { | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -110,4 +110,4 @@ function addItem(event, trackers) { | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -123,4 +123,4 @@ function trackAddToCart(event, trackers) { | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -127,0 +127,0 @@ function trackRemoveFromCart(event, trackers) { |
@@ -10,4 +10,4 @@ import { BrowserPlugin } from '@snowplow/browser-tracker-core'; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -18,4 +18,4 @@ declare function addTrans(event: EcommerceTransactionEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -33,4 +33,4 @@ declare function addItem(event: EcommerceTransactionItemEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -41,6 +41,6 @@ declare function trackAddToCart(event: AddToCartEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
declare function trackRemoveFromCart(event: RemoveFromCartEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
export { AddToCartEvent, RemoveFromCartEvent, EcommerceTransactionEvent, EcommerceTransactionItemEvent, EcommercePlugin, addTrans, addItem, trackTrans, trackAddToCart, trackRemoveFromCart }; |
/*! | ||
* Ecommerce tracking for Snowplow v3.0.0-beta.5 (http://bit.ly/sp-js) | ||
* Ecommerce tracking for Snowplow v3.0.0 (http://bit.ly/sp-js) | ||
* Copyright 2021 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -35,3 +35,3 @@ * Licensed under BSD-3-Clause | ||
/*! | ||
* Core functionality for Snowplow JavaScript trackers v3.0.0-beta.5 (http://bit.ly/sp-js) | ||
* Core functionality for Snowplow JavaScript trackers v3.0.0 (http://bit.ly/sp-js) | ||
* Copyright 2021 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -110,3 +110,3 @@ * Licensed under BSD-3-Clause | ||
* Is property a non-empty JSON? | ||
* @param property Checks if object is non-empty json | ||
* @param property - Checks if object is non-empty json | ||
*/ | ||
@@ -126,3 +126,3 @@ function isNonEmptyJson(property) { | ||
* Is property a JSON? | ||
* @param property Checks if object is json | ||
* @param property - Checks if object is json | ||
*/ | ||
@@ -251,3 +251,3 @@ function isJson(property) { | ||
* | ||
* @param event Contains the properties and schema location for the event | ||
* @param event - Contains the properties and schema location for the event | ||
* @return PayloadBuilder to be sent to {@link Core.track()} | ||
@@ -270,3 +270,3 @@ */ | ||
* | ||
* @param event Contains the properties for the Ecommerce Transactoion event | ||
* @param event - Contains the properties for the Ecommerce Transactoion event | ||
* @return PayloadBuilder to be sent to {@link Core.track()} | ||
@@ -293,3 +293,3 @@ */ | ||
* | ||
* @param event Contains the properties for the Ecommerce Transaction Item event | ||
* @param event - Contains the properties for the Ecommerce Transaction Item event | ||
* @return PayloadBuilder to be sent to {@link Core.track()} | ||
@@ -314,3 +314,3 @@ */ | ||
* | ||
* @param event Contains the properties for the Add To Cart event | ||
* @param event - Contains the properties for the Add To Cart event | ||
* @return PayloadBuilder to be sent to {@link Core.track()} | ||
@@ -339,3 +339,3 @@ */ | ||
* | ||
* @param event Contains the properties for the Remove From Cart event | ||
* @param event - Contains the properties for the Remove From Cart event | ||
* @return PayloadBuilder to be sent to {@link Core.track()} | ||
@@ -362,4 +362,4 @@ */ | ||
* | ||
* @param event JSON object to clean | ||
* @param exemptFields Set of fields which should not be removed even if empty | ||
* @param event - JSON object to clean | ||
* @param exemptFields - Set of fields which should not be removed even if empty | ||
* @return A cleaned copy of eventJson | ||
@@ -379,3 +379,3 @@ */ | ||
/*! | ||
* Core functionality for Snowplow Browser trackers v3.0.0-beta.5 (http://bit.ly/sp-js) | ||
* Core functionality for Snowplow Browser trackers v3.0.0 (http://bit.ly/sp-js) | ||
* Copyright 2021 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -387,5 +387,5 @@ * Licensed under BSD-3-Clause | ||
* | ||
* @param trackers An optional list of trackers to send the event to, or will send to all trackers | ||
* @param trackerCollection The collection which the trackers will be selected from | ||
* @param fn The function which will run against each tracker | ||
* @param trackers - An optional list of trackers to send the event to, or will send to all trackers | ||
* @param trackerCollection - The collection which the trackers will be selected from | ||
* @param fn - The function which will run against each tracker | ||
*/ | ||
@@ -464,4 +464,4 @@ function dispatchToTrackersInCollection(trackers, trackerCollection, fn) { | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -479,4 +479,4 @@ function addTrans(event, trackers) { | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -514,4 +514,4 @@ function addItem(event, trackers) { | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -527,4 +527,4 @@ function trackAddToCart(event, trackers) { | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -531,0 +531,0 @@ function trackRemoveFromCart(event, trackers) { |
@@ -10,4 +10,4 @@ import { BrowserPlugin } from '@snowplow/browser-tracker-core'; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -18,4 +18,4 @@ declare function addTrans(event: EcommerceTransactionEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -33,4 +33,4 @@ declare function addItem(event: EcommerceTransactionItemEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
@@ -41,6 +41,6 @@ declare function trackAddToCart(event: AddToCartEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
* | ||
* @param event The event information | ||
* @param trackers The tracker identifiers which the event will be sent to | ||
* @param event - The event information | ||
* @param trackers - The tracker identifiers which the event will be sent to | ||
*/ | ||
declare function trackRemoveFromCart(event: RemoveFromCartEvent & CommonEventProperties, trackers?: Array<string>): void; | ||
export { AddToCartEvent, RemoveFromCartEvent, EcommerceTransactionEvent, EcommerceTransactionItemEvent, EcommercePlugin, addTrans, addItem, trackTrans, trackAddToCart, trackRemoveFromCart }; |
/*! | ||
* Ecommerce tracking for Snowplow v3.0.0-beta.5 (http://bit.ly/sp-js) | ||
* Ecommerce tracking for Snowplow v3.0.0 (http://bit.ly/sp-js) | ||
* Copyright 2021 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause |
{ | ||
"name": "@snowplow/browser-plugin-ecommerce", | ||
"version": "3.0.0-beta.5", | ||
"version": "3.0.0", | ||
"description": "Ecommerce tracking for Snowplow", | ||
@@ -24,4 +24,4 @@ "homepage": "http://bit.ly/sp-js", | ||
"dependencies": { | ||
"@snowplow/browser-tracker-core": "3.0.0-beta.5", | ||
"@snowplow/tracker-core": "3.0.0-beta.5", | ||
"@snowplow/browser-tracker-core": "3.0.0", | ||
"@snowplow/tracker-core": "3.0.0", | ||
"tslib": "^2.1.0" | ||
@@ -28,0 +28,0 @@ }, |
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
436061
14
874
1
+ Added@snowplow/browser-tracker-core@3.0.0(transitive)
+ Added@snowplow/tracker-core@3.0.0(transitive)
- Removed@snowplow/browser-tracker-core@3.0.0-beta.5(transitive)
- Removed@snowplow/tracker-core@3.0.0-beta.5(transitive)
Updated@snowplow/tracker-core@3.0.0