summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-06-02 13:17:18 -0700
committerMatthew Miller <matthew@millerti.me>2020-06-02 13:17:18 -0700
commit047413af015302639a1bd23934d9eb23fcbec169 (patch)
treef4b7e643742852756488d821fe781490d627f5b2 /packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts
parentae19fbdf22fb13dd8848370ff201963850682db7 (diff)
Explicitly define id and type
It turns out that properties on PublicKeyCredentials are non-enumerable getters, so the spread operator won’t pick them up. This means we need to manually re-construct attestation and assertion credentials when we convert them to JSON.
Diffstat (limited to 'packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts')
0 files changed, 0 insertions, 0 deletions