zmp-sdk 2.51.0-beta.6 → 2.51.1
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/apis/apis/vibrate.js +1 -1
- package/apis/common/utils.js +1 -1
- package/apis/index.d.ts +14 -2
- package/apis/package.json.js +1 -1
- package/browser.min.js +2 -2
- package/index.d.ts +14 -2
- package/index.es.js +2 -2
- package/index.js +2 -2
- package/index.umd.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1340,6 +1340,18 @@ type GetAppInfoReturns = {
|
|
|
1340
1340
|
* Đường dẫn đến hình ảnh logo của Zalo Mini App.
|
|
1341
1341
|
*/
|
|
1342
1342
|
logoUrl?: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* Mã danh mục của Zalo Mini App.
|
|
1345
|
+
*/
|
|
1346
|
+
cateID?: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* Mã định danh của Zalo Mini App.
|
|
1349
|
+
*/
|
|
1350
|
+
appId?: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* Mã định danh của Zalo Mini App theo Zalo App.
|
|
1353
|
+
*/
|
|
1354
|
+
zaloAppId?: string;
|
|
1343
1355
|
};
|
|
1344
1356
|
type GetPhoneNumberReturns = {
|
|
1345
1357
|
/**
|
|
@@ -4299,7 +4311,7 @@ declare const openMiniAppArgs: ZodObject<{
|
|
|
4299
4311
|
*/
|
|
4300
4312
|
declare function openMiniApp(args: AsyncVoidCallback & TypeOf<(typeof openMiniAppArgs)[0]>): Promise<void>;
|
|
4301
4313
|
|
|
4302
|
-
declare const vibrateArgs: ZodObject<{
|
|
4314
|
+
declare const vibrateArgs: ZodOptional<ZodObject<{
|
|
4303
4315
|
type: ZodOptional<ZodDefault<ZodEnum<["oneShot"]>>>;
|
|
4304
4316
|
milliseconds: ZodOptional<ZodNumber>;
|
|
4305
4317
|
}, "strip", ZodTypeAny, {
|
|
@@ -4308,7 +4320,7 @@ declare const vibrateArgs: ZodObject<{
|
|
|
4308
4320
|
}, {
|
|
4309
4321
|
type?: "oneShot" | undefined;
|
|
4310
4322
|
milliseconds?: number | undefined;
|
|
4311
|
-
}
|
|
4323
|
+
}>>[];
|
|
4312
4324
|
/**
|
|
4313
4325
|
* API rung thiết bị.
|
|
4314
4326
|
*
|