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

@pentops/j5-react-realm-auth

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pentops/j5-react-realm-auth - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

dist/index.js

@@ -168,4 +168,4 @@ import React from 'react';

}
function createRealmAuthStoreHooks(initialState, realmAccessIdGetter = (defaultRealmAccessIdGetter)) {
const useRealmAuthStore = createRealmAuthStore(initialState, realmAccessIdGetter);
function createRealmAuthStoreHooks(initialState, realmAccessIdGetter = (defaultRealmAccessIdGetter), contextChangeActiveAccessSelector = (defaultContextChangeActiveAccessSelector)) {
const useRealmAuthStore = createRealmAuthStore(initialState, realmAccessIdGetter, contextChangeActiveAccessSelector);
return {

@@ -172,0 +172,0 @@ useRealmAuthStore,

@@ -22,3 +22,3 @@ import { type RealmAccess, type WhoAmIContext } from './types';

export declare function createRealmAuthStore<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(initialState?: Partial<RealmAuthStore<TRealmAccess, TContext>>, realmAccessIdGetter?: RealmAccessIdGetter<TRealmAccess>, contextChangeActiveAccessSelector?: (context: WhoAmIContext<TRealmAccess> | undefined, activeAccess: TRealmAccess | undefined, realmAccessIdGetter?: RealmAccessIdGetter<TRealmAccess>) => TRealmAccess | undefined): import("zustand").UseBoundStore<import("zustand").StoreApi<RealmAuthStore<TRealmAccess, TContext>>>;
export declare function createRealmAuthStoreHooks<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(initialState?: Partial<RealmAuthStore<TRealmAccess, TContext>>, realmAccessIdGetter?: RealmAccessIdGetter<TRealmAccess>): {
export declare function createRealmAuthStoreHooks<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(initialState?: Partial<RealmAuthStore<TRealmAccess, TContext>>, realmAccessIdGetter?: RealmAccessIdGetter<TRealmAccess>, contextChangeActiveAccessSelector?: (context: WhoAmIContext<TRealmAccess> | undefined, activeAccess: TRealmAccess | undefined, realmAccessIdGetter?: RealmAccessIdGetter<TRealmAccess>) => TRealmAccess | undefined): {
readonly useRealmAuthStore: import("zustand").UseBoundStore<import("zustand").StoreApi<RealmAuthStore<TRealmAccess, TContext>>>;

@@ -25,0 +25,0 @@ readonly useRealmAuthActiveAccess: () => TRealmAccess | undefined;

{
"name": "@pentops/j5-react-realm-auth",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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