diff --git a/dist/plugins/touchid.d.ts b/dist/plugins/touchid.d.ts index fee25f1d9..4c068a2e2 100644 --- a/dist/plugins/touchid.d.ts +++ b/dist/plugins/touchid.d.ts @@ -1,4 +1,6 @@ export declare class TouchID { isAvailable(): void; static verifyFingerprint(message: string): void; + static verifyFingerprintWithCustomPasswordFallback(message: string): void; + static verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message: string, enterPasswordLabel: string): void; } diff --git a/dist/plugins/touchid.js b/dist/plugins/touchid.js index 17df82d2c..04e90b72d 100644 --- a/dist/plugins/touchid.js +++ b/dist/plugins/touchid.js @@ -11,13 +11,20 @@ var TouchID = (function () { TouchID.prototype.isAvailable = function () { }; ; TouchID.verifyFingerprint = function (message) { }; - ; + TouchID.verifyFingerprintWithCustomPasswordFallback = function (message) { }; + TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel = function (message, enterPasswordLabel) { }; __decorate([ plugin_1.Cordova() ], TouchID.prototype, "isAvailable", null); __decorate([ plugin_1.Cordova() ], TouchID, "verifyFingerprint", null); + __decorate([ + plugin_1.Cordova() + ], TouchID, "verifyFingerprintWithCustomPasswordFallback", null); + __decorate([ + plugin_1.Cordova() + ], TouchID, "verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel", null); TouchID = __decorate([ plugin_1.Plugin({ name: 'TouchID', diff --git a/dist/plugins/touchid.js.map b/dist/plugins/touchid.js.map index 41e1bf60c..c4c4c734e 100644 --- a/dist/plugins/touchid.js.map +++ b/dist/plugins/touchid.js.map @@ -1 +1 @@ -{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint"],"mappings":";;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAYAC,CAACA;IAJCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;;IAJ3CH;QAACA,gBAAOA,EAAEA;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;OACHA,4BAAiBA,QAAmBA;IAX7CA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;gBAODA;IAADA,cAACA;AAADA,CAACA,AAZD,IAYC;AANY,eAAO,UAMnB,CAAA"} \ No newline at end of file +{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint","TouchID.verifyFingerprintWithCustomPasswordFallback","TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel"],"mappings":";;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAkBAC,CAACA;IAVCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;IAGpCH,mDAA2CA,GADlDA,UACmDA,OAAcA,IAAGI,CAACA;IAG9DJ,wEAAgEA,GADvEA,UACwEA,OAAcA,EAAEA,kBAAyBA,IAAGK,CAACA;IAVrHL;QAACA,gBAAOA,EAAEA;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;OACHA,4BAAiBA,QAAmBA;IAE3CA;QAACA,gBAAOA,EAAEA;OACHA,sDAA2CA,QAAmBA;IAErEA;QAACA,gBAAOA,EAAEA;OACHA,2EAAgEA,QAA8CA;IAjBvHA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;gBAaDA;IAADA,cAACA;AAADA,CAACA,AAlBD,IAkBC;AAZY,eAAO,UAYnB,CAAA"} \ No newline at end of file diff --git a/dist/src/plugins/touchid.d.ts b/dist/src/plugins/touchid.d.ts index 1bd18c33b..6d52f57e0 100644 --- a/dist/src/plugins/touchid.d.ts +++ b/dist/src/plugins/touchid.d.ts @@ -1,4 +1,6 @@ export declare class TouchID { isAvailable(): void; static verifyFingerprint(message: string): void; + static verifyFingerprintWithCustomPasswordFallback(message: string): void; + static verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message: string, enterPasswordLabel: string): void; } diff --git a/dist/src/plugins/touchid.js b/dist/src/plugins/touchid.js index 3ff17f1f2..1e95800df 100644 --- a/dist/src/plugins/touchid.js +++ b/dist/src/plugins/touchid.js @@ -14,7 +14,8 @@ var TouchID = (function () { TouchID.prototype.isAvailable = function () { }; ; TouchID.verifyFingerprint = function (message) { }; - ; + TouchID.verifyFingerprintWithCustomPasswordFallback = function (message) { }; + TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel = function (message, enterPasswordLabel) { }; __decorate([ plugin_1.Cordova(), __metadata('design:type', Function), @@ -27,6 +28,18 @@ var TouchID = (function () { __metadata('design:paramtypes', [String]), __metadata('design:returntype', void 0) ], TouchID, "verifyFingerprint", null); + __decorate([ + plugin_1.Cordova(), + __metadata('design:type', Function), + __metadata('design:paramtypes', [String]), + __metadata('design:returntype', void 0) + ], TouchID, "verifyFingerprintWithCustomPasswordFallback", null); + __decorate([ + plugin_1.Cordova(), + __metadata('design:type', Function), + __metadata('design:paramtypes', [String, String]), + __metadata('design:returntype', void 0) + ], TouchID, "verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel", null); TouchID = __decorate([ plugin_1.Plugin({ name: 'TouchID', diff --git a/dist/src/plugins/touchid.js.map b/dist/src/plugins/touchid.js.map index f755b8050..020aaa14d 100644 --- a/dist/src/plugins/touchid.js.map +++ b/dist/src/plugins/touchid.js.map @@ -1 +1 @@ -{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint"],"mappings":";;;;;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAYAC,CAACA;IAJCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;;IAJ3CH;QAACA,gBAAOA,EAAEA;;;;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;;;;OACHA,4BAAiBA,QAAmBA;IAX7CA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;;gBAODA;IAADA,cAACA;AAADA,CAACA,AAZD,IAYC;AANY,eAAO,UAMnB,CAAA"} \ No newline at end of file +{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint","TouchID.verifyFingerprintWithCustomPasswordFallback","TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel"],"mappings":";;;;;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAkBAC,CAACA;IAVCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;IAGpCH,mDAA2CA,GADlDA,UACmDA,OAAcA,IAAGI,CAACA;IAG9DJ,wEAAgEA,GADvEA,UACwEA,OAAcA,EAAEA,kBAAyBA,IAAGK,CAACA;IAVrHL;QAACA,gBAAOA,EAAEA;;;;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;;;;OACHA,4BAAiBA,QAAmBA;IAE3CA;QAACA,gBAAOA,EAAEA;;;;OACHA,sDAA2CA,QAAmBA;IAErEA;QAACA,gBAAOA,EAAEA;;;;OACHA,2EAAgEA,QAA8CA;IAjBvHA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;;gBAaDA;IAADA,cAACA;AAADA,CAACA,AAlBD,IAkBC;AAZY,eAAO,UAYnB,CAAA"} \ No newline at end of file diff --git a/src/plugins/touchid.ts b/src/plugins/touchid.ts index ca2ca6855..1b514dece 100644 --- a/src/plugins/touchid.ts +++ b/src/plugins/touchid.ts @@ -11,5 +11,11 @@ export class TouchID { isAvailable() {}; @Cordova() - static verifyFingerprint(message:string) {}; + static verifyFingerprint(message:string) {} + + @Cordova() + static verifyFingerprintWithCustomPasswordFallback(message:string) {} + + @Cordova() + static verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message:string, enterPasswordLabel:string) {} }