New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@sharpapi/sharpapi-node-hospitality-categories

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sharpapi/sharpapi-node-hospitality-categories - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+2
-2
package.json
{
"name": "@sharpapi/sharpapi-node-hospitality-categories",
"version": "1.0.0",
"version": "1.0.1",
"description": "SharpAPI.com Node.js SDK for generating hospitality product categories",

@@ -30,3 +30,3 @@ "main": "src/index.js",

"dependencies": {
"@sharpapi/sharpapi-node-core": "file:../sharpapi-node-core"
"@sharpapi/sharpapi-node-core": "^1.0.0"
},

@@ -33,0 +33,0 @@ "devDependencies": {

@@ -8,2 +8,11 @@ const { SharpApiCoreService, SharpApiJobTypeEnum } = require('@sharpapi/sharpapi-node-core');

/**
* Creates a new SharpApiHospitalityCategoriesService instance
* @param {string} apiKey - Your SharpAPI API key
* @param {string} [apiBaseUrl='https://sharpapi.com/api/v1'] - API base URL
*/
constructor(apiKey, apiBaseUrl = 'https://sharpapi.com/api/v1') {
super(apiKey, apiBaseUrl, '@sharpapi/sharpapi-node-hospitality-categories/1.0.1');
}
/**
* Generates a list of suitable categories for the Hospitality type product

@@ -10,0 +19,0 @@ * with relevance weights as float value (1.0-10.0) where 10 equals 100%, the highest relevance score.