@openfn/language-facebook
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"properties": { | ||
"accessToken": { | ||
"title": "Access Token", | ||
"type": "string", | ||
"description": "Your Facebook API access token", | ||
"writeOnly": true, | ||
"minLength": 1 | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": true, | ||
"required": [ | ||
"accessToken" | ||
] | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$comment": "OAuth2", | ||
"properties": { | ||
"access_token": { | ||
"title": "Access Token", | ||
"type": "string", | ||
"description": "Your Facebook API access token", | ||
"writeOnly": true, | ||
"minLength": 1 | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": true, | ||
"required": ["access_token"] | ||
} |
@@ -28,2 +28,3 @@ var __defProp = Object.defineProperty; | ||
} from "@openfn/language-common"; | ||
import { normalizeOauthConfig } from "@openfn/language-common/util"; | ||
import request from "request"; | ||
@@ -50,3 +51,4 @@ import { | ||
...initialState, | ||
...state | ||
...state, | ||
configuration: normalizeOauthConfig(state.configuration) | ||
}); | ||
@@ -53,0 +55,0 @@ }; |
{ | ||
"name": "@openfn/language-facebook", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "An Language Package for Facebook Messenger API", | ||
@@ -15,3 +15,3 @@ "main": "dist/index.cjs", | ||
"dependencies": { | ||
"@openfn/language-common": "^1.8.1", | ||
"@openfn/language-common": "^1.10.0", | ||
"request": "^2.88.2" | ||
@@ -18,0 +18,0 @@ }, |
Sorry, the diff of this file is not supported yet
65795
768