blue-web 1.0.1 → 1.0.2

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.
@@ -10,3 +10,8 @@ export interface DialogOptions {
10
10
  export declare function ask(text: string, options?: DialogOptions): Promise<string | boolean>;
11
11
  export declare function tell(text: string, options?: DialogOptions): Promise<void>;
12
12
  export declare function verify(text: string, options?: DialogOptions): Promise<boolean>;
13
+ declare global {
14
+ interface Window {
15
+ blueWeb: any;
16
+ }
17
+ }
package/dist/js/dialog.js CHANGED
@@ -69,4 +69,10 @@ async function dialog(dialogType, text) {
69
69
  resolve(true);
70
70
  });
71
71
  });
72
- }
72
+ }
73
+ window.blueWeb = window.blueWeb || {};
74
+ window.blueWeb.dialog = {
75
+ ask,
76
+ tell,
77
+ verify
78
+ };