@messagebird/sdk 0.9.2 → 0.9.3
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 +3 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -792,9 +792,10 @@ type EventEmailSuppressionCreatedData = {
|
|
|
792
792
|
*/
|
|
793
793
|
email: string;
|
|
794
794
|
/**
|
|
795
|
-
* Why the address was suppressed.
|
|
795
|
+
* Why the address was suppressed. This list grows over time — treat unknown values as informational rather than rejecting the event.
|
|
796
|
+
*
|
|
796
797
|
*/
|
|
797
|
-
reason:
|
|
798
|
+
reason: string;
|
|
798
799
|
/**
|
|
799
800
|
* The workspace the suppression belongs to.
|
|
800
801
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -3153,9 +3153,9 @@ var BirdClient = class {
|
|
|
3153
3153
|
this.#headers = {
|
|
3154
3154
|
...opts.defaultHeaders,
|
|
3155
3155
|
Authorization: `Bearer ${opts.apiKey}`,
|
|
3156
|
-
"User-Agent": `bird-sdk-js/0.9.
|
|
3156
|
+
"User-Agent": `bird-sdk-js/0.9.3`,
|
|
3157
3157
|
"Bird-Surface": "sdk-js",
|
|
3158
|
-
"Bird-Version": "0.9.
|
|
3158
|
+
"Bird-Version": "0.9.3"
|
|
3159
3159
|
};
|
|
3160
3160
|
const caller = detectCaller();
|
|
3161
3161
|
if (caller) this.#headers["Bird-Caller"] = caller;
|