@oya-ai/browser 1.0.154 → 1.0.155
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/dist/index.cjs +0 -9
- package/dist/index.js +0 -9
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -138,11 +138,6 @@ var Http = class {
|
|
|
138
138
|
this.fetchImpl = fetchImpl;
|
|
139
139
|
this.origin = origin;
|
|
140
140
|
}
|
|
141
|
-
baseUrl;
|
|
142
|
-
apiKey;
|
|
143
|
-
timeoutMs;
|
|
144
|
-
fetchImpl;
|
|
145
|
-
origin;
|
|
146
141
|
/** Sends one request and returns the parsed answer, or throws an OyaError when it failed. */
|
|
147
142
|
async request(method, path, body, timeoutMs = this.timeoutMs, headers = {}) {
|
|
148
143
|
const res = await this.send(`${this.baseUrl}${path}`, this.init(method, body, timeoutMs, headers), timeoutMs);
|
|
@@ -340,8 +335,6 @@ var Run = class {
|
|
|
340
335
|
this.done.catch(() => {
|
|
341
336
|
});
|
|
342
337
|
}
|
|
343
|
-
http;
|
|
344
|
-
id;
|
|
345
338
|
/** Settles with the result when the run succeeds, or rejects when it fails. */
|
|
346
339
|
done;
|
|
347
340
|
/** The run's current state. */
|
|
@@ -367,8 +360,6 @@ var Browser = class {
|
|
|
367
360
|
({ id: this.id, provider: this.provider, persona: this.persona, cdpUrl: this.cdpUrl } = info);
|
|
368
361
|
this.reused = info.reused === true;
|
|
369
362
|
}
|
|
370
|
-
http;
|
|
371
|
-
autoCaptcha;
|
|
372
363
|
/** The browser's id. */
|
|
373
364
|
id;
|
|
374
365
|
/** Which provider runs it. */
|
package/dist/index.js
CHANGED
|
@@ -106,11 +106,6 @@ var Http = class {
|
|
|
106
106
|
this.fetchImpl = fetchImpl;
|
|
107
107
|
this.origin = origin;
|
|
108
108
|
}
|
|
109
|
-
baseUrl;
|
|
110
|
-
apiKey;
|
|
111
|
-
timeoutMs;
|
|
112
|
-
fetchImpl;
|
|
113
|
-
origin;
|
|
114
109
|
/** Sends one request and returns the parsed answer, or throws an OyaError when it failed. */
|
|
115
110
|
async request(method, path, body, timeoutMs = this.timeoutMs, headers = {}) {
|
|
116
111
|
const res = await this.send(`${this.baseUrl}${path}`, this.init(method, body, timeoutMs, headers), timeoutMs);
|
|
@@ -308,8 +303,6 @@ var Run = class {
|
|
|
308
303
|
this.done.catch(() => {
|
|
309
304
|
});
|
|
310
305
|
}
|
|
311
|
-
http;
|
|
312
|
-
id;
|
|
313
306
|
/** Settles with the result when the run succeeds, or rejects when it fails. */
|
|
314
307
|
done;
|
|
315
308
|
/** The run's current state. */
|
|
@@ -335,8 +328,6 @@ var Browser = class {
|
|
|
335
328
|
({ id: this.id, provider: this.provider, persona: this.persona, cdpUrl: this.cdpUrl } = info);
|
|
336
329
|
this.reused = info.reused === true;
|
|
337
330
|
}
|
|
338
|
-
http;
|
|
339
|
-
autoCaptcha;
|
|
340
331
|
/** The browser's id. */
|
|
341
332
|
id;
|
|
342
333
|
/** Which provider runs it. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oya-ai/browser",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.155",
|
|
4
4
|
"description": "Rotate thousands of browsers behind one API, personas, proxies, stealth, CAPTCHA and MFA.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://oyabrowser.com",
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
71
|
-
"publint": "^0.3.
|
|
72
|
-
"tsup": "^8.
|
|
73
|
-
"typescript": "^
|
|
71
|
+
"publint": "^0.3.25",
|
|
72
|
+
"tsup": "^8.5.1",
|
|
73
|
+
"typescript": "^6.0.3"
|
|
74
74
|
},
|
|
75
75
|
"author": "mk@getoya.ai"
|
|
76
76
|
}
|