esoftplay 0.0.237 → 0.0.238

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.
@@ -195,12 +195,12 @@ export default {
195
195
  },
196
196
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/lib/navigation.md#reset) untuk melihat dokumentasi*/
197
197
  reset(route?: LibNavigationRoutes, ...routes: LibNavigationRoutes[]): void {
198
+ this._ref?.dispatch?.(StackActions.popToTop());
198
199
  const user = UserClass.state().get()
199
200
  let _route = [route || esp.config('home', (user && (user.id || user.user_id || user.apikey)) ? 'member' : 'public')]
200
201
  if (routes && routes.length > 0) {
201
202
  _route = [..._route, ...routes]
202
203
  }
203
- this._ref?.dispatch?.(StackActions.popToTop());
204
204
  const resetAction = CommonActions.reset({
205
205
  index: _route.length - 1,
206
206
  routes: _route.map((rn) => ({ name: rn }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.237",
3
+ "version": "0.0.238",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",