esoftplay 0.0.241 → 0.0.242

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.
@@ -183,17 +183,15 @@ export default {
183
183
  },
184
184
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/lib/navigation.md#replace) untuk melihat dokumentasi*/
185
185
  replace<S extends keyof EspArgsInterface>(route: S, params?: EspArgsInterface[S]): void {
186
- doIt(() => {
187
- this._ref.dispatch(
188
- StackActions.replace(replaceModuleByUrlParam(params, route), params)
189
- )
190
- })
186
+ logArgs(params)
187
+ this._ref?.dispatch?.(
188
+ StackActions.replace(replaceModuleByUrlParam(params, route), params)
189
+ )
191
190
  },
192
191
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/lib/navigation.md#push) untuk melihat dokumentasi*/
193
192
  push<S extends keyof EspArgsInterface>(route: S, params?: EspArgsInterface[S]): void {
194
193
  logArgs(params)
195
194
  doIt(() => {
196
-
197
195
  this._ref?.dispatch?.(
198
196
  StackActions.push(
199
197
  replaceModuleByUrlParam(params, route),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.241",
3
+ "version": "0.0.242",
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",