Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@daily-co/daily-js
Advanced tools
Please check our [our documentation site](https://docs.daily.co/) to get started. If you're building a web app with our `daily-js` front-end JavaScript library, you may be particularly interested in:
Please check our our documentation site to get started. If you're building a web app with our daily-js
front-end JavaScript library, you may be particularly interested in:
daily-js
reference docs, for help adding video calls to your appstrictMode
: false will no longer allow multiple call instancesToday, you can circumvent throwing an Error
on creation of a second (or nth) Daily instance by setting strictMode: false
in the constructor parameters. With the introduction of proper support for multiple instances, this is replaced with the opt-in parameter, allowMultipleCallInstances
. So in a future release, if your application needs to use multiple call instances simultaneously, you must set this new parameter to true
, otherwise multiple instances will not be allowed and an Error
will be thrown (regardless of strictMode
).
While we will technically support multiple instances and the fear of bugs when doing so goes away, the majority of use cases only requires one instance and having multiple is likely accidental and will still cause issues. It's for this reason we default to throwing an Error
in the hopes of avoiding footguns.
Note: strictMode
, which defaults to true, will continue to be used for disallowing use of a Daily call instance after it has been destroyed.
avoidEval
will become true
by defaultToday you can opt in to making daily-js
behave in a CSP-friendly way by specifying dailyConfig: { avoidEval: true }
wherever you provide your call options. You can read more about this option and how to set up your CSP (Content Security Policy) in this guide.
Starting in an upcoming version of daily-js
, avoidEval
will switch to defaulting to true
. To prepare for this change, please make sure that your CSP's script-src
directive contains https://*.daily.co
(or explicitly opt out of the new behavior by setting avoidEval: false
).
FAQs
Please check our [our documentation site](https://docs.daily.co/) to get started. If you're building a web app with our `daily-js` front-end JavaScript library, you may be particularly interested in:
We found that @daily-co/daily-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.