
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@dxfeed/dxlink-websocket-client
Advanced tools
dxFeed WebSocket Client allows to receive market data from dxFeed services
Client implementation for the dxLink WebSocket transport protocol.
npm install @dxfeed/dxlink-websocket-client
Import library into your project.
import { DXLinkWebSocket } from '@dxfeed/dxlink-websocket-client'
Create instance of the client.
const client = new DXLinkWebSocketClient()
Connect to the server.
client.connect('wss://demo.dxfeed.com/dxlink-ws')
Provide auth token if required by the server.
client.setAuthToken(token)
Open isolated channel to service within single connection.
const channel = await client.openChannel('FEED', {
contract: 'AUTO',
})
Send message to the channel.
channel.send({
type: 'FEED_SUBSCRIPTION',
add: [
{
type: 'Quote',
symbol: 'AAPL',
},
],
})
Add subscription to the channel.
const sub1 = {
type: 'Quote',
symbol: 'AAPL',
}
channel.subscription({
add: [sub1],
})
Remove subscription from the channel.
channel.subscription({
remove: [sub1],
})
Receive messages from the channel.
channel.addMessageListener((message) => {
if (message.type === 'FEED_DATA') {
console.log(message.data)
}
})
FAQs
dxLink WebSocket Client allows to connect the remote dxLink WebSocket endpoint
The npm package @dxfeed/dxlink-websocket-client receives a total of 4,827 weekly downloads. As such, @dxfeed/dxlink-websocket-client popularity was classified as popular.
We found that @dxfeed/dxlink-websocket-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.