
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@descope/web-js-sdk
Advanced tools
Descope JavaScript web SDK - Alpha
npm install @descope/web-js-sdk
import descopeSdk, { getSessionToken } from '@descope/web-js-sdk';
const myProjectId = 'xxx';
const sdk = descopeSdk({ projectId: myProjectId });
sdk.onSessionTokenChange((newSession, oldSession) => {
// handle session token change...
});
sdk.onUserChange((newUser, oldUser) => {
// handle user change...
});
const userIdentifier = 'identifier';
sdk.otp.signIn.email(userIdentifier);
// Get session token
// can be used to pass token to server on header
const sessionToken = getSessionToken();
To run the example:
pnpm i
cd packages/web-js-sdk
pnpm run start
The browser open a tab with directory tree of available examples. Click on the desire directory and follow the instruction.
NOTE: This package is a part of a monorepo. so if you make changes in a dependency, you will have to rerun (this is a temporary solution until we improve the process to fit to monorepo).
FAQs
Descope JavaScript web SDK
The npm package @descope/web-js-sdk receives a total of 43,782 weekly downloads. As such, @descope/web-js-sdk popularity was classified as popular.
We found that @descope/web-js-sdk 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.