esoftplay 0.0.201 → 0.0.203

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.
Files changed (3) hide show
  1. package/bin/cli.js +2 -3
  2. package/error.ts +2 -0
  3. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -733,8 +733,7 @@ async function publish(notes) {
733
733
  consoleSucces("START PULL OTA..")
734
734
  command('cd /var/www/html/ota && git fetch origin master && git reset --hard FETCH_HEAD && git clean -df')
735
735
  consoleSucces("END PULL OTA..")
736
-
737
- if (readToJSON(confjson).updated < getConfigVersion(ajson.expo.slug)) {
736
+ if ((readToJSON(confjson).updated || 0) < getConfigVersion(ajson.expo.slug)) {
738
737
  consoleError('config.json is outdated, please update to continue!')
739
738
  return
740
739
  }
@@ -1214,7 +1213,7 @@ function build() {
1214
1213
  command('cd /var/www/html/ota && git fetch origin master && git reset --hard FETCH_HEAD && git clean -df')
1215
1214
  consoleSucces("END PULL OTA..")
1216
1215
 
1217
- if (readToJSON(confjson).updated < getConfigVersion(ajson.expo.slug)) {
1216
+ if ((readToJSON(confjson).updated || 0) < getConfigVersion(ajson.expo.slug)) {
1218
1217
  consoleError('config.json is outdated, please update to continue!')
1219
1218
  return
1220
1219
  }
package/error.ts CHANGED
@@ -56,6 +56,7 @@ export function reportApiError(fetch: any, error: any) {
56
56
  'error: ' + error,
57
57
  '\n\n\ndev: ' + Platform.OS + ' - ' + Constants.deviceName,
58
58
  'time: ' + getTime(),
59
+ 'runtimeVersion:' + app.expo.runtimeVersion,
59
60
  'app/pub_id: ' + Constants.appOwnership + '/' + (config?.publish_id || '-'),
60
61
  'user_id: ' + user?.id || user?.user_id || '-',
61
62
  'username: ' + user?.username || '-',
@@ -116,6 +117,7 @@ export function getError() {
116
117
  '\n\nname: ' + expoConfig?.name + ' - sdk' + pack?.dependencies?.expo,
117
118
  'time: \n' + _e?.time,
118
119
  'domain: ' + config.domain + config.uri,
120
+ 'runtimeVersion:' + app.expo.runtimeVersion,
119
121
  'package: ' + (Platform.OS == 'ios' ? expoConfig?.ios?.bundleIdentifier : expoConfig?.android?.package) + ' - v' + (Platform.OS == 'ios' ? app.expo.ios.buildNumber : app.expo.android.versionCode),
120
122
  'device: ' + Platform.OS + ' | ' + Constants.deviceName,
121
123
  'native/pub_id: ' + expoConfig?.sdkVersion + '/' + (config?.publish_id || '-'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.201",
3
+ "version": "0.0.203",
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",