@tarojs/taro 3.6.24-nightly.0 → 3.6.24-nightly.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro",
3
- "version": "3.6.24-nightly.0",
3
+ "version": "3.6.24-nightly.1",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,15 +21,15 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.6.24-nightly.0"
24
+ "@tarojs/api": "3.6.24-nightly.1"
25
25
  },
26
26
  "devDependencies": {
27
- "@tarojs/helper": "3.6.24-nightly.0",
28
- "@tarojs/runtime": "3.6.24-nightly.0"
27
+ "@tarojs/helper": "3.6.24-nightly.1",
28
+ "@tarojs/runtime": "3.6.24-nightly.1"
29
29
  },
30
30
  "peerDependencies": {
31
- "@tarojs/helper": "~3.6.24-nightly.0",
32
- "@tarojs/runtime": "~3.6.24-nightly.0"
31
+ "@tarojs/runtime": "~3.6.24-nightly.1",
32
+ "@tarojs/helper": "~3.6.24-nightly.1"
33
33
  },
34
34
  "peerDependenciesMeta": {
35
35
  "@types/react": {
@@ -43,7 +43,7 @@ declare module '../../index' {
43
43
  1
44
44
  }
45
45
  }
46
-
46
+
47
47
  namespace deleteBookshelf {
48
48
  interface Option {
49
49
  /** 要删除的内容分类 */
@@ -115,13 +115,13 @@ declare module '../../index' {
115
115
  1
116
116
  }
117
117
  }
118
-
118
+
119
119
  namespace updateBookshelfReadTime {
120
120
  interface Option {
121
121
  /** 添加的内容分类 */
122
122
  category: keyof Category | string
123
123
  /** 要更新内容的 id;注释:contentId 为内容 id,内容的唯一标识,自定义,最长 22 字符(不能含有空格、中文字符) */
124
- contentIds: string[]
124
+ contentIds: string[]
125
125
  /** 接口调用结束的回调函数(调用成功、失败都会执行) */
126
126
  complete?: (res: TaroGeneral.CallbackResult) => void
127
127
  /** 接口调用失败的回调函数 */
@@ -278,7 +278,7 @@ declare module '../../index' {
278
278
  * @see https://smartprogram.baidu.com/docs/develop/api/open/swan-queryBookshelf/
279
279
  */
280
280
  updateBookshelfReadTime(option: updateBookshelfReadTime.Option): void
281
-
281
+
282
282
  /** 跳转到宿主书架
283
283
  * @supported swan
284
284
  * @swan (需宿主支持书架入口)
@@ -304,4 +304,4 @@ declare module '../../index' {
304
304
  */
305
305
  navigateToBookshelf(option: navigateToBookshelf.Option): void
306
306
  }
307
- }
307
+ }
@@ -145,7 +145,7 @@ declare module '../index' {
145
145
  Current: getCurrentInstance.Current
146
146
 
147
147
  /** Vue3 插件,用于设置 `getApp()` 中的全局变量
148
- * @supported weapp, alipay, h5, rn, jd, qq, swan, tt, quickapp
148
+ * @supported weapp, alipay, h5, rn, jd, qq, swan, tt, quickapp, harmony_hybrid
149
149
  * @example
150
150
  * ```js
151
151
  * // 使用插件
package/types/index.d.ts CHANGED
@@ -191,6 +191,6 @@ declare namespace Taro {
191
191
  interface TaroStatic {}
192
192
  }
193
193
  declare global {
194
- const defineAppConfig: (config: Taro.Config) => Taro.Config
195
- const definePageConfig: (config: Taro.Config) => Taro.Config
194
+ const defineAppConfig: (config: Taro.AppConfig) => Taro.AppConfig
195
+ const definePageConfig: (config: Taro.PageConfig) => Taro.Config
196
196
  }
@@ -34,7 +34,7 @@ declare module './index' {
34
34
  backgroundColor?: string
35
35
  /** 下拉背景字体、loading 图的样式,仅支持 dark/light
36
36
  * 当 app.json 中配置 darkmode 为 true 时可通过变量的形式配置
37
- * @see: https://developers.weixin.qq.com/miniprogram/dev/framework/ability/darkmode.html
37
+ * @see: https://developers.weixin.qq.com/miniprogram/dev/framework/ability/darkmode.html
38
38
  * @default: "dark"
39
39
  */
40
40
  backgroundTextStyle?: 'dark' | 'light' | string