- Add ability to send
protocols
option. This property can be used with requests or with aWebCredential
to specify a dictionary of protocol URLs, where the keys in the dictionary are the protocol name and the values are the protocol URLs. These URLs will be passed to any credential handler that registers itscredential_handler.acceptedInput
(via its Web app manifest) asurl
instead of the defaultevent
. - The
protocols
option is experimental and may change without a new major revision to the API.
- Throws error when loaded in an insecure context.
- Use
[email protected]
to avoid chromium mouse event bug.
- Use
[email protected]
to avoid chromium-based browser focus bug.
- BREAKING: Deprecate and make hints and registration APIs ineffectual.
Registering a credential handler now only involves successfully asking
the user to allow
credentialhandler
permission -- and providing a validcredential_handler
section inmanifest.json
. Hints are no longer used and there is noregistration
API. An effort has been made to prevent existing code from breaking if it uses these APIs. Prior to this release using these APIs to add hints or registrations was largely ineffectual or at least unreliable as all that was required to ensure that a credential handler showed up in the mediator UI chooser was the presence of any hint or the use ofcredential_handler
inmanifest.json
(plus a recommendation from a relying party when calling theget
orstore
credential API. This has been simplified now -- and to a large extent existing code will continue to function as it did before. This is especially true for most users as the behavior for the Chrome browser is the least changed; other browsers that request permission from a credential handler site (aka digital wallet site) will see those permission requests always result in prompting the user -- as other browsers do not have access to storage to check for a previously saved permission value. The corrective course of action is to move any such code that wasn't previously hidden behind user activation behind one (e.g. a button / click / tap).
- Add option to pass
mediatorOrigin
as an option to load functions.
- Fix options passed to
WebCredential
.
- Add ability to send
recommendedHandlerOrigins
. This property can be used with requests or with aWebCredential
to specify an array of credential handler origins (up to 3 will be accepted by the mediator) to recommend.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Add a default mediator url for the polyfill.
- Use webpack UMD target with
credentialHandlerPolyfill
name.
- Darken backdrop for mediator window.
- Up mediator load timeout to 30 seconds.
- Add missing
PermissionManager.js
.
- Allow polyfill load to happen in parallel with relying party site load.
- Update dependencies.
- Build browser file with webpack.
- Distribute plain min.js bundle (requires browser async/await support).
- Fix native get() recursion.
- Remove logging.
- Include credential request origin. TBD how origin will be blinded; but will still be included for targeting during signing of verifiable profile.
- Auto-install polyfill.
- Fix bug in
imageToDataUrl
.
- Do not inherit custom events from
Event
.
- Prefetch icons.
- Allow
null
credential response.
- Update deps.
-
Add core files.
-
See git history for changes previous to this release.