vanilli-shop-client
Advanced tools
Comparing version 1.6.5 to 1.6.6
@@ -119,5 +119,5 @@ "use strict"; | ||
case 0: | ||
if (!id) return [3 /*break*/, 3]; | ||
if (!id) return [3 /*break*/, 4]; | ||
matchingMethod = this.methods.find(function (x) { return x.methodId === id; }); | ||
if (!matchingMethod) return [3 /*break*/, 2]; | ||
if (!matchingMethod) return [3 /*break*/, 3]; | ||
this.setMethod(matchingMethod); | ||
@@ -128,8 +128,11 @@ if (!matchingMethod.provider) return [3 /*break*/, 2]; | ||
_a.sent(); | ||
_a.label = 2; | ||
case 2: return [3 /*break*/, 4]; | ||
case 3: | ||
return [3 /*break*/, 3]; | ||
case 2: | ||
this.unsetPickupPoints(); | ||
_a.label = 3; | ||
case 3: return [3 /*break*/, 5]; | ||
case 4: | ||
this.unsetMethod(); | ||
_a.label = 4; | ||
case 4: return [2 /*return*/]; | ||
_a.label = 5; | ||
case 5: return [2 /*return*/]; | ||
} | ||
@@ -136,0 +139,0 @@ }); |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.6.5", | ||
"version": "1.6.6", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -53,2 +53,4 @@ import BaseStore from "./base-store"; | ||
await this.searchPickupPoints(); | ||
} else { | ||
this.unsetPickupPoints(); | ||
} | ||
@@ -55,0 +57,0 @@ } |
269678
6014