apax-react-core
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -7,2 +7,13 @@ ## Changelog | ||
## [1.1.1] - 2021-05-03 | ||
### Changed | ||
- Updated error responses in account sagas. | ||
### Added | ||
- Dependabot update of websocket-extensions | ||
- Dependabot update of http-proxy, debug, eventemitter3, and follow-redirects | ||
## [1.1.0] - 2020-08-28 | ||
@@ -9,0 +20,0 @@ |
import Cookies from 'universal-cookie'; | ||
import { has, get, merge, isEmpty } from 'lodash'; | ||
import { get, has, merge, isEmpty } from 'lodash'; | ||
import axios from 'axios'; | ||
@@ -639,3 +639,3 @@ import { call, select, all, put, take, takeEvery } from 'redux-saga/effects'; | ||
_context.next = 18; | ||
return put({ type: SIGNUP_ERROR, error: _context.t0.response.data }); | ||
return put({ type: SIGNUP_ERROR, error: get(_context.t0, 'response.data', _context.t0) }); | ||
@@ -686,3 +686,3 @@ case 18: | ||
_context2.next = 18; | ||
return put({ type: LOGIN_ERROR, error: _context2.t0.response.data }); | ||
return put({ type: LOGIN_ERROR, error: get(_context2.t0, 'response.data', _context2.t0) }); | ||
@@ -794,3 +794,3 @@ case 18: | ||
_context4.next = 13; | ||
return put({ type: PATCH_USER_ERROR, error: _context4.t0.response.data }); | ||
return put({ type: PATCH_USER_ERROR, error: get(_context4.t0, 'response.data', _context4.t0) }); | ||
@@ -797,0 +797,0 @@ case 13: |
@@ -645,3 +645,3 @@ 'use strict'; | ||
_context.next = 18; | ||
return effects.put({ type: SIGNUP_ERROR, error: _context.t0.response.data }); | ||
return effects.put({ type: SIGNUP_ERROR, error: _.get(_context.t0, 'response.data', _context.t0) }); | ||
@@ -692,3 +692,3 @@ case 18: | ||
_context2.next = 18; | ||
return effects.put({ type: LOGIN_ERROR, error: _context2.t0.response.data }); | ||
return effects.put({ type: LOGIN_ERROR, error: _.get(_context2.t0, 'response.data', _context2.t0) }); | ||
@@ -800,3 +800,3 @@ case 18: | ||
_context4.next = 13; | ||
return effects.put({ type: PATCH_USER_ERROR, error: _context4.t0.response.data }); | ||
return effects.put({ type: PATCH_USER_ERROR, error: _.get(_context4.t0, 'response.data', _context4.t0) }); | ||
@@ -803,0 +803,0 @@ case 13: |
{ | ||
"name": "apax-react-core", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Contains core react functionality developed by Apax Software LLC", | ||
@@ -5,0 +5,0 @@ "author": "apaxsoftware", |
# apax-react-core | ||
[![Build Status](https://travis-ci.org/apaxsoftware/apax-react-core.svg?branch=master)](https://travis-ci.org/apaxsoftware/apax-react-core) | ||
[![Build Status](https://travis-ci.com/apaxsoftware/apax-react-core.svg?branch=master)](https://travis-ci.com/apaxsoftware/apax-react-core) | ||
@@ -5,0 +5,0 @@ Contains core react functionality developed by Apax Software LLC |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106174
1