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
|
// ---------- ---------- ---------- ---------- ----------
|