You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@nhost/hasura-auth-js

Package Overview
Dependencies
Maintainers
2
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nhost/hasura-auth-js - npm Package Compare versions

Comparing version

to
0.1.9

2

dist/cjs/hasura-auth-client.js

@@ -836,3 +836,3 @@ "use strict";

if (!error) return [3 /*break*/, 6];
if (!(error.message === 'Request failed with status code 401')) return [3 /*break*/, 6];
if (!(error.status === 401)) return [3 /*break*/, 6];
return [4 /*yield*/, this._clearSession()];

@@ -839,0 +839,0 @@ case 5:

@@ -830,3 +830,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

if (!error) return [3 /*break*/, 6];
if (!(error.message === 'Request failed with status code 401')) return [3 /*break*/, 6];
if (!(error.status === 401)) return [3 /*break*/, 6];
return [4 /*yield*/, this._clearSession()];

@@ -833,0 +833,0 @@ case 5:

{
"name": "@nhost/hasura-auth-js",
"version": "0.1.8",
"version": "0.1.9",
"description": "Hasura Auth JS",

@@ -5,0 +5,0 @@ "keywords": [

@@ -12,1 +12,2 @@ # Hasura Auth JS SDK

[https://docs.nhost.io/reference/sdk/authentication](https://docs.nhost.io/reference/sdk/authentication)