vanilli-shop-client
Advanced tools
Comparing version 1.4.6 to 1.4.7
@@ -18,2 +18,3 @@ import BaseStore from "./base-store"; | ||
resetSearch(): void; | ||
resetSelectedCategory(): void; | ||
setProductPrice(price: number): void; | ||
@@ -20,0 +21,0 @@ private resetProductPrice; |
@@ -246,2 +246,5 @@ "use strict"; | ||
}; | ||
ProductStore.prototype.resetSelectedCategory = function () { | ||
this.lastSearchRequest.categoryId = undefined; | ||
}; | ||
ProductStore.prototype.setProductPrice = function (price) { | ||
@@ -354,2 +357,5 @@ if (price > 0) { | ||
mobx_1.action | ||
], ProductStore.prototype, "resetSelectedCategory", null); | ||
__decorate([ | ||
mobx_1.action | ||
], ProductStore.prototype, "setProductPrice", null); | ||
@@ -356,0 +362,0 @@ __decorate([ |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.4.6", | ||
"version": "1.4.7", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -149,2 +149,7 @@ import BaseStore from "./base-store"; | ||
@action | ||
resetSelectedCategory() { | ||
this.lastSearchRequest.categoryId = undefined; | ||
} | ||
@action | ||
setProductPrice(price: number) { | ||
@@ -151,0 +156,0 @@ if (price > 0) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260243
5755