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

shiqiyuebaileysmultidevice

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shiqiyuebaileysmultidevice - npm Package Compare versions

Comparing version 4.0.10 to 4.0.11

1

lib/Utils/auth-utils.d.ts

@@ -16,1 +16,2 @@ /// <reference types="node" />

};
export declare function stringifyAuth(auth: any): string;

8

lib/Utils/auth-utils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useAuthState = exports.useSingleFileAuthState = exports.initAuthCreds = exports.addTransactionCapability = void 0;
exports.stringifyAuth = exports.useAuthState = exports.useSingleFileAuthState = exports.initAuthCreds = exports.addTransactionCapability = void 0;
const boom_1 = require("@hapi/boom");

@@ -172,3 +172,3 @@ const crypto_1 = require("crypto");

logger && logger.trace('saving auth state');
const authStr = JSON.stringify({ creds, keys }, generics_1.BufferJSON.replacer, 2);
const authStr = stringifyAuth({ creds, keys });
authBuffer.write(authStr);

@@ -220,1 +220,5 @@ ev.emit('save-state', authStr);

exports.useAuthState = useAuthState;
function stringifyAuth(auth) {
return JSON.stringify(auth, generics_1.BufferJSON.replacer, 2);
}
exports.stringifyAuth = stringifyAuth;
{
"name": "shiqiyuebaileysmultidevice",
"version": "4.0.10",
"version": "4.0.11",
"description": "WhatsApp API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/adiwajshing/Baileys",

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