@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.
Files changed (2) hide show
  1. package/README.md +11 -20
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,41 +2,32 @@
2
2
 
3
3
  ![WebAuthn](https://img.shields.io/badge/WebAuthn-Simplified-blueviolet?style=for-the-badge&logo=WebAuthn)
4
4
  [![npm (scoped)](https://img.shields.io/npm/v/@simplewebauthn/server?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@simplewebauthn/server)
5
+ [![JSR](https://jsr.io/badges/@simplewebauthn/server?style=for-the-badge)](https://jsr.io/@simplewebauthn/server)
5
6
 
6
7
  - [Installation](#installation)
7
- - [Node LTS 20.x or higher](#node-lts-20x-or-higher)
8
- - [Deno v1.43.x or higher](#deno-v143x-or-higher)
9
- - [Usage](#usage)
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
- ### Node LTS 20.x or higher
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
- This package can be installed from **NPM** (with support for **both CommonJS and
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
- $ npm install @simplewebauthn/server
21
+ npm install @simplewebauthn/server @simplewebauthn/types
21
22
  ```
22
23
 
23
- ```sh
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
- $ deno add jsr:@simplewebauthn/server jsr:@simplewebauthn/types
27
+ deno add jsr:@simplewebauthn/server jsr:@simplewebauthn/types
37
28
  ```
38
29
 
39
- ## Usage
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": "11.0.0-alpha3",
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": "^11.0.0-alpha3"
60
+ "@simplewebauthn/types": "^12.0.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/node": "^20.9.0"