@kuckit/cli-auth-module 1.0.3 → 2.0.1

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.
@@ -1,3 +1,4 @@
1
+ import * as _kuckit_sdk0 from "@kuckit/sdk";
1
2
  import "drizzle-orm/pg-core";
2
3
  import "drizzle-orm";
3
4
  import { NextFunction, Request, Response } from "express";
@@ -31,7 +32,7 @@ declare const requireScope: (scope: string) => (req: Request, res: Response, nex
31
32
  //#endregion
32
33
  //#region src/server/module.d.ts
33
34
  type CliAuthModuleConfig = Record<string, never>;
34
- declare const kuckitModule: any;
35
+ declare const kuckitModule: _kuckit_sdk0.KuckitModuleDefinition<CliAuthModuleConfig>;
35
36
  //#endregion
36
37
  export { type CliAuthContext, CliAuthModuleConfig, kuckitModule, makeCliAuthMiddleware, requireScope };
37
38
  //# sourceMappingURL=module.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuckit/cli-auth-module",
3
- "version": "1.0.3",
3
+ "version": "2.0.1",
4
4
  "description": "Device flow authentication module for Kuckit CLI tools",
5
5
  "type": "module",
6
6
  "main": "dist/server/module.js",
@@ -28,15 +28,15 @@
28
28
  "prepublishOnly": "npm run build && node ../../scripts/resolve-workspace-protocols.cjs && node ../../scripts/check-no-workspace-protocol.cjs"
29
29
  },
30
30
  "peerDependencies": {
31
- "@kuckit/sdk": "^1.0.3",
32
- "@kuckit/sdk-react": "^1.0.3",
31
+ "@kuckit/sdk": "^2.0.1",
32
+ "@kuckit/sdk-react": "^2.0.1",
33
33
  "react": "^18 || ^19",
34
34
  "typescript": "^5",
35
35
  "express": "^4 || ^5"
36
36
  },
37
37
  "dependencies": {
38
- "@kuckit/api": "^1.0.3",
39
- "@kuckit/domain": "^1.0.3",
38
+ "@kuckit/api": "^2.0.1",
39
+ "@kuckit/domain": "^2.0.1",
40
40
  "drizzle-orm": "^0.44.2",
41
41
  "zod": "^4.1.11"
42
42
  },