gologin-commonjs 1.1.1 → 1.1.2

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.
@@ -827,14 +827,14 @@ class GoLogin {
827
827
  maxAttempts: 5,
828
828
  });
829
829
  } else {
830
- const t = this.randomGeo(glat, glong, 10);
830
+ const t = this.randomGeo(-6.1864688, 106.829637, 10);
831
831
  data = {
832
832
  body: JSON.stringify({
833
833
  country: "ID",
834
834
  stateProv: "Jakarta",
835
835
  city: "Jakarta",
836
836
  timezone: "Asia/Jakarta",
837
- ll: [t.latitude, t.longitude],
837
+ ll: [t.latitude.toString(), t.longitude.toString()],
838
838
  languages: "id",
839
839
  accuracy: 100,
840
840
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gologin-commonjs",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "A Transpiled GoLogin API ESM to CommonJS",
5
5
  "types": "./types/gologin.d.ts",
6
6
  "main": "./dist/src/gologin.js",