@messagebird/sdk 0.4.1 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +7 -8
package/dist/index.mjs CHANGED
@@ -2908,9 +2908,9 @@ var BirdClient = class {
2908
2908
  this.#headers = {
2909
2909
  ...opts.defaultHeaders,
2910
2910
  Authorization: `Bearer ${opts.apiKey}`,
2911
- "User-Agent": `bird-sdk-js/0.4.1`,
2911
+ "User-Agent": `bird-sdk-js/0.4.2`,
2912
2912
  "Bird-Surface": "sdk-js",
2913
- "Bird-Version": "0.4.1"
2913
+ "Bird-Version": "0.4.2"
2914
2914
  };
2915
2915
  const caller = detectCaller();
2916
2916
  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.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Official TypeScript SDK for the Bird API.",
5
5
  "license": "MIT",
6
6
  "author": "Bird",
@@ -23,15 +23,14 @@
23
23
  "node": ">=20.3.0"
24
24
  },
25
25
  "type": "module",
26
- "main": "./dist/index.js",
27
- "module": "./dist/index.js",
28
- "types": "./dist/index.d.ts",
26
+ "main": "./dist/index.mjs",
27
+ "module": "./dist/index.mjs",
28
+ "types": "./dist/index.d.mts",
29
29
  "exports": {
30
30
  ".": {
31
- "types": "./dist/index.d.ts",
32
- "module-sync": "./dist/index.js",
33
- "import": "./dist/index.js",
34
- "default": "./dist/index.js"
31
+ "types": "./dist/index.d.mts",
32
+ "import": "./dist/index.mjs",
33
+ "default": "./dist/index.mjs"
35
34
  },
36
35
  "./package.json": "./package.json"
37
36
  },