hyperapp-is 0.1.38 → 0.1.39
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.
|
@@ -76,7 +76,6 @@ export declare const getGoogle: () => Promise<Google>;
|
|
|
76
76
|
export declare const getGoogleAuthResult: (idToken: string) => GoogleAuthResult;
|
|
77
77
|
export declare const getAccessToken: (config: GetAccessTokenConfig) => Promise<string>;
|
|
78
78
|
export declare const effect_googleAuth: <S>(props: {
|
|
79
|
-
state: S;
|
|
80
79
|
config: GoogleAuthConfig;
|
|
81
80
|
renderButton?: HTMLElement;
|
|
82
81
|
renderOptions?: {
|
|
@@ -107,7 +107,7 @@ export const getAccessToken = async (config) => {
|
|
|
107
107
|
// ---------- ---------- ---------- ---------- ----------
|
|
108
108
|
export const effect_googleAuth = function (props) {
|
|
109
109
|
// variable
|
|
110
|
-
const {
|
|
110
|
+
const { config, renderButton, renderOptions, onLoad } = props;
|
|
111
111
|
// result
|
|
112
112
|
return async (dispatch) => {
|
|
113
113
|
// get google api
|