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.8 to 1.0.9

4

index.js

@@ -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)

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