@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.
- package/README.md +4 -4
- package/dist/{chunk-LCCMBY4S.mjs → chunk-D2DMNW7C.mjs} +2 -2
- package/dist/chunk-D2DMNW7C.mjs.map +1 -0
- package/dist/fb-v8/index.js +1 -1
- package/dist/fb-v8/index.js.map +1 -1
- package/dist/fb-v8/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-LCCMBY4S.mjs.map +0 -1
package/dist/fb-v8/index.js
CHANGED
|
@@ -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 || "
|
|
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");
|