@ideem/zsm-client-sdk 2.8.0 → 2.9.0
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 +11 -1
- package/PluginManager.js +1 -1
- package/WASMRustInterface.js +29 -22
- package/WebAuthnClientBase.js +68 -24
- package/ZSMClientSDK.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,7 +12,17 @@ and Universal MFA into a browser application.
|
|
|
12
12
|
|
|
13
13
|
----
|
|
14
14
|
|
|
15
|
-
## Release 2.
|
|
15
|
+
## Release 2.9.0 - May 17, 2026 [ NPM PACKAGE RELEASE ] **latest release**
|
|
16
|
+
- Adds an optional `installation_id` override mechanism for bridging contexts:
|
|
17
|
+
- Rust extern `__ideem_get_install_id_override_v1` declared on `globalThis` via `#[wasm_bindgen(catch)]`, embedded in `WASMRustInterface.js` (which runs in the page context).
|
|
18
|
+
- Consumers install the JS-side getter at page scope: `globalThis.__ideem_get_install_id_override_v1 = () => value`.
|
|
19
|
+
- Non-bridging contexts unchanged — `InstallationID::get()` falls through to the existing IndexedDB-derived value when no override getter is installed (the `catch` arm in the extern handles the missing-getter case).
|
|
20
|
+
|
|
21
|
+
## Release 2.8.1 - Mat 8, 2026 [ NPM PACKAGE RELEASE ]
|
|
22
|
+
- Minor bug fixes and improvements
|
|
23
|
+
- Alters Webauthn object to provide Passkeys+ support Android WebViews
|
|
24
|
+
|
|
25
|
+
## Release 2.8.0 - April 15, 2026 [ NPM PACKAGE RELEASE ]
|
|
16
26
|
- Migrates all Passkeys+ functionality into the Core package
|
|
17
27
|
- "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
28
|
- Includes "wrapper" function stub for userIdentifier (encodeUserIdentifier.js) for future hashing operations.
|
package/PluginManager.js
CHANGED
|
@@ -85,7 +85,7 @@ class PluginManager {
|
|
|
85
85
|
const passkeysMap = this._classCorpus.get('PASSKEYS+');
|
|
86
86
|
if (passkeysMap?.classDefs) for (const [k,v] of Object.entries(passkeysMap.classDefs)) constructedMap.set(k.toUpperCase(), v);
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
// Apply class decorators (wrappers) AFTER overlays, if present in any of the registrations
|
|
90
90
|
const postConstructDecorators = [...this._classCorpus.values()].filter(entry => entry.mode === 'DECORATOR');
|
|
91
91
|
if (postConstructDecorators.length) {
|