@dyrected/admin 2.5.27 → 2.5.28

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.
@@ -6,6 +6,7 @@ interface DyrectedContextType {
6
6
  baseUrl: string;
7
7
  apiKey: string | undefined;
8
8
  siteId: string | undefined;
9
+ defaultTechStack?: string;
9
10
  };
10
11
  setAuth: (baseUrl: string, apiKey: string, siteId?: string) => void;
11
12
  logout: () => void;
@@ -17,6 +18,7 @@ interface DyrectedContextType {
17
18
  } | null;
18
19
  user: any | null;
19
20
  setToken: (token: string) => void;
21
+ initialToken?: string;
20
22
  components?: {
21
23
  fields?: Record<string, React.ComponentType<any>>;
22
24
  [key: string]: any;
@@ -27,8 +29,10 @@ export interface DyrectedProviderProps {
27
29
  apiKey?: string;
28
30
  baseUrl?: string;
29
31
  siteId?: string;
32
+ initialToken?: string;
33
+ defaultTechStack?: string;
30
34
  components?: DyrectedContextType['components'];
31
35
  }
32
- export declare function DyrectedProvider({ children, apiKey: initialApiKey, baseUrl: initialBaseUrl, siteId: initialSiteId, components }: DyrectedProviderProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function DyrectedProvider({ children, apiKey: initialApiKey, baseUrl: initialBaseUrl, siteId: initialSiteId, initialToken, defaultTechStack, components }: DyrectedProviderProps): import("react/jsx-runtime").JSX.Element;
33
37
  export declare const useDyrected: () => DyrectedContextType;
34
38
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyrected/admin",
3
- "version": "2.5.27",
3
+ "version": "2.5.28",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -62,8 +62,8 @@
62
62
  "tailwind-merge": "^3.5.0",
63
63
  "tailwindcss-animate": "^1.0.7",
64
64
  "zod": "^3.25.76",
65
- "@dyrected/sdk": "^2.5.27",
66
- "@dyrected/core": "^2.5.27"
65
+ "@dyrected/core": "^2.5.28",
66
+ "@dyrected/sdk": "^2.5.28"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@tanstack/react-query": "^5.0.0",