Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@logux/client
Advanced tools
Logux is a new way to connect client and server. Instead of sending HTTP requests (e.g., AJAX and GraphQL) it synchronizes log of operations between client, server, and other clients.
Documentation: logux.io
This repository contains Logux base components to build web client:
CrossTabClient
and Client
to create web client for Logux.IndexedStore
to store Logux log in IndexedDB
.badge()
widget to show Logux synchronization status in UI.status()
to write own UI to show Logux synchronization status in UI.attention()
, confirm()
, favicon()
to improve UX in Logux web app.log()
to print Logux synchronization status to browser DevTools.Check demo page for widget UI.
npm install @logux/client
See documentation for Logux API.
import { CrossTabClient, badge, badgeEn, log } from '@logux/client'
import { badgeStyles } from '@logux/client/badge/style'
let userId = document.querySelector('meta[name=user]').content
let token = document.querySelector('meta[name=token]').content
const client = new CrossTabClient({
subprotocol: '1.0.0',
server: 'wss://example.com:1337',
userId,
token
})
badge(client, { messages: badgeEn, styles: badgeStyles })
log(client)
client.start()
0.8.1
Client#changeUser()
.credentials
option to token
.:
.Client#changeUser()
method.subprocol
from another tab.localStorage
error.userId
(by @Abdubek).FAQs
Logux base components to build web client
The npm package @logux/client receives a total of 137 weekly downloads. As such, @logux/client popularity was classified as not popular.
We found that @logux/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.