📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

miniprogram-api-typings

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

miniprogram-api-typings - npm Package Compare versions

Comparing version

to
4.0.6

@@ -0,1 +1,4 @@

## 2025-04-18 v4.0.6
- 更新 API 定义到 3.8.0
## 2025-02-08 v4.0.5

@@ -27,3 +30,3 @@ - 修复 `setTimeout` 和 `setInterval` 的参数 ([#323](https://github.com/wechat-miniprogram/api-typings/issues/323))

2. `Behavior()` 的返回值不再是 `string`(或者说不完全是),之前使用 `string` 接受 `Behavior()` 返回值的实现需要修改为 `WechatMiniprogram.Behavior.BehaviorIdentifier`;
3. 自定义组件的 `this.data` 和 `this.property` 的推导类型可能会有所变化,需要根据推导类型进行响应改动。
3. 自定义组件的 `this.data` 和 `this.property` 的推导类型可能会有所变化,需要根据推导类型进行相应改动。

@@ -30,0 +33,0 @@ ## 2024-08-08 v3.12.3

{
"name": "miniprogram-api-typings",
"version": "4.0.5",
"version": "4.0.6",
"description": "Type definitions for APIs of Wechat Mini Program in TypeScript",

@@ -5,0 +5,0 @@ "main": "./index.d.ts",

Sorry, the diff of this file is too big to display