esoftplay-event 0.0.1-e → 0.0.1-f

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/config.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "fonts": {
3
- "mono": "mono.ttf",
4
3
  "Arial": "Arial.ttf",
5
4
  "ArialBold": "ArialBold.ttf",
6
5
  "SFProText": "SFProText.ttf",
6
+ "mono": "mono.ttf",
7
7
  "MonoSpace": "MonoSpace.ttf",
8
8
  "DecoNumbers": "DecoNumbers.ttf",
9
9
  "digital": "digital.ttf"
@@ -70,7 +70,10 @@ export default function m(props: EventOrder_detail_upgrade_paymentProps): any {
70
70
  new LibCurl('event_order_detail_upgrade_checkout', post, (res, msg) => {
71
71
  LibProgress.hide()
72
72
  LibNavigation.reset()
73
- if (res?.hasOwnProperty('url_web') && res?.url_web != null) {
73
+ if (res?.hasOwnProperty('url_mobile') && res?.url_mobile != null) {
74
+ Linking.openURL(res?.url_mobile)
75
+ LibNavigation.push('event/order_detail_waiting', { url: res?.url })
76
+ } else if (res?.hasOwnProperty('url_web') && res?.url_web != null) {
74
77
  LibNavigation.navigateForResult('payment/cc_web', {
75
78
  ...res,
76
79
  statusSuccess: [1]
@@ -84,9 +87,6 @@ export default function m(props: EventOrder_detail_upgrade_paymentProps): any {
84
87
  LibNavigation.push('event/order')
85
88
  }
86
89
  })
87
- } else if (res?.hasOwnProperty('url_mobile') && res?.url_mobile != null) {
88
- Linking.openURL(res?.url_mobile)
89
- LibNavigation.push('event/order_detail_waiting', { url: res?.url })
90
90
  } else {
91
91
  if (res?.url?.includes("waiting")) {
92
92
  LibNavigation.push('event/order_waiting')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay-event",
3
- "version": "0.0.1-e",
3
+ "version": "0.0.1-f",
4
4
  "description": "event module on esoftplay framework",
5
5
  "main": "index.js",
6
6
  "scripts": {