New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bot-messenger-node

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bot-messenger-node - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

src/Helpers/PhoneNumber.js

17

package.json
{
"name": "bot-messenger-node",
"description": "A Node.js library streamlining the integration and smooth utilization of the Messenger API for the development of interactive chatbots.",
"version": "1.0.2",
"version": "1.0.3",
"main": "src/Messenger.js",
"scripts": {

@@ -20,15 +21,15 @@ "test": "echo \"Error: no test specified\" && exit 1"

"license": "MIT",
"dependencies": {"axios":"^1.6.2"},
"dependencies": { "axios": "^1.6.2" },
"directories": {
"lib": "src"
},
"lib": "src"
},
"devDependencies": {
"@types/events": "^3.0.0",
"@types/events": "^3.0.0",
"@types/node": "^18.11.18",
"@types/node": "^18.11.18",
"express": "^4.18.2"
"express": "^4.18.2"
},
},
"engines": {

@@ -35,0 +36,0 @@ "node": ">=12.0.0"

@@ -118,4 +118,2 @@ # Facebook Messenger Bot

const messenger = Messenger.create('<PAGE_TOKEN>');
// Check the namespace carefully Fakell\BotMessenger\Model\Attachment\Template\Button\Button
const button = new Button("What can I do to help?",

@@ -207,3 +205,3 @@ [

// or remoteFile
const image = new Image('https://image.com/fakell.png');
const image = new Image('https://image.com/laza.png');

@@ -242,3 +240,3 @@ // I don't write in the following code the file remote from others because Image, File, Audio, Video supports a remote file

const personas = new Personas('Fakell', 'https://image.com/profile.png');
const personas = new Personas('Laza', 'https://image.com/profile.png');
messenger.addPersonas(personas).then(personasArray => {

@@ -245,0 +243,0 @@ // if successful, personasArray will contain the personas's id

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc