hyperapp-is 0.1.34 → 0.1.35

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.
@@ -78,7 +78,11 @@ export const googleAuth = async (config) => {
78
78
  }
79
79
  }); // end initialize
80
80
  // show prompt
81
- client.prompt();
81
+ client.prompt((notification) => {
82
+ if (notification.isNotDisplayed() || notification.isSkippedMoment()) {
83
+ reject(new Error("Prompt skipped or not displayed"));
84
+ }
85
+ });
82
86
  }); // end result
83
87
  };
84
88
  // ---------- ---------- ---------- ---------- ----------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperapp-is",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "UI foundation library for Hyperapp by is4416",
5
5
  "license": "MIT",
6
6
  "type": "module",