Skip to content

Commit

Permalink
support skipProfile in FacebookConnector
Browse files Browse the repository at this point in the history
  • Loading branch information
tw0517tw authored and chentsulin committed Nov 9, 2018
1 parent bef5c06 commit cf9128e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"axios-error": "^0.7.11",
"bottender": "^0.15.11",
"bottender": "^0.15.12",
"messaging-api-messenger": "^0.7.14",
"warning": "^4.0.2"
},
Expand Down
3 changes: 3 additions & 0 deletions src/FacebookConnector.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type ConstructorOptions = {|
batchConfig?: ?Object,
origin?: string,
skipAppSecretProof?: ?boolean,
skipProfile?: ?boolean,
|};

export default class FacebookConnector extends MessengerConnector {
Expand All @@ -32,6 +33,7 @@ export default class FacebookConnector extends MessengerConnector {
batchConfig,
origin,
skipAppSecretProof,
skipProfile,
}: ConstructorOptions) {
const _client =
client ||
Expand All @@ -50,6 +52,7 @@ export default class FacebookConnector extends MessengerConnector {
batchConfig,
origin,
skipAppSecretProof,
skipProfile,
});
}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1658,10 +1658,10 @@ [email protected]:
dependencies:
hoek "4.x.x"

bottender@^0.15.11:
version "0.15.11"
resolved "https://registry.yarnpkg.com/bottender/-/bottender-0.15.11.tgz#5cfe27bf87fe2dc0f743a566468a4e6af913488a"
integrity sha512-EmNFF9ZFUxbp1/Zb19A1a9nuX2kSo8zr5xlulTBIjUjSlTrL8C07CXBuJWisoC7x/iDpNd5nfGkoQf3/rhvcyg==
bottender@^0.15.12:
version "0.15.12"
resolved "https://registry.yarnpkg.com/bottender/-/bottender-0.15.12.tgz#b9018fa19303bd70a06e5038d92016513d81a9fd"
integrity sha512-9Lj52QT/goc4qto3VkWnODSYMOMhLAS5RE+4u1MstoyL93BawoSJPcO2o00vpo12Z5sGOhBWAIpTyiZeotKheA==
dependencies:
"@slack/client" "^4.8.0"
arg "^2.0.0"
Expand Down

0 comments on commit cf9128e

Please sign in to comment.