WICG / digital-credentials

Digital Credentials, like driver's licenses
https://wicg.github.io/digital-credentials/
Other
66 stars 8 forks source link

Change DigitalCredential.data's type to 'any' #107

Closed marcoscaceres closed 2 months ago

marcoscaceres commented 2 months ago

As we don't yet fully have consensus on the what structure we should use for the response's .data, @samuelgoto and I discussed switching it temporarily to any.

That allows both WebKit (uses Uint8Array) and Chromium (uses USVString) to remain conformant while we work out the details (as per #95, for instance).


Preview | Diff

samuelgoto commented 2 months ago

Thanks for putting this together! This now helps me make chrome compatible with the spec! Looking forward to figuring out what's the right type for the response going forward.