esoftplay 0.0.113-d → 0.0.113-e

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/bin/cli.js CHANGED
@@ -1,6 +1,4 @@
1
1
  #!/usr/bin/env node
2
-
3
- const { spawn } = require('child_process');
4
2
  const fs = require('fs');
5
3
  const exec = require('child_process').execSync;
6
4
  const path = require('path');
@@ -29,7 +29,7 @@ export default class m {
29
29
  },
30
30
  (msg) => {
31
31
  LibProgress.hide()
32
- esp.log('Document Gagal di Upload', msg.msg)
32
+ esp.log('Document Gagal di Upload', msg.message)
33
33
  }
34
34
  )
35
35
  })
@@ -222,7 +222,7 @@ class m extends LibComponent<LibImageProps, LibImageState> {
222
222
  }
223
223
  },
224
224
  (msg: any) => {
225
- console.log(msg.msg, "NOOO")
225
+ console.log(msg.message, "NOOO")
226
226
  if (x.length - 1 == i)
227
227
  LibProgress.hide()
228
228
  }, 1)
@@ -261,7 +261,7 @@ class m extends LibComponent<LibImageProps, LibImageState> {
261
261
  },
262
262
  (msg: any) => {
263
263
  LibProgress.hide()
264
- r(msg.msg);
264
+ r(msg.message);
265
265
  }, 1)
266
266
  }, 1);
267
267
  }
@@ -134,12 +134,12 @@ export default class m extends LibComponent<LibInfiniteProps, LibInfiniteState>{
134
134
  },
135
135
  (msg) => {
136
136
  if (this.props.isDebug) {
137
- esp.log(msg.msg)
137
+ esp.log(msg.message)
138
138
  }
139
139
  this.page = page
140
140
  this.isStop = true
141
141
  this.setState({
142
- error: msg.msg,
142
+ error: msg.message,
143
143
  })
144
144
  }, this.props.isDebug
145
145
  )
@@ -74,7 +74,7 @@ export default class m extends LibComponent<LibRollProps, LibRollState>{
74
74
  })
75
75
  },
76
76
  (_msg) => {
77
- this.setState({ msg: _msg.msg })
77
+ this.setState({ msg: _msg.message })
78
78
  }
79
79
  )
80
80
  else
@@ -16,7 +16,7 @@ export default function m(initialWithLoading?: boolean, withProgressText?: strin
16
16
  }, (msg) => {
17
17
  LibProgress.hide()
18
18
  setLoading(false)
19
- setError(msg.msg)
19
+ setError(msg.message)
20
20
  }, debug)
21
21
  }
22
22
  return [curl, loading, error]
@@ -111,7 +111,7 @@ export default class eclass {
111
111
  AsyncStorage.setItem("token", String(token))
112
112
  resolve(res)
113
113
  }, (msg) => {
114
- resolve(msg.msg)
114
+ resolve(msg.message)
115
115
  })
116
116
  })
117
117
  }
@@ -90,7 +90,7 @@ export default class euserLogin extends LibComponent<UserLoginProps, UserLoginSt
90
90
  },
91
91
  (msg) => {
92
92
  // console.log("gagal => " + msg, email)
93
- this.onFailedLogin(msg.msg)
93
+ this.onFailedLogin(msg.message)
94
94
  this.setState({ isLoading: false, email: "" })
95
95
  }, 1
96
96
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.113-d",
3
+ "version": "0.0.113-e",
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",