@infrab4a/connect-angular 3.4.0-beta.1 → 3.4.0-beta.2

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.
@@ -1223,11 +1223,12 @@
1223
1223
  } });
1224
1224
 
1225
1225
  var ShippingService = /** @class */ (function () {
1226
- function ShippingService(http) {
1226
+ function ShippingService(http, apiUrl) {
1227
1227
  this.http = http;
1228
+ this.apiUrl = apiUrl;
1228
1229
  }
1229
1230
  ShippingService.prototype.getMensShippingMethods = function (zip, weightGrams, totalPrice, personId, subscriptionPlan) {
1230
- return this.http.get(API_URL + "open/checkshippingcompany?personId=" + personId + "&postalCode=" + zip + "&weightGrams=" + weightGrams)
1231
+ return this.http.get(this.apiUrl + "open/checkshippingcompany?personId=" + personId + "&postalCode=" + zip + "&weightGrams=" + weightGrams)
1231
1232
  .pipe(operators.map(function (data) { return data.result; }), operators.map(function (shippingMethods) {
1232
1233
  var shippingMethodsResponse = [];
1233
1234
  if (!shippingMethods.length)
@@ -1261,11 +1262,16 @@
1261
1262
  };
1262
1263
  return ShippingService;
1263
1264
  }());
1264
- ShippingService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: ShippingService, deps: [{ token: i1__namespace$3.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1265
+ ShippingService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: ShippingService, deps: [{ token: i1__namespace$3.HttpClient }, { token: API_URL }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1265
1266
  ShippingService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: ShippingService });
1266
1267
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: ShippingService, decorators: [{
1267
1268
  type: i0.Injectable
1268
- }], ctorParameters: function () { return [{ type: i1__namespace$3.HttpClient }]; } });
1269
+ }], ctorParameters: function () {
1270
+ return [{ type: i1__namespace$3.HttpClient }, { type: undefined, decorators: [{
1271
+ type: i0.Inject,
1272
+ args: [API_URL]
1273
+ }] }];
1274
+ } });
1269
1275
 
1270
1276
  var AngularFirebaseAuthModule = /** @class */ (function () {
1271
1277
  function AngularFirebaseAuthModule() {