@openfn/language-openhim 0.1.1 → 0.1.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 CHANGED
@@ -138,15 +138,12 @@ openhim API.
138
138
  }
139
139
  ```
140
140
 
141
- ## Sample configuration
141
+ ### Configuration
142
142
 
143
- ```json
144
- {
145
- "apiUrl": "http://openhim.com/api",
146
- "username": "admin@openhim",
147
- "password": "supersecretopenhimpassword"
148
- }
149
- ```
143
+ View all the required and optional properties for `state.configuration` in the
144
+ official
145
+ [configuration-schema](https://docs.openfn.org/adaptors/packages/openhim-configuration-schema/)
146
+ definition.
150
147
 
151
148
  ## Development
152
149
 
@@ -6,20 +6,29 @@
6
6
  "type": "string",
7
7
  "description": "The OpenHIM API url",
8
8
  "format": "uri",
9
- "minLength": 1
9
+ "minLength": 1,
10
+ "examples": [
11
+ "http://openhim.com/api"
12
+ ]
10
13
  },
11
14
  "username": {
12
15
  "title": "Username",
13
16
  "type": "string",
14
17
  "description": "The username to log in to OpenHIM",
15
- "minLength": 1
18
+ "minLength": 1,
19
+ "examples": [
20
+ "admin@openhim.org"
21
+ ]
16
22
  },
17
23
  "password": {
18
24
  "title": "Password",
19
25
  "type": "string",
20
26
  "description": "The password to log in to OpenHIM",
21
27
  "writeOnly": true,
22
- "minLength": 1
28
+ "minLength": 1,
29
+ "examples": [
30
+ "@super(!)Secretpass"
31
+ ]
23
32
  }
24
33
  },
25
34
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-openhim",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "openhim Language Pack for OpenFn",
5
5
  "main": "dist/index.cjs",
6
6
  "author": "Open Function Group",