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

@8base/auth

Package Overview
Dependencies
Maintainers
5
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@8base/auth - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

11

CHANGELOG.md

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

# [2.3.0](https://github.com/8base/sdk/compare/v2.2.0...v2.3.0) (2021-08-10)
### Features
* **core-auth:** add auth ([ef571b4](https://github.com/8base/sdk/commit/ef571b4))
# [2.2.0](https://github.com/8base/sdk/compare/v2.1.0...v2.2.0) (2021-04-30)

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

2

dist/Auth.js

@@ -17,2 +17,3 @@ "use strict";

case constants_1.AUTH_STRATEGIES.WEB_8BASE:
case constants_1.AUTH_STRATEGIES.WEB_8BASE_AUTH0:
case constants_1.AUTH_STRATEGIES.WEB_AUTH0: {

@@ -24,2 +25,3 @@ return web_auth0_auth_client_1.WebAuth0AuthClient;

}
case constants_1.AUTH_STRATEGIES.WEB_8BASE_COGNITO:
case constants_1.AUTH_STRATEGIES.WEB_COGNITO: {

@@ -26,0 +28,0 @@ return web_cognito_auth_client_1.WebCognitoAuthClient;

export declare enum AUTH_STRATEGIES {
/**
* @deprecated - please use instead declarative variables like `WEB_8BASE_AUTH0` or `WEB_8BASE_COGNITO`
*/
WEB_8BASE = "web_8base",
WEB_8BASE_AUTH0 = "web_8base_auth0",
WEB_8BASE_COGNITO = "web_8base_cognito",
WEB_AUTH0 = "web_auth0",

@@ -4,0 +9,0 @@ WEB_COGNITO = "web_cognito",

@@ -6,3 +6,8 @@ "use strict";

(function (AUTH_STRATEGIES) {
/**
* @deprecated - please use instead declarative variables like `WEB_8BASE_AUTH0` or `WEB_8BASE_COGNITO`
*/
AUTH_STRATEGIES["WEB_8BASE"] = "web_8base";
AUTH_STRATEGIES["WEB_8BASE_AUTH0"] = "web_8base_auth0";
AUTH_STRATEGIES["WEB_8BASE_COGNITO"] = "web_8base_cognito";
AUTH_STRATEGIES["WEB_AUTH0"] = "web_auth0";

@@ -9,0 +14,0 @@ AUTH_STRATEGIES["WEB_COGNITO"] = "web_cognito";

14

package.json
{
"name": "@8base/auth",
"version": "2.2.0",
"version": "2.3.0",
"repository": "https://github.com/8base/sdk",
"homepage": "https://github.com/8base/sdk/tree/master/packages-core/auth#readme",
"homepage": "https://github.com/8base/sdk/tree/master/packages/core/auth",
"main": "dist/index.js",

@@ -14,7 +14,7 @@ "module": "dist/index.js",

"dependencies": {
"@8base/api-token-auth-client": "^2.2.0",
"@8base/utils": "^2.2.0",
"@8base/web-auth0-auth-client": "^2.2.0",
"@8base/web-cognito-auth-client": "^2.2.0",
"@8base/web-oauth-client": "^2.2.0",
"@8base/api-token-auth-client": "^2.3.0",
"@8base/utils": "^2.3.0",
"@8base/web-auth0-auth-client": "^2.3.0",
"@8base/web-cognito-auth-client": "^2.3.0",
"@8base/web-oauth-client": "^2.3.0",
"ramda": "^0.27.1"

@@ -21,0 +21,0 @@ },

@@ -32,2 +32,3 @@ import {

case AUTH_STRATEGIES.WEB_8BASE:
case AUTH_STRATEGIES.WEB_8BASE_AUTH0:
case AUTH_STRATEGIES.WEB_AUTH0: {

@@ -39,2 +40,3 @@ return WebAuth0AuthClient;

}
case AUTH_STRATEGIES.WEB_8BASE_COGNITO:
case AUTH_STRATEGIES.WEB_COGNITO: {

@@ -41,0 +43,0 @@ return WebCognitoAuthClient;

export enum AUTH_STRATEGIES {
/**
* @deprecated - please use instead declarative variables like `WEB_8BASE_AUTH0` or `WEB_8BASE_COGNITO`
*/
WEB_8BASE = 'web_8base',
WEB_8BASE_AUTH0 = 'web_8base_auth0',
WEB_8BASE_COGNITO = 'web_8base_cognito',
WEB_AUTH0 = 'web_auth0',

@@ -4,0 +9,0 @@ WEB_COGNITO = 'web_cognito',

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