@messagebird/sdk 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1522,6 +1522,10 @@ type WhatsAppError = {
|
|
|
1522
1522
|
* Human-readable explanation of the failure.
|
|
1523
1523
|
*/
|
|
1524
1524
|
readonly description: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* Raw error code from the WhatsApp Cloud API, when available, for low-level debugging.
|
|
1527
|
+
*/
|
|
1528
|
+
readonly meta_error_code?: string | null;
|
|
1525
1529
|
/**
|
|
1526
1530
|
* When the failure occurred.
|
|
1527
1531
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -2930,9 +2930,9 @@ var BirdClient = class {
|
|
|
2930
2930
|
this.#headers = {
|
|
2931
2931
|
...opts.defaultHeaders,
|
|
2932
2932
|
Authorization: `Bearer ${opts.apiKey}`,
|
|
2933
|
-
"User-Agent": `bird-sdk-js/0.7.
|
|
2933
|
+
"User-Agent": `bird-sdk-js/0.7.2`,
|
|
2934
2934
|
"Bird-Surface": "sdk-js",
|
|
2935
|
-
"Bird-Version": "0.7.
|
|
2935
|
+
"Bird-Version": "0.7.2"
|
|
2936
2936
|
};
|
|
2937
2937
|
const caller = detectCaller();
|
|
2938
2938
|
if (caller) this.#headers["Bird-Caller"] = caller;
|