next-box 1.3.40 → 1.3.42

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/app.d.ts CHANGED
@@ -18,7 +18,7 @@ export declare class NextBox extends EventEmitter {
18
18
  * In the case when content is written before exiting the application or when writing large files
19
19
  */
20
20
  changeContent(state: boolean): void;
21
- navigate(path: Pick<NavigateState, 'path'>, queryParams?: Pick<NavigateState, 'queryParams'>): void;
21
+ navigate(path: NavigateState['path'], queryParams?: NavigateState['queryParams']): void;
22
22
  /**
23
23
  * Send an event to close the editor
24
24
  */
package/interfaces.d.ts CHANGED
@@ -78,6 +78,9 @@ export interface AppState {
78
78
  name: Lang;
79
79
  type: StorageElementType;
80
80
  };
81
+ app?: {
82
+ path: string;
83
+ };
81
84
  api_prefinx: string;
82
85
  /**
83
86
  * @deprecated since version 1.4.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-box",
3
- "version": "1.3.40",
3
+ "version": "1.3.42",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",