parallel-web 0.2.1 → 0.2.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/CHANGELOG.md +25 -0
- package/package.json +1 -1
- package/resources/beta/beta.d.mts +76 -33
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +76 -33
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +5 -2
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +5 -2
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/task-group.d.mts.map +1 -1
- package/resources/beta/task-group.d.ts.map +1 -1
- package/resources/beta/task-group.js +18 -5
- package/resources/beta/task-group.js.map +1 -1
- package/resources/beta/task-group.mjs +18 -5
- package/resources/beta/task-group.mjs.map +1 -1
- package/resources/beta/task-run.d.mts.map +1 -1
- package/resources/beta/task-run.d.ts.map +1 -1
- package/resources/beta/task-run.js +6 -3
- package/resources/beta/task-run.js.map +1 -1
- package/resources/beta/task-run.mjs +6 -3
- package/resources/beta/task-run.mjs.map +1 -1
- package/resources/shared.d.mts +6 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +6 -2
- package/resources/shared.d.ts.map +1 -1
- package/src/resources/beta/beta.ts +89 -35
- package/src/resources/beta/task-group.ts +18 -5
- package/src/resources/beta/task-run.ts +6 -3
- package/src/resources/shared.ts +6 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -24,7 +24,7 @@ export class TaskRun extends APIResource {
|
|
|
24
24
|
body,
|
|
25
25
|
...options,
|
|
26
26
|
headers: buildHeaders([
|
|
27
|
-
{ ...(betas
|
|
27
|
+
{ 'parallel-beta': [...(betas ?? []), 'search-extract-2025-10-10'].toString() },
|
|
28
28
|
options?.headers,
|
|
29
29
|
]),
|
|
30
30
|
});
|
|
@@ -42,7 +42,10 @@ export class TaskRun extends APIResource {
|
|
|
42
42
|
events(runID: string, options?: RequestOptions): APIPromise<Stream<TaskRunEventsResponse>> {
|
|
43
43
|
return this._client.get(path`/v1beta/tasks/runs/${runID}/events`, {
|
|
44
44
|
...options,
|
|
45
|
-
headers: buildHeaders([
|
|
45
|
+
headers: buildHeaders([
|
|
46
|
+
{ 'parallel-beta': 'search-extract-2025-10-10', Accept: 'text/event-stream' },
|
|
47
|
+
options?.headers,
|
|
48
|
+
]),
|
|
46
49
|
stream: true,
|
|
47
50
|
}) as APIPromise<Stream<TaskRunEventsResponse>>;
|
|
48
51
|
}
|
|
@@ -60,7 +63,7 @@ export class TaskRun extends APIResource {
|
|
|
60
63
|
query,
|
|
61
64
|
...options,
|
|
62
65
|
headers: buildHeaders([
|
|
63
|
-
{ ...(betas
|
|
66
|
+
{ 'parallel-beta': [...(betas ?? []), 'search-extract-2025-10-10'].toString() },
|
|
64
67
|
options?.headers,
|
|
65
68
|
]),
|
|
66
69
|
});
|
package/src/resources/shared.ts
CHANGED
|
@@ -43,13 +43,17 @@ export interface ErrorResponse {
|
|
|
43
43
|
export interface SourcePolicy {
|
|
44
44
|
/**
|
|
45
45
|
* List of domains to exclude from results. If specified, sources from these
|
|
46
|
-
* domains will be excluded.
|
|
46
|
+
* domains will be excluded. Accepts plain domains (e.g., example.com,
|
|
47
|
+
* subdomain.example.gov) or bare domain extension starting with a period (e.g.,
|
|
48
|
+
* .gov, .edu, .co.uk).
|
|
47
49
|
*/
|
|
48
50
|
exclude_domains?: Array<string>;
|
|
49
51
|
|
|
50
52
|
/**
|
|
51
53
|
* List of domains to restrict the results to. If specified, only sources from
|
|
52
|
-
* these domains will be included.
|
|
54
|
+
* these domains will be included. Accepts plain domains (e.g., example.com,
|
|
55
|
+
* subdomain.example.gov) or bare domain extension starting with a period (e.g.,
|
|
56
|
+
* .gov, .edu, .co.uk).
|
|
53
57
|
*/
|
|
54
58
|
include_domains?: Array<string>;
|
|
55
59
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.
|
|
1
|
+
export const VERSION = '0.2.3'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.
|
|
1
|
+
export declare const VERSION = "0.2.3";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.
|
|
1
|
+
export declare const VERSION = "0.2.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.
|
|
1
|
+
export const VERSION = '0.2.3'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|