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.95 to 0.1.96

2

dist/cjs/slices/menu.d.ts

@@ -9,2 +9,3 @@ import { AppState } from '../app';

menuVars: MenuVars | null;
offsetTop: number | null;
previousMenuVars: MenuVars | null;

@@ -30,2 +31,3 @@ revenueCenters: MenuRevenueCenters | null;

export declare const selectSoldOut: (state: AppState) => SoldOut;
export declare const selectMenuOffset: (state: AppState) => number | null;
export declare const menuReducer: import("redux").Reducer<MenuState, import("redux").AnyAction>;
"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.menuReducer = exports.selectSoldOut = exports.selectMenu = exports.setCartErrors = exports.resetMenuVars = exports.resetCartErrors = exports.resetMenu = exports.fetchMenu = exports.MenuActionType = void 0;
exports.menuReducer = exports.selectMenuOffset = exports.selectSoldOut = exports.selectMenu = exports.setCartErrors = exports.resetMenuVars = exports.resetCartErrors = exports.resetMenu = exports.fetchMenu = exports.MenuActionType = void 0;
const tslib_1 = require("tslib");

@@ -17,2 +17,3 @@ const toolkit_1 = require("@reduxjs/toolkit");

cartErrors: null,
offsetTop: null,
error: null,

@@ -68,2 +69,8 @@ loading: 'idle'

state.cartErrors = action.payload;
},
resetOffsetTop: state => {
state.offsetTop = null;
},
setOffsetTop: (state, action) => {
state.offsetTop = action.payload;
}

@@ -90,2 +97,4 @@ },

exports.selectSoldOut = selectSoldOut;
const selectMenuOffset = (state) => state.menu.offsetTop;
exports.selectMenuOffset = selectMenuOffset;
exports.menuReducer = menuSlice.reducer;

@@ -9,2 +9,3 @@ import { AppState } from '../app';

menuVars: MenuVars | null;
offsetTop: number | null;
previousMenuVars: MenuVars | null;

@@ -30,2 +31,3 @@ revenueCenters: MenuRevenueCenters | null;

export declare const selectSoldOut: (state: AppState) => SoldOut;
export declare const selectMenuOffset: (state: AppState) => number | null;
export declare const menuReducer: import("redux").Reducer<MenuState, import("redux").AnyAction>;

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

cartErrors: null,
offsetTop: null,
error: null,

@@ -64,2 +65,8 @@ loading: 'idle'

state.cartErrors = action.payload;
},
resetOffsetTop: state => {
state.offsetTop = null;
},
setOffsetTop: (state, action) => {
state.offsetTop = action.payload;
}

@@ -84,2 +91,3 @@ },

export const selectSoldOut = (state) => state.menu.soldOut;
export const selectMenuOffset = (state) => state.menu.offsetTop;
export const menuReducer = menuSlice.reducer;

2

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