@crvouga/mockingbird-service-workos 1.9.2 → 1.9.4
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/CHANGELOG.md +23 -0
- package/README.md +1 -1
- package/dist/chunk-LAZKC64K.js +5656 -0
- package/dist/chunk-LAZKC64K.js.map +7 -0
- package/dist/{chunk-LTWSHDAY.js → chunk-Q7GQDPI2.js} +3 -3
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2 -2
- package/openapi.yaml +1 -1
- package/package.json +4 -4
- package/dist/chunk-A746MOJN.js +0 -5623
- package/dist/chunk-A746MOJN.js.map +0 -7
- /package/dist/{chunk-LTWSHDAY.js.map → chunk-Q7GQDPI2.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseFaultHeader,
|
|
10
10
|
resolveAdminPrefix,
|
|
11
11
|
restoreClock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LAZKC64K.js";
|
|
13
13
|
|
|
14
14
|
// ../../adapters/node/dist/cli.js
|
|
15
15
|
import { readFile as readFile5 } from "node:fs/promises";
|
|
@@ -3057,7 +3057,7 @@ async function preflightFleet(config, options) {
|
|
|
3057
3057
|
break;
|
|
3058
3058
|
}
|
|
3059
3059
|
}
|
|
3060
|
-
targets.set(name, { ...target, packageVersion: packageVersion ?? "1.9.
|
|
3060
|
+
targets.set(name, { ...target, packageVersion: packageVersion ?? "1.9.4" });
|
|
3061
3061
|
} catch (error) {
|
|
3062
3062
|
throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
|
|
3063
3063
|
}
|
|
@@ -5013,4 +5013,4 @@ export {
|
|
|
5013
5013
|
createServer2 as createServer,
|
|
5014
5014
|
serveTarget
|
|
5015
5015
|
};
|
|
5016
|
-
//# sourceMappingURL=chunk-
|
|
5016
|
+
//# sourceMappingURL=chunk-Q7GQDPI2.js.map
|
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1262,6 +1262,8 @@ type Session = {
|
|
|
1262
1262
|
organizationId: string | null;
|
|
1263
1263
|
revoked: boolean;
|
|
1264
1264
|
expiresAt: number;
|
|
1265
|
+
/** Started by a PKCE exchange without a client secret; it may refresh without one too. */
|
|
1266
|
+
public?: boolean;
|
|
1265
1267
|
};
|
|
1266
1268
|
type Refresh = {
|
|
1267
1269
|
sessionId: string;
|
package/dist/index.js
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -2058,6 +2058,8 @@ type Session = {
|
|
|
2058
2058
|
organizationId: string | null;
|
|
2059
2059
|
revoked: boolean;
|
|
2060
2060
|
expiresAt: number;
|
|
2061
|
+
/** Started by a PKCE exchange without a client secret; it may refresh without one too. */
|
|
2062
|
+
public?: boolean;
|
|
2061
2063
|
};
|
|
2062
2064
|
type Refresh = {
|
|
2063
2065
|
sessionId: string;
|
package/dist/server.js
CHANGED
package/openapi.yaml
CHANGED
|
@@ -31,7 +31,7 @@ paths:
|
|
|
31
31
|
application/json:
|
|
32
32
|
schema:
|
|
33
33
|
type: object
|
|
34
|
-
required: [client_id,
|
|
34
|
+
required: [client_id, grant_type]
|
|
35
35
|
properties:
|
|
36
36
|
client_id: { type: string, example: client_mock }
|
|
37
37
|
client_secret: { type: string, example: mock_workos_key }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-workos",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Stateful WorkOS AuthKit emulator with signed sessions, rotating refresh tokens and user pagination.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@crvouga/mockingbird-service-sqlite": "3.4.
|
|
107
|
-
"hono": "4.11
|
|
106
|
+
"@crvouga/mockingbird-service-sqlite": "3.4.2",
|
|
107
|
+
"hono": "4.13.11"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@crvouga/mockingbird-adapter-node": "0.0.0-development",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@crvouga/mockingbird-testing": "0.1.0",
|
|
119
119
|
"@workos-inc/node": "9.3.1",
|
|
120
120
|
"@workos-inc/authkit-nextjs": "4.1.0",
|
|
121
|
-
"next": "15.5.
|
|
121
|
+
"next": "15.5.28",
|
|
122
122
|
"react": "19.2.3",
|
|
123
123
|
"react-dom": "19.2.3",
|
|
124
124
|
"fast-check": "4.9.0",
|