Skip to content

Commit c4f4e7e

Browse files
committed
feat: update baselib defs to 2.29.1
1 parent 9abb5c0 commit c4f4e7e

16 files changed

+1837
-1172
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2023-01-12 v3.9.0
2+
- 更新 API 定义到 2.29.1
3+
- 将 xr-frame 的命名空间由 `WechatXrFrame` 改为 `XrFrame`。这是一个 **破坏性改动**
4+
15
## 2022-09-09 v3.6.0
26
- 更新 API 定义到 2.26.0
37
- 更改了部分监听方法及其参数的命名

README-en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Both PR and issue are welcomed for definitions of pages (`Page`), custom compone
5555
- [Mr.Hope](https://github.com/Mister-Hope)
5656
- [chs97](https://github.com/chs97)
5757
- [Jelf](https://github.com/okxiaoliang4)
58+
- [xieyuhang](https://github.com/haiya6)
5859

5960
### Automated tests
6061

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ API 的定义文件(`lib.wx.api.d.ts`)是随 [文档](https://developers.wei
5555
- [Mr.Hope](https://github.com/Mister-Hope)
5656
- [chs97](https://github.com/chs97)
5757
- [Jelf](https://github.com/okxiaoliang4)
58+
- [xieyuhang](https://github.com/haiya6)
5859

5960
### 测试
6061

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "miniprogram-api-typings",
3-
"version": "3.8.1",
3+
"version": "3.9.0",
44
"description": "Type definitions for APIs of Wechat Mini Program in TypeScript",
55
"main": "./index.d.ts",
66
"types": "./index.d.ts",

test/xr-frame.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expectType } from 'tsd'
22

3-
import * as XrFrame from 'WechatXrFrame'
3+
import type * as XrFrame from 'XrFrame'
44

55
const xrFrameSystem = wx.getXrFrameSystem()
66

types/wx/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*! *****************************************************************************
2-
Copyright (c) 2022 Tencent, Inc. All rights reserved.
2+
Copyright (c) 2023 Tencent, Inc. All rights reserved.
33
44
Permission is hereby granted, free of charge, to any person obtaining a copy of
55
this software and associated documentation files (the "Software"), to deal in

0 commit comments

Comments
 (0)