esoftplay 0.0.269-beta6ae30d2 → 0.0.269-beta922a8d5

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.
@@ -6,6 +6,7 @@ import { LibCrypt } from 'esoftplay/cache/lib/crypt/import';
6
6
  import { reportApiError } from "esoftplay/error";
7
7
  import { File } from 'expo-file-system';
8
8
 
9
+ //api_logger_import
9
10
 
10
11
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/lib/curl.md) untuk melihat dokumentasi*/
11
12
  export default class m {
@@ -386,7 +387,9 @@ export default class m {
386
387
  await this.setHeader();
387
388
  if (!upload)
388
389
  this.header["Content-Type"] = "application/x-www-form-urlencoded;charset=UTF-8"
389
-
390
+ else
391
+ delete this.header["Content-Type"]
392
+
390
393
  let options: any = {
391
394
  method: !this.post ? "GET" : "POST",
392
395
  headers: this.header,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.269-beta6ae30d2",
3
+ "version": "0.0.269-beta922a8d5",
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",