@snowplow/browser-plugin-enhanced-ecommerce
Advanced tools
Comparing version 3.24.4 to 4.0.0-beta.1
@@ -6,2 +6,4 @@ import { BrowserPlugin } from '@snowplow/browser-tracker-core'; | ||
* {@link https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce} | ||
* | ||
* @deprecated Use @snowplow/browser-plugin-snowplow-ecommerce instead | ||
*/ | ||
@@ -8,0 +10,0 @@ declare function EnhancedEcommercePlugin(): BrowserPlugin; |
/*! | ||
* Enhanced Ecommerce tracking for Snowplow v3.24.4 (http://bit.ly/sp-js) | ||
* Enhanced Ecommerce tracking for Snowplow v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -44,2 +44,4 @@ * Licensed under BSD-3-Clause | ||
* {@link https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce} | ||
* | ||
* @deprecated Use @snowplow/browser-plugin-snowplow-ecommerce instead | ||
*/ | ||
@@ -51,3 +53,3 @@ function EnhancedEcommercePlugin() { | ||
_context[tracker.id] = []; | ||
} | ||
}, | ||
}; | ||
@@ -72,5 +74,5 @@ } | ||
data: { | ||
action: event.action | ||
} | ||
} | ||
action: event.action, | ||
}, | ||
}, | ||
}), combinedContexts, event.timestamp); | ||
@@ -103,4 +105,4 @@ }); | ||
option: option, | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -133,4 +135,4 @@ } | ||
price: parseAndValidateFloat(price), | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -165,4 +167,4 @@ } | ||
position: parseAndValidateInt(position), | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -191,4 +193,4 @@ } | ||
position: position, | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -195,0 +197,0 @@ } |
@@ -6,2 +6,4 @@ import { BrowserPlugin } from '@snowplow/browser-tracker-core'; | ||
* {@link https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce} | ||
* | ||
* @deprecated Use @snowplow/browser-plugin-snowplow-ecommerce instead | ||
*/ | ||
@@ -8,0 +10,0 @@ declare function EnhancedEcommercePlugin(): BrowserPlugin; |
/*! | ||
* Enhanced Ecommerce tracking for Snowplow v3.24.4 (http://bit.ly/sp-js) | ||
* Enhanced Ecommerce tracking for Snowplow v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -44,3 +44,3 @@ * Licensed under BSD-3-Clause | ||
/*! | ||
* Core functionality for Snowplow JavaScript trackers v3.24.4 (http://bit.ly/sp-js) | ||
* Core functionality for Snowplow JavaScript trackers v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -118,3 +118,3 @@ * Licensed under BSD-3-Clause | ||
return dict; | ||
} | ||
}, | ||
}; | ||
@@ -270,3 +270,3 @@ } | ||
schema: 'iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0', | ||
data: { schema: schema, data: data } | ||
data: { schema: schema, data: data }, | ||
}; | ||
@@ -279,3 +279,3 @@ pb.add('e', 'ue'); | ||
/*! | ||
* Core functionality for Snowplow Browser trackers v3.24.4 (http://bit.ly/sp-js) | ||
* Core functionality for Snowplow Browser trackers v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -369,2 +369,4 @@ * Licensed under BSD-3-Clause | ||
* {@link https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce} | ||
* | ||
* @deprecated Use @snowplow/browser-plugin-snowplow-ecommerce instead | ||
*/ | ||
@@ -376,3 +378,3 @@ function EnhancedEcommercePlugin() { | ||
_context[tracker.id] = []; | ||
} | ||
}, | ||
}; | ||
@@ -397,5 +399,5 @@ } | ||
data: { | ||
action: event.action | ||
} | ||
} | ||
action: event.action, | ||
}, | ||
}, | ||
}), combinedContexts, event.timestamp); | ||
@@ -428,4 +430,4 @@ }); | ||
option: option, | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -458,4 +460,4 @@ } | ||
price: parseAndValidateFloat(price), | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -490,4 +492,4 @@ } | ||
position: parseAndValidateInt(position), | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -516,4 +518,4 @@ } | ||
position: position, | ||
currency: currency | ||
} | ||
currency: currency, | ||
}, | ||
}); | ||
@@ -520,0 +522,0 @@ } |
@@ -6,2 +6,4 @@ import { BrowserPlugin } from '@snowplow/browser-tracker-core'; | ||
* {@link https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce} | ||
* | ||
* @deprecated Use @snowplow/browser-plugin-snowplow-ecommerce instead | ||
*/ | ||
@@ -8,0 +10,0 @@ declare function EnhancedEcommercePlugin(): BrowserPlugin; |
/*! | ||
* Enhanced Ecommerce tracking for Snowplow v3.24.4 (http://bit.ly/sp-js) | ||
* Enhanced Ecommerce tracking for Snowplow v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause |
{ | ||
"name": "@snowplow/browser-plugin-enhanced-ecommerce", | ||
"version": "3.24.4", | ||
"version": "4.0.0-beta.1", | ||
"description": "Enhanced Ecommerce tracking for Snowplow", | ||
@@ -22,4 +22,4 @@ "homepage": "http://bit.ly/sp-js", | ||
"tslib": "^2.3.1", | ||
"@snowplow/browser-tracker-core": "3.24.4", | ||
"@snowplow/tracker-core": "3.24.4" | ||
"@snowplow/browser-tracker-core": "4.0.0-beta.1", | ||
"@snowplow/tracker-core": "4.0.0-beta.1" | ||
}, | ||
@@ -50,3 +50,3 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"@snowplow/browser-tracker": "~3.24.4" | ||
"@snowplow/browser-tracker": "~4.0.0-beta.1" | ||
}, | ||
@@ -53,0 +53,0 @@ "scripts": { |
@@ -6,2 +6,6 @@ # Snowplow Enhanced Ecommerce Tracking | ||
<h3>⚠️ This package is deprecated, please use <a href="https://www.npmjs.com/package/@snowplow/browser-plugin-snowplow-ecommerce">@snowplow/browser-plugin-snowplow-ecommerce</a> instead. ⚠️</h3> | ||
--- | ||
Browser Plugin to be used with `@snowplow/browser-tracker`. | ||
@@ -14,3 +18,3 @@ | ||
Part of the Snowplow JavaScript Tracker monorepo. | ||
Build with [Node.js](https://nodejs.org/en/) (18 - 20) and [Rush](https://rushjs.io/). | ||
Build with [Node.js](https://nodejs.org/en/) (14 or 16) and [Rush](https://rushjs.io/). | ||
@@ -17,0 +21,0 @@ ### Setup repository |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
672990
1166
85
1
+ Added@snowplow/browser-tracker@4.0.4(transitive)
+ Added@snowplow/browser-tracker-core@4.0.0-beta.14.0.4(transitive)
+ Added@snowplow/tracker-core@4.0.0-beta.14.0.4(transitive)
+ Addeduuid@10.0.08.3.2(transitive)
- Removed@snowplow/browser-tracker@3.24.6(transitive)
- Removed@snowplow/browser-tracker-core@3.24.43.24.6(transitive)
- Removed@snowplow/tracker-core@3.24.43.24.6(transitive)
- Removeduuid@3.4.0(transitive)