@great-detail/whatsapp
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -45,3 +45,3 @@ /** | ||
*/ | ||
message({ businessID: overrideBusinessID, logger, ...params }: CloudAPIMessageParams): CloudAPIMessage; | ||
message({ businessID: overrideBusinessID, logger, ...params }?: CloudAPIMessageParams): CloudAPIMessage; | ||
} |
@@ -24,3 +24,3 @@ "use strict"; | ||
...params | ||
}) { | ||
} = {}) { | ||
const businessID = overrideBusinessID ?? this._businessID; | ||
@@ -27,0 +27,0 @@ if (!businessID) { |
{ | ||
"name": "@great-detail/whatsapp", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"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.", |
@@ -59,3 +59,3 @@ /** | ||
...params | ||
}: CloudAPIMessageParams) { | ||
}: CloudAPIMessageParams = {}) { | ||
const businessID = overrideBusinessID ?? this._businessID; | ||
@@ -62,0 +62,0 @@ if (!businessID) { |
Sorry, the diff of this file is not supported yet
305616