gologin 2.1.3 → 2.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gologin",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "A high-level API to control Orbita browser over GoLogin API",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./src/gologin.js",
package/src/gologin.js CHANGED
@@ -425,9 +425,6 @@ export class GoLogin {
425
425
  const prefFileExists = await access(pref_file_name).then(() => true).catch(() => false);
426
426
  if (!prefFileExists) {
427
427
  debug('Preferences file not exists waiting', pref_file_name, '. Using empty profile');
428
- profile_folder = await this.emptyProfileFolder();
429
- await writeFile(this.profile_zip_path, profile_folder);
430
- await this.extractProfile(profilePath, this.profile_zip_path);
431
428
  await writeFile(pref_file_name, '{}');
432
429
  }
433
430