@tarojs/taro-rn 3.5.0 → 3.5.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/apiList.js CHANGED
@@ -4,6 +4,7 @@ module.exports = [
4
4
  'getCurrentInstance',
5
5
  'useDidShow',
6
6
  'useDidHide',
7
+ 'useReady',
7
8
  'useRouter',
8
9
  'usePullDownRefresh',
9
10
  'useReachBottom',
package/dist/api/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Current, getCurrentInstance, useDidShow, useDidHide, useRouter, usePullDownRefresh, useReachBottom, usePageScroll, useTabItemTap, useResize, eventCenter, Events, navigateTo, redirectTo, navigateBack, switchTab, reLaunch, showTabBar, hideTabBar, showTabBarRedDot, hideTabBarRedDot, setTabBarBadge, removeTabBarBadge, setTabBarItem, setNavigationBarTitle, setNavigationBarColor, showNavigationBarLoading, hideNavigationBarLoading, setTabBarStyle, getApp, pxTransform, startPullDownRefresh, stopPullDownRefresh, pageScrollTo, setBackgroundColor, setBackgroundTextStyle, getCurrentPages } from '@tarojs/runtime-rn';
1
+ export { Current, getCurrentInstance, useDidShow, useDidHide, useReady, useRouter, usePullDownRefresh, useReachBottom, usePageScroll, useTabItemTap, useResize, eventCenter, Events, navigateTo, redirectTo, navigateBack, switchTab, reLaunch, showTabBar, hideTabBar, showTabBarRedDot, hideTabBarRedDot, setTabBarBadge, removeTabBarBadge, setTabBarItem, setNavigationBarTitle, setNavigationBarColor, showNavigationBarLoading, hideNavigationBarLoading, setTabBarStyle, getApp, pxTransform, startPullDownRefresh, stopPullDownRefresh, pageScrollTo, setBackgroundColor, setBackgroundTextStyle, getCurrentPages } from '@tarojs/runtime-rn';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,aAAa,EACb,SAAS,EACT,WAAW,EACX,MAAM,EACN,UAAU,EACV,UAAU,EACV,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,cAAc,EACd,MAAM,EACN,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EAChB,MAAM,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,aAAa,EACb,SAAS,EACT,WAAW,EACX,MAAM,EACN,UAAU,EACV,UAAU,EACV,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,cAAc,EACd,MAAM,EACN,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EAChB,MAAM,oBAAoB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro-rn",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Taro RN framework",
5
5
  "main": "dist/index.js",
6
6
  "typings": "types/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@react-native-community/clipboard": "~1.5.1",
27
27
  "@react-native-community/geolocation": "~2.0.2",
28
28
  "@react-native-community/netinfo": "~7.1.2",
29
- "@tarojs/runtime-rn": "3.5.0",
29
+ "@tarojs/runtime-rn": "3.5.1",
30
30
  "babel-preset-expo": "~9.0.2",
31
31
  "base64-js": "^1.3.0",
32
32
  "deprecated-react-native-prop-types": "^2.3.0",
@@ -87,7 +87,7 @@
87
87
  "lint": "eslint .",
88
88
  "test": "jest --silent",
89
89
  "test:dev": "jest --watch",
90
- "test:ci": "jest -i --silent --coverage false",
90
+ "test:ci": "jest --ci -i --silent --coverage false",
91
91
  "test:coverage": "jest --coverage",
92
92
  "script": "node ./script"
93
93
  }
package/src/api/index.ts CHANGED
@@ -3,6 +3,7 @@ export {
3
3
  getCurrentInstance,
4
4
  useDidShow,
5
5
  useDidHide,
6
+ useReady,
6
7
  useRouter,
7
8
  usePullDownRefresh,
8
9
  useReachBottom,