@skrillex1224/playwright-toolkit 2.1.126 → 2.1.128

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 CHANGED
@@ -3136,7 +3136,7 @@ var logger11 = createInternalLogger("Share");
3136
3136
  var DEFAULT_TIMEOUT_MS = 50 * 1e3;
3137
3137
  var DEFAULT_PAYLOAD_SNAPSHOT_MAX_LEN = 500;
3138
3138
  var DEFAULT_POLL_INTERVAL_MS = 120;
3139
- var normalizePrefix = (value) => String(value || "").trim();
3139
+ var normalizePrefix = (value) => typeof value === void 0 ? void 0 : String(value ?? "").trim();
3140
3140
  var toSnapshot = (value, maxLen) => {
3141
3141
  const text = String(value || "");
3142
3142
  if (!text) return "";
@@ -3320,7 +3320,7 @@ var Share = {
3320
3320
  const domMode = options.domMode ?? Mutation.Mode.All;
3321
3321
  const performActions = typeof options.performActions === "function" ? options.performActions : async () => {
3322
3322
  };
3323
- if (!share.prefix) {
3323
+ if (share.prefix === void 0) {
3324
3324
  throw new Error("Share.captureLink requires options.share.prefix");
3325
3325
  }
3326
3326
  if (share.mode !== "dom" && share.mode !== "response") {