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

whatsapp-business

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatsapp-business - npm Package Compare versions

Comparing version 1.10.0 to 1.11.0

2

dist/package.json
{
"name": "whatsapp-business",
"author": "MarcosNicolau",
"version": "1.10.0",
"version": "1.11.0",
"description": "Node.js connector for the WhatsApp Business APIs with TypeScript support, integration tests and more.",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -47,3 +47,3 @@ import { WABAErrorCodes } from "./error";

*/
type: MessageType | "system" | "unknown";
type: MessageType | "system" | "unknown" | "request_welcome";
/**

@@ -71,2 +71,45 @@ * The time when the customer sent the message to the business in unix format

/**
* When the messages type field is set to contact, this object is included in the messages object:
*/
contacts?: [
{
addresses?: {
city?: string;
country?: string;
country_code?: string;
state?: string;
street?: string;
type?: string;
zip?: string;
}[];
birthday?: string;
emails?: {
email: string;
type?: string;
}[];
name?: {
formatted_name?: string;
first_name?: string;
last_name?: string;
middle_name?: string;
suffix?: string;
prefix?: string;
};
org?: {
company?: string;
department?: string;
title?: string;
};
phones?: {
phone: string;
wa_id?: string;
type?: string;
}[];
urls?: {
url: string;
type?: string;
}[];
}
];
/**
* Context object. Only included when a user replies or interacts with one of your messages. Context objects can have the following properties

@@ -170,2 +213,11 @@ */

/**
* When the messages type field is set to location, this object is included in the messages object:
*/
location?: {
latitude: string;
longitude: string;
name?: string;
address?: string;
};
/**
* Included in the messages object when a customer has placed an order. Order objects have the following properties:

@@ -172,0 +224,0 @@ */

{
"name": "whatsapp-business",
"author": "MarcosNicolau",
"version": "1.10.0",
"version": "1.11.0",
"description": "Node.js connector for the WhatsApp Business APIs with TypeScript support, integration tests and more.",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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