UNPKG

last-shield

Version:

Last-Shield is a powerful and flexible security library designed to enhance the protection of your web applications.

9 lines (8 loc) 295 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useLastTokenStore = void 0; const zustand_1 = require("zustand"); exports.useLastTokenStore = (0, zustand_1.create)((set) => ({ lastToken: null, setLastToken: (token) => set({ lastToken: token }), }));