@messagebird/sdk 0.41.0 → 0.42.0

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 CHANGED
@@ -11369,7 +11369,7 @@ type ListWorkspaceNumbersData = {
11369
11369
  */
11370
11370
  number_type?: NumberType$1;
11371
11371
  /**
11372
- * Return only numbers that start with these digits, matched right after the country dial code: with `country_code=US`, `prefix=212` returns the +1 212 area-code numbers allocated to you. Digits only, and `country_code` is required alongside it, since the digits are national ones. Leave out the country dial code and any national dialing prefix such as a leading 0. Short codes never match a prefix search.
11372
+ * Return only numbers that start with these digits. With `country_code`, the digits are national ones, matched right after the country dial code: with `country_code=US`, `prefix=212` returns the +1 212 area-code numbers allocated to you. Leave out the dial code and any national dialing prefix such as a leading 0; short codes never match a country-anchored prefix search. Without `country_code`, the digits are matched from the start of each stored number, ignoring a leading `+`, so short codes are reachable and a full number in digits finds itself. Digits only: up to 10 of them with `country_code`, 15 without.
11373
11373
  */
11374
11374
  prefix?: string;
11375
11375
  /**
package/dist/index.mjs CHANGED
@@ -7420,9 +7420,9 @@ var BirdClient = class {
7420
7420
  this.#headers = {
7421
7421
  ...opts.defaultHeaders,
7422
7422
  Authorization: `Bearer ${opts.apiKey}`,
7423
- "User-Agent": `bird-sdk-js/0.41.0`,
7423
+ "User-Agent": `bird-sdk-js/0.42.0`,
7424
7424
  "Bird-Surface": "sdk-js",
7425
- "Bird-Version": "0.41.0"
7425
+ "Bird-Version": "0.42.0"
7426
7426
  };
7427
7427
  const caller = detectCaller();
7428
7428
  if (caller) this.#headers["Bird-Caller"] = caller;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messagebird/sdk",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "description": "The official TypeScript SDK for the Bird API: email, SMS, WhatsApp, verification, and Realtime on one typed client.",
5
5
  "license": "MIT",
6
6
  "author": "Bird",