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 6.5.1 to 6.5.2

dist/__tests__/GraphRequest.test.d.ts

2

dist/GraphRequest/index.js

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

import t from"../GraphResponse/index.js";export default class e extends Request{static{this.DEFAULT_GRAPH_API_BASE_URL="https://graph.facebook.com"}static{this.DEFAULT_GRAPH_VERSION="v18.0"}constructor(t,{logger:s,version:i=e.DEFAULT_GRAPH_VERSION,baseUrl:r=e.DEFAULT_GRAPH_API_BASE_URL,...h}={}){let n=new URL([i?"/":"",i,t].join(""),r);super(n,h),this.version=i,this.endpoint=t,this.baseUrl=r,s?.http(`${n.toString()} ${JSON.stringify(h)}`)}async send({fetch:e=fetch,...s}={}){if(s.headers)for(let[t,e]of new Headers(s.headers))this.headers.set(t,e);return await e(this,s).then(({body:e,...s})=>new t(e,{request:this,...s}))}}
import t from"../GraphResponse/index.js";export default class e extends Request{static{this.DEFAULT_GRAPH_API_BASE_URL="https://graph.facebook.com"}static{this.DEFAULT_GRAPH_VERSION="v18.0"}constructor(t,{logger:s,version:i=e.DEFAULT_GRAPH_VERSION,baseUrl:r=e.DEFAULT_GRAPH_API_BASE_URL,...h}={}){let n=new URL([i?"/":"",i,t].join(""),r);super(n,h),this.version=i,this.endpoint=t,this.baseUrl=r,s?.http(`${n.toString()} ${JSON.stringify(h)}`)}async send({fetch:e=fetch,...s}={}){if(s.headers)for(let[t,e]of new Headers(s.headers))this.headers.set(t,e);return await e(this).then(({body:e,...s})=>new t(e,{request:this,...s}))}}
//# sourceMappingURL=index.js.map
{
"name": "@great-detail/whatsapp",
"version": "6.5.1",
"version": "6.5.2",
"type": "module",

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

"engines": {
"node": ">=16.19.1"
"node": ">=18"
},

@@ -77,2 +77,3 @@ "exports": "./dist/index.js",

"@swc/core": "^1.3.101",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.5",

@@ -79,0 +80,0 @@ "@types/node": "^20.7.1",

@@ -124,3 +124,3 @@ /**

return await fetchAlternative(this, requestInit).then(
return await fetchAlternative(this).then(
({ body, ...responseInit }) =>

@@ -127,0 +127,0 @@ new GraphResponse(body, { request: this, ...responseInit }),

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