gologin 2.1.27 → 2.1.28

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/CHANGELOG.md CHANGED
@@ -2,7 +2,14 @@
2
2
 
3
3
  Combined changelog for GoLogin node.js SDK
4
4
 
5
- ## [2.1.26] 2025-07-02
5
+ ## [2.1.27] 2025-07-10
6
+
7
+
8
+ ### Fixes
9
+
10
+ * Added removing Sync Data folder to prevent crashes
11
+
12
+ ## [2.1.27] 2025-07-10
6
13
 
7
14
 
8
15
  ### New
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gologin",
3
- "version": "2.1.27",
3
+ "version": "2.1.28",
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
@@ -155,10 +155,6 @@ export class GoLogin {
155
155
  return JSON.parse(profileResponse);
156
156
  }
157
157
 
158
- async emptyProfile() {
159
- return readFile(_resolve(__dirname, 'gologin_zeroprofile.b64')).then(res => res.toString());
160
- }
161
-
162
158
  async getProfileS3() {
163
159
  const token = this.access_token;
164
160
  debug('getProfileS3 token=', token, 'profile=', this.profile_id);
@@ -489,6 +485,7 @@ export class GoLogin {
489
485
  await this.downloadProfileAndExtract(profile, local);
490
486
  }
491
487
 
488
+ await _promises.rm(join(profilePath, 'Default', 'Sync Data'), { recursive: true }).catch(() => null);
492
489
  const pref_file_name = join(profilePath, 'Default', 'Preferences');
493
490
  debug('reading', pref_file_name);
494
491
 
@@ -1094,6 +1091,7 @@ export class GoLogin {
1094
1091
  `${SEPARATOR}Default${SEPARATOR}GPUCache`,
1095
1092
  `${SEPARATOR}Default${SEPARATOR}DawnCache`,
1096
1093
  `${SEPARATOR}Default${SEPARATOR}fonts_config`,
1094
+ `${SEPARATOR}Default${SEPARATOR}Sync Data`,
1097
1095
  `${SEPARATOR}GrShaderCache`,
1098
1096
  `${SEPARATOR}ShaderCache`,
1099
1097
  `${SEPARATOR}biahpgbdmdkfgndcmfiipgcebobojjkp`,