Socket
Socket
Sign inDemoInstall

zustand-fetching

Package Overview
Dependencies
11
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.7 to 2.0.8

6

dist/helpers/controllers/hooks/useLeitenModals.d.ts

@@ -5,7 +5,7 @@ export type LeitenModalState = {

};
export type LeitenModalManagerState = {
export interface LeitenModalManagerState {
modals: Record<string, LeitenModalState>;
queue: string[];
action: (key: string, value: boolean, queue?: boolean) => void;
};
readonly action: (key: string, value: boolean, queue?: boolean) => void;
}
export declare const useLeitenModalManager: import("zustand").UseBoundStore<import("zustand").StoreApi<LeitenModalManagerState>>;

@@ -12,2 +12,3 @@ import { produce } from "immer";

const key = nanoid(10);
useLeitenModalManager.getState().action(key, false);
const setContent = (value) => {

@@ -14,0 +15,0 @@ const nextState = produce(store.getState(), (draft) => {

{
"name": "zustand-fetching",
"version": "2.0.7",
"version": "2.0.8",
"private": false,

@@ -5,0 +5,0 @@ "description": "Zustand fetching helpers",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc