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.21 to 0.9.22

1

dist/models/product.d.ts

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

active: boolean;
minStock?: number;
additionalProps?: IPropertyDto[];
}

2

dist/stores/product-store.d.ts

@@ -12,3 +12,3 @@ import BaseStore from "./base-store";

searchProducts(request: IProductSearchDto): Promise<void>;
loadMoreProducts(): Promise<void>;
loadMoreProducts(request: IProductSearchDto): Promise<void>;
getProductByRef(ref: string, refType: string): Promise<void>;

@@ -15,0 +15,0 @@ setSearchProp(value: string, key: string): void;

@@ -117,12 +117,9 @@ "use strict";

};
ProductStore.prototype.loadMoreProducts = function () {
ProductStore.prototype.loadMoreProducts = function (request) {
return __awaiter(this, void 0, void 0, function () {
var request, limit, queryParams, notificationStore, result, data, e_2;
var limit, queryParams, notificationStore, result, data, e_2;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
request = {
active: true,
additionalProps: this.lastSearchProps
};
request.additionalProps = this.lastSearchProps;
limit = this.productList.limit + 100;

@@ -129,0 +126,0 @@ queryParams = {

{
"name": "vanilli-shop-client",
"version": "0.9.21",
"version": "0.9.22",
"description": "Client for Vanilli Shop API",

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

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

active: boolean,
minStock?: number,
additionalProps?: IPropertyDto[]
}

@@ -52,8 +52,4 @@ import BaseStore from "./base-store";

async loadMoreProducts() {
const request = {
active: true,
additionalProps: this.lastSearchProps
};
async loadMoreProducts(request: IProductSearchDto) {
request.additionalProps = this.lastSearchProps;
const limit = this.productList.limit + 100;

@@ -60,0 +56,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