gologin 2.1.27 → 2.1.29
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 +15 -1
- package/package.json +1 -1
- package/src/gologin.js +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Combined changelog for GoLogin node.js SDK
|
|
4
4
|
|
|
5
|
-
## [2.1.
|
|
5
|
+
## [2.1.29] 2025-07-11
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Fixes
|
|
9
|
+
|
|
10
|
+
* Free proxy support on orbita 135+
|
|
11
|
+
|
|
12
|
+
## [2.1.28] 2025-07-10
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Fixes
|
|
16
|
+
|
|
17
|
+
* Added removing Sync Data folder to prevent crashes
|
|
18
|
+
|
|
19
|
+
## [2.1.27] 2025-07-10
|
|
6
20
|
|
|
7
21
|
|
|
8
22
|
### New
|
package/package.json
CHANGED
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);
|
|
@@ -331,6 +327,11 @@ export class GoLogin {
|
|
|
331
327
|
}
|
|
332
328
|
|
|
333
329
|
proxyServer += `${profileData.proxy.host}:${profileData.proxy.port}`;
|
|
330
|
+
|
|
331
|
+
if (profileData.proxy.mode === 'gologin') {
|
|
332
|
+
proxyServer = profileData.autoProxyServer;
|
|
333
|
+
}
|
|
334
|
+
|
|
334
335
|
preferences.proxy = {
|
|
335
336
|
...preferences.proxy,
|
|
336
337
|
mode: 'fixed_servers',
|
|
@@ -489,6 +490,7 @@ export class GoLogin {
|
|
|
489
490
|
await this.downloadProfileAndExtract(profile, local);
|
|
490
491
|
}
|
|
491
492
|
|
|
493
|
+
await _promises.rm(join(profilePath, 'Default', 'Sync Data'), { recursive: true }).catch(() => null);
|
|
492
494
|
const pref_file_name = join(profilePath, 'Default', 'Preferences');
|
|
493
495
|
debug('reading', pref_file_name);
|
|
494
496
|
|
|
@@ -1094,6 +1096,7 @@ export class GoLogin {
|
|
|
1094
1096
|
`${SEPARATOR}Default${SEPARATOR}GPUCache`,
|
|
1095
1097
|
`${SEPARATOR}Default${SEPARATOR}DawnCache`,
|
|
1096
1098
|
`${SEPARATOR}Default${SEPARATOR}fonts_config`,
|
|
1099
|
+
`${SEPARATOR}Default${SEPARATOR}Sync Data`,
|
|
1097
1100
|
`${SEPARATOR}GrShaderCache`,
|
|
1098
1101
|
`${SEPARATOR}ShaderCache`,
|
|
1099
1102
|
`${SEPARATOR}biahpgbdmdkfgndcmfiipgcebobojjkp`,
|