Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@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:
The npm package @daily-co/daily-js receives a total of 29,922 weekly downloads. As such, @daily-co/daily-js popularity was classified as popular.
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 15 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.