24fire-api 1.0.1 → 1.0.2
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/package.json +2 -2
- package/src/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "24fire-api",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Nutze die
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Nutze die 24fire api in Nodejs, sicher und schnell",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
package/src/index.js
CHANGED
|
@@ -13,7 +13,7 @@ const axios = require('axios');
|
|
|
13
13
|
const fireapiError = "[24fire Client]: "
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class fireApi {
|
|
17
17
|
constructor(apiKey) {
|
|
18
18
|
this.apiKey = apiKey;
|
|
19
19
|
if(!apiKey) { return fireapiError + "No API-Key was given"}
|
|
@@ -95,4 +95,4 @@ class fireAPI {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
module.exports =
|
|
98
|
+
module.exports = fireApi;
|