@tarojs/runtime-rn 3.6.6-alpha.1 → 3.6.6

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/runtime-rn",
3
- "version": "3.6.6-alpha.1",
3
+ "version": "3.6.6",
4
4
  "description": "taro-runtime-rn",
5
5
  "main": "dist/index.js",
6
6
  "types": "./src/index.ts",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "react-native-root-siblings": "^4.1.1",
24
- "@tarojs/components-rn": "3.6.6-alpha.1",
25
- "@tarojs/router-rn": "3.6.6-alpha.1"
24
+ "@tarojs/components-rn": "3.6.6",
25
+ "@tarojs/router-rn": "3.6.6"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/react-native": "^0.69.8"
@@ -159,7 +159,7 @@ export interface AppConfig {
159
159
  tabBar?: TabBar
160
160
  subPackages?: SubPackage[]
161
161
  subpackages?: SubPackage[]
162
- designWidth: number | ((size: number) => number)
162
+ designWidth: number | ((size?: string | number) => number)
163
163
  deviceRatio: Record<string, number>
164
164
  linkPrefix: string[]
165
165
  rn?: any