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.4 to 0.0.5

4

dist/index.js

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

return access;
}, reset() {
set(Object.assign(Object.assign({}, defaultInitialState), initialState));
}, reset(isAuthenticating = true) {
set(Object.assign(Object.assign(Object.assign({}, defaultInitialState), initialState), { isAuthenticating }));
} }), initialState)));

@@ -168,0 +168,0 @@ }

@@ -7,5 +7,5 @@ import type { RealmAuthStore } from './store';

export declare function selectIsAuthenticated<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(state: RealmAuthStore<TRealmAccess, TContext>): boolean;
export declare function selectReset<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(state: RealmAuthStore<TRealmAccess, TContext>): () => void;
export declare function selectReset<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(state: RealmAuthStore<TRealmAccess, TContext>): (isAuthenticating?: boolean) => void;
export declare function selectSetActiveAccess<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(state: RealmAuthStore<TRealmAccess, TContext>): (realmAccessId: string) => TRealmAccess | undefined;
export declare function selectSetContext<TRealmAccess extends RealmAccess = RealmAccess, TContext extends WhoAmIContext<TRealmAccess> = WhoAmIContext<TRealmAccess>>(state: RealmAuthStore<TRealmAccess, TContext>): (cb: (context: TContext | undefined) => TContext | undefined, isAuthenticating?: boolean) => TContext | undefined;
//# sourceMappingURL=selectors.d.ts.map

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

setActiveAccess: (realmAccessId: string) => TRealmAccess | undefined;
reset(): void;
reset(isAuthenticating?: boolean): void;
}

@@ -29,3 +29,3 @@ export declare const defaultInitialState: {

readonly useRealmAuthIsAuthenticated: () => boolean;
readonly useRealmAuthReset: () => () => void;
readonly useRealmAuthReset: () => (isAuthenticating?: boolean) => void;
readonly useRealmAuthSetActiveAccess: () => (realmAccessId: string) => TRealmAccess | undefined;

@@ -32,0 +32,0 @@ readonly useRealmAuthSetContext: () => (cb: (context: TContext | undefined) => TContext | undefined, isAuthenticating?: boolean) => TContext | undefined;

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

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

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