chayns-api 1.0.43 → 1.0.45

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.
@@ -315,7 +315,6 @@ class FrameWrapper {
315
315
  if (this.initialized) {
316
316
  this.values[type] = value;
317
317
  }
318
- this.values[type] = value;
319
318
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
320
319
  detail: {
321
320
  type,
@@ -309,7 +309,6 @@ export class FrameWrapper {
309
309
  if (this.initialized) {
310
310
  this.values[type] = value;
311
311
  }
312
- this.values[type] = value;
313
312
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
314
313
  detail: {
315
314
  type,
@@ -228,9 +228,7 @@ export declare const getParameters: () => {
228
228
  };
229
229
  export declare const getPages: () => import("../types/IChaynsReact").Page[];
230
230
  export declare const getEnvironment: () => {
231
- buildEnvironment: import("../types/IChaynsReact").Environment; /**
232
- * Refresh badge count in navigation, user information and pages
233
- */
231
+ buildEnvironment: import("../types/IChaynsReact").Environment;
234
232
  runtimeEnvironment: string | import("../types/IChaynsReact").RuntimeEnviroment;
235
233
  };
236
234
  export declare const user: UserInfo;
@@ -248,8 +246,6 @@ export declare const parameters: {
248
246
  };
249
247
  export declare const pages: import("../types/IChaynsReact").Page[];
250
248
  export declare const environment: {
251
- buildEnvironment: import("../types/IChaynsReact").Environment; /**
252
- * Refresh badge count in navigation, user information and pages
253
- */
249
+ buildEnvironment: import("../types/IChaynsReact").Environment;
254
250
  runtimeEnvironment: string | import("../types/IChaynsReact").RuntimeEnviroment;
255
251
  };
@@ -40,6 +40,7 @@ export interface DialogToast {
40
40
  toastType?: ToastType;
41
41
  }
42
42
  export interface DialogFileSelect {
43
+ type: DialogType.FILE_SELECT;
43
44
  multiselect?: boolean;
44
45
  contentType?: Array<string> | string;
45
46
  exclude?: Array<string> | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",