@openfn/language-msgraph 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/ast.json +10 -1
  2. package/package.json +3 -3
package/ast.json CHANGED
@@ -957,7 +957,7 @@
957
957
  "options"
958
958
  ],
959
959
  "docs": {
960
- "description": "Sets a cursor property on state.\nSupports natural language dates like `now`, `today`, `yesterday`, `n hours ago`, `n days ago`, and `start`,\nwhich will be converted relative to the environment (ie, the Lightning or CLI locale). Custom timezones \nare not yet supported.\nSee the usage guide at {@link https://docs.openfn.org/documentation/jobs/job-writing-guide#using-cursors}",
960
+ "description": "Sets a cursor property on state.\nSupports natural language dates like `now`, `today`, `yesterday`, `n hours ago`, `n days ago`, and `start`,\nwhich will be converted relative to the environment (ie, the Lightning or CLI locale). Custom timezones \nare not yet supported.\nYou can provide a formatter to customise the final cursor value, which is useful for normalising\ndifferent inputs. The custom formatter runs after natural language date conversion.\nSee the usage guide at {@link https://docs.openfn.org/documentation/jobs/job-writing-guide#using-cursors}",
961
961
  "tags": [
962
962
  {
963
963
  "title": "public",
@@ -1015,6 +1015,15 @@
1015
1015
  },
1016
1016
  "name": "options.defaultValue"
1017
1017
  },
1018
+ {
1019
+ "title": "param",
1020
+ "description": "custom formatter for the final cursor value",
1021
+ "type": {
1022
+ "type": "NameExpression",
1023
+ "name": "Function"
1024
+ },
1025
+ "name": "options.format"
1026
+ },
1018
1027
  {
1019
1028
  "title": "returns",
1020
1029
  "description": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-msgraph",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Microsoft Graph Language Pack for OpenFn",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,9 +19,9 @@
19
19
  "configuration-schema.json"
20
20
  ],
21
21
  "dependencies": {
22
- "undici": "^5.22.1",
22
+ "undici": "^5.28.4",
23
23
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.0/xlsx-0.20.0.tgz",
24
- "@openfn/language-common": "1.13.1"
24
+ "@openfn/language-common": "1.13.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@openfn/simple-ast": "0.4.1",