hyperapp-is 0.1.44 → 0.1.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.
|
@@ -12,5 +12,5 @@ export type { CarouselState, CarouselController } from "./animationView/carousel
|
|
|
12
12
|
export { Carousel, effect_InitCarousel } from "./animationView/carousel";
|
|
13
13
|
export type { ScrollMargin, MatrixState } from "./dom/utils";
|
|
14
14
|
export { getScrollMargin, getMatrixState } from "./dom/utils";
|
|
15
|
-
export type { GoogleAccountsId, GoogleTokenClient, GoogleAccountsOAuth2, GoogleAccounts, Google, GoogleAuthConfig, GoogleUser, GoogleAuthResult, GoogleScope, GetAccessTokenConfig } from "./services/google";
|
|
15
|
+
export type { GoogleAccountsId, GoogleTokenClient, GoogleAccountsOAuth2, GoogleAccounts, Google, GoogleAuthConfig, GoogleUser, GoogleAuthResult, GoogleScope, GetAccessTokenConfig, GoogleButtonOptions } from "./services/google";
|
|
16
16
|
export { getGoogle, getGoogleAuthResult, getAccessToken, GoogleAuth } from "./services/google";
|
|
@@ -74,7 +74,7 @@ export declare const getGoogle: () => Promise<Google>;
|
|
|
74
74
|
*/
|
|
75
75
|
export declare const getGoogleAuthResult: (idToken: string) => GoogleAuthResult;
|
|
76
76
|
export declare const getAccessToken: (config: GetAccessTokenConfig) => Promise<string>;
|
|
77
|
-
interface GoogleButtonOptions {
|
|
77
|
+
export interface GoogleButtonOptions {
|
|
78
78
|
renderButton?: HTMLElement;
|
|
79
79
|
theme?: "outline" | "filled_blue" | "filled_black";
|
|
80
80
|
size?: "large" | "medium" | "small";
|
|
@@ -84,7 +84,6 @@ interface GoogleButtonOptions {
|
|
|
84
84
|
export declare class GoogleAuth {
|
|
85
85
|
#private;
|
|
86
86
|
constructor(config: GoogleAuthConfig, options?: GoogleButtonOptions);
|
|
87
|
-
initialize(): Promise<GoogleAuthResult
|
|
87
|
+
initialize(): Promise<GoogleAuthResult>;
|
|
88
88
|
logout(hint: string): void;
|
|
89
89
|
}
|
|
90
|
-
export {};
|
|
@@ -155,10 +155,11 @@ export class GoogleAuth {
|
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
157
|
client.prompt((notification) => {
|
|
158
|
-
if (!resolved &&
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
if (!resolved && notification.isNotDisplayed()) {
|
|
159
|
+
console.log("isNotDisplayed");
|
|
160
|
+
}
|
|
161
|
+
if (!resolved && notification.isSkippedMoment()) {
|
|
162
|
+
console.log("isSkippedMoment");
|
|
162
163
|
}
|
|
163
164
|
});
|
|
164
165
|
});
|