@firestitch/2fa 12.9.0 → 12.9.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.
@@ -29,6 +29,12 @@ export declare class TwoFactorManageService implements OnDestroy {
29
29
  registerVerificationMethodCreate(value: any): void;
30
30
  registerVerificationMethodVerify(value: any): void;
31
31
  registerAccountVerify(value: any): void;
32
+ get hasVerificationMethodResend(): boolean;
33
+ get hasVerificationMethodDefault(): boolean;
34
+ get hasVerificationMethodsFetch(): boolean;
35
+ get hasVerificationMethodDelete(): boolean;
36
+ get hasVerificationMethodCreate(): boolean;
37
+ get hasVerificationMethodVerify(): boolean;
32
38
  verificationMethodDelete$(verificationMethod: any): Observable<any>;
33
39
  verificationMethodVerify$(code: any, trustDevice: any): Observable<any>;
34
40
  verificationMethodCreate$(verificationMethod: any): Observable<any>;
@@ -795,6 +795,48 @@
795
795
  TwoFactorManageService.prototype.registerAccountVerify = function (value) {
796
796
  this._accountVerify = value;
797
797
  };
798
+ Object.defineProperty(TwoFactorManageService.prototype, "hasVerificationMethodResend", {
799
+ get: function () {
800
+ return !!this._verificationMethodResend;
801
+ },
802
+ enumerable: false,
803
+ configurable: true
804
+ });
805
+ Object.defineProperty(TwoFactorManageService.prototype, "hasVerificationMethodDefault", {
806
+ get: function () {
807
+ return !!this._verificationMethodDefault;
808
+ },
809
+ enumerable: false,
810
+ configurable: true
811
+ });
812
+ Object.defineProperty(TwoFactorManageService.prototype, "hasVerificationMethodsFetch", {
813
+ get: function () {
814
+ return !!this._verificationMethodsFetch;
815
+ },
816
+ enumerable: false,
817
+ configurable: true
818
+ });
819
+ Object.defineProperty(TwoFactorManageService.prototype, "hasVerificationMethodDelete", {
820
+ get: function () {
821
+ return !!this._verificationMethodDelete;
822
+ },
823
+ enumerable: false,
824
+ configurable: true
825
+ });
826
+ Object.defineProperty(TwoFactorManageService.prototype, "hasVerificationMethodCreate", {
827
+ get: function () {
828
+ return !!this._verificationMethodCreate;
829
+ },
830
+ enumerable: false,
831
+ configurable: true
832
+ });
833
+ Object.defineProperty(TwoFactorManageService.prototype, "hasVerificationMethodVerify", {
834
+ get: function () {
835
+ return !!this._verificationMethodVerify;
836
+ },
837
+ enumerable: false,
838
+ configurable: true
839
+ });
798
840
  TwoFactorManageService.prototype.verificationMethodDelete$ = function (verificationMethod) {
799
841
  var _this = this;
800
842
  return this._verificationMethodDelete(verificationMethod)
@@ -903,22 +945,22 @@
903
945
  VerificationMethodsComponent.prototype.ngOnInit = function () {
904
946
  var _this = this;
905
947
  var _a, _b, _c, _d;
906
- if (!this.verificationMethodDefault && ((_a = this.twoFactorManageService) === null || _a === void 0 ? void 0 : _a.verificationMethodDefault$)) {
948
+ if (!this.verificationMethodDefault && ((_a = this.twoFactorManageService) === null || _a === void 0 ? void 0 : _a.hasVerificationMethodDefault)) {
907
949
  this.verificationMethodDefault = function (verificationMethod) {
908
950
  return _this.twoFactorManageService.verificationMethodDefault$(verificationMethod);
909
951
  };
910
952
  }
911
- if (!this.verificationMethodDelete && ((_b = this.twoFactorManageService) === null || _b === void 0 ? void 0 : _b.verificationMethodDelete$)) {
953
+ if (!this.verificationMethodDelete && ((_b = this.twoFactorManageService) === null || _b === void 0 ? void 0 : _b.hasVerificationMethodDelete)) {
912
954
  this.verificationMethodDelete = function (verificationMethod) {
913
955
  return _this.twoFactorManageService.verificationMethodDelete$(verificationMethod);
914
956
  };
915
957
  }
916
- if (!this.verificationMethodsFetch && ((_c = this.twoFactorManageService) === null || _c === void 0 ? void 0 : _c.verificationMethodsFetch$)) {
958
+ if (!this.verificationMethodsFetch && ((_c = this.twoFactorManageService) === null || _c === void 0 ? void 0 : _c.hasVerificationMethodsFetch)) {
917
959
  this.verificationMethodsFetch = function (query) {
918
960
  return _this.twoFactorManageService.verificationMethodsFetch$(query);
919
961
  };
920
962
  }
921
- if (!this.accountVerify && ((_d = this.twoFactorManageService) === null || _d === void 0 ? void 0 : _d.accountVerify$)) {
963
+ if (!this.accountVerify && ((_d = this.twoFactorManageService) === null || _d === void 0 ? void 0 : _d.accountVerify$())) {
922
964
  this.accountVerify = function () {
923
965
  var _a;
924
966
  return (_a = _this.twoFactorManageService) === null || _a === void 0 ? void 0 : _a.accountVerify$();