messaging-api-messenger
Advanced tools
Comparing version 0.7.2 to 0.7.3
{ | ||
"name": "messaging-api-messenger", | ||
"description": "Messaging API client for Messenger", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"engines": { | ||
@@ -14,2 +14,3 @@ "node": ">=6" | ||
"main": "lib/index.js", | ||
"browser": "lib/browser.js", | ||
"keywords": [ | ||
@@ -16,0 +17,0 @@ "bot", |
@@ -45,3 +45,6 @@ import MockAdapter from 'axios-mock-adapter'; | ||
axios.create = jest.fn(); | ||
MessengerClient.connect(ACCESS_TOKEN, '2.6'); | ||
MessengerClient.connect( | ||
ACCESS_TOKEN, | ||
'2.6' | ||
); | ||
@@ -48,0 +51,0 @@ expect(axios.create).toBeCalledWith({ |
@@ -82,3 +82,3 @@ /* @flow */ | ||
) { | ||
const message = { | ||
const message: { ...AttachmentPayload, quick_replies?: Array<QuickReply> } = { | ||
...payload, | ||
@@ -85,0 +85,0 @@ }; |
Sorry, the diff of this file is too big to display
454622
26
11388
3408