@ideem/zsm-client-sdk 2.8.0 → 2.8.1
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/CHANGELOG.md +5 -1
- package/PasskeysPlusClient.js +5 -0
- package/WebAuthnClientBase.js +3 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,7 +12,11 @@ and Universal MFA into a browser application.
|
|
|
12
12
|
|
|
13
13
|
----
|
|
14
14
|
|
|
15
|
-
## Release 2.8.
|
|
15
|
+
## Release 2.8.1 - Mat 8, 2026 [ NPM PACKAGE RELEASE ] **latest release**
|
|
16
|
+
- Minor bug fixes and improvements
|
|
17
|
+
- Alters Webauthn object to provide Passkeys+ support Android WebViews
|
|
18
|
+
|
|
19
|
+
## Release 2.8.0 - April 15, 2026 [ NPM PACKAGE RELEASE ]
|
|
16
20
|
- Migrates all Passkeys+ functionality into the Core package
|
|
17
21
|
- "Zeroes out" the Passkeys+ Plug-In package (basically now throws a warning in the console explaining it is now unnecessary, and that it can be removed, along with instructions on how to do so.
|
|
18
22
|
- Includes "wrapper" function stub for userIdentifier (encodeUserIdentifier.js) for future hashing operations.
|
package/PasskeysPlusClient.js
CHANGED
|
@@ -83,6 +83,11 @@ class PasskeysPlusClient {
|
|
|
83
83
|
if(publicKey?.excludeCredentials && (!Array.isArray(publicKey?.excludeCredentials)
|
|
84
84
|
|| publicKey?.excludeCredentials?.length > 0 && !publicKey?.excludeCredentials[0].id)) throw new Error(`[PK+ PasskeysPlus] :: pkpCreatePasskeyCredential :: Invalid credential ID in excludeCredentials! It must be an ArrayBuffer. Received: ${publicKey?.excludeCredentials[0]?.id}`);
|
|
85
85
|
|
|
86
|
+
publicKey.authenticatorSelection = {
|
|
87
|
+
...publicKey.authenticatorSelection,
|
|
88
|
+
residentKey: "required", // was "discouraged"
|
|
89
|
+
requireResidentKey: true, // was false
|
|
90
|
+
}
|
|
86
91
|
const pkpCredential = await this.passkeyAPI.create({ publicKey: {...publicKey, userVerification} });
|
|
87
92
|
|
|
88
93
|
return pkpCredential;
|
package/WebAuthnClientBase.js
CHANGED
|
@@ -209,11 +209,9 @@ class WebAuthnClientBase {
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
let passkeySupported = false; // [J] Best-effort detection of platform authenticator support
|
|
212
|
-
try {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
&& await PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable());
|
|
216
|
-
} catch { /* unsupported environment */ }
|
|
212
|
+
// try {
|
|
213
|
+
passkeySupported = !!navigator?.credentials;
|
|
214
|
+
// } catch { /* unsupported environment */ }
|
|
217
215
|
|
|
218
216
|
this.credentialID = localData['zsm_credential_id']??null;
|
|
219
217
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name" : "@ideem/zsm-client-sdk",
|
|
3
|
-
"version" : "2.8.
|
|
3
|
+
"version" : "2.8.1",
|
|
4
4
|
"description" : "ZSM makes 2FA easy and invisible for everyone, all the time, using advanced cryptography like MPC to establish cryptographic proof of the origin of any transaction or login attempt, while eliminating opportunities for social engineering. ZSM has no reliance on specific hardware. Our cryptographic module has completed FIPS 140-3 NIST approved lab testing, is FIDO2-ready, and is on the Modules In Progress (MIP) list. Superior Usability. no opt-in, no codes, no downloads, no authenticator apps. Better Security.",
|
|
5
5
|
"keywords" : [ "ideem", "zsm", "zsm-client-sdk", "umfaclient", "fido2client", "library", "umfa", "fido", "fido2", "client", "javascript", "multifactor", "multi-factor", "webauthn", "authentication", "security", "cryptography", "mpc", "fips", "nist", "mip", "passkeys" ],
|
|
6
6
|
"author" : "Jason Jurusz <jj@useideem.com>",
|