New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@iad-os/react-ghost-auth

Package Overview
Dependencies
Maintainers
3
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iad-os/react-ghost-auth - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

6

build/Authentication.d.ts
import { AxiosStatic } from 'axios';
import React from 'react';
import { AuthenticationConfig, EStatus, TokenResponse } from './models';
declare type ProviderInfoType = {
type ProviderInfoType = {
selected: string;

@@ -9,3 +9,3 @@ list: string[];

};
declare type AuthCtxType = {
type AuthCtxType = {
login: (provider?: string) => void;

@@ -18,3 +18,3 @@ logout: () => void;

};
export declare type AuthorizationProps = {
export type AuthorizationProps = {
axios: AxiosStatic;

@@ -21,0 +21,0 @@ config: AuthenticationConfig;

import React from 'react';
declare type Props = {
type Props = {
children?: React.ReactNode;

@@ -4,0 +4,0 @@ };

import React from 'react';
declare type Props = {
type Props = {
children: React.ReactNode;

@@ -4,0 +4,0 @@ };

import React from 'react';
declare type Props = {
type Props = {
children: React.ReactNode;

@@ -4,0 +4,0 @@ };

import React from 'react';
declare type Props = {
type Props = {
children: React.ReactNode;

@@ -4,0 +4,0 @@ };

import React from 'react';
declare type Props = {
type Props = {
authRequired?: (() => Promise<boolean>) | boolean;

@@ -4,0 +4,0 @@ children: React.ReactNode;

@@ -1,2 +0,2 @@

export declare type InitFlowUrlType = {
export type InitFlowUrlType = {
authorization_endpoint: string;

@@ -11,3 +11,3 @@ client_id: string;

};
export declare type TokenResponse = {
export type TokenResponse = {
access_token: string;

@@ -23,3 +23,3 @@ expires_in: number;

};
export declare type AuthenticationConfig = {
export type AuthenticationConfig = {
default?: string;

@@ -31,3 +31,3 @@ providers: {

};
export declare type ProviderOptions = {
export type ProviderOptions = {
name: string;

@@ -45,2 +45,2 @@ authorization_endpoint: string;

};
export declare type EStatus = 'INIT' | 'LOGIN' | 'LOGGING' | 'LOGGED';
export type EStatus = 'INIT' | 'LOGIN' | 'LOGGING' | 'LOGGED';
{
"name": "@iad-os/react-ghost-auth",
"version": "0.6.3",
"version": "0.6.4",
"maintainers": [

@@ -35,9 +35,9 @@ {

"@types/qs": "^6.9.7",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"prettier": "2.6.2",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"prettier": "2.8.0",
"rollup": "^2.75.6",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.32.1",
"typescript": "^4.7.3"
"typescript": "^4.9.3"
},

@@ -44,0 +44,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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