@infrab4a/connect 0.13.4 → 0.14.0

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.
@@ -1093,6 +1093,25 @@
1093
1093
  return SignOut;
1094
1094
  }());
1095
1095
 
1096
+ var RecoveryPassword = /** @class */ (function () {
1097
+ function RecoveryPassword(authService) {
1098
+ this.authService = authService;
1099
+ }
1100
+ RecoveryPassword.prototype.sendEmail = function (email) {
1101
+ return __awaiter(this, void 0, void 0, function () {
1102
+ return __generator(this, function (_a) {
1103
+ switch (_a.label) {
1104
+ case 0: return [4 /*yield*/, this.authService.sendPasswordResetEmail(email)];
1105
+ case 1:
1106
+ _a.sent();
1107
+ return [2 /*return*/];
1108
+ }
1109
+ });
1110
+ });
1111
+ };
1112
+ return RecoveryPassword;
1113
+ }());
1114
+
1096
1115
  exports.Shops = void 0;
1097
1116
  (function (Shops) {
1098
1117
  Shops["MENSMARKET"] = "mensmarket";
@@ -2413,6 +2432,13 @@
2413
2432
  });
2414
2433
  });
2415
2434
  };
2435
+ AuthenticationFirebaseAuthService.prototype.sendPasswordResetEmail = function (email) {
2436
+ return __awaiter(this, void 0, void 0, function () {
2437
+ return __generator(this, function (_a) {
2438
+ return [2 /*return*/, this.firebaseAuth.sendPasswordResetEmail(email)];
2439
+ });
2440
+ });
2441
+ };
2416
2442
  return AuthenticationFirebaseAuthService;
2417
2443
  }());
2418
2444
 
@@ -2516,6 +2542,7 @@
2516
2542
  exports.Product = Product;
2517
2543
  exports.ProductFirestoreRepository = ProductFirestoreRepository;
2518
2544
  exports.ProductVariantFirestoreRepository = ProductVariantFirestoreRepository;
2545
+ exports.RecoveryPassword = RecoveryPassword;
2519
2546
  exports.Register = Register;
2520
2547
  exports.RegisterFirebaseAuthService = RegisterFirebaseAuthService;
2521
2548
  exports.RequiredArgumentError = RequiredArgumentError;