@ha_tecno/react-native-sdk
Version:
React Native SDK for biometric authentication, liveness detection, and fingerprint recognition
10 lines (9 loc) • 318 B
JavaScript
;
import { assertTokenIsValid, setToken, validateTokenRemote } from "./tokenManager.js";
export const configureLibrary = async token => {
if (!token) throw new Error('Token é obrigatório');
setToken(token);
assertTokenIsValid();
await validateTokenRemote();
};
//# sourceMappingURL=config.js.map