@hylid/types 4.0.26 → 4.0.27-alpha.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/lib/mp.d.ts +1 -17
- package/package.json +1 -1
package/lib/mp.d.ts
CHANGED
|
@@ -38,12 +38,7 @@ export interface MPApi extends Omit<MiniprogramApi, 'request'> {
|
|
|
38
38
|
}): void;
|
|
39
39
|
batchQueryCdpSpaceInfo(args?: any): void;
|
|
40
40
|
exitApp(args?: any): void;
|
|
41
|
-
getAppToken
|
|
42
|
-
appName: string;
|
|
43
|
-
appKey: string;
|
|
44
|
-
} & AsyncCallback<{
|
|
45
|
-
appToken: string;
|
|
46
|
-
}>) => void;
|
|
41
|
+
getAppToken(args?: any): void;
|
|
47
42
|
getComponentAuth(args?: any): void;
|
|
48
43
|
getPaymentCode(args?: any): void;
|
|
49
44
|
getPhoneNumber(args?: any): void;
|
|
@@ -264,17 +259,6 @@ export interface MPApi extends Omit<MiniprogramApi, 'request'> {
|
|
|
264
259
|
animation?: boolean;
|
|
265
260
|
} & AsyncCallback<void>) => void;
|
|
266
261
|
hideBackHome: () => void;
|
|
267
|
-
getClientInfo: (args: AsyncCallback<{
|
|
268
|
-
'client.version': string;
|
|
269
|
-
umidToken?: string;
|
|
270
|
-
'os.name': string;
|
|
271
|
-
verion: string;
|
|
272
|
-
'os.version': string;
|
|
273
|
-
'device.id': string;
|
|
274
|
-
channelId?: string;
|
|
275
|
-
model: string;
|
|
276
|
-
device: string;
|
|
277
|
-
}>) => void;
|
|
278
262
|
}
|
|
279
263
|
export declare type HeadModel = {
|
|
280
264
|
/**
|