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.91 to 0.1.92

5

dist/cjs/slices/groupOrder.js

@@ -74,7 +74,4 @@ "use strict";

const { revenueCenter } = getState().order;
console.log('revenueCenter', revenueCenter);
dispatch((0, order_1.resetOrder)());
const { serviceType, requestedAt } = getState().groupOrder;
console.log('serviceType', serviceType);
console.log('requestedAt', requestedAt);
dispatch((0, order_1.setMenuVars)({ revenueCenter, serviceType, requestedAt }));

@@ -167,3 +164,3 @@ dispatch((0, order_1.setCart)([]));

adjustGroupOrder: (state, action) => {
state = Object.assign(Object.assign({}, state), action.payload);
return Object.assign(Object.assign({}, state), action.payload);
}

@@ -170,0 +167,0 @@ },

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

updateOrder: (state, action) => {
state = Object.assign(Object.assign({}, state), action.payload);
return Object.assign(Object.assign({}, state), action.payload);
},

@@ -275,5 +275,4 @@ checkout: state => state,

setMenuVars: (state, action) => {
console.log('action.payload', action.payload);
const { revenueCenter } = action.payload;
state = Object.assign(Object.assign(Object.assign({}, state), action.payload), { orderType: revenueCenter.revenue_center_type, isOutpost: revenueCenter.is_outpost });
return Object.assign(Object.assign(Object.assign({}, state), action.payload), { orderType: revenueCenter.revenue_center_type, isOutpost: revenueCenter.is_outpost });
},

@@ -280,0 +279,0 @@ setAddress: (state, action) => {

@@ -69,7 +69,4 @@ import { __awaiter } from "tslib";

const { revenueCenter } = getState().order;
console.log('revenueCenter', revenueCenter);
dispatch(resetOrder());
const { serviceType, requestedAt } = getState().groupOrder;
console.log('serviceType', serviceType);
console.log('requestedAt', requestedAt);
dispatch(setMenuVars({ revenueCenter, serviceType, requestedAt }));

@@ -162,3 +159,3 @@ dispatch(setCart([]));

adjustGroupOrder: (state, action) => {
state = Object.assign(Object.assign({}, state), action.payload);
return Object.assign(Object.assign({}, state), action.payload);
}

@@ -165,0 +162,0 @@ },

@@ -241,3 +241,3 @@ import { __awaiter } from "tslib";

updateOrder: (state, action) => {
state = Object.assign(Object.assign({}, state), action.payload);
return Object.assign(Object.assign({}, state), action.payload);
},

@@ -270,5 +270,4 @@ checkout: state => state,

setMenuVars: (state, action) => {
console.log('action.payload', action.payload);
const { revenueCenter } = action.payload;
state = Object.assign(Object.assign(Object.assign({}, state), action.payload), { orderType: revenueCenter.revenue_center_type, isOutpost: revenueCenter.is_outpost });
return Object.assign(Object.assign(Object.assign({}, state), action.payload), { orderType: revenueCenter.revenue_center_type, isOutpost: revenueCenter.is_outpost });
},

@@ -275,0 +274,0 @@ setAddress: (state, action) => {

2

package.json
{
"name": "@open-tender/cloud",
"version": "0.1.91",
"version": "0.1.92",
"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