gologin 2.0.18 → 2.0.19

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gologin",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "description": "A high-level API to control Orbita browser over GoLogin API",
5
5
  "main": "./src/gologin.js",
6
6
  "repository": {
package/src/gologin.js CHANGED
@@ -193,7 +193,7 @@ export class GoLogin {
193
193
  const token = this.access_token;
194
194
  debug('getProfileS3 token=', token, 'profile=', this.profile_id, 's3path=', s3path);
195
195
 
196
- const s3url = `https://gprofiles.gologin.com/${s3path}`.replace(/\s+/mg, '+');
196
+ const s3url = `https://gprofiles-new.gologin.com/${s3path}`.replace(/\s+/mg, '+');
197
197
  debug('loading profile from public s3 bucket, url=', s3url);
198
198
  const profileResponse = await requests.get(s3url, {
199
199
  encoding: null,
@@ -1309,7 +1309,7 @@ export class GoLogin {
1309
1309
  db = await getDB(this.cookiesFilePath, false);
1310
1310
  if (resultCookies.length) {
1311
1311
  const chunckInsertValues = getChunckedInsertValues(resultCookies);
1312
-
1312
+
1313
1313
  for (const [query, queryParams] of chunckInsertValues) {
1314
1314
  const insertStmt = await db.prepare(query);
1315
1315
  await insertStmt.run(queryParams);