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

@twreporter/redux

Package Overview
Dependencies
Maintainers
7
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 7.12.1-rc.1 to 7.13.0-rc.0

lib/actions/post-reviews.js

18

CHANGELOG.md

@@ -6,2 +6,20 @@ # Change Log

# [7.13.0-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@7.12.1-rc.1...@twreporter/redux@7.13.0-rc.0) (2024-05-08)
### Bug Fixes
* remove unused code ([72da3b3](https://github.com/twreporter/twreporter-npm-packages/commit/72da3b3d1aa8990d5ebe695ac8ac9dd5585b6620))
* typo ([d095bcb](https://github.com/twreporter/twreporter-npm-packages/commit/d095bcb08a549998b37d0f928ef771aa3f31b3d9))
### Features
* add postReviews actions ([8b4fb61](https://github.com/twreporter/twreporter-npm-packages/commit/8b4fb61379895ec2d10dc5b2308811645905c7bb))
* add postReviews reducers ([6de8eac](https://github.com/twreporter/twreporter-npm-packages/commit/6de8eac2794c652ad9067229e18852bd33bceacc))
## [7.12.1-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@7.12.1-rc.0...@twreporter/redux@7.12.1-rc.1) (2024-05-07)

@@ -8,0 +26,0 @@

5

lib/actions/index.js

@@ -34,2 +34,4 @@ "use strict";

var _postReviews = require("./post-reviews");
var _default = {

@@ -62,4 +64,5 @@ createSingleBookmark: _bookmarks.createSingleBookmark,

getUserDonationHistory: _donationHistory.getUserDonationHistory,
getUserPeriodicDonationHistory: _donationHistory.getUserPeriodicDonationHistory
getUserPeriodicDonationHistory: _donationHistory.getUserPeriodicDonationHistory,
getPostReviews: _postReviews.getPostReviews
};
exports["default"] = _default;

29

lib/constants/action-types.js

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

request: 'request to fetch single bookmark',
success: 'succes to fetch single bookmark',
success: 'success to fetch single bookmark',
failure: 'fail to fetch single bookmark'

@@ -87,3 +87,3 @@ },

request: 'request to create single bookmark',
success: 'succes to create single bookmark',
success: 'success to create single bookmark',
failure: 'fail to create single bookmark'

@@ -93,3 +93,3 @@ },

request: 'request to delete single bookmark',
success: 'succes to delete single bookmark',
success: 'success to delete single bookmark',
failure: 'fail to delete single bookmark'

@@ -101,3 +101,3 @@ }

request: 'request to fetch multiple bookmarks',
success: 'succes to fetch multiple bookmarks',
success: 'success to fetch multiple bookmarks',
failure: 'fail to fetch multiple bookmarks'

@@ -142,3 +142,3 @@ }

request: 'request to fetch single user data',
success: 'succes to fetch single user data',
success: 'success to fetch single user data',
failure: 'fail to fetch single user data'

@@ -148,3 +148,3 @@ },

request: 'request to update user data',
success: 'succes to update user data',
success: 'success to update user data',
failure: 'fail to update user data'

@@ -156,3 +156,3 @@ }

request: 'request to update user analytics data',
success: 'succes to update user analytics data',
success: 'success to update user analytics data',
failure: 'fail to update user analytics data'

@@ -164,3 +164,3 @@ }

request: 'request to fetch single user footprints',
success: 'succes to fetch single user footprints',
success: 'success to fetch single user footprints',
failure: 'fail to fetch single user footprints'

@@ -170,3 +170,3 @@ },

request: 'request to update user footprint',
success: 'succes to update user footprint',
success: 'success to update user footprint',
failure: 'fail to update user footprint'

@@ -179,3 +179,3 @@ }

request: 'request to fetch single user donation history',
success: 'succes to fetch single user donation history',
success: 'success to fetch single user donation history',
failure: 'fail to fetch single user donation history'

@@ -187,8 +187,15 @@ }

request: 'request to fetch single periodic donation history',
success: 'succes to fetch single periodic donation history',
success: 'success to fetch single periodic donation history',
failure: 'fail to fetch single periodic donation history'
}
}
},
postReviews: {
read: {
request: 'request to fetch post reviews',
success: 'success to fetch post reviews',
failure: 'fail to fetch post reviews'
}
}
};
exports["default"] = _default;

@@ -16,4 +16,5 @@ "use strict";

onboarding: 'onboarding',
periodicDonations: 'periodic-donations'
periodicDonations: 'periodic-donations',
postReviews: 'post_reviews'
};
exports["default"] = _default;

@@ -27,3 +27,4 @@ "use strict";

var footprints = 'footprints';
var donationHistory = 'donationHistory'; // sections in index_page
var donationHistory = 'donationHistory';
var postReviews = 'postReviews'; // sections in index_page

@@ -96,4 +97,5 @@ var editorPicksSection = 'editor_picks_section';

footprints: footprints,
donationHistory: donationHistory
donationHistory: donationHistory,
postReviews: postReviews
};
exports["default"] = _default;

@@ -50,2 +50,4 @@ "use strict";

var _postReviews = _interopRequireDefault(require("./post-reviews"));
var _combineReducers;

@@ -57,4 +59,4 @@

var rootReducer = (0, _redux.combineReducers)((_combineReducers = {}, _defineProperty(_combineReducers, _reduxStateFieldNames["default"].articlesByAuthor, _authorArticles.articlesByAuthor), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].auth, _auth["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].authorsList, _authors.authorsList), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].bookmarks, _bookmarks["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].bookmarkWidget, _bookmarkWidget["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].entities, _entities["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].indexPage, _indexPage["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].lists, _posts.posts), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].searchedAuthorsList, _authors.searchedAuthorsList), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].selectedPost, _posts.post), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].selectedTopic, _topics.topic), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].topicList, _topics.topics), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].relatedPostsOf, _relatedPostsOf["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].featureTopic, _featureTopic["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].entitiesForAuthors, _entitiesForAuthors["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].origins, _origins["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].settings, _settings["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].latest, _latest["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].user, _user["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].analytics, _analytics["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].footprints, _footprints["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].donationHistory, _donationHistory["default"]), _combineReducers));
var rootReducer = (0, _redux.combineReducers)((_combineReducers = {}, _defineProperty(_combineReducers, _reduxStateFieldNames["default"].articlesByAuthor, _authorArticles.articlesByAuthor), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].auth, _auth["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].authorsList, _authors.authorsList), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].bookmarks, _bookmarks["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].bookmarkWidget, _bookmarkWidget["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].entities, _entities["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].indexPage, _indexPage["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].lists, _posts.posts), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].searchedAuthorsList, _authors.searchedAuthorsList), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].selectedPost, _posts.post), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].selectedTopic, _topics.topic), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].topicList, _topics.topics), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].relatedPostsOf, _relatedPostsOf["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].featureTopic, _featureTopic["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].entitiesForAuthors, _entitiesForAuthors["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].origins, _origins["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].settings, _settings["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].latest, _latest["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].user, _user["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].analytics, _analytics["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].footprints, _footprints["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].donationHistory, _donationHistory["default"]), _defineProperty(_combineReducers, _reduxStateFieldNames["default"].postReviews, _postReviews["default"]), _combineReducers));
var _default = rootReducer;
exports["default"] = _default;
{
"name": "@twreporter/redux",
"version": "7.12.1-rc.1",
"version": "7.13.0-rc.0",
"description": "redux actions and reducers for twreporter website",

@@ -28,3 +28,3 @@ "repository": "https://github.com/twreporter/twreporter-npm-packages.git",

"dependencies": {
"@twreporter/core": "^1.21.0-rc.1",
"@twreporter/core": "^1.21.0-rc.2",
"axios": "^0.19.0",

@@ -49,3 +49,3 @@ "es6-error": "^4.0.2",

],
"gitHead": "00a17a8a9955eb15def6fee6f0481c868e4b32b0"
"gitHead": "b517ce13a221cba5372e85b6a99789034429729a"
}
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