vanilli-shop-client
Advanced tools
Comparing version 0.9.14 to 0.9.15
@@ -10,2 +10,3 @@ import BaseStore from "./base-store"; | ||
selectMethod(id: number): Promise<void>; | ||
selectPickupPoint(pickupPoint: string): void; | ||
setMethods(methods: IShippingMethodDto[]): void; | ||
@@ -12,0 +13,0 @@ unsetMethods(): void; |
@@ -137,2 +137,5 @@ "use strict"; | ||
}; | ||
ShippingStore.prototype.selectPickupPoint = function (pickupPoint) { | ||
this.selectedPickupPoint = pickupPoint; | ||
}; | ||
ShippingStore.prototype.setMethods = function (methods) { | ||
@@ -174,2 +177,5 @@ this.methods = methods; | ||
mobx_1.action | ||
], ShippingStore.prototype, "selectPickupPoint", null); | ||
__decorate([ | ||
mobx_1.action | ||
], ShippingStore.prototype, "setMethods", null); | ||
@@ -176,0 +182,0 @@ __decorate([ |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "0.9.14", | ||
"version": "0.9.15", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -62,2 +62,7 @@ import BaseStore from "./base-store"; | ||
@action | ||
selectPickupPoint(pickupPoint: string) { | ||
this.selectedPickupPoint = pickupPoint; | ||
} | ||
@action | ||
setMethods(methods: IShippingMethodDto[]) { | ||
@@ -64,0 +69,0 @@ this.methods = methods; |
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
147456
3390