zmp-sdk 2.49.4 → 2.49.5
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/index.d.ts +2 -2
- package/apis/package.json.js +1 -1
- package/browser.min.js +3 -3
- package/index.d.ts +2 -2
- package/index.es.js +3 -3
- package/index.js +3 -3
- package/index.umd.js +3 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4099,7 +4099,7 @@ declare const openMiniAppArgs: ZodObject<{
|
|
|
4099
4099
|
*/
|
|
4100
4100
|
declare function openMiniApp(args: AsyncVoidCallback & TypeOf<(typeof openMiniAppArgs)[0]>): Promise<void>;
|
|
4101
4101
|
|
|
4102
|
-
declare const vibrateArgs: ZodObject<{
|
|
4102
|
+
declare const vibrateArgs: ZodOptional<ZodObject<{
|
|
4103
4103
|
type: ZodOptional<ZodDefault<ZodEnum<["oneShot"]>>>;
|
|
4104
4104
|
milliseconds: ZodOptional<ZodNumber>;
|
|
4105
4105
|
}, "strip", ZodTypeAny, {
|
|
@@ -4108,7 +4108,7 @@ declare const vibrateArgs: ZodObject<{
|
|
|
4108
4108
|
}, {
|
|
4109
4109
|
type?: "oneShot" | undefined;
|
|
4110
4110
|
milliseconds?: number | undefined;
|
|
4111
|
-
}
|
|
4111
|
+
}>>[];
|
|
4112
4112
|
/**
|
|
4113
4113
|
* API rung thiết bị.
|
|
4114
4114
|
*
|