
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@marek.libra/plugin-notifications
Advanced tools
Frontend part of the notifications providing the Notifications API, Notifications page, left-side menu item and other REACT components.
This Backstage front-end plugin provides:
Notifications
page listing notifications from the logged-in user's perspectiveHave @janus-idp/plugin-notifications-backend
installed and running.
The sections below are relevant for static plugins. If the plugin is expected to be installed as a dynamic one:
app-config.janus-idp.yaml
into app-config.local.yaml
.There is polling used to check for new notifications. It can be tuned via pollingIntervalMs
config property (see app-config.janus-idp.yaml
). When set to 0, the polling is turned off.
cd packages/app
yarn add @janus-idp/plugin-notifications
In the packages/app/src/components/Root/Root.tsx
:
import { NotificationsActiveIcon } from '@janus-idp/plugin-notifications';
...
export const Root = ({ children }: PropsWithChildren<{}>) => (
...
{/* New code: */}
<SidebarDivider />
<SidebarItem icon={NotificationsActiveIcon} to="notifications" text="Notifications" />
{/* Existing code for reference: */}
<SidebarSpace />
<SidebarSpace />
<SidebarDivider />
<SidebarDivider />
<SidebarGroup
<SidebarGroup label="Settings"
In the packages/app/src/App.tsx
:
import { NotificationsPage } from '@janus-idp/plugin-notifications';
...
export const AppBase = () => {
...
{/* New code: */}
<Route path="/notifications" element={<NotificationsPage />} />
Once installed as either static or dynamic plugin, a 3rd party frontend plugin can access the notifications via its frontend API:
import { notificationsApiRef, Notification } from '@janus-idp/plugin-notifications';
...
const notificationsApi = useApi(notificationsApiRef);
const notifications: Notification[] = await notificationsApi.getNotifications(params);
See src/api/notificationsApi.ts
for more details.
FAQs
Frontend part of the notifications providing the Notifications API, Notifications page, left-side menu item and other REACT components.
The npm package @marek.libra/plugin-notifications receives a total of 0 weekly downloads. As such, @marek.libra/plugin-notifications popularity was classified as not popular.
We found that @marek.libra/plugin-notifications demonstrated a not healthy version release cadence and project activity because the last version was released 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.