UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

12 lines (8 loc) 264 B
'use client' 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const isValidMfaRecoveryCode = (text) => { const regex = /^[a-zA-Z0-9]{10}$/; return regex.test(text); }; exports.isValidMfaRecoveryCode = isValidMfaRecoveryCode;