gritty 10.0.0 → 10.0.1

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.
package/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2026.02.12, v10.0.1
2
+
3
+ feature:
4
+ - ffdbfb7 gritty: default export
5
+
1
6
  2026.02.12, v10.0.0
2
7
 
3
8
  feature:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gritty",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Web terminal emulator",
package/server/gritty.js CHANGED
@@ -44,7 +44,9 @@ const choose = (a, b, options) => {
44
44
  return options.default;
45
45
  };
46
46
 
47
- export const gritty = (options = {}) => {
47
+ export default gritty;
48
+
49
+ export function gritty(options = {}) {
48
50
  const router = Router();
49
51
  const {prefix = '/gritty'} = options;
50
52