tetrons 2.3.32 → 2.3.34
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.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -16656,7 +16656,7 @@ function AiGroup({ editor }) {
|
|
|
16656
16656
|
const formData = new FormData();
|
|
16657
16657
|
formData.append("file", blob, "voice.webm");
|
|
16658
16658
|
try {
|
|
16659
|
-
const res = await fetch("/api/transcribe", {
|
|
16659
|
+
const res = await fetch("https://staging.tetrons.com/api/transcribe", {
|
|
16660
16660
|
method: "POST",
|
|
16661
16661
|
body: formData
|
|
16662
16662
|
});
|
|
@@ -16682,7 +16682,7 @@ function AiGroup({ editor }) {
|
|
|
16682
16682
|
setIsLoadingAI(true);
|
|
16683
16683
|
setAiError("");
|
|
16684
16684
|
try {
|
|
16685
|
-
const res = await fetch("/api/ai-action", {
|
|
16685
|
+
const res = await fetch("https://staging.tetrons.com/api/ai-action", {
|
|
16686
16686
|
method: "POST",
|
|
16687
16687
|
headers: { "Content-Type": "application/json" },
|
|
16688
16688
|
body: JSON.stringify({ content: prompt2 })
|
package/dist/index.mjs
CHANGED
|
@@ -16664,7 +16664,7 @@ function AiGroup({ editor }) {
|
|
|
16664
16664
|
const formData = new FormData();
|
|
16665
16665
|
formData.append("file", blob, "voice.webm");
|
|
16666
16666
|
try {
|
|
16667
|
-
const res = await fetch("/api/transcribe", {
|
|
16667
|
+
const res = await fetch("https://staging.tetrons.com/api/transcribe", {
|
|
16668
16668
|
method: "POST",
|
|
16669
16669
|
body: formData
|
|
16670
16670
|
});
|
|
@@ -16690,7 +16690,7 @@ function AiGroup({ editor }) {
|
|
|
16690
16690
|
setIsLoadingAI(true);
|
|
16691
16691
|
setAiError("");
|
|
16692
16692
|
try {
|
|
16693
|
-
const res = await fetch("/api/ai-action", {
|
|
16693
|
+
const res = await fetch("https://staging.tetrons.com/api/ai-action", {
|
|
16694
16694
|
method: "POST",
|
|
16695
16695
|
headers: { "Content-Type": "application/json" },
|
|
16696
16696
|
body: JSON.stringify({ content: prompt2 })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tetrons",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.34",
|
|
4
4
|
"description": "A Next.js project written in TypeScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"files": [
|
|
107
|
-
"dist",
|
|
107
|
+
"dist",
|
|
108
108
|
"dist/styles/tetrons.css",
|
|
109
109
|
"dist/components"
|
|
110
110
|
],
|