nekos 1.1.4 → 1.2.0

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/aa/box.txt CHANGED
@@ -2,4 +2,4 @@
2
2
    /(´・ω・`) /\
3
3
   /| ̄ ̄ ̄ ̄|\/
4
4
    |    |/
5
-     ̄ ̄ ̄ ̄
5
+     ̄ ̄ ̄ ̄
package/aa/nyancat_x.txt CHANGED
@@ -2,4 +2,3 @@
2
2
  -_-_-_-__| /\_/\
3
3
  -_-_-_-_~|_( x .x)
4
4
  -_-_-_-_ "" ""
5
-
package/aa/sad_cat.txt CHANGED
@@ -7,4 +7,4 @@
7
7
      │  | | |
8
8
   / ̄|   | | |
9
9
   | ( ̄ヽ__ヽ_)__)
10
-  \二つ
10
+  \二つ
package/aa/surprise.txt CHANGED
@@ -1,3 +1,3 @@
1
1
  ⠀/\_/\
2
2
  ( o.o )
3
- ⠀> <
3
+ ⠀> <
package/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
- // index.d.ts
1
+ type ColorKeyword = "RANDOM" | "RAINBOW";
2
+
3
+ type ColorValue = ColorKeyword | string;
2
4
 
3
5
  /**
4
6
  * An object of options for the nekos function.
@@ -10,9 +12,9 @@ interface NekosOptions {
10
12
  id?: string;
11
13
 
12
14
  /**
13
- * A single color, a keyword ("RANDOM", "RAINBOW"), or an array of colors/keywords for a gradient.
15
+ * A 6-digit hex color code, a keyword ("RANDOM", "RAINBOW"), or an array of these values for a gradient.
14
16
  */
15
- colors?: string | string[];
17
+ colors?: ColorValue | ColorValue[];
16
18
  }
17
19
 
18
20
  /**
@@ -22,8 +24,8 @@ interface NekosOptions {
22
24
  * @example
23
25
  * import nekos from 'nekos';
24
26
  *
25
- * // Log a cat with the ID 'my_cat'
26
- * nekos({ id: 'my_cat' });
27
+ * // Log a cat with a specific hex color
28
+ * nekos({ colors: '#a4c8e1' });
27
29
  */
28
30
  declare function nekos(options?: NekosOptions): void;
29
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nekos",
3
- "version": "1.1.4",
3
+ "version": "1.2.0",
4
4
  "description": "Let's have cute cats mess around in the log!",
5
5
  "main": "index.js",
6
6
  "exports": {