@djangocfg/api 2.1.412 → 2.1.413
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/auth.cjs +2 -0
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +2 -1
- package/dist/auth.d.ts +2 -1
- package/dist/auth.mjs +2 -0
- package/dist/auth.mjs.map +1 -1
- package/package.json +2 -2
- package/src/auth/context/index.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/api",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.413",
|
|
4
4
|
"description": "Auto-generated TypeScript API client with React hooks, SWR integration, and Zod validation for Django REST Framework backends",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"django",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@types/node": "^25.2.3",
|
|
86
86
|
"@types/react": "^19.2.15",
|
|
87
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
87
|
+
"@djangocfg/typescript-config": "^2.1.413",
|
|
88
88
|
"next": "^16.2.2",
|
|
89
89
|
"react": "^19.2.4",
|
|
90
90
|
"tsup": "^8.5.0",
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { AuthProvider, useAuth } from './AuthContext';
|
|
2
|
+
// Re-exported so storybook/test mock providers can supply their own
|
|
3
|
+
// AuthContext value without forking AuthProvider.
|
|
4
|
+
export { default as AuthContext } from './AuthContext';
|
|
2
5
|
export type { AuthConfig, AuthContextType, AuthProviderProps, UserProfile } from './types';
|
|
3
6
|
export { AccountsProvider, useAccountsContext, PatchedCfgUserUpdateRequestSchema } from './AccountsContext';
|
|
4
7
|
export type { AccountsContextValue, PatchedCfgUserUpdateRequest } from './AccountsContext';
|