@lark-sh/client 0.1.25 → 0.1.26

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.
@@ -337,7 +337,7 @@ function wsUrlToWtUrl(wsUrl) {
337
337
  return url.toString();
338
338
  }
339
339
  async function createTransport(wsUrl, transportOptions, options = {}) {
340
- const preferredType = options.transport || "auto";
340
+ const preferredType = options.transport || "websocket";
341
341
  const shouldTryWebTransport = (preferredType === "auto" || preferredType === "webtransport") && isWebTransportAvailable();
342
342
  if (preferredType === "webtransport" && !isWebTransportAvailable()) {
343
343
  throw new Error("WebTransport is not available in this environment");