@interopio/browser-platform 3.5.12 → 4.0.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.
- package/browser.platform.d.ts +35 -1
- package/changelog.md +2 -0
- package/dist/browser.platform.es.js +12 -10
- package/dist/browser.platform.es.js.map +1 -1
- package/dist/browser.platform.umd.js +12 -10
- package/dist/browser.platform.umd.js.map +1 -1
- package/package.json +10 -10
package/browser.platform.d.ts
CHANGED
|
@@ -275,6 +275,9 @@ export namespace IOConnectBrowserPlatform {
|
|
|
275
275
|
clients?: {
|
|
276
276
|
buffer_size?: number
|
|
277
277
|
}
|
|
278
|
+
bridge?: {
|
|
279
|
+
url: string
|
|
280
|
+
}
|
|
278
281
|
}
|
|
279
282
|
}
|
|
280
283
|
|
|
@@ -520,6 +523,8 @@ export namespace IOConnectBrowserPlatform {
|
|
|
520
523
|
firstName?: string;
|
|
521
524
|
lastName?: string;
|
|
522
525
|
email?: string;
|
|
526
|
+
type?: string;
|
|
527
|
+
role?: string;
|
|
523
528
|
meta?: any;
|
|
524
529
|
}
|
|
525
530
|
}
|
|
@@ -532,7 +537,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
532
537
|
|
|
533
538
|
export namespace Widget {
|
|
534
539
|
|
|
535
|
-
export type DefaultConfig = Omit<IOConnectBrowser.
|
|
540
|
+
export type DefaultConfig = Omit<IOConnectBrowser.WidgetConfig, "enable">;
|
|
536
541
|
|
|
537
542
|
export interface Config {
|
|
538
543
|
sources: Sources;
|
|
@@ -543,6 +548,33 @@ export namespace IOConnectBrowserPlatform {
|
|
|
543
548
|
export interface Sources {
|
|
544
549
|
bundle: string;
|
|
545
550
|
styles: string[];
|
|
551
|
+
fonts?: string[];
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export namespace Modals {
|
|
556
|
+
export interface Config {
|
|
557
|
+
sources: Sources;
|
|
558
|
+
blockList?: string[];
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export interface Sources {
|
|
562
|
+
bundle: string;
|
|
563
|
+
styles: string[];
|
|
564
|
+
fonts?: string[];
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export namespace IntentResolver {
|
|
569
|
+
export interface Config {
|
|
570
|
+
sources: Sources;
|
|
571
|
+
blockList?: string[];
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export interface Sources {
|
|
575
|
+
bundle: string;
|
|
576
|
+
styles: string[];
|
|
577
|
+
fonts?: string[];
|
|
546
578
|
}
|
|
547
579
|
}
|
|
548
580
|
|
|
@@ -567,6 +599,8 @@ export namespace IOConnectBrowserPlatform {
|
|
|
567
599
|
applicationPreferences?: Prefs.Config;
|
|
568
600
|
otel?: Otel.Config;
|
|
569
601
|
widget?: Widget.Config;
|
|
602
|
+
modals?: Modals.Config;
|
|
603
|
+
intentResolver?: IntentResolver.Config;
|
|
570
604
|
browserFactory?: (config?: IOConnectBrowser.Config) => Promise<IOConnectBrowser.API>;
|
|
571
605
|
}
|
|
572
606
|
|