
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@olvyhq/widget-react
Advanced tools
This react component allows you to easily include Olvy widgets in your React applications. The component takes care of all the necessary set up and configuration, allowing you to simply specify which Olvy widget you want to use and any relevant options.

https://codesandbox.io/s/olvy-widget-react-icif8y
Install @olvyhq/widget-react with npm
npm install @olvyhq/widget-react
In main.js
import {OlvyWidget,OlvyUtils} from "@olvyhq/widget-react"
<OlvyWidget
config={<Configuration> }
targetElement={<div>
<div id="<Target-Element-Id>"></div>
</div>
}
></OlvyWidget>
//Replace <Target-Element-Id> with your target element id and <Configuration> with your configuration
<OlvyWidget
config={{workspaceAlias: "olvysdktest"}}
targetElement={<div>
<div id="olvy-whats-new">Announcement Widget</div>
</div>
}>
</OlvyWidget>
{
widgetId:"", // (optional)
workspaceAlias:"" //(required)
}
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Optional. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.showWidget(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.hideWidget(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.setUser(workspaceAlias, userObject)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
userObject | object | Required. |
OlvyUtils.setFeedbackMetaInfo (workspaceAlias, metaInfo)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
metaInfo | object | Required. |
OlvyUtils.refreshUnreadCount(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.getUnreadReleasesCount(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.removeUnreadIndicatorElement(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.addUnreadIndicatorElement(workspaceAlias,widgetAliasOrID, count)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.getLastOpenedTimestamp(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.refresh(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.teardown(workspaceAlias,widgetAliasOrID)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
widgetAliasOrID | string | Required. widget Id or alias ( you can find it on widget details page in olvy dashbaord ) |
OlvyUtils.createFeedback(workspaceAlias,params)
| Parameter | Type | Description |
|---|---|---|
workspaceAlias | string | Required. Your subdomain |
params | object | Required. |
npm run test:unit
FAQs
React component for olvy feedback and announcement widgets
We found that @olvyhq/widget-react 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.