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

@wppconnect/wa-js

Package Overview
Dependencies
Maintainers
0
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wppconnect/wa-js - npm Package Compare versions

Comparing version 3.9.1 to 3.10.0

7

CHANGELOG.md

@@ -1,4 +0,9 @@

## 3.9.1 (2024-09-05)
# 3.10.0 (2024-09-07)
### Features
* Added support for buttons (v3) ([#2309](https://github.com/wppconnect-team/wa-js/issues/2309)) ([d721775](https://github.com/wppconnect-team/wa-js/commit/d7217759058a94be7c1c3b0a6867918acd4a2bdd))

16

dist/chat/functions/prepareMessageButtons.d.ts
/*!
* Copyright 2021 WPPConnect Team
* Copyright 2024 WPPConnect Team
*

@@ -26,2 +26,5 @@ * Licensed under the Apache License, Version 2.0 (the "License");

text: string;
} | {
code: string;
text: string;
};

@@ -38,13 +41,2 @@ export interface MessageButtonsOptions {

/**
* Set to use template buttons instead of reply buttons.
* @default: undefined - auto detect
* @deprecated
*/
useTemplateButtons?: boolean | null;
/**
* Set to use interactive message instead of reply buttons.
* @default: undefined - auto detect
*/
useInteractiveMessage?: boolean | null;
/**
* Footer text for buttons

@@ -51,0 +43,0 @@ */

@@ -28,2 +28,3 @@ /*!

* // With Buttons
* // Attention: The buttons are an alternative solution we found to make it work. There is no guarantee that they will continue functioning, or when they might stop: The only certainty is: They will stop, so use them responsibly.
* WPP.chat.sendTextMessage('[number]@c.us', 'Hello', {

@@ -45,3 +46,3 @@ * useInteractiveMessage: true, // False for legacy

* {
* id: 'another id 2',
* code: '789890',
* text: 'Another text'

@@ -48,0 +49,0 @@ * }

@@ -25,1 +25,9 @@ /*!

}): Promise<websocket.WapNode>;
export declare function createFanoutMsgStanza(message: {
type: string;
data: MsgModel;
}, proto: {
[key: string]: any;
}, devices: Wid[], options: {
[key: string]: any;
}, reporter: any, groupData?: any): Promise<websocket.WapNode>;

@@ -92,2 +92,2 @@ /*!

/*! wppconnect-team/wa-js v3.9.1 */
/*! wppconnect-team/wa-js v3.10.0 */
{
"name": "@wppconnect/wa-js",
"version": "3.9.1",
"version": "3.10.0",
"description": "WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web",

@@ -45,3 +45,3 @@ "license": "Apache-2.0",

"@commitlint/prompt-cli": "^19.4.1",
"@playwright/test": "^1.46.1",
"@playwright/test": "^1.47.0",
"@types/debug": "^4.1.12",

@@ -55,3 +55,3 @@ "@types/node": "^16.18.108",

"@typescript-eslint/parser": "^7.18.0",
"@wppconnect/wa-version": "^1.5.312",
"@wppconnect/wa-version": "^1.5.321",
"buffer": "^6.0.3",

@@ -62,3 +62,3 @@ "compare-versions": "^6.1.1",

"conventional-changelog-cli": "^5.0.0",
"debug": "^4.3.6",
"debug": "^4.3.7",
"eslint": "^8.57.0",

@@ -76,3 +76,3 @@ "eslint-config-prettier": "^9.1.0",

"parse-data-url": "^6.0.0",
"playwright-chromium": "^1.46.1",
"playwright-chromium": "^1.47.0",
"prettier": "^3.3.3",

@@ -79,0 +79,0 @@ "release-it": "^17.6.0",

Sorry, the diff of this file is too big to display

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