@ebenos/messenger-adapter
Advanced tools
Comparing version 4.0.0-alpha.6 to 4.0.0-alpha.7
@@ -62,3 +62,2 @@ "use strict"; | ||
function send(actions, orderType) { | ||
console.log(actions); | ||
const bodies = actions.map((interaction) => { | ||
@@ -65,0 +64,0 @@ if (interaction.options === undefined) { |
@@ -29,5 +29,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
console.log(actions); | ||
for (const action of actions) { | ||
console.log(action); | ||
const { delay = 0 } = action; | ||
@@ -42,2 +40,3 @@ if (delay > 0) { | ||
} | ||
const results = []; | ||
try { | ||
@@ -56,3 +55,4 @@ if (action.body) { | ||
} | ||
return json; | ||
results.push(json); | ||
continue; | ||
} | ||
@@ -59,0 +59,0 @@ throw new Error('No body or token!'); |
{ | ||
"name": "@ebenos/messenger-adapter", | ||
"version": "4.0.0-alpha.6", | ||
"version": "4.0.0-alpha.7", | ||
"description": "Facebook SendAPI Library for the Ebony framework.", | ||
@@ -51,3 +51,3 @@ "main": "./build/index.js", | ||
], | ||
"gitHead": "054fb831351d6e113c9e8563610663a1534c63d9" | ||
"gitHead": "71dedb975549e6a293d348bb55ad4f61ad9fa0b5" | ||
} |
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
55259
788