@sefinek/random-emoji 1.4.2 β†’ 1.4.4

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.md CHANGED
@@ -1,4 +1,10 @@
1
- ## πŸ“₯・v1.4.2 (02.06.2022)
1
+ ## πŸ“₯・v1.4.4 (02.10.2022)
2
+ 1. Fixed URLs.
3
+
4
+ ## πŸ“₯・v1.4.3 (19.09.2022)
5
+ 1. Small changes in index.d.ts etc.
6
+
7
+ ## πŸ“₯・v1.4.2 (05.06.2022)
2
8
  1. Added typings.
3
9
  2. Small fixes in README.md and README_PL.md.
4
10
 
@@ -13,7 +19,7 @@
13
19
 
14
20
  ## πŸ“₯・v1.3.0 (13.05.2022)
15
21
  1. Updated README.md file.
16
- 2. Added `new kaomojis()` with random kaomoji from my [API](https://api.skiffybot.xyz). See examples: [[1](https://github.com/sefinek24/random-emoji/blob/main/test.js)] [[2](https://github.com/sefinek24/random-emoji#%EF%B8%8F--kaomojis)]
22
+ 2. Added `new kaomojis()` with random kaomoji from my [API](https://api-skiffy.sefinek.fun). See examples: [[1](https://github.com/sefinek24/random-emoji/blob/main/test.js)] [[2](https://github.com/sefinek24/random-emoji#%EF%B8%8F--kaomojis)]
17
23
  3. Other changes to [index.js](https://github.com/sefinek24/random-emoji/blob/main/index.js) file.
18
24
 
19
25
  ## πŸ“₯・v1.2.0 (12.05.2022)
package/README.md CHANGED
@@ -24,6 +24,7 @@ console.log(random.unicode());
24
24
  // 2. Random emoji with name and type
25
25
  const emoji = random.emojis();
26
26
  console.log(`Name: ${emoji.name}; Emoji: ${emoji.content};`);
27
+ // > Name: jack-o-lantern; Emoji: πŸŽƒ;
27
28
 
28
29
  // 3. Random cat
29
30
  const cat = random.cats();
@@ -40,7 +41,7 @@ console.log(`Name: ${cat.name}; Emoji: ${cat.content};`);
40
41
  | [hearts](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L14) | Return random heart |
41
42
  | [foods](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L18) | Return random food |
42
43
  | [circles](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L22) | Return random circle |
43
- | [kaomojis](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L26) | Return random kaomojis from [API](https://api.skiffybot.xyz) |
44
+ | [kaomojis](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L26) | Return random kaomojis from [API](https://api-skiffy.sefinek.fun) |
44
45
 
45
46
  ## ⛩️ β€’ Kaomoji
46
47
  ### Β» Async/await example
@@ -63,7 +64,7 @@ const kaomoji = new random.kaomojis();
63
64
  kaomoji.love().then(data => console.log(data));
64
65
  ```
65
66
 
66
- ### Β» The returned object from [API](https://api.skiffybot.xyz)
67
+ ### Β» The returned object from [API](https://api-skiffy.sefinek.fun)
67
68
  ```json
68
69
  {
69
70
  "success": true,
@@ -77,11 +78,11 @@ kaomoji.love().then(data => console.log(data));
77
78
  ### Β» Kaomoji endpoints
78
79
  | Function | Example |
79
80
  |-------------------------------------------------------|-----------|
80
- | [cat](https://api.skiffybot.xyz/api/v1/kaomoji/cat) | (=^-Ο‰-^=) |
81
- | [dog](https://api.skiffybot.xyz/api/v1/kaomoji/dog) | ଘ(βˆͺγƒ»ο»Œγƒ»βˆͺ)ଓ |
82
- | [owo](https://api.skiffybot.xyz/api/v1/kaomoji/owo) | π“žπ”€π“ž |
83
- | [uwu](https://api.skiffybot.xyz/api/v1/kaomoji/uwu) | π•Œπ•¨π•Œ |
84
- | [love](https://api.skiffybot.xyz/api/v1/kaomoji/love) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
81
+ | [cat](https://api-skiffy.sefinek.fun/api/v1/kaomoji/cat) | (=^-Ο‰-^=) |
82
+ | [dog](https://api-skiffy.sefinek.fun/api/v1/kaomoji/dog) | ଘ(βˆͺγƒ»ο»Œγƒ»βˆͺ)ଓ |
83
+ | [owo](https://api-skiffy.sefinek.fun/api/v1/kaomoji/owo) | π“žπ”€π“ž |
84
+ | [uwu](https://api-skiffy.sefinek.fun/api/v1/kaomoji/uwu) | π•Œπ•¨π•Œ |
85
+ | [love](https://api-skiffy.sefinek.fun/api/v1/kaomoji/love) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
85
86
 
86
87
  ## πŸ“ β€’ Changelog
87
88
  > https://github.com/sefinek24/random-emoji/blob/main/CHANGELOG.md
package/README_PL.md CHANGED
@@ -41,7 +41,7 @@ console.log(`Nazwa: ${cat.name}; Emoji: ${cat.content};`);
41
41
  | [hearts](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L14) | Zwraca losowe serce |
42
42
  | [foods](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L18) | Zwraca losowe jedzenie |
43
43
  | [circles](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L22) | Zwraca losowe kΓ³Ε‚ko |
44
- | [kaomojis](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L26) | Zwraca losowe kaomoji z [API](https://api.skiffybot.xyz) |
44
+ | [kaomojis](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L26) | Zwraca losowe kaomoji z [API](https://api-skiffy.sefinek.fun) |
45
45
 
46
46
  ## ⛩️ β€’ Kaomoji
47
47
  ### Β» PrzykΕ‚ad Async/await
@@ -64,7 +64,7 @@ const kaomoji = new random.kaomojis();
64
64
  kaomoji.love().then(data => console.log(data));
65
65
  ```
66
66
 
67
- ### Β» ZwrΓ³cony obiekt przez [API](https://api.skiffybot.xyz)
67
+ ### Β» ZwrΓ³cony obiekt przez [API](https://api-skiffy.sefinek.fun)
68
68
  ```json
69
69
  {
70
70
  "success": true,
@@ -78,11 +78,11 @@ kaomoji.love().then(data => console.log(data));
78
78
  ### Β» Punkty koΕ„cowe dla Kaomoji
79
79
  | Function | Example |
80
80
  |-------------------------------------------------------|-----------|
81
- | [cat](https://api.skiffybot.xyz/api/v1/kaomoji/cat) | (=^-Ο‰-^=) |
82
- | [dog](https://api.skiffybot.xyz/api/v1/kaomoji/dog) | ଘ(βˆͺγƒ»ο»Œγƒ»βˆͺ)ଓ |
83
- | [owo](https://api.skiffybot.xyz/api/v1/kaomoji/owo) | π“žπ”€π“ž |
84
- | [uwu](https://api.skiffybot.xyz/api/v1/kaomoji/uwu) | π•Œπ•¨π•Œ |
85
- | [love](https://api.skiffybot.xyz/api/v1/kaomoji/love) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
81
+ | [cat](https://api-skiffy.sefinek.fun/api/v1/kaomoji/cat) | (=^-Ο‰-^=) |
82
+ | [dog](https://api-skiffy.sefinek.fun/api/v1/kaomoji/dog) | ଘ(βˆͺγƒ»ο»Œγƒ»βˆͺ)ଓ |
83
+ | [owo](https://api-skiffy.sefinek.fun/api/v1/kaomoji/owo) | π“žπ”€π“ž |
84
+ | [uwu](https://api-skiffy.sefinek.fun/api/v1/kaomoji/uwu) | π•Œπ•¨π•Œ |
85
+ | [love](https://api-skiffy.sefinek.fun/api/v1/kaomoji/love) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
86
86
 
87
87
  ## πŸ“ β€’ Lista zmian
88
88
  > https://github.com/sefinek24/random-emoji/blob/main/CHANGELOG.md
package/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- export function unicode(): String
2
- export function emojis(): Object
3
- export function cats(): Object
4
- export function hearts(): Object
5
- export function foods(): Object
6
- export function circles(): Object
1
+ export function unicode(): string;
2
+ export function emojis(): Object;
3
+ export function cats(): Object;
4
+ export function hearts(): Object;
5
+ export function foods(): Object;
6
+ export function circles(): Object;
7
7
 
8
8
  export class kaomojis {
9
- cat()
10
- dog()
11
- owo()
12
- uwu()
13
- love()
9
+ cat();
10
+ dog();
11
+ owo();
12
+ uwu();
13
+ love();
14
14
  }
package/index.js CHANGED
@@ -31,7 +31,7 @@ function getContent(url) {
31
31
  class SkiffyAPI {
32
32
  constructor() {
33
33
  Object.keys(endpoints).forEach(endpoint => {
34
- this[endpoint] = () => getContent(`https://api.skiffybot.xyz/api/v1/${endpoints[endpoint]}`);
34
+ this[endpoint] = () => getContent(`https://api-skiffy.sefinek.fun/api/v1/${endpoints[endpoint]}`);
35
35
  });
36
36
  }
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sefinek/random-emoji",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "Returns a random emoticons (name, type) and kaomojis.",
5
5
  "main": "index.js",
6
6
  "scripts": {