@lingo.dev/_sdk 0.7.13 → 0.7.14
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 +2 -2
- package/build/index.mjs +2 -2
- package/package.json +1 -1
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 })
|