@openfn/language-khanacademy 0.3.1 → 0.3.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
@@ -4,18 +4,14 @@ Language Pack for building expressions and operations to make HTTP calls.
4
4
 
5
5
  ## Documentation
6
6
 
7
- ## fetch
7
+ ### Configuration
8
8
 
9
- #### Sample configuration
9
+ View all the required and optional properties for `state.configuration` in the
10
+ official
11
+ [configuration-schema](https://docs.openfn.org/adaptors/packages/khanacademy-configuration-schema/)
12
+ definition.
10
13
 
11
- ```json
12
- {
13
- "email": "yours",
14
- "password": "notmine",
15
- "consumerKey": "somEThINGkeyish",
16
- "secretKey": "otherThiNGfSECret"
17
- }
18
- ```
14
+ ## fetch
19
15
 
20
16
  #### sample usage
21
17
 
@@ -6,28 +6,40 @@
6
6
  "type": "string",
7
7
  "description": "Your Khanacademy login email",
8
8
  "format": "email",
9
- "minLength": 1
9
+ "minLength": 1,
10
+ "examples": [
11
+ "test@openfn.org"
12
+ ]
10
13
  },
11
14
  "password": {
12
15
  "title": "Password",
13
16
  "type": "string",
14
17
  "description": "Your Khanacademy login password",
15
18
  "writeOnly": true,
16
- "minLength": 1
19
+ "minLength": 1,
20
+ "examples": [
21
+ "@some(!)Strongpassword"
22
+ ]
17
23
  },
18
24
  "consumerKey": {
19
25
  "title": "Consumer Key",
20
26
  "type": "string",
21
27
  "description": "Your Khanacademy consumer key",
22
28
  "writeOnly": true,
23
- "minLength": 1
29
+ "minLength": 1,
30
+ "examples": [
31
+ "somEThINGkeyish"
32
+ ]
24
33
  },
25
34
  "secretKey": {
26
35
  "title": "Secret Key",
27
36
  "type": "string",
28
37
  "description": "Your Khanacademy secret key",
29
38
  "writeOnly": true,
30
- "minLength": 1
39
+ "minLength": 1,
40
+ "examples": [
41
+ "otherThiNGfSECret"
42
+ ]
31
43
  }
32
44
  },
33
45
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-khanacademy",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "A Khan Academy Language Pack for OpenFn",
5
5
  "main": "dist/index.cjs",
6
6
  "author": "Open Function Group",