esoftplay 0.0.244 → 0.0.246

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/build.js CHANGED
@@ -346,7 +346,6 @@ export default function App() {
346
346
  'react-native-image-crop-picker',
347
347
  'react-native-keyboard-controller',
348
348
  'react-native-mmkv',
349
- 'react-native-pan-pinch-view',
350
349
  'react-native-reanimated',
351
350
  'react-native-safe-area-context',
352
351
  'react-native-screens',
@@ -6,13 +6,11 @@ import esp from 'esoftplay/esp';
6
6
 
7
7
  //api_logger_import
8
8
 
9
-
10
9
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/lib/curl.md) untuk melihat dokumentasi*/
11
10
  export default class m {
12
11
  controller = new AbortController()
13
12
  signal = this.controller.signal
14
13
  timeout = 30000;
15
- // maxRetry = 3;
16
14
  resStatus?: number = undefined
17
15
  timeoutContext: any = null;
18
16
  isDebug = esp.config("isDebug");
@@ -56,9 +54,9 @@ export default class m {
56
54
  }
57
55
 
58
56
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/lib/curl.md#await) untuk melihat dokumentasi*/
59
- static async(uriOrUrl: string, post: any): Promise<{ ok: 0 | 1, message: string, result: any }> {
57
+ static async(uriOrUrl: string, post?: any): Promise<{ ok: 0 | 1, message: string, result: any }> {
60
58
  return new Promise((resolve, reject) => {
61
- new (esp.mod("lib/curl"))(uriOrUrl, post,
59
+ new (m)(uriOrUrl, post,
62
60
  (result, message) => {
63
61
  resolve({ ok: 1, result, message })
64
62
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.244",
3
+ "version": "0.0.246",
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",