@atproto/oauth-client-node 0.0.2-rc.0 → 0.0.2-rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
- # ATPROTO OAuth Client for NodeJS
1
+ # atproto OAuth Client for NodeJS
2
2
 
3
3
  This package implements all the OAuth features required by [ATPROTO] (PKCE,
4
- etc.) to run in a NodeJS based environment (Election APP or Backend).
4
+ etc.) to run in a NodeJS based environment such as desktop apps built with
5
+ Electron or traditional web app backends built with frameworks like Express.
5
6
 
6
7
  ## Setup
7
8
 
@@ -39,7 +40,7 @@ const client = new NodeOAuthClientOptions({
39
40
  grant_types: ['authorization_code', 'refresh_token'],
40
41
  response_types: ['code'],
41
42
  application_type: 'web',
42
- token_endpoint_auth_method: 'client_secret_jwt',
43
+ token_endpoint_auth_method: 'private_key_jwt',
43
44
  dpop_bound_access_tokens: true,
44
45
  jwks_uri: 'https://my-app.com/jwks.json',
45
46
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/oauth-client-node",
3
- "version": "0.0.2-rc.0",
3
+ "version": "0.0.2-rc.2",
4
4
  "license": "MIT",
5
5
  "description": "ATPROTO OAuth client for the NodeJS",
6
6
  "keywords": [
@@ -28,19 +28,19 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@atproto-labs/did-resolver": "0.1.1",
32
- "@atproto-labs/handle-resolver-node": "0.1.1",
31
+ "@atproto-labs/did-resolver": "0.1.2-rc.0",
33
32
  "@atproto-labs/simple-store": "0.1.1",
34
- "@atproto/did": "0.1.0",
33
+ "@atproto/did": "0.1.1-rc.0",
35
34
  "@atproto/jwk": "0.1.1",
36
- "@atproto/jwk-jose": "0.1.1",
37
- "@atproto/jwk-webcrypto": "0.1.1",
38
- "@atproto/oauth-client": "0.1.2-rc.0",
39
- "@atproto/oauth-types": "0.1.1"
35
+ "@atproto/oauth-types": "0.1.2-rc.0",
36
+ "@atproto/oauth-client": "0.1.2-rc.2",
37
+ "@atproto-labs/handle-resolver-node": "0.1.2-rc.0",
38
+ "@atproto/jwk-jose": "0.1.2-rc.0",
39
+ "@atproto/jwk-webcrypto": "0.1.2-rc.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "typescript": "^5.3.3",
43
- "@atproto/api": "0.13.0-rc.0"
43
+ "@atproto/api": "0.13.0-rc.1"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsc --build tsconfig.build.json"