@atproto/oauth-provider 0.2.14 → 0.2.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/oauth-provider",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "license": "MIT",
5
5
  "description": "Generic OAuth2 and OpenID Connect provider for Node.js. Currently only supports features needed for Atproto.",
6
6
  "keywords": [
@@ -43,7 +43,7 @@
43
43
  "@atproto-labs/pipe": "0.1.0",
44
44
  "@atproto-labs/simple-store": "0.1.1",
45
45
  "@atproto-labs/simple-store-memory": "0.1.1",
46
- "@atproto/common": "^0.4.6",
46
+ "@atproto/common": "^0.4.7",
47
47
  "@atproto/jwk": "0.1.2",
48
48
  "@atproto/jwk-jose": "0.1.3",
49
49
  "@atproto/oauth-types": "0.2.2"
@@ -127,6 +127,10 @@ function getScopeDescription(scope: string): string {
127
127
  switch (scope) {
128
128
  case 'atproto':
129
129
  return 'Uniquely identify you'
130
+ case 'transition:generic':
131
+ return 'Access your account data (except chat messages)'
132
+ case 'transition:chat.bsky':
133
+ return 'Access your chat messages'
130
134
  default:
131
135
  return scope
132
136
  }