Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@retracedhq/logs-viewer
Advanced tools
A React library for viewing Retraced logs.
$ yarn add @retracedhq/logs-viewer
$ npm i -s @retracedhq/logs-viewer
<RetracedEventsBrowser
host={`http://localhost:3000/auditlog/viewer/v1`}
auditLogToken={viewerToken}
header="Audit Logs"
customClass={"text-primary dark:text-white"}
/>
You will need to fetch the viewer token on the server side using our Node.js SDK (or use our API call to generate one).
const retraced = new Retraced.Client({
apiKey: <Retraced Token>,
projectId: <Retraced Project ID>,
endpoint: 'http://localhost:3000/auditlog',
viewLogAction: 'audit.log.view',
});
const viewerToken = await retraced.getViewerToken(<Group ID>, 'My SaaS app', false);
Make sure you are running (Retraced)[https://github.com/retracedhq/retraced] with the dev
project and token bootstrapped.
# Install dependencies
make deps
# Run local dev server
make dev
Run from root of this project
# Install dependencies
make deps
# Create a project link, may be npm or yarn
npm link # or yarn link
# Run the build on watch mode
make watch
Run from root of dependent project
# Create a project link, may be npm or yarn
npm link # or yarn link
# -or-
# Install the linked library
npm link retraced-logs-viewer # or yarn link retraced-logs-viewer
Then follow development instructions for the dependent project. Changes to the logs viewer should reflect in the consuming project in realtime.
FAQs
Logs viewer widget
The npm package @retracedhq/logs-viewer receives a total of 0 weekly downloads. As such, @retracedhq/logs-viewer popularity was classified as not popular.
We found that @retracedhq/logs-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.