product-fruits
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -15,3 +15,3 @@ if (typeof window == 'undefined') { | ||
function apiInit(projectCode, language, userInfo/*, env*/) {// todo make it env agnostic | ||
function apiInit(projectCode, language, userInfo, options) {// todo make it env agnostic | ||
if (initialized) { | ||
@@ -23,3 +23,3 @@ throw new Error('Do not call init() multiple times'); | ||
window.$productFruits.push(['init', projectCode, language, userInfo]); | ||
window.$productFruits.push(['init', projectCode, language, userInfo, options]); | ||
@@ -26,0 +26,0 @@ initialized = true; |
{ | ||
"name": "product-fruits", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,2 +5,6 @@ | ||
export type Options = { | ||
disableLocationChangeDetection?: boolean; | ||
} | ||
function init(workspaceCode: string, language: string, userObject: any); | ||
@@ -7,0 +11,0 @@ function safeExec(callback: ($productFruits: ProductFruitsPushObject) => void) |
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
2913
45