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

@open-tender/cloud

Package Overview
Dependencies
Maintainers
4
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-tender/cloud - npm Package Compare versions

Comparing version 0.1.93 to 0.1.94

7

dist/cjs/slices/customer/groupOrders.js

@@ -162,5 +162,5 @@ "use strict";

const payload = Object.assign(Object.assign({}, (0, groupOrder_1.makeCartPayload)(response)), { isCartOwner: true, cartOwner: customer });
dispatch((0, groupOrder_1.adjustGroupOrder)(payload));
dispatch((0, notifications_1.showNotification)('Group order reopened!'));
dispatch((0, order_1.setAlert)({ type: 'groupOrder' }));
return payload;
}

@@ -226,4 +226,5 @@ catch (err) {

})
.addCase(exports.reopenGroupOrder.fulfilled, (state, action) => {
return Object.assign(Object.assign(Object.assign({}, state), action.payload), { loading: 'idle', error: null });
.addCase(exports.reopenGroupOrder.fulfilled, state => {
state.error = null;
state.loading = 'idle';
})

@@ -230,0 +231,0 @@ .addCase(exports.reopenGroupOrder.pending, state => {

@@ -157,5 +157,5 @@ import { __awaiter } from "tslib";

const payload = Object.assign(Object.assign({}, makeCartPayload(response)), { isCartOwner: true, cartOwner: customer });
dispatch(adjustGroupOrder(payload));
dispatch(showNotification('Group order reopened!'));
dispatch(setAlert({ type: 'groupOrder' }));
return payload;
}

@@ -221,4 +221,5 @@ catch (err) {

})
.addCase(reopenGroupOrder.fulfilled, (state, action) => {
return Object.assign(Object.assign(Object.assign({}, state), action.payload), { loading: 'idle', error: null });
.addCase(reopenGroupOrder.fulfilled, state => {
state.error = null;
state.loading = 'idle';
})

@@ -225,0 +226,0 @@ .addCase(reopenGroupOrder.pending, state => {

{
"name": "@open-tender/cloud",
"version": "0.1.93",
"version": "0.1.94",
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our cloud-based Order API.",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/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