@cloudflare/realtimekit-ui 1.0.0-staging.13 → 1.0.0-staging.14
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 +1 -1
- package/dist/cjs/index.cjs.js +1 -2
- package/dist/cjs/{notification-1948ed2f.js → notification-bb1a9b99.js} +2 -7
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +1 -2
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +1 -2
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -2
- package/dist/collection/lib/audio.js +3 -3
- package/dist/collection/lib/notification.js +2 -7
- package/dist/components/index.js +1 -1
- package/dist/components/{p-dba3cdd1.js → p-88526f0a.js} +1 -1
- package/dist/components/{p-50ecaaf1.js → p-908e4f1b.js} +2 -7
- package/dist/components/{p-1a546cf4.js → p-bad40128.js} +1 -1
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-meeting.js +2 -2
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-participants-audio.js +3 -3
- package/dist/components/rtk-screen-share-toggle.js +1 -2
- package/dist/docs/docs-components.json +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/loader.js +6 -11
- package/dist/esm/{notification-800f2bcd.js → notification-6b3acf5b.js} +2 -7
- package/dist/esm/rtk-avatar_54.entry.js +1 -2
- package/dist/esm/rtk-participants-audio.entry.js +3 -3
- package/dist/esm/rtk-screen-share-toggle.entry.js +1 -2
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-01187fe9.entry.js +1 -0
- package/dist/realtimekit-ui/p-0bf304c7.js +1 -0
- package/dist/realtimekit-ui/p-e4c7e377.entry.js +1 -0
- package/dist/realtimekit-ui/p-fe77ed92.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/lib/audio.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/logger-3df9c75d.js +0 -5
- package/dist/collection/utils/logger.js +0 -1
- package/dist/components/p-5605a420.js +0 -3
- package/dist/esm/logger-31448943.js +0 -3
- package/dist/realtimekit-ui/p-235b7aa8.entry.js +0 -1
- package/dist/realtimekit-ui/p-4f45e362.entry.js +0 -1
- package/dist/realtimekit-ui/p-5605a420.js +0 -1
- package/dist/realtimekit-ui/p-59daa5d2.entry.js +0 -1
- package/dist/realtimekit-ui/p-fc36f92c.js +0 -1
- package/dist/types/utils/logger.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t}from"./p-ee167b96.js";import{l as o}from"./p-5605a420.js";const s={joined:"https://dyte-uploads.s3.ap-south-1.amazonaws.com/notification_join.mp3",left:"https://dyte-uploads.s3.ap-south-1.amazonaws.com/notification_join.mp3",message:"https://dyte-uploads.s3.ap-south-1.amazonaws.com/notification_message.mp3"};class i{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,i=3e3){var a;this.playing||(this.playing=!0,this.audio.src=s[t],this.audio.volume=.3,null===(a=this.audio.play())||void 0===a||a.catch((s=>{o.error("[rtk-notifications] play() failed\n",{sound:t,duration:i},s)})),setTimeout((()=>{this.playing=!1}),i))}async setDevice(s){var i,a,n;t(this.meeting)||await(null===(n=null===(a=null===(i=this.audio)||void 0===i?void 0:i.setSinkId)||void 0===a?void 0:a.call(i,s))||void 0===n?void 0:n.catch((t=>{o.error("[rtk-notifications] setSinkId() error\n",t)})))}}export{i as R}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default console;
|