@bytexbyte/berifyme-react-native-sdk 1.0.17 → 1.0.19
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/README.md +273 -44
- package/lib/commonjs/BerifymeModal/index.js +18 -73
- package/lib/commonjs/BerifymeModal/index.js.map +1 -1
- package/lib/commonjs/components/Onboarding/Authid/idOrPassport.js +2 -1
- package/lib/commonjs/components/Onboarding/Authid/idOrPassport.js.map +1 -1
- package/lib/commonjs/components/Onboarding/Vender/Grid/index.js +3 -25
- package/lib/commonjs/components/Onboarding/Vender/Grid/index.js.map +1 -1
- package/lib/commonjs/components/SendSNS/index.js +4 -19
- package/lib/commonjs/components/SendSNS/index.js.map +1 -1
- package/lib/commonjs/components/SnapMatch.js +236 -0
- package/lib/commonjs/components/SnapMatch.js.map +1 -0
- package/lib/commonjs/components/VerifiedExternalPhoneNumber/index.js +2 -17
- package/lib/commonjs/components/VerifiedExternalPhoneNumber/index.js.map +1 -1
- package/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.js +5 -4
- package/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.js.map +1 -1
- package/lib/commonjs/components/VerifyWithPhoneNumber/User.js +1 -16
- package/lib/commonjs/components/VerifyWithPhoneNumber/User.js.map +1 -1
- package/lib/commonjs/index.js +2 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/BerifymeModal/index.js +18 -72
- package/lib/module/BerifymeModal/index.js.map +1 -1
- package/lib/module/components/Onboarding/Authid/idOrPassport.js +2 -1
- package/lib/module/components/Onboarding/Authid/idOrPassport.js.map +1 -1
- package/lib/module/components/Onboarding/Vender/Grid/index.js +3 -25
- package/lib/module/components/Onboarding/Vender/Grid/index.js.map +1 -1
- package/lib/module/components/SendSNS/index.js +4 -19
- package/lib/module/components/SendSNS/index.js.map +1 -1
- package/lib/module/components/SnapMatch.js +229 -0
- package/lib/module/components/SnapMatch.js.map +1 -0
- package/lib/module/components/VerifiedExternalPhoneNumber/index.js +2 -17
- package/lib/module/components/VerifiedExternalPhoneNumber/index.js.map +1 -1
- package/lib/module/components/VerifyWithPhoneNumber/NewUser.js +3 -2
- package/lib/module/components/VerifyWithPhoneNumber/NewUser.js.map +1 -1
- package/lib/module/components/VerifyWithPhoneNumber/User.js +1 -16
- package/lib/module/components/VerifyWithPhoneNumber/User.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/App.d.ts +1 -7
- package/lib/typescript/commonjs/App.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/BerifymeModal/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Vender/Grid/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/components/SendSNS/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/components/SnapMatch.d.ts +13 -0
- package/lib/typescript/commonjs/lib/commonjs/components/SnapMatch.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/User.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/commonjs/index.d.ts +1 -0
- package/lib/typescript/commonjs/lib/module/BerifymeModal/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/module/components/Onboarding/Vender/Grid/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/module/components/SendSNS/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/module/components/SnapMatch.d.ts +12 -0
- package/lib/typescript/commonjs/lib/module/components/SnapMatch.d.ts.map +1 -0
- package/lib/typescript/commonjs/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/User.d.ts.map +1 -1
- package/lib/typescript/commonjs/lib/module/components/biometrics/index.d.ts +1 -1
- package/lib/typescript/commonjs/lib/module/index.d.ts +2 -0
- package/lib/typescript/commonjs/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/react-native.config.d.ts +7 -0
- package/lib/typescript/commonjs/react-native.config.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/BerifymeModal/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Onboarding/Vender/Grid/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/SendSNS/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/SnapMatch.d.ts +26 -0
- package/lib/typescript/commonjs/src/components/SnapMatch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/VerifyWithPhoneNumber/User.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/biometrics/index.d.ts +2 -2
- package/lib/typescript/commonjs/src/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/App.d.ts +1 -7
- package/lib/typescript/module/App.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/BerifymeModal/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/components/Onboarding/Vender/Grid/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/components/SendSNS/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/components/SnapMatch.d.ts +13 -0
- package/lib/typescript/module/lib/commonjs/components/SnapMatch.d.ts.map +1 -0
- package/lib/typescript/module/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/User.d.ts.map +1 -1
- package/lib/typescript/module/lib/commonjs/index.d.ts +1 -0
- package/lib/typescript/module/lib/module/BerifymeModal/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/module/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -1
- package/lib/typescript/module/lib/module/components/Onboarding/Vender/Grid/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/module/components/SendSNS/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/module/components/SnapMatch.d.ts +12 -0
- package/lib/typescript/module/lib/module/components/SnapMatch.d.ts.map +1 -0
- package/lib/typescript/module/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -1
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -1
- package/lib/typescript/module/lib/module/components/VerifyWithPhoneNumber/User.d.ts.map +1 -1
- package/lib/typescript/module/lib/module/components/biometrics/index.d.ts +1 -1
- package/lib/typescript/module/lib/module/index.d.ts +2 -0
- package/lib/typescript/module/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/module/react-native.config.d.ts +7 -0
- package/lib/typescript/module/react-native.config.d.ts.map +1 -0
- package/lib/typescript/module/src/BerifymeModal/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Onboarding/Authid/idOrPassport.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Onboarding/Vender/Grid/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/SendSNS/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/SnapMatch.d.ts +26 -0
- package/lib/typescript/module/src/components/SnapMatch.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VerifiedExternalPhoneNumber/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/NewUser.d.ts.map +1 -1
- package/lib/typescript/module/src/components/VerifyWithPhoneNumber/User.d.ts.map +1 -1
- package/lib/typescript/module/src/components/biometrics/index.d.ts +2 -2
- package/lib/typescript/module/src/index.d.ts +3 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +12 -12
package/lib/module/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import HomeModal from "./BerifymeModal/index.js";
|
|
4
|
+
import SnapMatch from "./components/SnapMatch.js";
|
|
4
5
|
import { Environment } from "./enum/index.js";
|
|
5
6
|
export const Berifyme = {
|
|
6
7
|
modal: HomeModal,
|
|
8
|
+
snapMatch: SnapMatch,
|
|
7
9
|
environment: Environment
|
|
8
10
|
};
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["HomeModal","Environment","Berifyme","modal","environment"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,OAAOA,SAAS,MAAM,0BAAiB;AACvC,SAASC,WAAW,QAAQ,iBAAQ;AAEpC,OAAO,MAAMC,QAAQ,GAAG;EACtBC,KAAK,
|
|
1
|
+
{"version":3,"names":["HomeModal","SnapMatch","Environment","Berifyme","modal","snapMatch","environment"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,OAAOA,SAAS,MAAM,0BAAiB;AACvC,OAAOC,SAAS,MAAM,2BAAwB;AAC9C,SAASC,WAAW,QAAQ,iBAAQ;AAEpC,OAAO,MAAMC,QAAQ,GAAG;EACtBC,KAAK,EAAEJ,SAAS;EAChBK,SAAS,EAAEJ,SAAS;EACpBK,WAAW,EAAEJ;AACf,CAAC","ignoreList":[]}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sample React Native App
|
|
3
|
-
* https://github.com/facebook/react-native
|
|
4
|
-
*
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
1
|
import React from 'react';
|
|
8
|
-
declare
|
|
2
|
+
declare const App: () => React.JSX.Element;
|
|
9
3
|
export default App;
|
|
10
4
|
//# sourceMappingURL=App.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../App.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,QAAA,MAAM,GAAG,yBAgCR,CAAC;AAyBF,eAAe,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/BerifymeModal/index.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/BerifymeModal/index.js"],"names":[],"mappings":";;AAgCA;;;;;;;QAiSC"}
|
package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../commonjs/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../commonjs/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";;AAcA;;;;QA2DC"}
|
package/lib/typescript/commonjs/lib/commonjs/components/Onboarding/Vender/Grid/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../commonjs/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";;AAwBA;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../commonjs/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";;AAwBA;;;;;;QAsHC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/SendSNS/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/SendSNS/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;QAgOC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default SnapMatch;
|
|
3
|
+
declare function SnapMatch({ apiKeyId, secretKey, environment, onSuccess, onError, token: tokenProp, locale: localeProp, autoRedirectSeconds }: {
|
|
4
|
+
apiKeyId: any;
|
|
5
|
+
secretKey: any;
|
|
6
|
+
environment: any;
|
|
7
|
+
onSuccess: any;
|
|
8
|
+
onError: any;
|
|
9
|
+
token: any;
|
|
10
|
+
locale?: string | undefined;
|
|
11
|
+
autoRedirectSeconds?: number | undefined;
|
|
12
|
+
}): any;
|
|
13
|
+
//# sourceMappingURL=SnapMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnapMatch.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/SnapMatch.js"],"names":[],"mappings":";;AAqBA;;;;;;;;;QAmMC"}
|
package/lib/typescript/commonjs/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";;AAkBA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";;AAkBA;;;;;;;;;QAqJC"}
|
package/lib/typescript/commonjs/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";;AAmBA;;;;;;QAoLC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";;AAqBA;;;;;;;
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";;AAqBA;;;;;;;QA4PC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/BerifymeModal/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/BerifymeModal/index.js"],"names":[],"mappings":";AAyBA;;;;;;;uEAiSC;kBAxT0C,OAAO"}
|
package/lib/typescript/commonjs/lib/module/components/Onboarding/Authid/idOrPassport.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../module/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../module/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";AASA;;;;uEA2DC;kBAlEiB,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../module/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";AAmBA;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../module/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";AAmBA;;;;;;2FAsHC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/SendSNS/index.js"],"names":[],"mappings":";AAeA;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/SendSNS/index.js"],"names":[],"mappings":";AAeA;;;;;;;;;;uEAgOC;kBA3OuC,OAAO"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default function SnapMatch({ apiKeyId, secretKey, environment, onSuccess, onError, token: tokenProp, locale: localeProp, autoRedirectSeconds }: {
|
|
2
|
+
apiKeyId: any;
|
|
3
|
+
secretKey: any;
|
|
4
|
+
environment: any;
|
|
5
|
+
onSuccess: any;
|
|
6
|
+
onError: any;
|
|
7
|
+
token: any;
|
|
8
|
+
locale?: string | undefined;
|
|
9
|
+
autoRedirectSeconds?: number | undefined;
|
|
10
|
+
}): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
11
|
+
import React from 'react';
|
|
12
|
+
//# sourceMappingURL=SnapMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnapMatch.d.ts","sourceRoot":"","sources":["../../../../../module/components/SnapMatch.js"],"names":[],"mappings":"AAcA;;;;;;;;;uEAmMC;kBA/M+D,OAAO"}
|
package/lib/typescript/commonjs/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;uEAqJC;kBA5J0C,OAAO"}
|
package/lib/typescript/commonjs/lib/module/components/VerifyWithPhoneNumber/NewUser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";AAYA;;;;;;uEAoLC;kBA9LkD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";AAcA;;;;;;;
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";AAcA;;;;;;;uEA4PC;kBAtQkD,OAAO"}
|
|
@@ -8,7 +8,7 @@ export function useRNBiometrics(): {
|
|
|
8
8
|
}>;
|
|
9
9
|
getBiometricsData: () => Promise<any>;
|
|
10
10
|
biometryType: undefined;
|
|
11
|
-
getBiometryType: () => Promise<
|
|
11
|
+
getBiometryType: () => Promise<import("react-native-biometrics").BiometryType | "NotSupport">;
|
|
12
12
|
createSignature: () => Promise<{
|
|
13
13
|
payload: any;
|
|
14
14
|
publicKey: any;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export namespace Berifyme {
|
|
2
2
|
export { HomeModal as modal };
|
|
3
|
+
export { SnapMatch as snapMatch };
|
|
3
4
|
export { Environment as environment };
|
|
4
5
|
}
|
|
5
6
|
import HomeModal from "./BerifymeModal/index.js";
|
|
7
|
+
import SnapMatch from "./components/SnapMatch.js";
|
|
6
8
|
import { Environment } from "./enum/index.js";
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/index.js"],"names":[],"mappings":";;;;;sBAEsB,0BAA0B;sBAC1B,2BAA2B;4BACrB,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-native.config.d.ts","sourceRoot":"","sources":["../../../react-native.config.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BerifymeModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,OAAO,EAAE,WAAW,EAAmC,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BerifymeModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,OAAO,EAAE,WAAW,EAAmC,UAAU,EAAE,MAAM,SAAS,CAAC;AAYnF,iBAAS,SAAS,CAAC,EACjB,QAAQ,EAAE,SAAS,EACnB,WAAW,EAAE,2BAA2B,EACxC,2BAA2B,EAC3B,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IACpC,WAAW,EAAE,WAAW,CAAC;IACzB,2BAA2B,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACjF,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE,KAAK,IAAI,CAAC;CACzD,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAoWpB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Onboarding/Authid/idOrPassport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Onboarding/Authid/idOrPassport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,QAAA,MAAM,YAAY;cAKN,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;uBACxC,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;uBAsChE,CAAC;AAmEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Onboarding/Vender/Grid/index.tsx"],"names":[],"mappings":";AAEA,OAAoB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAgB1E,QAAA,MAAM,UAAU;cAMJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;;cAEjD,OAAO;iBACJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Onboarding/Vender/Grid/index.tsx"],"names":[],"mappings":";AAEA,OAAoB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAgB1E,QAAA,MAAM,UAAU;cAMJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;;cAEjD,OAAO;iBACJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;iCA4H3D,CAAC;AAuDF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SendSNS/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAS,cAAc,EAA4C,MAAM,cAAc,CAAC;AAE/F,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAOrD,QAAA,MAAM,OAAO;WAUJ,MAAM,GAAG,SAAS;gBACb,MAAM;mBACH,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;cACjD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;6BAClC,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SendSNS/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAS,cAAc,EAA4C,MAAM,cAAc,CAAC;AAE/F,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAOrD,QAAA,MAAM,OAAO;WAUJ,MAAM,GAAG,SAAS;gBACb,MAAM;mBACH,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;cACjD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;6BAClC,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;uBA0LzB,CAAC;AAqHF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Environment } from '../enum';
|
|
3
|
+
/** 與 Web SDK / 文件一致:onSuccess 回傳的 user 僅包含 id, fullName, phoneNumber, email, age, birthDate */
|
|
4
|
+
export type SnapMatchUser = {
|
|
5
|
+
id: string;
|
|
6
|
+
fullName?: string | null;
|
|
7
|
+
phoneNumber?: string | null;
|
|
8
|
+
email?: string | null;
|
|
9
|
+
age?: number;
|
|
10
|
+
birthDate?: string | null;
|
|
11
|
+
};
|
|
12
|
+
export type SnapMatchProps = {
|
|
13
|
+
apiKeyId: string;
|
|
14
|
+
secretKey: string;
|
|
15
|
+
environment: Environment;
|
|
16
|
+
onSuccess: (user: SnapMatchUser) => void;
|
|
17
|
+
onError: (message: string) => void;
|
|
18
|
+
/** 若已取得 session_ 前綴的 token 可傳入,否則 SDK 會呼叫 createTokenWithoutRedirectUrl */
|
|
19
|
+
token?: string;
|
|
20
|
+
/** 語系,例如 'en' | 'zh-TW',對應 Frontend URL ?locale= */
|
|
21
|
+
locale?: string;
|
|
22
|
+
/** 結果頁自動返回掃臉的秒數,對應 Frontend URL ?autoRedirect=,0 表示不自動 */
|
|
23
|
+
autoRedirectSeconds?: number;
|
|
24
|
+
};
|
|
25
|
+
export default function SnapMatch({ apiKeyId, secretKey, environment, onSuccess, onError, token: tokenProp, locale: localeProp, autoRedirectSeconds, }: SnapMatchProps): React.JSX.Element;
|
|
26
|
+
//# sourceMappingURL=SnapMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnapMatch.d.ts","sourceRoot":"","sources":["../../../../../src/components/SnapMatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,+FAA+F;AAC/F,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAQF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,WAAW,EACX,SAAS,EACT,OAAO,EACP,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,UAAiB,EACzB,mBAA2C,GAC5C,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8MpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifiedExternalPhoneNumber/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAqB,cAAc,EAAkD,MAAM,cAAc,CAAC;AACjH,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAIrD,QAAA,MAAM,2BAA2B;WAUxB,MAAM,GAAG,SAAS;cACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;0BACrC,MAAM,GAAG,SAAS;6BACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifiedExternalPhoneNumber/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAqB,cAAc,EAAkD,MAAM,cAAc,CAAC;AACjH,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAIrD,QAAA,MAAM,2BAA2B;WAUxB,MAAM,GAAG,SAAS;cACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;0BACrC,MAAM,GAAG,SAAS;6BACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;uBA0GzB,CAAC;AAqHF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/NewUser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAoB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/NewUser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAoB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAQrD,QAAA,MAAM,aAAa;WAOV,MAAM,GAAG,SAAS;gBACb,MAAM;mBACH,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;aAClD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;iBACpE,WAAW;uBA8JzB,CAAC;AAuEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/User.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,cAAc,EAKf,MAAM,cAAc,CAAC;AACtB,OAAoB,EAAc,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAQhF,QAAA,MAAM,UAAU;WAQP,MAAM,GAAG,SAAS;gBACb,MAAM;cACR,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;aAClD,MAAM,QAAQ,CACrB,MAAM,cAAc,CAAC,sBAAsB,GAAG,SAAS,CAAC,CACzD;oBACe,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/User.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,cAAc,EAKf,MAAM,cAAc,CAAC;AACtB,OAAoB,EAAc,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAQhF,QAAA,MAAM,UAAU;WAQP,MAAM,GAAG,SAAS;gBACb,MAAM;cACR,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;aAClD,MAAM,QAAQ,CACrB,MAAM,cAAc,CAAC,sBAAsB,GAAG,SAAS,CAAC,CACzD;oBACe,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;uBA6QrE,CAAC;AA2EF,eAAe,UAAU,CAAC"}
|
|
@@ -11,8 +11,8 @@ type StorageData = {
|
|
|
11
11
|
export declare const useRNBiometrics: () => {
|
|
12
12
|
simplePrompt: () => Promise<SimplePromptResult>;
|
|
13
13
|
getBiometricsData: () => Promise<StorageData | null>;
|
|
14
|
-
biometryType: "NotSupport" |
|
|
15
|
-
getBiometryType: () => Promise<"NotSupport"
|
|
14
|
+
biometryType: BiometryType | "NotSupport" | undefined;
|
|
15
|
+
getBiometryType: () => Promise<BiometryType | "NotSupport">;
|
|
16
16
|
createSignature: () => Promise<{
|
|
17
17
|
payload: string;
|
|
18
18
|
publicKey: string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import HomeModal from "./BerifymeModal";
|
|
2
|
+
import SnapMatch from "./components/SnapMatch";
|
|
2
3
|
import { Environment } from "./enum";
|
|
3
4
|
export declare const Berifyme: {
|
|
4
5
|
modal: typeof HomeModal;
|
|
6
|
+
snapMatch: typeof SnapMatch;
|
|
5
7
|
environment: typeof Environment;
|
|
6
8
|
};
|
|
9
|
+
export type { SnapMatchProps, SnapMatchUser } from "./components/SnapMatch";
|
|
7
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sample React Native App
|
|
3
|
-
* https://github.com/facebook/react-native
|
|
4
|
-
*
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
1
|
import React from 'react';
|
|
8
|
-
declare
|
|
2
|
+
declare const App: () => React.JSX.Element;
|
|
9
3
|
export default App;
|
|
10
4
|
//# sourceMappingURL=App.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../App.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,QAAA,MAAM,GAAG,yBAgCR,CAAC;AAyBF,eAAe,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/BerifymeModal/index.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/BerifymeModal/index.js"],"names":[],"mappings":";;AAgCA;;;;;;;QAiSC"}
|
package/lib/typescript/module/lib/commonjs/components/Onboarding/Authid/idOrPassport.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../commonjs/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../commonjs/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";;AAcA;;;;QA2DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../commonjs/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";;AAwBA;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../commonjs/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";;AAwBA;;;;;;QAsHC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/SendSNS/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/SendSNS/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;QAgOC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default SnapMatch;
|
|
3
|
+
declare function SnapMatch({ apiKeyId, secretKey, environment, onSuccess, onError, token: tokenProp, locale: localeProp, autoRedirectSeconds }: {
|
|
4
|
+
apiKeyId: any;
|
|
5
|
+
secretKey: any;
|
|
6
|
+
environment: any;
|
|
7
|
+
onSuccess: any;
|
|
8
|
+
onError: any;
|
|
9
|
+
token: any;
|
|
10
|
+
locale?: string | undefined;
|
|
11
|
+
autoRedirectSeconds?: number | undefined;
|
|
12
|
+
}): any;
|
|
13
|
+
//# sourceMappingURL=SnapMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnapMatch.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/SnapMatch.js"],"names":[],"mappings":";;AAqBA;;;;;;;;;QAmMC"}
|
package/lib/typescript/module/lib/commonjs/components/VerifiedExternalPhoneNumber/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";;AAkBA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";;AAkBA;;;;;;;;;QAqJC"}
|
package/lib/typescript/module/lib/commonjs/components/VerifyWithPhoneNumber/NewUser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";;AAmBA;;;;;;QAoLC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";;AAqBA;;;;;;;
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";;AAqBA;;;;;;;QA4PC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/BerifymeModal/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/BerifymeModal/index.js"],"names":[],"mappings":";AAyBA;;;;;;;uEAiSC;kBAxT0C,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../module/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../module/components/Onboarding/Authid/idOrPassport.js"],"names":[],"mappings":";AASA;;;;uEA2DC;kBAlEiB,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../module/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";AAmBA;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../module/components/Onboarding/Vender/Grid/index.js"],"names":[],"mappings":";AAmBA;;;;;;2FAsHC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/SendSNS/index.js"],"names":[],"mappings":";AAeA;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/SendSNS/index.js"],"names":[],"mappings":";AAeA;;;;;;;;;;uEAgOC;kBA3OuC,OAAO"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default function SnapMatch({ apiKeyId, secretKey, environment, onSuccess, onError, token: tokenProp, locale: localeProp, autoRedirectSeconds }: {
|
|
2
|
+
apiKeyId: any;
|
|
3
|
+
secretKey: any;
|
|
4
|
+
environment: any;
|
|
5
|
+
onSuccess: any;
|
|
6
|
+
onError: any;
|
|
7
|
+
token: any;
|
|
8
|
+
locale?: string | undefined;
|
|
9
|
+
autoRedirectSeconds?: number | undefined;
|
|
10
|
+
}): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
11
|
+
import React from 'react';
|
|
12
|
+
//# sourceMappingURL=SnapMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnapMatch.d.ts","sourceRoot":"","sources":["../../../../../module/components/SnapMatch.js"],"names":[],"mappings":"AAcA;;;;;;;;;uEAmMC;kBA/M+D,OAAO"}
|
package/lib/typescript/module/lib/module/components/VerifiedExternalPhoneNumber/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifiedExternalPhoneNumber/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;uEAqJC;kBA5J0C,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/NewUser.js"],"names":[],"mappings":";AAYA;;;;;;uEAoLC;kBA9LkD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";AAcA;;;;;;;
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../module/components/VerifyWithPhoneNumber/User.js"],"names":[],"mappings":";AAcA;;;;;;;uEA4PC;kBAtQkD,OAAO"}
|
|
@@ -8,7 +8,7 @@ export function useRNBiometrics(): {
|
|
|
8
8
|
}>;
|
|
9
9
|
getBiometricsData: () => Promise<any>;
|
|
10
10
|
biometryType: undefined;
|
|
11
|
-
getBiometryType: () => Promise<
|
|
11
|
+
getBiometryType: () => Promise<import("react-native-biometrics").BiometryType | "NotSupport">;
|
|
12
12
|
createSignature: () => Promise<{
|
|
13
13
|
payload: any;
|
|
14
14
|
publicKey: any;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export namespace Berifyme {
|
|
2
2
|
export { HomeModal as modal };
|
|
3
|
+
export { SnapMatch as snapMatch };
|
|
3
4
|
export { Environment as environment };
|
|
4
5
|
}
|
|
5
6
|
import HomeModal from "./BerifymeModal/index.js";
|
|
7
|
+
import SnapMatch from "./components/SnapMatch.js";
|
|
6
8
|
import { Environment } from "./enum/index.js";
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/index.js"],"names":[],"mappings":";;;;;sBAEsB,0BAA0B;sBAC1B,2BAA2B;4BACrB,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-native.config.d.ts","sourceRoot":"","sources":["../../../react-native.config.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BerifymeModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,OAAO,EAAE,WAAW,EAAmC,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/BerifymeModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,OAAO,EAAE,WAAW,EAAmC,UAAU,EAAE,MAAM,SAAS,CAAC;AAYnF,iBAAS,SAAS,CAAC,EACjB,QAAQ,EAAE,SAAS,EACnB,WAAW,EAAE,2BAA2B,EACxC,2BAA2B,EAC3B,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IACpC,WAAW,EAAE,WAAW,CAAC;IACzB,2BAA2B,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACjF,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE,KAAK,IAAI,CAAC;CACzD,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAoWpB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Onboarding/Authid/idOrPassport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"idOrPassport.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Onboarding/Authid/idOrPassport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,QAAA,MAAM,YAAY;cAKN,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;uBACxC,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;uBAsChE,CAAC;AAmEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Onboarding/Vender/Grid/index.tsx"],"names":[],"mappings":";AAEA,OAAoB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAgB1E,QAAA,MAAM,UAAU;cAMJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;;cAEjD,OAAO;iBACJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Onboarding/Vender/Grid/index.tsx"],"names":[],"mappings":";AAEA,OAAoB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAgB1E,QAAA,MAAM,UAAU;cAMJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;;cAEjD,OAAO;iBACJ,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;iCA4H3D,CAAC;AAuDF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SendSNS/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAS,cAAc,EAA4C,MAAM,cAAc,CAAC;AAE/F,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAOrD,QAAA,MAAM,OAAO;WAUJ,MAAM,GAAG,SAAS;gBACb,MAAM;mBACH,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;cACjD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;6BAClC,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/SendSNS/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAS,cAAc,EAA4C,MAAM,cAAc,CAAC;AAE/F,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAOrD,QAAA,MAAM,OAAO;WAUJ,MAAM,GAAG,SAAS;gBACb,MAAM;mBACH,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;cACjD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;6BAClC,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;uBA0LzB,CAAC;AAqHF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Environment } from '../enum';
|
|
3
|
+
/** 與 Web SDK / 文件一致:onSuccess 回傳的 user 僅包含 id, fullName, phoneNumber, email, age, birthDate */
|
|
4
|
+
export type SnapMatchUser = {
|
|
5
|
+
id: string;
|
|
6
|
+
fullName?: string | null;
|
|
7
|
+
phoneNumber?: string | null;
|
|
8
|
+
email?: string | null;
|
|
9
|
+
age?: number;
|
|
10
|
+
birthDate?: string | null;
|
|
11
|
+
};
|
|
12
|
+
export type SnapMatchProps = {
|
|
13
|
+
apiKeyId: string;
|
|
14
|
+
secretKey: string;
|
|
15
|
+
environment: Environment;
|
|
16
|
+
onSuccess: (user: SnapMatchUser) => void;
|
|
17
|
+
onError: (message: string) => void;
|
|
18
|
+
/** 若已取得 session_ 前綴的 token 可傳入,否則 SDK 會呼叫 createTokenWithoutRedirectUrl */
|
|
19
|
+
token?: string;
|
|
20
|
+
/** 語系,例如 'en' | 'zh-TW',對應 Frontend URL ?locale= */
|
|
21
|
+
locale?: string;
|
|
22
|
+
/** 結果頁自動返回掃臉的秒數,對應 Frontend URL ?autoRedirect=,0 表示不自動 */
|
|
23
|
+
autoRedirectSeconds?: number;
|
|
24
|
+
};
|
|
25
|
+
export default function SnapMatch({ apiKeyId, secretKey, environment, onSuccess, onError, token: tokenProp, locale: localeProp, autoRedirectSeconds, }: SnapMatchProps): React.JSX.Element;
|
|
26
|
+
//# sourceMappingURL=SnapMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnapMatch.d.ts","sourceRoot":"","sources":["../../../../../src/components/SnapMatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,+FAA+F;AAC/F,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAQF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,WAAW,EACX,SAAS,EACT,OAAO,EACP,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,UAAiB,EACzB,mBAA2C,GAC5C,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8MpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifiedExternalPhoneNumber/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAqB,cAAc,EAAkD,MAAM,cAAc,CAAC;AACjH,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAIrD,QAAA,MAAM,2BAA2B;WAUxB,MAAM,GAAG,SAAS;cACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;0BACrC,MAAM,GAAG,SAAS;6BACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifiedExternalPhoneNumber/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAqB,cAAc,EAAkD,MAAM,cAAc,CAAC;AACjH,OAAoB,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAIrD,QAAA,MAAM,2BAA2B;WAUxB,MAAM,GAAG,SAAS;cACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;0BACrC,MAAM,GAAG,SAAS;6BACf,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;aACxE,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;oBAC/C,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;iBACvD,WAAW;uBA0GzB,CAAC;AAqHF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/NewUser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAoB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"NewUser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/NewUser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAoB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAQrD,QAAA,MAAM,aAAa;WAOV,MAAM,GAAG,SAAS;gBACb,MAAM;mBACH,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;aAClD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;iBACpE,WAAW;uBA8JzB,CAAC;AAuEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/User.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,cAAc,EAKf,MAAM,cAAc,CAAC;AACtB,OAAoB,EAAc,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAQhF,QAAA,MAAM,UAAU;WAQP,MAAM,GAAG,SAAS;gBACb,MAAM;cACR,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;aAClD,MAAM,QAAQ,CACrB,MAAM,cAAc,CAAC,sBAAsB,GAAG,SAAS,CAAC,CACzD;oBACe,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../../../src/components/VerifyWithPhoneNumber/User.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,cAAc,EAKf,MAAM,cAAc,CAAC;AACtB,OAAoB,EAAc,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAQhF,QAAA,MAAM,UAAU;WAQP,MAAM,GAAG,SAAS;gBACb,MAAM;cACR,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;mBACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;aAClD,MAAM,QAAQ,CACrB,MAAM,cAAc,CAAC,sBAAsB,GAAG,SAAS,CAAC,CACzD;oBACe,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,cAAc,CAAC,CAAC;uBA6QrE,CAAC;AA2EF,eAAe,UAAU,CAAC"}
|
|
@@ -11,8 +11,8 @@ type StorageData = {
|
|
|
11
11
|
export declare const useRNBiometrics: () => {
|
|
12
12
|
simplePrompt: () => Promise<SimplePromptResult>;
|
|
13
13
|
getBiometricsData: () => Promise<StorageData | null>;
|
|
14
|
-
biometryType: "NotSupport" |
|
|
15
|
-
getBiometryType: () => Promise<"NotSupport"
|
|
14
|
+
biometryType: BiometryType | "NotSupport" | undefined;
|
|
15
|
+
getBiometryType: () => Promise<BiometryType | "NotSupport">;
|
|
16
16
|
createSignature: () => Promise<{
|
|
17
17
|
payload: string;
|
|
18
18
|
publicKey: string;
|