@eyeseetea/d2-logger 1.0.0 → 1.0.1
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 +8 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,10 @@ There are three types of logger output:
|
|
|
19
19
|
type: "program",
|
|
20
20
|
debug: true,
|
|
21
21
|
baseUrl: "https://play.dhis2.org/40.2.2",
|
|
22
|
-
auth:
|
|
22
|
+
auth: {
|
|
23
|
+
username: "admin",
|
|
24
|
+
password: "district",
|
|
25
|
+
},
|
|
23
26
|
organisationUnitId: "", // Organisation unit Id where the program is registered
|
|
24
27
|
programId: "", // Event program Id where register the logs as events
|
|
25
28
|
dataElements: {
|
|
@@ -77,7 +80,10 @@ There are three types of logger output:
|
|
|
77
80
|
type: "trackerProgram",
|
|
78
81
|
debug: true,
|
|
79
82
|
baseUrl: "https://play.dhis2.org/40.2.2",
|
|
80
|
-
auth:
|
|
83
|
+
auth: {
|
|
84
|
+
username: "admin",
|
|
85
|
+
password: "district",
|
|
86
|
+
},
|
|
81
87
|
trackerProgramId: "", // Tracker program Id where register the logs as events
|
|
82
88
|
messageTypeId: "", // Id of the data element which is the types of log
|
|
83
89
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eyeseetea/d2-logger",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "DHIS2 library that allows a certain application to register logs as events in a DHIS2 event program, tracker program or simply display logs on the console.",
|
|
5
5
|
"author": "EyeSeeTea team <info@eyeseetea.com>",
|
|
6
6
|
"license": "GPL-3.0",
|