ceramicnetwork / js-did

A simple interface to interact with DIDs that conform to the DID-provider interface.
Other
96 stars 28 forks source link

key-webauthn Compatibility chart and Bugfix #175

Closed telamon closed 10 months ago

telamon commented 10 months ago

key-webauthn Compatibility chart and Bugfix

Description

In this PR i've added a demo page that uses @didtools/key-webauthn in runtime. this led to the discovery of a couple of bugs and the production of a browser/device/authenticator chart.

Just to clarify the exported key-webauthn package was mostly left unchanged with the exception of aformentioned type error.

How Has This Been Tested?

The demo was manually tested on multiple browsers and devices.

Definition of Done

Before submitting this PR, please make sure:

References:

ukstv commented 10 months ago

It is a bit ugly in a sense, that it relies on unpkg and does not work offline, - a bundler might be handy here. And Tonic - not a battle tested React. We'll have to maintain this non-prod thing, and React is more familiar. Otherwise okay.

telamon commented 10 months ago

It is a bit ugly in a sense, that it relies on unpkg and does not work offline, - a bundler might be handy here. And Tonic - not a battle tested React. We'll have to maintain this non-prod thing, and React is more familiar. Otherwise okay.

@ukstv Yes i wrote a non-prod tool to test production code in runtime, I saw value in committing the source so the results could be reproduced, but I did not wish to pollute the dependency tree hence unpkg. I used tonic because it's fun; ~400LOC; Native ES6 templates; no event loop; no virtual-dom.