Socket
Socket
Sign inDemoInstall

@clerk/types

Package Overview
Dependencies
Maintainers
6
Versions
1799
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerk/types - npm Package Compare versions

Comparing version 1.14.1 to 1.14.2

8

dist/clerk.d.ts

@@ -15,5 +15,3 @@ import { ClientResource } from './client';

version?: string;
/**
* Clerk Frontend API string.
*/
/** Clerk Frontend API string. */
frontendApi: string;

@@ -152,2 +150,6 @@ /** Client handling most Clerk operations. */

/**
* Handles a 401 response from Frontend API by refreshing the client and session object accordingly
*/
handleUnauthenticated: () => Promise<unknown>;
/**
* Redirects to the configured sign up URL. Retrieved from {@link environment}.

@@ -154,0 +156,0 @@ *

@@ -10,2 +10,3 @@ /**

import { BoxShadow, Color, EmUnit, FontFamily, FontWeight, HexColor } from './theme';
import { VerificationStatus } from './verification';
export interface ClerkResourceJSON {

@@ -202,3 +203,4 @@ object: string;

export interface VerificationJSON {
status: string;
status: VerificationStatus;
verified_at_client: string;
strategy: string;

@@ -205,0 +207,0 @@ external_verification_redirect_url?: string;

import { ClerkAPIError } from './api';
export interface VerificationResource {
status: string | null;
status: VerificationStatus | null;
verifiedAtClient: string | null;
strategy: string | null;

@@ -9,3 +10,5 @@ externalVerificationRedirectURL: URL | null;

error: ClerkAPIError | null;
verifiedFromTheSameClient: () => boolean;
}
export declare type VerificationStatus = 'unverified' | 'verified' | 'transferable' | 'failed' | 'expired';
export interface VerificationAttemptParams {

@@ -12,0 +15,0 @@ code: string;

{
"name": "@clerk/types",
"version": "1.14.1",
"version": "1.14.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Clerk.dev Types",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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