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
1
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.0.3 to 1.0.4

2

dist/package.json
{
"name": "whatsapp-business",
"author": "MarcosNicolau",
"version": "1.0.3",
"version": "1.0.4",
"description": "This is the common configuration for node js project with typescript I always do",

@@ -6,0 +6,0 @@ "licenses": [

@@ -1,2 +0,2 @@

import { DefaultWABAErrorAPI } from "./../types/error";
import { DefaultWABAErrorAPI } from "./../types";
export declare const WABAErrorHandler: (error: DefaultWABAErrorAPI) => Promise<never>;

@@ -15,6 +15,6 @@ "use strict";

exports.WABAErrorHandler = void 0;
var error_1 = require("types/error");
var types_1 = require("../types");
var WABAErrorHandler = function (error) {
var _a, _b;
var message = error_1.ERROR_CODES[(_a = error === null || error === void 0 ? void 0 : error.error) === null || _a === void 0 ? void 0 : _a.code] || ((_b = error === null || error === void 0 ? void 0 : error.error) === null || _b === void 0 ? void 0 : _b.message);
var message = types_1.ERROR_CODES[(_a = error === null || error === void 0 ? void 0 : error.error) === null || _a === void 0 ? void 0 : _a.code] || ((_b = error === null || error === void 0 ? void 0 : error.error) === null || _b === void 0 ? void 0 : _b.message);
var err = __assign(__assign({}, error === null || error === void 0 ? void 0 : error.error), { message: message });

@@ -21,0 +21,0 @@ return Promise.reject(err);

{
"name": "whatsapp-business",
"author": "MarcosNicolau",
"version": "1.0.3",
"version": "1.0.4",
"description": "This is the common configuration for node js project with typescript I always do",

@@ -6,0 +6,0 @@ "licenses": [

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