apax-react-core
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -0,5 +1,5 @@ | ||
import Cookies from 'universal-cookie'; | ||
import { get } from 'lodash'; | ||
import axios from 'axios'; | ||
import { call, select, all, put, take, takeEvery } from 'redux-saga/effects'; | ||
import Cookies$1 from 'universal-cookie'; | ||
@@ -581,3 +581,3 @@ var SET_USER_TOKEN = 'SET_USER_TOKEN'; | ||
new Cookies$1().set(tokenName, response.key, { path: '/' }); | ||
new Cookies().set(tokenName, response.key, { path: '/' }); | ||
@@ -628,3 +628,3 @@ _context.next = 12; | ||
new Cookies$1().set(tokenName, response.key, { path: '/' }); | ||
new Cookies().set(tokenName, response.key, { path: '/' }); | ||
@@ -694,3 +694,3 @@ _context2.next = 12; | ||
new Cookies$1().remove(tokenName, { path: '/' }); | ||
new Cookies().remove(tokenName, { path: '/' }); | ||
@@ -756,3 +756,3 @@ _context3.next = 21; | ||
tokenName = _context5.sent; | ||
token = new Cookies$1().get(tokenName); | ||
token = new Cookies().get(tokenName); | ||
@@ -819,3 +819,3 @@ if (!token) { | ||
new Cookies$1().remove(_tokenName, { path: '/' }); | ||
new Cookies().remove(_tokenName, { path: '/' }); | ||
@@ -822,0 +822,0 @@ case 30: |
@@ -7,6 +7,6 @@ 'use strict'; | ||
var Cookies = _interopDefault(require('universal-cookie')); | ||
var _ = require('lodash'); | ||
var axios = _interopDefault(require('axios')); | ||
var effects = require('redux-saga/effects'); | ||
var Cookies$1 = _interopDefault(require('universal-cookie')); | ||
@@ -588,3 +588,3 @@ var SET_USER_TOKEN = 'SET_USER_TOKEN'; | ||
new Cookies$1().set(tokenName, response.key, { path: '/' }); | ||
new Cookies().set(tokenName, response.key, { path: '/' }); | ||
@@ -635,3 +635,3 @@ _context.next = 12; | ||
new Cookies$1().set(tokenName, response.key, { path: '/' }); | ||
new Cookies().set(tokenName, response.key, { path: '/' }); | ||
@@ -701,3 +701,3 @@ _context2.next = 12; | ||
new Cookies$1().remove(tokenName, { path: '/' }); | ||
new Cookies().remove(tokenName, { path: '/' }); | ||
@@ -763,3 +763,3 @@ _context3.next = 21; | ||
tokenName = _context5.sent; | ||
token = new Cookies$1().get(tokenName); | ||
token = new Cookies().get(tokenName); | ||
@@ -826,3 +826,3 @@ if (!token) { | ||
new Cookies$1().remove(_tokenName, { path: '/' }); | ||
new Cookies().remove(_tokenName, { path: '/' }); | ||
@@ -829,0 +829,0 @@ case 30: |
{ | ||
"name": "apax-react-core", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Contains core react functionality developed by Apax Software LLC", | ||
@@ -5,0 +5,0 @@ "author": "apaxsoftware", |
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
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
92095