@sefinek/random-emoji 1.4.4 β†’ 1.4.5

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,3 +1,6 @@
1
+ ## πŸ“₯・v1.4.5 (09.10.2022)
2
+ 1. Fixed URLs.
3
+
1
4
  ## πŸ“₯・v1.4.4 (02.10.2022)
2
5
  1. Fixed URLs.
3
6
 
@@ -19,7 +22,7 @@
19
22
 
20
23
  ## πŸ“₯・v1.3.0 (13.05.2022)
21
24
  1. Updated README.md file.
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)]
25
+ 2. Added `new kaomojis()` with random kaomoji from my [API](https://api.sefinek.net). See examples: [[1](https://github.com/sefinek24/random-emoji/blob/main/test.js)] [[2](https://github.com/sefinek24/random-emoji#%EF%B8%8F--kaomojis)]
23
26
  3. Other changes to [index.js](https://github.com/sefinek24/random-emoji/blob/main/index.js) file.
24
27
 
25
28
  ## πŸ“₯・v1.2.0 (12.05.2022)
package/README.md CHANGED
@@ -41,7 +41,7 @@ console.log(`Name: ${cat.name}; Emoji: ${cat.content};`);
41
41
  | [hearts](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L14) | Return random heart |
42
42
  | [foods](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L18) | Return random food |
43
43
  | [circles](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L22) | Return random circle |
44
- | [kaomojis](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L26) | Return random kaomojis from [API](https://api-skiffy.sefinek.fun) |
44
+ | [kaomojis](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L26) | Return random kaomojis from [API](https://api.sefinek.net) |
45
45
 
46
46
  ## ⛩️ β€’ Kaomoji
47
47
  ### Β» Async/await example
@@ -64,7 +64,7 @@ const kaomoji = new random.kaomojis();
64
64
  kaomoji.love().then(data => console.log(data));
65
65
  ```
66
66
 
67
- ### Β» The returned object from [API](https://api-skiffy.sefinek.fun)
67
+ ### Β» The returned object from [API](https://api.sefinek.net)
68
68
  ```json
69
69
  {
70
70
  "success": true,
@@ -78,11 +78,11 @@ kaomoji.love().then(data => console.log(data));
78
78
  ### Β» Kaomoji endpoints
79
79
  | Function | Example |
80
80
  |-------------------------------------------------------|-----------|
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) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
81
+ | [cat](https://api.sefinek.net/api/v1/kaomoji/cat) | (=^-Ο‰-^=) |
82
+ | [dog](https://api.sefinek.net/api/v1/kaomoji/dog) | ଘ(βˆͺγƒ»ο»Œγƒ»βˆͺ)ଓ |
83
+ | [owo](https://api.sefinek.net/api/v1/kaomoji/owo) | π“žπ”€π“ž |
84
+ | [uwu](https://api.sefinek.net/api/v1/kaomoji/uwu) | π•Œπ•¨π•Œ |
85
+ | [love](https://api.sefinek.net/api/v1/kaomoji/love) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
86
86
 
87
87
  ## πŸ“ β€’ Changelog
88
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-skiffy.sefinek.fun) |
44
+ | [kaomojis](https://github.com/sefinek24/random-emoji/blob/ab58b364710a4c7106721808e81ccdc7590c4965/test.js#L26) | Zwraca losowe kaomoji z [API](https://api.sefinek.net) |
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-skiffy.sefinek.fun)
67
+ ### Β» ZwrΓ³cony obiekt przez [API](https://api.sefinek.net)
68
68
  ```json
69
69
  {
70
70
  "success": true,
@@ -76,13 +76,13 @@ kaomoji.love().then(data => console.log(data));
76
76
  ```
77
77
 
78
78
  ### Β» Punkty koΕ„cowe dla Kaomoji
79
- | Function | Example |
80
- |-------------------------------------------------------|-----------|
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) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
79
+ | Function | Example |
80
+ |-----------------------------------------------------|-----------|
81
+ | [cat](https://api.sefinek.net/api/v1/kaomoji/cat) | (=^-Ο‰-^=) |
82
+ | [dog](https://api.sefinek.net/api/v1/kaomoji/dog) | ଘ(βˆͺγƒ»ο»Œγƒ»βˆͺ)ଓ |
83
+ | [owo](https://api.sefinek.net/api/v1/kaomoji/owo) | π“žπ”€π“ž |
84
+ | [uwu](https://api.sefinek.net/api/v1/kaomoji/uwu) | π•Œπ•¨π•Œ |
85
+ | [love](https://api.sefinek.net/api/v1/kaomoji/love) | ヽ(β™‘β€Ώβ™‘)γƒŽ |
86
86
 
87
87
  ## πŸ“ β€’ Lista zmian
88
88
  > https://github.com/sefinek24/random-emoji/blob/main/CHANGELOG.md
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-skiffy.sefinek.fun/api/v1/${endpoints[endpoint]}`);
34
+ this[endpoint] = () => getContent(`https://api.sefinek.net/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.4",
3
+ "version": "1.4.5",
4
4
  "description": "Returns a random emoticons (name, type) and kaomojis.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -27,7 +27,7 @@
27
27
  "name",
28
28
  "type"
29
29
  ],
30
- "author": "Sefinek <contact@sefinek.fun>",
30
+ "author": "Sefinek <contact@sefinek.net>",
31
31
  "license": "MIT",
32
32
  "bugs": {
33
33
  "url": "https://github.com/sefinek24/random-emoji/issues"