@forklaunch/core 0.14.11 → 0.14.12
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/lib/http/index.d.mts +2 -2
- package/lib/http/index.d.ts +2 -2
- package/package.json +5 -5
package/lib/http/index.d.mts
CHANGED
@@ -467,11 +467,11 @@ type ExpressLikeGlobalAuthOptions<SV extends AnySchemaValidator, SessionSchema e
|
|
467
467
|
/**
|
468
468
|
* Function to extract a set of scopes from the JWT payload and request.
|
469
469
|
*/
|
470
|
-
surfaceScopes?:
|
470
|
+
surfaceScopes?: (payload: JWTPayload & SessionSchema, req?: ForklaunchRequest<SV, Record<string, string>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, string, SessionSchema>) => Set<string> | Promise<Set<string>>;
|
471
471
|
/**
|
472
472
|
* Function to extract a set of permissions from the JWT payload and request.
|
473
473
|
*/
|
474
|
-
surfacePermissions?:
|
474
|
+
surfacePermissions?: (payload: JWTPayload & SessionSchema, req?: ForklaunchRequest<SV, Record<string, string>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, string, SessionSchema>) => Set<string> | Promise<Set<string>>;
|
475
475
|
/**
|
476
476
|
* Function to extract a set of roles from the JWT payload and request.
|
477
477
|
*/
|
package/lib/http/index.d.ts
CHANGED
@@ -467,11 +467,11 @@ type ExpressLikeGlobalAuthOptions<SV extends AnySchemaValidator, SessionSchema e
|
|
467
467
|
/**
|
468
468
|
* Function to extract a set of scopes from the JWT payload and request.
|
469
469
|
*/
|
470
|
-
surfaceScopes?:
|
470
|
+
surfaceScopes?: (payload: JWTPayload & SessionSchema, req?: ForklaunchRequest<SV, Record<string, string>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, string, SessionSchema>) => Set<string> | Promise<Set<string>>;
|
471
471
|
/**
|
472
472
|
* Function to extract a set of permissions from the JWT payload and request.
|
473
473
|
*/
|
474
|
-
surfacePermissions?:
|
474
|
+
surfacePermissions?: (payload: JWTPayload & SessionSchema, req?: ForklaunchRequest<SV, Record<string, string>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, string, SessionSchema>) => Set<string> | Promise<Set<string>>;
|
475
475
|
/**
|
476
476
|
* Function to extract a set of roles from the JWT payload and request.
|
477
477
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@forklaunch/core",
|
3
|
-
"version": "0.14.
|
3
|
+
"version": "0.14.12",
|
4
4
|
"description": "forklaunch-js core package. Contains useful building blocks.",
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
6
6
|
"bugs": {
|
@@ -91,8 +91,8 @@
|
|
91
91
|
"pino-pretty": "^13.1.1",
|
92
92
|
"redis": "^5.8.2",
|
93
93
|
"uuid": "^13.0.0",
|
94
|
-
"@forklaunch/common": "0.6.
|
95
|
-
"@forklaunch/validator": "0.10.
|
94
|
+
"@forklaunch/common": "0.6.9",
|
95
|
+
"@forklaunch/validator": "0.10.9"
|
96
96
|
},
|
97
97
|
"devDependencies": {
|
98
98
|
"@eslint/js": "^9.35.0",
|
@@ -100,8 +100,8 @@
|
|
100
100
|
"@types/cors": "^2.8.19",
|
101
101
|
"@types/jest": "^30.0.0",
|
102
102
|
"@types/qs": "^6.14.0",
|
103
|
-
"@types/uuid": "^
|
104
|
-
"@typescript/native-preview": "7.0.0-dev.
|
103
|
+
"@types/uuid": "^11.0.0",
|
104
|
+
"@typescript/native-preview": "7.0.0-dev.20250916.1",
|
105
105
|
"globals": "^16.4.0",
|
106
106
|
"jest": "^30.1.3",
|
107
107
|
"jose": "5.10.0",
|