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

aws-cognito-redux-saga-refact

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-cognito-redux-saga-refact - npm Package Compare versions

Comparing version

to
1.5.16

{
"name": "aws-cognito-redux-saga-refact",
"version": "1.5.15",
"version": "1.5.16",
"description": "Redux Saga AWS Cognito Library",

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

@@ -90,2 +90,4 @@ import * as auth from 'aws-cognito-promises-refact'

function* signIn(action) {
let user = null;
let session = null;
try {

@@ -98,4 +100,4 @@ const { username, password, code } = action.payload

yield call(auth.signIn, username, password)
let user = auth.config.getUser()
let session = yield call(auth.getSession)
user = auth.config.getUser()
session = yield call(auth.getSession)

@@ -112,2 +114,4 @@ yield put({

if (e.code === 'UserNotConfirmedException') {
console.log(user)
console.log(session)
yield put({

@@ -114,0 +118,0 @@ type: actions.AUTH_SET_STATE,

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