gologin-commonjs 1.1.4 → 1.1.5

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.
@@ -654,7 +654,7 @@ class GoLogin {
654
654
  };
655
655
  }
656
656
  debug("getTimeZone finish", data.body);
657
- this._tz = JSON.parse(data.body);
657
+ this._tz = data.body;
658
658
  return this._tz.timezone;
659
659
  }
660
660
  async getTimezoneWithSocks(params) {
@@ -875,7 +875,7 @@ export class GoLogin {
875
875
  }
876
876
 
877
877
  debug("getTimeZone finish", data.body);
878
- this._tz = JSON.parse(data.body);
878
+ this._tz = data.body;
879
879
 
880
880
  return this._tz.timezone;
881
881
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gologin-commonjs",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "A Transpiled GoLogin API ESM to CommonJS",
5
5
  "types": "./types/gologin.d.ts",
6
6
  "main": "./dist/src/gologin.js",