@simplewebauthn/server 11.0.0-alpha3 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -20
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,41 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
[](https://www.npmjs.com/package/@simplewebauthn/server)
|
|
5
|
+
[](https://jsr.io/@simplewebauthn/server)
|
|
5
6
|
|
|
6
7
|
- [Installation](#installation)
|
|
7
|
-
- [Node LTS 20.x
|
|
8
|
-
- [Deno v1.43
|
|
9
|
-
- [
|
|
8
|
+
- [Node LTS 20.x and higher](#node-lts-20x-and-higher)
|
|
9
|
+
- [Deno v1.43 and higher](#deno-v143-and-higher)
|
|
10
|
+
- [Documentation](#documentation)
|
|
10
11
|
- [Supported Attestation Formats](#supported-attestation-formats)
|
|
11
12
|
|
|
12
13
|
## Installation
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
This package can be installed from **[NPM](https://www.npmjs.com/package/@simplewebauthn/server)**
|
|
16
|
+
and **[JSR](https://jsr.io/@simplewebauthn/server)**:
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
[ECMAScript modules (ESM)](https://nodejs.org/api/esm.html#enabling)** projects) or **JSR**:
|
|
18
|
+
### Node LTS 20.x and higher
|
|
18
19
|
|
|
19
20
|
```sh
|
|
20
|
-
|
|
21
|
+
npm install @simplewebauthn/server @simplewebauthn/types
|
|
21
22
|
```
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
$ npx jsr add @simplewebauthn/server @simplewebauthn/types
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### Deno v1.43.x or higher
|
|
28
|
-
|
|
29
|
-
It is also available for import into Deno projects from **deno.land/x** or **JSR**:
|
|
30
|
-
|
|
31
|
-
```ts
|
|
32
|
-
import {...} from 'https://deno.land/x/simplewebauthn/deno/server.ts';
|
|
33
|
-
```
|
|
24
|
+
### Deno v1.43 and higher
|
|
34
25
|
|
|
35
26
|
```sh
|
|
36
|
-
|
|
27
|
+
deno add jsr:@simplewebauthn/server jsr:@simplewebauthn/types
|
|
37
28
|
```
|
|
38
29
|
|
|
39
|
-
##
|
|
30
|
+
## Documentation
|
|
40
31
|
|
|
41
32
|
You can find in-depth documentation on this package here:
|
|
42
33
|
https://simplewebauthn.dev/docs/packages/server
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplewebauthn/server",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "SimpleWebAuthn for Servers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@peculiar/asn1-schema": "^2.3.8",
|
|
58
58
|
"@peculiar/asn1-x509": "^2.3.8",
|
|
59
59
|
"cross-fetch": "^4.0.0",
|
|
60
|
-
"@simplewebauthn/types": "^
|
|
60
|
+
"@simplewebauthn/types": "^12.0.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/node": "^20.9.0"
|