@cedarjs/auth-dbauth-middleware 5.0.2-rc.5 → 5.0.2

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/dist/cjs/index.js CHANGED
@@ -142,8 +142,8 @@ async function validateSession({
142
142
  token: req.headers.get("Cookie")
143
143
  },
144
144
  {
145
- // MWRequest is a superset of Request
146
- event: req
145
+ event: req,
146
+ request: req
147
147
  }
148
148
  );
149
149
  return { currentUser, decryptedSession };
package/dist/index.js CHANGED
@@ -108,8 +108,8 @@ async function validateSession({
108
108
  token: req.headers.get("Cookie")
109
109
  },
110
110
  {
111
- // MWRequest is a superset of Request
112
- event: req
111
+ event: req,
112
+ request: req
113
113
  }
114
114
  );
115
115
  return { currentUser, decryptedSession };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/auth-dbauth-middleware",
3
- "version": "5.0.2-rc.5",
3
+ "version": "5.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -37,14 +37,14 @@
37
37
  "test:watch": "vitest watch"
38
38
  },
39
39
  "dependencies": {
40
- "@cedarjs/auth-dbauth-api": "5.0.2-rc.5",
41
- "@cedarjs/web": "5.0.2-rc.5"
40
+ "@cedarjs/auth-dbauth-api": "5.0.2",
41
+ "@cedarjs/web": "5.0.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@arethetypeswrong/cli": "0.18.4",
45
- "@cedarjs/api": "5.0.2-rc.5",
46
- "@cedarjs/framework-tools": "5.0.2-rc.5",
47
- "@cedarjs/graphql-server": "5.0.2-rc.5",
45
+ "@cedarjs/api": "5.0.2",
46
+ "@cedarjs/framework-tools": "5.0.2",
47
+ "@cedarjs/graphql-server": "5.0.2",
48
48
  "@types/aws-lambda": "8.10.162",
49
49
  "concurrently": "9.2.1",
50
50
  "publint": "0.3.21",