gologin 2.1.9 → 2.1.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/gologin.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gologin",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
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
@@ -977,12 +977,11 @@ export class GoLogin {
977
977
  await this.uploadProfileCookiesToServer();
978
978
  }
979
979
 
980
- await this.saveBookmarksToDb();
981
-
982
980
  this.is_stopping = true;
983
981
  await this.sanitizeProfile();
984
982
 
985
983
  if (is_posting) {
984
+ await this.saveBookmarksToDb();
986
985
  await this.commitProfile();
987
986
  }
988
987