Socket
Socket
Sign inDemoInstall

vanilli-shop-client

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilli-shop-client - npm Package Compare versions

Comparing version 0.9.6 to 0.9.7

1

dist/models/product.d.ts

@@ -21,3 +21,2 @@ import { IBaseDto, IPropertyDto } from "./base";

static getLink(product: IProductBaseDto): string;
static getCurrentPrice(product: IProductBaseDto): number;
}

@@ -24,0 +23,0 @@ export interface IProductDetailsDto extends IProductBaseDto {

@@ -20,5 +20,2 @@ "use strict";

};
Product.getCurrentPrice = function (product) {
return product.discountPrice || product.price;
};
return Product;

@@ -25,0 +22,0 @@ }());

2

package.json
{
"name": "vanilli-shop-client",
"version": "0.9.6",
"version": "0.9.7",
"description": "Client for Vanilli Shop API",

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

@@ -34,6 +34,2 @@ import {IBaseDto, IPropertyDto} from "./base";

}
static getCurrentPrice(product: IProductBaseDto): number {
return product.discountPrice || product.price;
}
}

@@ -40,0 +36,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