@tarojs/plugin-platform-swan 3.6.0-beta.2 → 3.6.0-beta.3
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 +4 -4
- package/types/shims-swan.d.ts +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/plugin-platform-swan",
|
|
3
|
-
"version": "3.6.0-beta.
|
|
3
|
+
"version": "3.6.0-beta.3",
|
|
4
4
|
"description": "百度小程序平台插件",
|
|
5
5
|
"author": "Chen-jj",
|
|
6
6
|
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-swan#readme",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"url": "https://github.com/NervJS/taro/issues"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tarojs/components": "3.6.0-beta.
|
|
27
|
-
"@tarojs/service": "3.6.0-beta.
|
|
28
|
-
"@tarojs/shared": "3.6.0-beta.
|
|
26
|
+
"@tarojs/components": "3.6.0-beta.3",
|
|
27
|
+
"@tarojs/service": "3.6.0-beta.3",
|
|
28
|
+
"@tarojs/shared": "3.6.0-beta.3"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "rollup -c",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import '@tarojs/components/types/Form'
|
|
2
|
+
|
|
3
|
+
import { StandardProps } from '@tarojs/components/types/common'
|
|
4
|
+
|
|
5
|
+
declare module '@tarojs/components/types/form' {
|
|
6
|
+
interface FormProps extends StandardProps {
|
|
7
|
+
/** 是否开启免授权订阅。report-type 为 subscribe,template-id 与 subscribe-id 必填时设置该属性生效。
|
|
8
|
+
* @note 只有白名单内小程序可使用此功能。
|
|
9
|
+
* @supported swan
|
|
10
|
+
*/
|
|
11
|
+
skipSubscribeAuthorize?: boolean
|
|
12
|
+
}
|
|
13
|
+
}
|