gologin 2.0.2 → 2.0.3

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/gologin.js CHANGED
@@ -442,7 +442,7 @@ export class GoLogin {
442
442
 
443
443
  return { profileExtensionsCheckRes: [] };
444
444
  }),
445
- ExtensionsManagerInst.checkLocalUserChromeExtensions(userChromeExtensions)
445
+ ExtensionsManagerInst.checkLocalUserChromeExtensions(userChromeExtensions, this.profile_id)
446
446
  .then(res => ({ profileUserExtensionsCheckRes: res }))
447
447
  .catch((error) => {
448
448
  console.log('checkUserChromeExtensions error: ', error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gologin",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "A high-level API to control Orbita browser over GoLogin API",
5
5
  "main": "./gologin.js",
6
6
  "repository": {
@@ -73,7 +73,7 @@ export class UserExtensionsManager {
73
73
  this.#existedUserExtensions = fileList;
74
74
  }
75
75
 
76
- checkLocalUserChromeExtensions = async (userChromeExtensions) => {
76
+ checkLocalUserChromeExtensions = async (userChromeExtensions, profileId) => {
77
77
  if (!userChromeExtensions.length) {
78
78
  return;
79
79
  }
@@ -88,6 +88,8 @@ export class UserExtensionsManager {
88
88
  },
89
89
  body: {
90
90
  existedUserChromeExtensions: this.#existedUserExtensions,
91
+ profileId,
92
+ userChromeExtensions,
91
93
  },
92
94
  }) || [];
93
95