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.6.0 to 3.7.0

dist/cart/functions/add.d.ts

26

dist/catalog/functions/getProductById.d.ts

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

*/
import { ProductModel } from '../../whatsapp';
/**

@@ -29,2 +28,25 @@ * Retrieves product by id

*/
export declare function getProductById(chatId: string, productId: number): Promise<ProductModel>;
export declare function getProductById(chatId: string, productId: number): Promise<{
id: string;
retailer_id: string;
name: string;
description: string;
url: string;
currency: string;
price: string;
is_hidden: boolean;
max_available: number;
availability: string;
checkmark: boolean;
image_hashes_for_whatsapp: string[];
image_cdn_urls: {
key: 'requested' | 'full';
value: string;
}[];
additional_image_cdn_urls: any[];
whatsapp_product_can_appeal: boolean;
capability_to_review_status: {
key: 'WHATSAPP';
value: 'APPROVED';
}[];
}>;

2

dist/chat/functions/index.d.ts

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

export { requestPhoneNumber } from './requestPhoneNumber';
export { OrderItems, OrderMessageOptions, sendChargeMessage, } from './sendChargeMessage';
export { PoolMessageOptions, sendCreatePollMessage, } from './sendCreatePollMessage';

@@ -64,3 +65,2 @@ export { AudioMessageOptions, AutoDetectMessageOptions, DocumentMessageOptions, FileMessageOptions, ImageMessageOptions, sendFileMessage, StickerMessageOptions, VideoMessageOptions, } from './sendFileMessage';

export { LocationMessageOptions, sendLocationMessage, } from './sendLocationMessage';
export { OrderItems, OrderMessageOptions, sendOrderMessage, } from './sendOrderMessage';
export { sendPixKeyMessage } from './sendPixKeyMessage';

@@ -67,0 +67,0 @@ export { sendRawMessage } from './sendRawMessage';

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

export * as call from './call';
export * as cart from './cart';
export * as catalog from './catalog';

@@ -27,0 +28,0 @@ export * as chat from './chat';

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

export * from './addAndSendMsgToChat';
export * from './addProductToCart';
export * from './addToLabelCollection';

@@ -33,2 +34,3 @@ export * from './blockContact';

export * from './createNewsletterQuery';
export * from './createOrder';
export * from './createOrUpdateReactions';

@@ -139,2 +141,3 @@ export * from './currencyForCountryShortcode';

export * from './unmuteNewsletter';
export * from './updateCart';
export * from './updateCartEnabled';

@@ -141,0 +144,0 @@ export * from './updateDBForGroupAction';

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

*/
static newId(): string;
static newId(): Promise<string>;
}

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

currency?: any;
name?: string;
quantity?: any;

@@ -24,0 +25,0 @@ imageHash?: any;

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

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

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

"@commitlint/prompt-cli": "^19.3.1",
"@playwright/test": "^1.45.1",
"@playwright/test": "^1.45.2",
"@types/debug": "^4.1.12",
"@types/node": "^16.18.101",
"@types/node": "^16.18.103",
"@types/node-fetch": "^2.6.11",

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

"@typescript-eslint/parser": "^7.16.1",
"@wppconnect/wa-version": "^1.5.84",
"@wppconnect/wa-version": "^1.5.97",
"buffer": "^6.0.3",

@@ -67,14 +67,15 @@ "compare-versions": "^6.1.1",

"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eventemitter2": "^6.4.9",
"file-type": "~16.5.4",
"husky": "^9.0.11",
"husky": "^9.1.1",
"lint-staged": "^15.2.7",
"node-fetch": "^2.7.0",
"parse-data-url": "^6.0.0",
"playwright-chromium": "^1.45.1",
"playwright-chromium": "^1.45.2",
"prettier": "^3.3.3",
"release-it": "^17.6.0",
"shx": "^0.3.4",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",

@@ -89,4 +90,3 @@ "ts-morph": "^23.0.0",

"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"terser-webpack-plugin": "^5.3.10"
"webpack-cli": "^5.1.4"
},

@@ -93,0 +93,0 @@ "engines": {

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

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