@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.
@@ -9,7 +9,7 @@ import {
9
9
  parseFaultHeader,
10
10
  resolveAdminPrefix,
11
11
  restoreClock
12
- } from "./chunk-A746MOJN.js";
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.2" });
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-LTWSHDAY.js.map
5016
+ //# sourceMappingURL=chunk-Q7GQDPI2.js.map
package/dist/cli.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  runCli,
4
4
  serveCommand,
5
5
  serveTarget
6
- } from "./chunk-LTWSHDAY.js";
7
- import "./chunk-A746MOJN.js";
6
+ } from "./chunk-Q7GQDPI2.js";
7
+ import "./chunk-LAZKC64K.js";
8
8
 
9
9
  // src/cli.ts
10
10
  var code = await runCli(
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
@@ -8,7 +8,7 @@ import {
8
8
  document,
9
9
  operationIds,
10
10
  supportedOperationIds
11
- } from "./chunk-A746MOJN.js";
11
+ } from "./chunk-LAZKC64K.js";
12
12
  export {
13
13
  DEFAULT_CLIENTS,
14
14
  DEFAULT_USERS,
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
@@ -2,8 +2,8 @@ import {
2
2
  DEFAULT_PORT,
3
3
  createServer,
4
4
  serveTarget
5
- } from "./chunk-LTWSHDAY.js";
6
- import "./chunk-A746MOJN.js";
5
+ } from "./chunk-Q7GQDPI2.js";
6
+ import "./chunk-LAZKC64K.js";
7
7
  export {
8
8
  DEFAULT_PORT,
9
9
  createServer,
package/openapi.yaml CHANGED
@@ -31,7 +31,7 @@ paths:
31
31
  application/json:
32
32
  schema:
33
33
  type: object
34
- required: [client_id, client_secret, grant_type]
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.2",
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.1",
107
- "hono": "4.11.9"
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.9",
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",