
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@forge/response
Advanced tools
Contains object to do validation of response objects at time of invocation
This package provides response objects so that validation can occur within the invocation and related errors can be output to the app logs
The AuthProfile object is useful for validating input given by the app user when going through the external Authentication flow.
By implementing this into the profile retriever function, if the input to the retriever is invalid, then the corresponding error will be output to the app's logs
import { AuthProfile } from '@forge/response';
export const retriever = (body: string) => {
const externalProfile = JSON.parse(body);
return new AuthProfile({
id: externalProfile.user.id,
displayName: externalProfile.user.name,
avatarUrl: externalProfile.user.avatar
});
}
FAQs
Contains object to do validation of response objects at time of invocation
The npm package @forge/response receives a total of 149 weekly downloads. As such, @forge/response popularity was classified as not popular.
We found that @forge/response 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers