Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@speechly/browser-ui
Advanced tools
Speechly UI components provide the visual interface to support voice functionality. This package contains Speechly UI as Web Components that can be used in most browsers via CDN or npm.
Speechly UI components provide the visual interface to support voice functionality. This package contains Speechly UI as Web Components that can be used in most browsers via CDN or npm.
See Web Component documentation for details.
npm install
npm run dev
Then open http://localhost:5000
# Update version number
code docs/dev/package.json
# Update CHANGELOG.md
code docs/dev/CHANGELOG.md
# Build release version
npm run build
# Automagically copy files from dev to 'v4' folder and 'latest' folder
./web-publish.sh v4
# Push changes to git, updating CDN version in GitHub pages:
git add .
git commit -m"v4"
git push
# Publish the package to npmjs
cd docs/latest
npm publish
# Check Google Authenticator app for one-time password
# In browser-ui, create a "linked package". Uses package.json in a subfolder to prevent unnecessary folder structure in the package
cd browser-ui/
pnpm run build
cd docs/dev
pnpm link
# Using "linked package" in a project (intead of repo package/installing local)
cd react-ui
pnpm link browser-ui
# Uses package.json in a subfolder to prevent unnecessary folder structure in the package.
pnpm pack docs/dev/
import "browser-ui/push-to-talk-button";
import "browser-ui/big-transcript";
import "browser-ui/speechly-ui.css";
<div className="BigTranscriptContainer">
<big-transcript></big-transcript>
</div>
<div className="PushToTalkContainer">
<push-to-talk-button appid="1234"></push-to-talk-button>
</div>
Now push-to-talk-button
is integrated with browser-client
. Do we need some master component (like react-client's SpeechProvider
) that holds/manages communication with @speechly/browser-client
?
Now component-to-component communication between push-to-talk-button
and big-transcript
is done with postMessage
to achieve automagic binding. Also, dispatchEvent
can be used so addEventListener
can be used. Other candidates include: Callback binding w/property setter, postMessage
(broadcast. No Safari support), pubsub-js
(broadcast. Dependency needed)
Should PushToTalkButton.js
contain styles and svg images, or should they be defined externally? Can/should we use <template>
for svgs? I did not immediately find a way to define templates in Wix.
FAQs
Ready-made UI components to build a reactive voice interface to a web site or app. Uses Speechly's real-time cloud API for speech-to-text and NLU.
The npm package @speechly/browser-ui receives a total of 351 weekly downloads. As such, @speechly/browser-ui popularity was classified as not popular.
We found that @speechly/browser-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.