@schemavaults/auth-server-sdk 0.22.8 → 0.22.10

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/cli.cjs CHANGED
@@ -89,7 +89,7 @@ var init_resolve_codegen_templates_directory = __esm({
89
89
 
90
90
  // src/NextjsAppDirectoryPlugin/codegen-marker.ts
91
91
  function getCodegenMarkerComment() {
92
- const version = true ? "0.22.8" : "unknown";
92
+ const version = true ? "0.22.10" : "unknown";
93
93
  return `${CODEGEN_MARKER_PREFIX}${version}`;
94
94
  }
95
95
  function hasCodegenMarker(firstLine) {
@@ -306,7 +306,7 @@ async function main() {
306
306
  return;
307
307
  }
308
308
  if (args.includes("--version") || args.includes("-v")) {
309
- console.log(`${PACKAGE_NAME}@${"0.22.8"}`);
309
+ console.log(`${PACKAGE_NAME}@${"0.22.10"}`);
310
310
  return;
311
311
  }
312
312
  const command = args.find((arg) => !arg.startsWith("-")) ?? "codegen";
@@ -1,4 +1,4 @@
1
1
  import type { RedirectType } from "next/navigation";
2
2
  import { type SchemaVaultsAuthErrorId } from "@schemavaults/auth-common";
3
- export declare function redirectWithError(redirect: (url: string, redirect_type?: RedirectType) => never, error_code?: number, error_id?: SchemaVaultsAuthErrorId, error_page_url?: string): never;
3
+ export declare function redirectWithError(redirect: (url: string, redirect_type?: keyof typeof RedirectType) => never, error_code?: number, error_id?: SchemaVaultsAuthErrorId, error_page_url?: string): never;
4
4
  export default redirectWithError;
@@ -1 +1 @@
1
- {"version":3,"file":"redirect-with-error.js","sourceRoot":"","sources":["../src/redirect-with-error.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,GAEf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,GAElB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,UAAU,iBAAiB,CAC/B,QAA8D,EAC9D,aAAqB,GAAG,EACxB,WAAoC,SAAS,EAC7C,iBAAyB,aAAa;IAEtC,MAAM,WAAW,G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vC,MAAM,YAAY,GAAG,GAAG,cAAc,IAAI,YAAY,CAAC,QAAQ,EAAE,EAAW,CAAC;IAE7E,IAAI,WAAW,KAAK,aAAa,EAAE,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,0CAA0C,EAAE,YAAY,CAAC,CAAC;IACxE,CAAC;IACD,QAAQ,CAAC,YAAY,CAAC,CAAC;AACzB,CAAC;AAED,eAAe,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@schemavaults/auth-server-sdk",
3
3
  "description": "TypeScript SDK for building authenticated endpoints/middlewares for the Auth Server and Resource Servers",
4
- "version": "0.22.8",
4
+ "version": "0.22.10",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
7
7
  "repository": {
@@ -18,9 +18,9 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "zod": "3.25.8",
21
- "@schemavaults/jwt": "0.7.4",
22
- "@schemavaults/auth-common": "0.10.5",
23
- "@schemavaults/app-definitions": "0.6.22"
21
+ "@schemavaults/jwt": "0.7.5",
22
+ "@schemavaults/auth-common": "0.10.6",
23
+ "@schemavaults/app-definitions": "0.6.23"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsc --project tsconfig.json && tsc-alias --project tsconfig.json && bun run copy-codegen-templates && bun run prepare-cli",
@@ -36,10 +36,10 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "5.9.3",
39
- "bun-types": "1.3.6",
40
- "@types/react": "19.0.0",
39
+ "bun-types": "1.3.11",
40
+ "@types/react": "19.2.14",
41
41
  "tsc-alias": "1.8.16",
42
- "next": "16.1.6",
42
+ "next": "16.2.2",
43
43
  "eslint": "9.39.1",
44
44
  "@eslint/js": "9.39.1",
45
45
  "globals": "16.5.0",
@@ -50,7 +50,7 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "packageManager": "bun@1.3.6",
53
+ "packageManager": "bun@1.3.11",
54
54
  "exports": {
55
55
  ".": {
56
56
  "types": "./dist/index.d.ts",