@infrab4a/connect-angular 3.4.0-beta.6 → 3.4.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/infrab4a-connect-angular.umd.js +1 -4
- package/bundles/infrab4a-connect-angular.umd.js.map +1 -1
- package/esm2015/services/shipping.service.js +2 -5
- package/esm2015/services/types/shipping-methods.type.js +1 -1
- package/fesm2015/infrab4a-connect-angular.js +1 -4
- package/fesm2015/infrab4a-connect-angular.js.map +1 -1
- package/package.json +1 -1
- package/services/shipping.service.d.ts +1 -1
- package/services/types/shipping-methods.type.d.ts +1 -1
|
@@ -1228,7 +1228,7 @@
|
|
|
1228
1228
|
this.apiUrl = apiUrl;
|
|
1229
1229
|
this.homeService = homeService;
|
|
1230
1230
|
}
|
|
1231
|
-
ShippingService.prototype.
|
|
1231
|
+
ShippingService.prototype.getShippingMethods = function (shop, zip, weightGrams, totalPrice, personId, subscriptionPlan) {
|
|
1232
1232
|
var _this = this;
|
|
1233
1233
|
return rxjs.combineLatest([
|
|
1234
1234
|
this.homeService.getHomeData(),
|
|
@@ -1240,9 +1240,6 @@
|
|
|
1240
1240
|
if (!shippingMethods.length)
|
|
1241
1241
|
return [];
|
|
1242
1242
|
var datasSameDayNotAvaliable = datas.sameDayNotAvaliable;
|
|
1243
|
-
console.log('params que checgou', shop, zip, weightGrams, totalPrice, personId, subscriptionPlan);
|
|
1244
|
-
console.log('shippingMethods', shippingMethods);
|
|
1245
|
-
console.log('datas isHolidays', _this.isHolidays(datasSameDayNotAvaliable));
|
|
1246
1243
|
if (_this.isHolidays(datasSameDayNotAvaliable)) {
|
|
1247
1244
|
shippingMethods = shippingMethods.filter(function (method) { return method.ShippingCompanyName !== 'Same Day'; });
|
|
1248
1245
|
}
|