@thunderid/browser 0.11.0 → 0.11.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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -3292,7 +3292,7 @@ const handleWebAuthnAuthentication = async (challengeData) => {
|
|
|
3292
3292
|
case "NotSupportedError": throw new __thunderid_javascript.ThunderIDRuntimeError("Passkey authentication is not supported on this device or browser. Please use a different authentication method.", "browser-webauthn-not-supported", "browser", "WebAuthn is not supported on the current device or browser configuration.");
|
|
3293
3293
|
case "NetworkError": throw new __thunderid_javascript.ThunderIDRuntimeError("Network error during passkey authentication. Please check your connection and try again.", "browser-webauthn-network-error", "browser", "A network error occurred while communicating with the authenticator.");
|
|
3294
3294
|
case "UnknownError": throw new __thunderid_javascript.ThunderIDRuntimeError("An unknown error occurred during passkey authentication. Please try again or use a different authentication method.", "browser-webauthn-unknown-error", "browser", "An unidentified error occurred during the WebAuthn authentication process.");
|
|
3295
|
-
default: throw new __thunderid_javascript.ThunderIDRuntimeError(
|
|
3295
|
+
default: throw new __thunderid_javascript.ThunderIDRuntimeError("Passkey authentication failed. Please try again.", "browser-webauthn-general-error", "browser", `WebAuthn authentication failed with error: ${error.name}: ${error.message}`);
|
|
3296
3296
|
}
|
|
3297
3297
|
throw new __thunderid_javascript.ThunderIDRuntimeError("Passkey authentication failed due to an unexpected error.", "browser-webauthn-unexpected-error", "browser", "An unexpected error occurred during WebAuthn authentication.");
|
|
3298
3298
|
}
|