@appkit/dek-lib 0.53.0 → 0.57.0

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,4 +1,4 @@
1
1
  import { DekPluginFactory } from '@appkit/dek-plugin';
2
- export declare function updateData(authToken: string, plugin?: DekPluginFactory): Promise<void>;
3
- export declare function watchForDataChanges(authToken: string, cb: () => void): void;
4
- export declare function authorize(email: string, password: string): Promise<string>;
2
+ export declare function updateData(authToken: string, apiUrl: string, plugin?: DekPluginFactory): Promise<void>;
3
+ export declare function watchForDataChanges(authToken: string, apiUrl: string, cb: () => void): void;
4
+ export declare function authorize(email: string, password: string, apiUrl: string): Promise<string>;
@@ -1,2 +1,2 @@
1
- declare function useAuthorization(email: string, password: string): string;
1
+ declare function useAuthorization(email: string, password: string, apiUrl: string): string;
2
2
  export default useAuthorization;
@@ -1,4 +1,4 @@
1
1
  import { DekPluginFactory } from '@appkit/dek-plugin';
2
2
  import { LibraryState } from '../state';
3
- declare function useUserConfigLoader(authToken: string, plugin?: DekPluginFactory, pluginConfig?: any): Readonly<LibraryState>;
3
+ declare function useUserConfigLoader(authToken: string, apiUrl: string, plugin?: DekPluginFactory, pluginConfig?: any): Readonly<LibraryState>;
4
4
  export default useUserConfigLoader;
@@ -1,5 +1,5 @@
1
1
  import { DekPluginFactory } from '@appkit/dek-plugin';
2
- export declare function updatePlugins(authToken: string): Promise<void>;
2
+ export declare function updatePlugins(authToken: string, apiUrl: string): Promise<void>;
3
3
  export declare function unloadPlugins(): Promise<void>;
4
4
  export declare function updateLocalPlugin(plugin: DekPluginFactory, pluginConfig: any): Promise<void>;
5
5
  export declare function unloadLocalPlugin(): Promise<void>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appkit/dek-lib",
3
3
  "private": false,
4
- "version": "0.53.0",
4
+ "version": "0.57.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 5173 --host",