@lingo.dev/_sdk 0.7.13 → 0.7.15

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/build/index.cjs CHANGED
@@ -67,7 +67,7 @@ var ReplexicaEngine = class {
67
67
  const res = await fetch(`${this.config.apiUrl}/i18n`, {
68
68
  method: "POST",
69
69
  headers: {
70
- "Content-Type": "application/json",
70
+ "Content-Type": "application/json; charset=utf-8",
71
71
  Authorization: `Bearer ${this.config.apiKey}`
72
72
  },
73
73
  body: JSON.stringify(
@@ -309,7 +309,7 @@ var ReplexicaEngine = class {
309
309
  const response = await fetch(`${this.config.apiUrl}/recognize`, {
310
310
  method: "POST",
311
311
  headers: {
312
- "Content-Type": "application/json",
312
+ "Content-Type": "application/json; charset=utf-8",
313
313
  Authorization: `Bearer ${this.config.apiKey}`
314
314
  },
315
315
  body: JSON.stringify({ text })
package/build/index.mjs CHANGED
@@ -67,7 +67,7 @@ var ReplexicaEngine = class {
67
67
  const res = await fetch(`${this.config.apiUrl}/i18n`, {
68
68
  method: "POST",
69
69
  headers: {
70
- "Content-Type": "application/json",
70
+ "Content-Type": "application/json; charset=utf-8",
71
71
  Authorization: `Bearer ${this.config.apiKey}`
72
72
  },
73
73
  body: JSON.stringify(
@@ -309,7 +309,7 @@ var ReplexicaEngine = class {
309
309
  const response = await fetch(`${this.config.apiUrl}/recognize`, {
310
310
  method: "POST",
311
311
  headers: {
312
- "Content-Type": "application/json",
312
+ "Content-Type": "application/json; charset=utf-8",
313
313
  Authorization: `Bearer ${this.config.apiKey}`
314
314
  },
315
315
  body: JSON.stringify({ text })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_sdk",
3
- "version": "0.7.13",
3
+ "version": "0.7.15",
4
4
  "description": "Lingo.dev JS SDK",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -23,7 +23,7 @@
23
23
  "typescript": "^5.7.2",
24
24
  "vitest": "^2.1.8",
25
25
  "zod": "^3.24.1",
26
- "@lingo.dev/_spec": "0.24.3"
26
+ "@lingo.dev/_spec": "0.24.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/jsdom": "^21.1.7",