Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@great-detail/whatsapp

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@great-detail/whatsapp - npm Package Compare versions

Comparing version 5.4.0 to 5.4.1

4

dist/GraphRequest/index.d.ts

@@ -24,3 +24,3 @@ /**

*/
fetchProvider?: typeof fetch;
fetch?: typeof fetch;
}

@@ -61,3 +61,3 @@ /**

*/
send({ fetchProvider, ...requestInit }?: GraphRequestSendParams): Promise<GraphResponse<T>>;
send({ fetch: fetchAlternative, ...requestInit }?: GraphRequestSendParams): Promise<GraphResponse<T>>;
}

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

async send({
fetchProvider = fetch,
fetch: fetchAlternative = fetch,
...requestInit
} = {}) {
return await fetchProvider(this, requestInit).then(({
return await fetchAlternative(this, requestInit).then(({
body,

@@ -28,0 +28,0 @@ ...responseInit

{
"name": "@great-detail/whatsapp",
"version": "5.4.0",
"version": "5.4.1",
"type": "commonjs",

@@ -5,0 +5,0 @@ "description": "SDK for interfacing with WhatsApp Business Platform in Typescript or Node.js using the Cloud API, hosted by Meta.",

@@ -26,3 +26,3 @@ /**

*/
fetchProvider?: typeof fetch;
fetch?: typeof fetch;
}

@@ -78,6 +78,6 @@

public async send({
fetchProvider = fetch,
fetch: fetchAlternative = fetch,
...requestInit
}: GraphRequestSendParams = {}): Promise<GraphResponse<T>> {
return await fetchProvider(this, requestInit).then(
return await fetchAlternative(this, requestInit).then(
({ body, ...responseInit }) => new GraphResponse(body, responseInit),

@@ -84,0 +84,0 @@ );

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