@ebenos/messenger-adapter
Advanced tools
Comparing version 4.0.0-alpha.5 to 4.0.0-alpha.6
@@ -11,4 +11,3 @@ /** | ||
import { IBaseMessageOptions, IInteraction } from '@ebenos/framework'; | ||
import { UserDataFields } from './interfaces/messengerAPI'; | ||
import { MessagingOptions } from './interfaces/messengerAPI'; | ||
import { UserDataFields, MessagingOptions } from './interfaces/messengerAPI'; | ||
import { ISendAction } from '../messengerApi'; | ||
@@ -15,0 +14,0 @@ export declare type SenderFunction = (actions: ISendAction[], type: 'ORDERED' | 'UNORDERED', token: string) => Promise<any>; |
@@ -62,2 +62,3 @@ "use strict"; | ||
function send(actions, orderType) { | ||
console.log(actions); | ||
const bodies = actions.map((interaction) => { | ||
@@ -64,0 +65,0 @@ if (interaction.options === undefined) { |
@@ -29,2 +29,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
console.log(actions); | ||
for (const action of actions) { | ||
@@ -31,0 +32,0 @@ console.log(action); |
{ | ||
"name": "@ebenos/messenger-adapter", | ||
"version": "4.0.0-alpha.5", | ||
"version": "4.0.0-alpha.6", | ||
"description": "Facebook SendAPI Library for the Ebony framework.", | ||
@@ -51,3 +51,3 @@ "main": "./build/index.js", | ||
], | ||
"gitHead": "19f3ed4aaba3cf43be997a37b888fa1d2b6ad1db" | ||
"gitHead": "054fb831351d6e113c9e8563610663a1534c63d9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55343
789