New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cometh/checkout-sdk

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cometh/checkout-sdk - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

8

dist/services/ProductsService.d.ts

@@ -44,2 +44,10 @@ import type { Product } from '../models/Product';

updateProduct(productId: number, requestBody: Product): CancelablePromise<any>;
/**
* Delete product
* Delete product by product ID
* @param productId
* @returns void
* @throws ApiError
*/
deleteProduct(productId: number): CancelablePromise<void>;
}

@@ -97,2 +97,25 @@ export class ProductsService {

}
/**
* Delete product
* Delete product by product ID
* @param productId
* @returns void
* @throws ApiError
*/
deleteProduct(productId) {
return this.httpRequest.request({
method: 'DELETE',
url: '/products/{productId}',
path: {
'productId': productId,
},
errors: {
400: `Invalid input, object invalid.`,
401: `Missing API key or secret`,
403: `Resource is access restricted.`,
404: `Ressource not found.`,
500: `Internal server error`,
},
});
}
}

2

package.json
{
"name": "@cometh/checkout-sdk",
"version": "1.0.5",
"version": "1.0.6",
"description": "SDK to use Cometh Checkout API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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