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

@clerk/shared

Package Overview
Dependencies
Maintainers
8
Versions
1816
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerk/shared - npm Package Compare versions

Comparing version 2.15.0 to 2.15.1-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591

dist/chunk-FDGV6RJ2.mjs

4

dist/index.js

@@ -1186,3 +1186,3 @@ "use strict";

// src/versionSelector.ts
var versionSelector = (clerkJSVersion, packageVersion = "5.34.3") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.34.4-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591") => {
if (clerkJSVersion) {

@@ -1194,3 +1194,3 @@ return clerkJSVersion;

if (prereleaseTag === "snapshot") {
return "5.34.3";
return "5.34.4-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591";
}

@@ -1197,0 +1197,0 @@ return prereleaseTag;

@@ -272,3 +272,3 @@ "use strict";

// src/versionSelector.ts
var versionSelector = (clerkJSVersion, packageVersion = "5.34.3") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.34.4-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591") => {
if (clerkJSVersion) {

@@ -280,3 +280,3 @@ return clerkJSVersion;

if (prereleaseTag === "snapshot") {
return "5.34.3";
return "5.34.4-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591";
}

@@ -283,0 +283,0 @@ return prereleaseTag;

import React, { PropsWithChildren } from 'react';
import { ClerkPaginatedResponse, OrganizationDomainResource, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationInvitationResource, OrganizationResource, GetDomainsParams, GetMembershipRequestParams, GetMembersParams, GetInvitationsParams, UserOrganizationInvitationResource, OrganizationSuggestionResource, CreateOrganizationParams, SetActive, GetUserOrganizationMembershipParams, GetUserOrganizationInvitationsParams, GetUserOrganizationSuggestionsParams, ActiveSessionResource, SessionResource, UserResource, LoadedClerk, ClientResource, ClerkOptions } from '@clerk/types';
import { ClerkPaginatedResponse, OrganizationDomainResource, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationInvitationResource, OrganizationResource, GetDomainsParams, GetMembershipRequestParams, GetMembersParams, GetInvitationsParams, UserOrganizationInvitationResource, OrganizationSuggestionResource, CreateOrganizationParams, SetActive, GetUserOrganizationMembershipParams, GetUserOrganizationInvitationsParams, GetUserOrganizationSuggestionsParams, UseSessionReturn, UseSessionListReturn, UseUserReturn, LoadedClerk, UserResource, ClientResource, ActiveSessionResource, ClerkOptions } from '@clerk/types';
import { ClerkAPIResponseError } from '../error.js';

@@ -126,15 +126,2 @@ import { dequal } from 'dequal';

type UseSessionReturn = {
isLoaded: false;
isSignedIn: undefined;
session: undefined;
} | {
isLoaded: true;
isSignedIn: false;
session: null;
} | {
isLoaded: true;
isSignedIn: true;
session: ActiveSessionResource;
};
type UseSession = () => UseSessionReturn;

@@ -163,27 +150,5 @@ /**

type UseSessionListReturn = {
isLoaded: false;
sessions: undefined;
setActive: undefined;
} | {
isLoaded: true;
sessions: SessionResource[];
setActive: SetActive;
};
type UseSessionList = () => UseSessionListReturn;
declare const useSessionList: UseSessionList;
type UseUserReturn = {
isLoaded: false;
isSignedIn: undefined;
user: undefined;
} | {
isLoaded: true;
isSignedIn: false;
user: null;
} | {
isLoaded: true;
isSignedIn: true;
user: UserResource;
};
/**

@@ -190,0 +155,0 @@ * Returns the current auth state and if a user is signed in, the user object.

@@ -27,3 +27,3 @@ "use strict";

module.exports = __toCommonJS(versionSelector_exports);
var versionSelector = (clerkJSVersion, packageVersion = "5.34.3") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.34.4-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591") => {
if (clerkJSVersion) {

@@ -35,3 +35,3 @@ return clerkJSVersion;

if (prereleaseTag === "snapshot") {
return "5.34.3";
return "5.34.4-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591";
}

@@ -38,0 +38,0 @@ return prereleaseTag;

{
"name": "@clerk/shared",
"version": "2.15.0",
"version": "2.15.1-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591",
"description": "Internal package utils used by the Clerk SDKs",

@@ -118,3 +118,3 @@ "repository": {

"dependencies": {
"@clerk/types": "4.34.0",
"@clerk/types": "4.34.1-canary.v152f0b8eeb7687a1fcff75b7395bf8f57ef04591",
"dequal": "2.0.3",

@@ -121,0 +121,0 @@ "glob-to-regexp": "0.4.1",

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

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

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