@pipecat-ai/daily-transport 1.1.0 → 1.2.0
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 +11 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.module.js +8 -1
- package/dist/index.module.js.map +1 -1
- package/package.json +3 -3
package/dist/index.module.js
CHANGED
|
@@ -1465,7 +1465,7 @@ globalThis.WavRecorder = WavRecorder;
|
|
|
1465
1465
|
|
|
1466
1466
|
|
|
1467
1467
|
var $58d19ff082af5e5c$exports = {};
|
|
1468
|
-
$58d19ff082af5e5c$exports = JSON.parse("{\"name\":\"@pipecat-ai/daily-transport\",\"version\":\"1.
|
|
1468
|
+
$58d19ff082af5e5c$exports = JSON.parse("{\"name\":\"@pipecat-ai/daily-transport\",\"version\":\"1.2.0\",\"license\":\"BSD-2-Clause\",\"main\":\"dist/index.js\",\"module\":\"dist/index.module.js\",\"types\":\"dist/index.d.ts\",\"source\":\"src/index.ts\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/pipecat-ai/pipecat-client-web-transports.git\"},\"files\":[\"dist\",\"package.json\",\"README.md\"],\"scripts\":{\"build\":\"parcel build --no-cache\",\"dev\":\"parcel watch\",\"lint\":\"eslint . --ext ts --report-unused-disable-directives --max-warnings 0\"},\"devDependencies\":{\"@pipecat-ai/client-js\":\"^1.2.0\",\"eslint\":\"9.11.1\",\"eslint-config-prettier\":\"^9.1.0\",\"eslint-plugin-simple-import-sort\":\"^12.1.1\"},\"peerDependencies\":{\"@pipecat-ai/client-js\":\"~1.2.0\"},\"dependencies\":{\"@daily-co/daily-js\":\"^0.77.0\"},\"description\":\"Pipecat Daily Transport Package\",\"author\":\"Daily.co\",\"bugs\":{\"url\":\"https://github.com/pipecat-ai/pipecat-client-web-transports/issues\"},\"homepage\":\"https://github.com/pipecat-ai/pipecat-client-web-transports/blob/main/transports/daily-webrtc/README.md\"}");
|
|
1469
1469
|
|
|
1470
1470
|
|
|
1471
1471
|
var $683f111f61e07358$export$ef180de88fd317cc;
|
|
@@ -1728,6 +1728,13 @@ class $683f111f61e07358$export$b1ca982aa1e488c1 extends (0, $7zbD8$Transport) {
|
|
|
1728
1728
|
if (tmpParams.room_url) {
|
|
1729
1729
|
tmpParams.url = tmpParams.room_url;
|
|
1730
1730
|
delete tmpParams.room_url;
|
|
1731
|
+
} else if (tmpParams.dailyRoom) {
|
|
1732
|
+
tmpParams.url = tmpParams.dailyRoom;
|
|
1733
|
+
delete tmpParams.dailyRoom;
|
|
1734
|
+
}
|
|
1735
|
+
if (tmpParams.dailyToken) {
|
|
1736
|
+
tmpParams.token = tmpParams.dailyToken;
|
|
1737
|
+
delete tmpParams.dailyToken;
|
|
1731
1738
|
}
|
|
1732
1739
|
if (!tmpParams.token) // Daily doesn't like token being in the map and undefined or null
|
|
1733
1740
|
delete tmpParams.token;
|