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
2
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.8.4 to 3.9.0

2

CHANGELOG.md

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

## 3.8.4 (2024-08-24)
# 3.9.0 (2024-08-27)

@@ -46,3 +46,3 @@ /*!

*/
useInteractiveMesssage?: boolean | null;
useInteractiveMessage?: boolean | null;
/**

@@ -49,0 +49,0 @@ * Footer text for buttons

@@ -30,2 +30,8 @@ /*!

offset?: number;
pix?: {
keyType: 'CNPJ' | 'CPF' | 'PHONE' | 'EMAIL' | 'EVP';
name: string;
key: string;
};
payment_instruction?: string;
}

@@ -55,2 +61,17 @@ /**

* { tax: 10000, shipping: 4000, discount: 10000 }
*
* // Send charge with Pix data (auto generate copy-paste pix code)
* WPP.chat.sendChargeMessage('[number]@c.us', [
* { type: 'custom', name: 'Item de cost test', price: 120000, qnt: 2 },
* ],
* {
* tax: 10000,
* shipping: 4000,
* discount: 10000,
* pix: {
* keyType: 'CPF',
* key: '00555095999',
* name: 'Name of seller',
* },
* });
* ```

@@ -57,0 +78,0 @@ * @category Message

@@ -38,2 +38,16 @@ /*!

* );
*
* // After a invite
* const result = await WPP.group.addParticipants('789@g.us', '123@c.us');
* const participant = result['123@c.us'];
* if (participant.invite_code) {
* WPP.chat.sendGroupInviteMessage(
* '123@c.us',
* {
* inviteCode: participant.invite_code,
* inviteCodeExpiration: participant.invite_code_exp,
* groupId: '789@g.us'
* }
* );
* }
* ```

@@ -40,0 +54,0 @@ *

@@ -29,3 +29,3 @@ /*!

* WPP.chat.sendTextMessage('[number]@c.us', 'Hello', {
* useTemplateButtons: true, // False for legacy
* useInteractiveMessage: true, // False for legacy
* buttons: [

@@ -32,0 +32,0 @@ * {

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

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

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

"@types/debug": "^4.1.12",
"@types/node": "^16.18.105",
"@types/node": "^16.18.106",
"@types/node-fetch": "^2.6.11",

@@ -55,3 +55,3 @@ "@types/parse-data-url": "^3.0.2",

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

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

"typedoc": "^0.26.6",
"typedoc-plugin-mdn-links": "^3.2.9",
"typedoc-plugin-mdn-links": "^3.2.10",
"typedoc-plugin-missing-exports": "^3.0.0",

@@ -87,0 +87,0 @@ "typescript": "^5.5.4",

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