@cedarjs/auth-dbauth-middleware 5.0.0-canary.2596 → 5.0.0-rc.261
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.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -7
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAG9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAqB,MAAM,yBAAyB,CAAA;AAK5E,MAAM,WAAW,uBAAuB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAGlB,aAAa,EAAE,CACb,GAAG,EAAE,OAAO,GAAG,oBAAoB,EACnC,OAAO,CAAC,EAAE,OAAO,KACd,cAAc,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,MAAM,EAAE,CAAA;IACrC,cAAc,EAAE,cAAc,CAAA;CAC/B;AAED,eAAO,MAAM,oBAAoB,GAAI,qEAMlC,uBAAuB,KAAG,CAAC,UAAU,EAAE,GAAG,CAkG5C,CAAA;AA2DD,eAAe,oBAAoB,CAAA"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAG9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAqB,MAAM,yBAAyB,CAAA;AAK5E,MAAM,WAAW,uBAAuB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAGlB,aAAa,EAAE,CACb,GAAG,EAAE,OAAO,GAAG,oBAAoB,EACnC,OAAO,CAAC,EAAE,OAAO,KACd,cAAc,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,MAAM,EAAE,CAAA;IACrC,cAAc,EAAE,cAAc,CAAA;CAC/B;AAED,eAAO,MAAM,oBAAoB,GAAI,qEAMlC,uBAAuB,KAAG,CAAC,UAAU,EAAE,GAAG,CAkG5C,CAAA;AA2DD,eAAe,oBAAoB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import dbAuthApi from "@cedarjs/auth-dbauth-api";
|
|
2
|
-
const { dbAuthSession, generateCookieName } = dbAuthApi;
|
|
3
2
|
import { MiddlewareResponse } from "@cedarjs/web/middleware";
|
|
3
|
+
const { dbAuthSession, generateCookieName } = dbAuthApi;
|
|
4
4
|
import { defaultGetRoles } from "./defaultGetRoles.js";
|
|
5
5
|
const initDbAuthMiddleware = ({
|
|
6
6
|
dbAuthHandler,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/auth-dbauth-middleware",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-rc.261",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
|
-
"build": "
|
|
29
|
+
"build": "tsx ./build.mts",
|
|
30
30
|
"build:pack": "yarn pack -o cedarjs-auth-dbauth-middleware.tgz",
|
|
31
31
|
"build:types": "tsc --build --verbose ./tsconfig.build.json",
|
|
32
32
|
"build:types-cjs": "tsc --build --verbose tsconfig.cjs.json",
|
|
@@ -37,18 +37,19 @@
|
|
|
37
37
|
"test:watch": "vitest watch"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@cedarjs/auth-dbauth-api": "5.0.0-
|
|
41
|
-
"@cedarjs/web": "5.0.0-
|
|
40
|
+
"@cedarjs/auth-dbauth-api": "5.0.0-rc.261",
|
|
41
|
+
"@cedarjs/web": "5.0.0-rc.261"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@arethetypeswrong/cli": "0.18.4",
|
|
45
|
-
"@cedarjs/api": "5.0.0-
|
|
46
|
-
"@cedarjs/framework-tools": "5.0.0-
|
|
47
|
-
"@cedarjs/graphql-server": "5.0.0-
|
|
45
|
+
"@cedarjs/api": "5.0.0-rc.261",
|
|
46
|
+
"@cedarjs/framework-tools": "5.0.0-rc.261",
|
|
47
|
+
"@cedarjs/graphql-server": "5.0.0-rc.261",
|
|
48
48
|
"@types/aws-lambda": "8.10.162",
|
|
49
49
|
"concurrently": "9.2.1",
|
|
50
50
|
"publint": "0.3.21",
|
|
51
51
|
"ts-toolbelt": "9.6.0",
|
|
52
|
+
"tsx": "4.22.4",
|
|
52
53
|
"typescript": "5.9.3",
|
|
53
54
|
"vitest": "3.2.6"
|
|
54
55
|
},
|