@zitadel/sdk-next 1.0.0-alpha.24 → 1.0.0-alpha.25

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +12 -25
package/README.md CHANGED
@@ -237,7 +237,7 @@ There is no `api-base` attribute — the element reads the global handle from
237
237
  | Option | Type | Default | Description |
238
238
  | ------------------- | -------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
239
239
  | `url` | `string` | `ZITADEL_URL` env | Full URL of the Zitadel auth backend |
240
- | `proxyPath` | `string` | `"/__nextgen"` | Path prefix proxied to the auth backend |
240
+ | `proxyPath` | `string` | `"/__nextgen"` | Path prefix proxied to the auth backend. Sign-in with an external provider currently requires the default: the provider returns to `/__nextgen/idp/callback` |
241
241
  | `protectedRoutes` | `string[]` | `[]` | Paths requiring a valid session. Trailing `*` matches sub-paths |
242
242
  | `ignoredRoutes` | `string[]` | `[]` | Paths skipped entirely — no JWT check, no tunnelling. Useful for webhooks or health checks. Trailing `*` matches sub-paths |
243
243
  | `loginPath` | `string` | `"/login"` | Where to redirect unauthenticated users |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zitadel/sdk-next",
3
- "version": "1.0.0-alpha.24",
3
+ "version": "1.0.0-alpha.25",
4
4
  "description": "Next.js helpers and mock auth UI for Zitadel",
5
5
  "homepage": "https://github.com/zitadel/nextgen/tree/main/packages/sdk-next#readme",
6
6
  "bugs": {
@@ -55,9 +55,9 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "server-only": "^0.0.1",
58
- "@zitadel/api": "1.0.0-alpha.24",
59
- "@zitadel/sdk-core": "1.0.0-alpha.24",
60
- "@zitadel/components": "1.0.0-alpha.24"
58
+ "@zitadel/api": "1.0.0-alpha.25",
59
+ "@zitadel/components": "1.0.0-alpha.25",
60
+ "@zitadel/sdk-core": "1.0.0-alpha.25"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "next": ">=15",
@@ -65,35 +65,22 @@
65
65
  "react-dom": ">=18"
66
66
  },
67
67
  "devDependencies": {
68
- "@eslint/js": "^9.0.0",
69
- "@eslint/json": "^0.11.0",
70
- "@eslint/markdown": "^6.0.0",
71
68
  "@testing-library/react": "^16.3.2",
72
69
  "@testing-library/user-event": "^14.6.1",
70
+ "@types/node": "^25.6.0",
73
71
  "@types/react": "^19.2.14",
74
- "@vitest/coverage-v8": "^3.2.7",
75
- "eslint": "^9.0.0",
76
- "eslint-config-prettier": "^10.0.0",
77
- "eslint-import-resolver-typescript": "^3.7.0",
78
- "eslint-plugin-import": "^2.31.0",
79
- "eslint-plugin-jsx-a11y": "^6.10.0",
80
- "eslint-plugin-perfectionist": "^4.0.0",
81
- "eslint-plugin-prettier": "^5.0.0",
82
- "eslint-plugin-react": "^7.37.0",
83
- "eslint-plugin-react-hooks": "^5.0.0",
84
- "eslint-plugin-testing-library": "^7.0.0",
72
+ "@vitest/coverage-v8": "^4.1.11",
85
73
  "jsdom": "^29.0.2",
86
74
  "next": "^16.2.11",
87
- "prettier": "^3.0.0",
88
- "typescript": "^5.7.3",
89
- "typescript-eslint": "^8.0.0",
90
- "vitest": "^3.2.7"
75
+ "react": "^19.2.8",
76
+ "react-dom": "^19.2.8",
77
+ "typescript": "^6.0.3",
78
+ "vitest": "^4.1.11"
91
79
  },
92
80
  "scripts": {
93
81
  "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.build.json && node -e \"require('node:fs').copyFileSync('src/jsx.d.ts', 'dist/jsx.d.ts')\"",
94
- "typecheck": "tsc --build tsconfig.json",
82
+ "typecheck": "tsc --noEmit -p tsconfig.lib.json && tsc --noEmit -p tsconfig.spec.json",
95
83
  "test": "vitest run",
96
- "test:all": "pnpm run test",
97
- "lint": "eslint ."
84
+ "test:all": "pnpm run test"
98
85
  }
99
86
  }