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

product-fruits

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

product-fruits - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

6

index.js

@@ -41,6 +41,10 @@ if (typeof window == 'undefined') {

function apiUpdateUserData(userData) {
}
export const productFruits = {
init: apiInit,
// updateUserData: apiUpdateUserData,
updateUserData: apiUpdateUserData,
safeExec: apiSafeExec
}

2

package.json
{
"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 @@ }

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