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

@twreporter/redux

Package Overview
Dependencies
Maintainers
4
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/redux - npm Package Compare versions

Comparing version 5.0.0-beta.11 to 5.0.0-beta.12

22

lib/actions/bookmarks.js

@@ -101,7 +101,11 @@ "use strict";

var httpClientWithToken = _ref2.httpClientWithToken;
var url = (0, _url.formURL)("/v1/users/".concat(userID, "/bookmarks"), {
var state = getState();
var apiOrigin = _.get(state, [_reduxStateFieldNames["default"].origins, 'api']);
var url = (0, _url.formURL)(apiOrigin, "/v1/users/".concat(userID, "/bookmarks"), {
offset: offset,
limit: limit,
sort: sort
}, undefined, false);
}, false);
var axiosConfig = {

@@ -144,5 +148,9 @@ timeout: apiTimeout,

var httpClientWithToken = _ref3.httpClientWithToken;
var url = (0, _url.formURL)("/v1/users/".concat(userID, "/bookmarks/").concat(bookmarkSlug), {
var state = getState();
var apiOrigin = _.get(state, [_reduxStateFieldNames["default"].origins, 'api']);
var url = (0, _url.formURL)(apiOrigin, "/v1/users/".concat(userID, "/bookmarks/").concat(bookmarkSlug), {
host: bookmarkHost
}, undefined, false);
}, false);
var axiosConfig = {

@@ -185,3 +193,7 @@ timeout: apiTimeout,

var httpClientWithToken = _ref4.httpClientWithToken;
var url = (0, _url.formURL)("/v1/users/".concat(userID, "/bookmarks/").concat(bookmarkID), {}, undefined, false);
var state = getState();
var apiOrigin = _.get(state, [_reduxStateFieldNames["default"].origins, 'api']);
var url = (0, _url.formURL)(apiOrigin, "/v1/users/".concat(userID, "/bookmarks/").concat(bookmarkID), {}, false);
var axiosConfig = {

@@ -188,0 +200,0 @@ timeout: apiTimeout,

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

actionType: '',
debugDetails: null,
lastAction: null,
isAuthed: false,

@@ -43,4 +43,6 @@ isRequesting: false,

accessToken: initState.accessToken,
actionType: action.type,
debugDetails: action.payload,
lastAction: {
type: action.type,
payload: action.payload
},
isAuthed: false,

@@ -56,4 +58,6 @@ isRequesting: true,

accessToken: initState.accessToken,
actionType: action.type,
debugDetails: action.payload,
lastAction: {
type: action.type,
payload: action.payload
},
isAuthed: false,

@@ -73,4 +77,6 @@ isRequesting: false,

accessToken: jwt,
actionType: action.type,
debugDetails: action.payload,
lastAction: {
type: action.type,
payload: action.payload
},
isAuthed: true,

@@ -77,0 +83,0 @@ isRequesting: false,

{
"name": "@twreporter/redux",
"version": "5.0.0-beta.11",
"version": "5.0.0-beta.12",
"description": "redux actions and reducers for twreporter website",

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

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