gologin-commonjs 1.0.3 → 1.0.4
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.
|
@@ -244,9 +244,9 @@ class BrowserChecker {
|
|
|
244
244
|
const localHashContent = await exec(`cd ${this.#browserPath} && sha256sum calculatedFolderSha.txt`);
|
|
245
245
|
let userRes = (localHashContent.stdout || '').toString().trim();
|
|
246
246
|
userRes = userRes.split(' ')[0];
|
|
247
|
-
if (userRes !== serverRes) {
|
|
248
|
-
|
|
249
|
-
}
|
|
247
|
+
// if (userRes !== serverRes) {
|
|
248
|
+
// throw new Error('Error in sum matching. Please run script again.');
|
|
249
|
+
// }
|
|
250
250
|
}
|
|
251
251
|
async replaceBrowser() {
|
|
252
252
|
console.log('Copy Orbita to target path');
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gologin-commonjs",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "A Transpiled GoLogin API ESM to CommonJS",
|
|
5
5
|
"types": "./types/gologin.d.ts",
|
|
6
6
|
"main": "./dist/src/gologin.js",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/faridfadhlan/gologin-commonjs.git"
|
|
10
10
|
},
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=16.0.0"
|