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

@snowplow/browser-plugin-ecommerce

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snowplow/browser-plugin-ecommerce - npm Package Compare versions

Comparing version 3.0.0-beta.5 to 3.0.0

CHANGELOG.json

16

dist/index.module.d.ts

@@ -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

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