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

@8base/utils

Package Overview
Dependencies
Maintainers
5
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@8base/utils - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.5.0](https://github.com/8base/sdk/compare/v2.4.0...v2.5.0) (2021-08-23)
### Features
* add web native auth client ([7d61180](https://github.com/8base/sdk/commit/7d61180086bb8cb6adde65e0930f220a715b8a4f))
# [2.4.0](https://github.com/8base/sdk/compare/v2.3.0...v2.4.0) (2021-08-17)

@@ -8,0 +19,0 @@

11

dist/types.d.ts

@@ -100,6 +100,5 @@ import { FIELD_TYPE, SWITCH_FORMATS, TEXT_FORMATS, NUMBER_FORMATS, FILE_FORMATS, DATE_FORMATS, MUTATION_TYPE, SMART_FORMATS, APP_STATUS, FIELD_KINDS, TABLE_ORIGIN_TYPES } from './constants';

};
export interface IAuthState {
export declare type IAuthState<T extends Record<string, any> = Record<string, any>> = T & {
token?: string;
[additionalProperty: string]: any;
}
};
export interface IStorageOptions<T> {

@@ -110,5 +109,5 @@ storage?: IStorage;

}
export interface IAuthClient {
getState: () => IAuthState;
setState: (state: IAuthState) => void;
export interface IAuthClient<S extends IAuthState = IAuthState> {
getState: () => S;
setState: (state: S) => void;
purgeState: () => void;

@@ -115,0 +114,0 @@ checkIsAuthorized: () => boolean;

{
"name": "@8base/utils",
"version": "2.4.0",
"version": "2.5.0",
"repository": "https://github.com/8base/sdk",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/8base/sdk/tree/master/packages/core/utils",

@@ -127,6 +127,5 @@ import {

export interface IAuthState {
export type IAuthState<T extends Record<string, any> = Record<string, any>> = T & {
token?: string;
[additionalProperty: string]: any;
}
};

@@ -139,5 +138,5 @@ export interface IStorageOptions<T> {

export interface IAuthClient {
getState: () => IAuthState;
setState: (state: IAuthState) => void;
export interface IAuthClient<S extends IAuthState = IAuthState> {
getState: () => S;
setState: (state: S) => void;
purgeState: () => void;

@@ -144,0 +143,0 @@ checkIsAuthorized: () => boolean;

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