@yorkjs/wechat
Version:
process wechat auth/pay/share tool
7 lines (6 loc) • 573 B
TypeScript
export declare function setAuthPageUnloadTimestamp(): void;
export declare function endAuth(biz: string): void;
export declare function normalizeShareUrl(url: string, callback?: (urlObject: Record<string, string>) => void): string;
export declare function normalizeUrl(url: string, callback?: (urlObject: Record<string, string>) => void): string;
export declare function startAuth(biz: string, url: string, appId: string, componentAppId?: string): void;
export declare function startSilentAuth(biz: string, url: string, appId: string, componentAppId?: string): void;