test-wuying-agentbay-sdk 0.13.1-beta.20251223134905 → 0.13.1-beta.20251223155807
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 +53 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12037,7 +12037,15 @@ var _Computer = class _Computer {
|
|
|
12037
12037
|
data: ""
|
|
12038
12038
|
};
|
|
12039
12039
|
}
|
|
12040
|
-
|
|
12040
|
+
if (!result.data) {
|
|
12041
|
+
return {
|
|
12042
|
+
success: false,
|
|
12043
|
+
requestId: result.requestId || "",
|
|
12044
|
+
errorMessage: result.errorMessage || "Failed to take screenshot",
|
|
12045
|
+
data: ""
|
|
12046
|
+
};
|
|
12047
|
+
}
|
|
12048
|
+
const screenshotUrl = result.data || "";
|
|
12041
12049
|
return {
|
|
12042
12050
|
success: true,
|
|
12043
12051
|
requestId: result.requestId || "",
|