palabra 1.8.5 → 1.8.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.
package/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2026.04.08, v1.8.6
2
+
3
+ fix:
4
+ - 2dbf0c2 directorio
5
+
1
6
  2026.04.08, v1.8.5
2
7
 
3
8
  fix:
@@ -1,9 +1,11 @@
1
1
  import {create, createPalabra} from '../palabra.js';
2
2
  import {readPalabra} from './read-palabra.js';
3
3
 
4
- export const instalar = async (nombres) => {
4
+ export const instalar = async (nombres, {directorio}) => {
5
5
  if (nombres) {
6
- const palabra = createPalabra(nombres);
6
+ const palabra = createPalabra(nombres, {
7
+ directorio,
8
+ });
7
9
  return create(palabra);
8
10
  }
9
11
 
package/lib/palabra.js CHANGED
@@ -10,7 +10,7 @@ export const create = async (palabras) => {
10
10
  return commands.join(' && ');
11
11
  };
12
12
 
13
- export const createPalabra = (nombres, letras) => {
13
+ export const createPalabra = (nombres, {letras, directorio}) => {
14
14
  if (letras)
15
15
  return {
16
16
  letras,
@@ -30,6 +30,7 @@ export const createPalabra = (nombres, letras) => {
30
30
  }
31
31
 
32
32
  return {
33
+ directorio,
33
34
  letras: newLetras,
34
35
  };
35
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palabra",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Palabra software installer",