@gup-fe/js-sdk 2.5.0 → 2.6.0
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.
- package/dist/index.d.ts +7 -0
- package/dist/js-sdk.bundle.js +3947 -3874
- package/dist/js-sdk.bundle.umd.js +11 -11
- package/dist/js-sdk.js +2441 -2368
- package/dist/js-sdk.umd.js +9 -9
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -131,6 +131,12 @@ export declare const logout: (gameId?: string) => void;
|
|
|
131
131
|
|
|
132
132
|
export declare function MobileLogin(): JSX.Element;
|
|
133
133
|
|
|
134
|
+
export declare function openUserCenter({ gameId }?: {
|
|
135
|
+
gameId?: string;
|
|
136
|
+
}): {
|
|
137
|
+
close: () => void;
|
|
138
|
+
};
|
|
139
|
+
|
|
134
140
|
export declare interface PassAccount {
|
|
135
141
|
type: number;
|
|
136
142
|
uid: string;
|
|
@@ -241,6 +247,7 @@ export declare const SDK: {
|
|
|
241
247
|
logout: (gameId?: string) => void;
|
|
242
248
|
getUserInfo: (gameId?: string) => UserInfo;
|
|
243
249
|
isLoggedIn: (gameId?: string) => boolean;
|
|
250
|
+
openUserCenter: typeof openUserCenter;
|
|
244
251
|
};
|
|
245
252
|
|
|
246
253
|
declare interface StyleVars {
|