@20syldev/api 3.2.1 → 3.2.3
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/README.md +2 -2
- package/app.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a href="https://api.sylvain.pro"><img src="https://api.sylvain.pro/favicon.ico" alt="Logo" width="25%" height="auto"/></a>
|
|
3
3
|
|
|
4
4
|
# API Personnelle
|
|
5
|
-
[](https://github.com/20syldev/api/releases/latest)
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
---
|
|
@@ -44,7 +44,7 @@ Enfin, **exécutez** le script de build, qui installera les **dépendances** et
|
|
|
44
44
|
$ npm run build
|
|
45
45
|
```
|
|
46
46
|
```console
|
|
47
|
-
> @20syldev/api@3.2.
|
|
47
|
+
> @20syldev/api@3.2.3 build
|
|
48
48
|
> npm install && node app.js
|
|
49
49
|
|
|
50
50
|
[...]
|
package/app.js
CHANGED
|
@@ -21,7 +21,7 @@ const versions = ['v1', 'v2', 'v3'];
|
|
|
21
21
|
const endpoints = {
|
|
22
22
|
v1: ['algorithms', 'captcha', 'color', 'convert', 'domain', 'infos', 'personal', 'qrcode', 'token', 'username', 'website'],
|
|
23
23
|
v2: ['algorithms', 'captcha', 'chat', 'color', 'convert', 'domain', 'hash', 'infos', 'personal', 'qrcode', 'tic-tac-toe', 'token', 'username', 'website'],
|
|
24
|
-
v3: ['algorithms', 'captcha', 'chat', 'color', 'convert', '
|
|
24
|
+
v3: ['algorithms', 'captcha', 'chat', 'color', 'convert', 'domain', 'hash', 'hyperplanning', 'infos', 'levenshtein', 'personal', 'qrcode', 'tic-tac-toe', 'time', 'token', 'username', 'website']
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
// Arrowed functions (formatting, math & random)
|
|
@@ -861,6 +861,7 @@ app.get('/:version/website', async (req, res) => {
|
|
|
861
861
|
gemsync: process.env.GEMSYNC,
|
|
862
862
|
gitsite: process.env.GITSITE,
|
|
863
863
|
logs: process.env.LOGS,
|
|
864
|
+
logvault: process.env.LOGVAULT,
|
|
864
865
|
minify: process.env.MINIFY,
|
|
865
866
|
morpion: process.env.MORPION,
|
|
866
867
|
nitrogen: process.env.NITROGEN,
|
package/package.json
CHANGED