UNPKG
@turnkey/webauthn-stamper
Version:
beta (0.6.0-beta.0)
latest (0.6.0)
0.6.0
0.6.0-beta.0
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0
Webauthn stamper for @turnkey/http
github.com/tkhq/sdk
tkhq/sdk
@turnkey/webauthn-stamper
/
dist
/
webauthn-json
/
index.js
13 lines
(9 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
var
api =
require
(
'./api.js'
);
async
function
get
(
options
) {
const
response = (
await
navigator.
credentials
.
get
(options)); response.
toJSON
=
() =>
api.
getResponseToJSON
(response);
return
response; }
exports
.
get
= get;
//# sourceMappingURL=index.js.map