product-fruits
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -41,6 +41,10 @@ if (typeof window == 'undefined') { | ||
function apiUpdateUserData(userData) { | ||
} | ||
export const productFruits = { | ||
init: apiInit, | ||
// updateUserData: apiUpdateUserData, | ||
updateUserData: apiUpdateUserData, | ||
safeExec: apiSafeExec | ||
} |
{ | ||
"name": "product-fruits", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,2 +9,16 @@ | ||
} | ||
type ProductFruitsUserObject = { | ||
username: string; | ||
email?: string; | ||
role?: string; | ||
signUpAt?: string; | ||
firstname?: string; | ||
lastname?: string; | ||
props?: UserCustomProps | ||
} | ||
type UserCustomProps = { | ||
[key: string]: string | number | Array<string> | Array<number> | UserCustomProps; | ||
} | ||
} | ||
@@ -16,3 +30,4 @@ | ||
declare const productFruits: { | ||
init: (workspaceCode: string, language: string, userObject: any, options?: ProductFruitsInitOptions) => void, | ||
init: (workspaceCode: string, language: string, userObject: ProductFruitsUserObject, options?: ProductFruitsInitOptions) => void, | ||
updateUserData: (user: ProductFruitsUserObject) => void, | ||
safeExec: (callback: ($productFruits: ProductFruitsPushObject) => void) => void | ||
@@ -19,0 +34,0 @@ } |
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
3708
62