@openfn/language-msgraph 0.6.0 → 0.7.0
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/dist/index.cjs +2 -1
- package/dist/index.js +6 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -238,7 +238,8 @@ function execute(...operations) {
|
|
|
238
238
|
return (state) => {
|
|
239
239
|
return (0, import_language_common2.execute)(...operations)({
|
|
240
240
|
...initialState,
|
|
241
|
-
...state
|
|
241
|
+
...state,
|
|
242
|
+
configuration: (0, import_util2.normalizeOauthConfig)(state.configuration)
|
|
242
243
|
}).then(cleanup).catch((error) => {
|
|
243
244
|
cleanup(state);
|
|
244
245
|
throw error;
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,10 @@ __export(Adaptor_exports, {
|
|
|
31
31
|
uploadFile: () => uploadFile
|
|
32
32
|
});
|
|
33
33
|
import { execute as commonExecute } from "@openfn/language-common";
|
|
34
|
-
import {
|
|
34
|
+
import {
|
|
35
|
+
expandReferences as expandReferences2,
|
|
36
|
+
normalizeOauthConfig
|
|
37
|
+
} from "@openfn/language-common/util";
|
|
35
38
|
|
|
36
39
|
// src/Utils.js
|
|
37
40
|
import xlsx from "xlsx";
|
|
@@ -205,7 +208,8 @@ function execute(...operations) {
|
|
|
205
208
|
return (state) => {
|
|
206
209
|
return commonExecute(...operations)({
|
|
207
210
|
...initialState,
|
|
208
|
-
...state
|
|
211
|
+
...state,
|
|
212
|
+
configuration: normalizeOauthConfig(state.configuration)
|
|
209
213
|
}).then(cleanup).catch((error) => {
|
|
210
214
|
cleanup(state);
|
|
211
215
|
throw error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/language-msgraph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Microsoft Graph Language Pack for OpenFn",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
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.
|
|
24
|
+
"@openfn/language-common": "1.15.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@openfn/simple-ast": "0.4.1",
|