@cedarjs/auth-auth0-setup 8.0.0-canary.3487 → 8.0.0-canary.3489

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.
@@ -6,7 +6,7 @@ import { AuthenticationError, ForbiddenError } from '@cedarjs/graphql-server'
6
6
  * Authentication provider's JWT together with an optional role or list of
7
7
  * roles.
8
8
  */
9
- type RedwoodUser = Record<string, unknown> & { roles?: string | string[] }
9
+ type CedarUser = Record<string, unknown> & { roles?: string | string[] }
10
10
 
11
11
  /**
12
12
  * getCurrentUser returns the user information together with
@@ -28,11 +28,11 @@ type RedwoodUser = Record<string, unknown> & { roles?: string | string[] }
28
28
  * @param { APIGatewayEvent event, Context context } - An optional object which
29
29
  * contains information from the invoker such as headers and cookies, and the
30
30
  * context information about the invocation such as IP Address
31
- * @returns RedwoodUser
31
+ * @returns CedarUser
32
32
  */
33
33
  export const getCurrentUser = async (
34
34
  decoded: Decoded
35
- ): Promise<RedwoodUser | null> => {
35
+ ): Promise<CedarUser | null> => {
36
36
  if (!decoded) {
37
37
  return null
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/auth-auth0-setup",
3
- "version": "8.0.0-canary.3487",
3
+ "version": "8.0.0-canary.3489",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -39,10 +39,10 @@
39
39
  "test:watch": "vitest watch"
40
40
  },
41
41
  "dependencies": {
42
- "@cedarjs/cli-helpers": "8.0.0-canary.3487"
42
+ "@cedarjs/cli-helpers": "8.0.0-canary.3489"
43
43
  },
44
44
  "devDependencies": {
45
- "@cedarjs/framework-tools": "8.0.0-canary.3487",
45
+ "@cedarjs/framework-tools": "8.0.0-canary.3489",
46
46
  "@types/yargs": "17.0.35",
47
47
  "concurrently": "9.2.5",
48
48
  "publint": "0.3.25",