@skrillex1224/playwright-toolkit 3.0.48 → 3.0.49
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/browser.js +3 -7
- package/dist/browser.js.map +2 -2
- package/dist/index.cjs +3 -17
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +3 -17
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -219,13 +219,9 @@ var ActorInfo = {
|
|
|
219
219
|
},
|
|
220
220
|
device: Device.Desktop,
|
|
221
221
|
share: {
|
|
222
|
-
mode: "
|
|
223
|
-
prefix: "
|
|
224
|
-
xurl: [
|
|
225
|
-
"/share/save",
|
|
226
|
-
"data",
|
|
227
|
-
"share_id"
|
|
228
|
-
]
|
|
222
|
+
mode: "custom",
|
|
223
|
+
prefix: "",
|
|
224
|
+
xurl: []
|
|
229
225
|
}
|
|
230
226
|
}),
|
|
231
227
|
deepseek: createActorInfo({
|
|
@@ -10405,16 +10401,6 @@ var Share = {
|
|
|
10405
10401
|
]);
|
|
10406
10402
|
if (timer) clearTimeout(timer);
|
|
10407
10403
|
if (actionResult.type === "error") {
|
|
10408
|
-
const selected = candidates[share.mode];
|
|
10409
|
-
if (selected?.link) {
|
|
10410
|
-
logger17.warning(`performActions \u6267\u884C\u5931\u8D25\u4F46\u5DF2\u6355\u83B7\u5206\u4EAB\u94FE\u63A5\uFF0C\u4F7F\u7528\u5DF2\u6355\u83B7\u7ED3\u679C: source=${share.mode}, link=${selected.link}`);
|
|
10411
|
-
return {
|
|
10412
|
-
link: selected.link,
|
|
10413
|
-
payloadText: selected.payloadText,
|
|
10414
|
-
payloadSnapshot: toSnapshot(selected.payloadText, payloadSnapshotMaxLen),
|
|
10415
|
-
source: share.mode
|
|
10416
|
-
};
|
|
10417
|
-
}
|
|
10418
10404
|
logger17.fail("captureLink.performActions", actionResult.error);
|
|
10419
10405
|
throw actionResult.error;
|
|
10420
10406
|
}
|