Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@slashid/jump-page

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slashid/jump-page

This package implements the SlashID verification page as a React component. This allows self hosting the verification page as this component can be rendered in any React application.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

/id - SDK Verification page

This package implements the SlashID verification page as a React component. This allows self hosting the verification page as this component can be rendered in any React application.

Installation

Use any package manager you prefer:

$ npm install @slashid/jump-page

Usage

First import the default styles:

import "@slashid/jump-page/style.css"

Then render the Verification component:

import { Verification } from "@slashid/jump-page"

import "@slashid/jump-page/style.css"

export function VerificationPage() {
  return <Verification />
}

Configuration

By default, the Verification component uses the production environment. You can switch to the sandbox environment by passing the corresponding value as the environment prop:

<Verification environment="sandbox" />

A custom environment can be used by specifying the API and SDK URLs:

import { Verification, type Environment } from "@slashid/jump-page"

import "@slashid/jump-page/style.css"

export function App() {
  const customEnvironment: Environment = { baseURL: config.baseURL, sdkURL: config.sdkURL }
  return <Verification environment={environment} />
}

Customisation

Verification page can be customised using the SlashID Console.

FAQs

Package last updated on 06 Nov 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc