Socket
Socket
Sign inDemoInstall

@mantine/store

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mantine/store - npm Package Compare versions

Comparing version 7.1.3 to 7.1.4

10

lib/store.d.ts
export type MantineStoreSubscriber<Value> = (value: Value) => void;
type SetStateCallback<Value> = (value: Value) => Value;
export interface MantineStore<Value> {
getState(): Value;
setState(value: Value | SetStateCallback<Value>): void;
updateState(value: Value | SetStateCallback<Value>): void;
initialize(value: Value): void;
subscribe(callback: MantineStoreSubscriber<Value>): () => void;
getState: () => Value;
setState: (value: Value | SetStateCallback<Value>) => void;
updateState: (value: Value | SetStateCallback<Value>) => void;
initialize: (value: Value) => void;
subscribe: (callback: MantineStoreSubscriber<Value>) => () => void;
}

@@ -10,0 +10,0 @@ export type MantineStoreValue<Store extends MantineStore<any>> = ReturnType<Store['getState']>;

{
"name": "@mantine/store",
"version": "7.1.3",
"version": "7.1.4",
"main": "./cjs/index.js",

@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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