@hyperbrowser/sdk 0.82.1 → 0.82.2
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.
|
@@ -21,7 +21,6 @@ class WebService extends base_1.BaseService {
|
|
|
21
21
|
*/
|
|
22
22
|
async fetch(params) {
|
|
23
23
|
try {
|
|
24
|
-
// Handle JSON schema serialization if needed (similar to Python SDK)
|
|
25
24
|
if (params.outputs?.formats) {
|
|
26
25
|
for (const output of params.outputs.formats) {
|
|
27
26
|
if (typeof output === "object" && "type" in output && output.type === "json") {
|
package/dist/types/session.d.ts
CHANGED
|
@@ -143,6 +143,9 @@ export interface GetSessionDownloadsUrlResponse {
|
|
|
143
143
|
}
|
|
144
144
|
export interface UploadFileResponse {
|
|
145
145
|
message: string;
|
|
146
|
+
filePath?: string;
|
|
147
|
+
fileName?: string;
|
|
148
|
+
originalName?: string;
|
|
146
149
|
}
|
|
147
150
|
export interface UploadFileOptions {
|
|
148
151
|
fileInput: string | fs.ReadStream | Buffer;
|