@firestitch/analytics
Advanced tools
Comparing version 12.3.2 to 12.3.3
export interface PurchaseEvent { | ||
transactionId?: number; | ||
transactionId?: string; | ||
total?: number; | ||
shipping?: number; | ||
tax?: number; | ||
currency?: number; | ||
currency?: string; | ||
products?: PurchaseEventProduct[]; | ||
} | ||
export interface PurchaseEventProduct { | ||
id?: number; | ||
id?: string; | ||
name?: string; | ||
price?: number; | ||
quantity?: number; | ||
category?: string; | ||
category2?: string; | ||
} |
@@ -581,2 +581,3 @@ (function (global, factory) { | ||
shipping: purchaseEvent.shipping, | ||
currency: purchaseEvent.currency, | ||
items: purchaseEvent.products | ||
@@ -588,2 +589,4 @@ .map(function (product) { return ({ | ||
quantity: product.quantity, | ||
category: product.category, | ||
category2: product.category2, | ||
}); }), | ||
@@ -590,0 +593,0 @@ } |
export {}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtcHVyY2hhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvZXZlbnQtcHVyY2hhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgUHVyY2hhc2VFdmVudCB7XG4gIHRyYW5zYWN0aW9uSWQ/OiBudW1iZXIsXG4gIHRvdGFsPzogbnVtYmVyLFxuICBzaGlwcGluZz86IG51bWJlcixcbiAgdGF4PzogbnVtYmVyLFxuICBjdXJyZW5jeT86IG51bWJlcixcbiAgcHJvZHVjdHM/OiBQdXJjaGFzZUV2ZW50UHJvZHVjdFtdXG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHVyY2hhc2VFdmVudFByb2R1Y3Qge1xuICBpZD86IG51bWJlcixcbiAgbmFtZT86IHN0cmluZyxcbiAgcHJpY2U/OiBudW1iZXIsXG4gIHF1YW50aXR5PzogbnVtYmVyLFxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtcHVyY2hhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvZXZlbnQtcHVyY2hhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgUHVyY2hhc2VFdmVudCB7XG4gIHRyYW5zYWN0aW9uSWQ/OiBzdHJpbmcsXG4gIHRvdGFsPzogbnVtYmVyLFxuICBzaGlwcGluZz86IG51bWJlcixcbiAgdGF4PzogbnVtYmVyLFxuICBjdXJyZW5jeT86IHN0cmluZyxcbiAgcHJvZHVjdHM/OiBQdXJjaGFzZUV2ZW50UHJvZHVjdFtdXG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHVyY2hhc2VFdmVudFByb2R1Y3Qge1xuICBpZD86IHN0cmluZyxcbiAgbmFtZT86IHN0cmluZyxcbiAgcHJpY2U/OiBudW1iZXIsXG4gIHF1YW50aXR5PzogbnVtYmVyLFxuICBjYXRlZ29yeT86IHN0cmluZyxcbiAgY2F0ZWdvcnkyPzogc3RyaW5nLFxufVxuIl19 |
@@ -36,2 +36,3 @@ import { Provider } from "./provider"; | ||
shipping: purchaseEvent.shipping, | ||
currency: purchaseEvent.currency, | ||
items: purchaseEvent.products | ||
@@ -43,2 +44,4 @@ .map((product) => ({ | ||
quantity: product.quantity, | ||
category: product.category, | ||
category2: product.category2, | ||
})), | ||
@@ -56,2 +59,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLXRhZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL3Byb3ZpZGVycy9nb29nbGUtdGFncy50cyJ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VycmVuY3k6IHB1cmNoYXNlRXZlbnQuY3VycmVuY3ksXG4gICAgICAgICAgaXRlbXM6IHB1cmNoYXNlRXZlbnQucHJvZHVjdHNcbiAgICAgICAgICAgIC5tYXAoKHByb2R1Y3QpID0+ICh7XG4gICAgICAgICAgICAgIGl0ZW1faWQ6IHByb2R1Y3QuaWQsXG4gICAgICAgICAgICAgIGl0ZW1fbmFtZTogcHJvZHVjdC5uYW1lLFxuICAgICAgICAgICAgICBwcmljZTogcHJvZHVjdC5wcmljZSxcbiAgICAgICAgICAgICAgcXVhbnRpdHk6IHByb2R1Y3QucXVhbnRpdHksXG4gICAgICAgICAgICAgIGNhdGVnb3J5OiBwcm9kdWN0LmNhdGVnb3J5LFxuICAgICAgICAgICAgICBjYXRlZ29yeTI6IHByb2R1Y3QuY2F0ZWdvcnkyLFxuICAgICAgICAgICAgfSkpLFxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgdGhpcy53aW5kb3cuZGF0YUxheWVyLnB1c2goe1xuICAgICAgZXZlbnQ6IHR5cGUsXG4gICAgICAuLi5kYXRhXG4gICAgfSk7XG4gIH1cblxuICBwdWJsaWMgc2V0VXNlcihkYXRhKSB7IH1cblxuICBwdWJsaWMgZ2V0IGNvbnRhaW5lcklkKCkge1xuICAgIHJldHVybiB0aGlzLl9jb25maWcucHJvdmlkZXJzLmdvb2dsZVRhZ3M/LmNvbnRhaW5lcklkO1xuICB9XG59Il19 |
@@ -199,2 +199,3 @@ import * as i0 from '@angular/core'; | ||
shipping: purchaseEvent.shipping, | ||
currency: purchaseEvent.currency, | ||
items: purchaseEvent.products | ||
@@ -206,2 +207,4 @@ .map((product) => ({ | ||
quantity: product.quantity, | ||
category: product.category, | ||
category2: product.category2, | ||
})), | ||
@@ -208,0 +211,0 @@ } |
{ | ||
"name": "@firestitch/analytics", | ||
"version": "12.3.2", | ||
"version": "12.3.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
211536
1815