x-essential-lib 0.4.5 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,5 @@
1
- export declare function useHotkey(prod: boolean): {};
1
+ export declare function useHotkey(prod: boolean): {
2
+ onHotkeyEscape: () => void;
3
+ onHotkeyCtrlShiftD: () => void;
4
+ onHotkeyCtrlShiftL: () => void;
5
+ };
package/dist/index.js CHANGED
@@ -795,7 +795,7 @@ function mt(e) {
795
795
  window.addEventListener("keydown", n, !1);
796
796
  }), V(() => {
797
797
  window.removeEventListener("keydown", n, !1);
798
- }), {};
798
+ }), { onHotkeyEscape: r, onHotkeyCtrlShiftD: c, onHotkeyCtrlShiftL: u };
799
799
  }
800
800
  function ht() {
801
801
  const e = Q();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.4.5",
4
+ "version": "0.4.6",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",