Skip to content

Commit 04a0ff8

Browse files
committed
Release v2.2.1
1 parent 16c0e15 commit 04a0ff8

File tree

4 files changed

+474
-490
lines changed

4 files changed

+474
-490
lines changed

app/api/image/route.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ export async function POST(req: Request) {
2525
prompt = res.choices[0].message.content;
2626
}
2727
delete config.autoPrompt;
28-
const response = await (dall
29-
? await getOpenAI(apiKey)
30-
: sd2dall
28+
const response = await (
29+
dall ? await getOpenAI(apiKey) : sd2dall
3130
).images.generate({
3231
...config,
3332
prompt: prompt,

lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const StoreVersion = 2.2;
2-
export const VERSION = "2.2.0";
2+
export const VERSION = "2.2.1";
33

44
export const REVERSE_URL = process.env.REVERSE_URL;
55

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chat-next",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -25,12 +25,12 @@
2525
"ai": "^2.2.31",
2626
"class-variance-authority": "^0.7.0",
2727
"clsx": "^2.1.0",
28-
"lucide-react": "^0.309.0",
28+
"lucide-react": "^0.312.0",
2929
"mitt": "^3.0.1",
30-
"next": "^14.0.4",
30+
"next": "^14.1.0",
3131
"next-themes": "^0.2.1",
3232
"node-html-markdown": "^1.3.0",
33-
"openai": "^4.24.3",
33+
"openai": "^4.24.7",
3434
"react": "^18.2.0",
3535
"react-dom": "^18.2.0",
3636
"react-hot-toast": "^2.4.1",
@@ -43,16 +43,16 @@
4343
},
4444
"devDependencies": {
4545
"@tailwindcss/typography": "^0.5.10",
46-
"@types/node": "^20.10.8",
47-
"@types/react": "^18.2.47",
46+
"@types/node": "^20.11.5",
47+
"@types/react": "^18.2.48",
4848
"@types/react-dom": "^18.2.18",
4949
"@types/react-syntax-highlighter": "^15.5.11",
50-
"autoprefixer": "^10.4.16",
50+
"autoprefixer": "^10.4.17",
5151
"eslint": "^8.56.0",
52-
"eslint-config-next": "^14.0.4",
52+
"eslint-config-next": "^14.1.0",
5353
"eslint-config-prettier": "^9.1.0",
5454
"postcss": "^8.4.33",
55-
"prettier": "^3.1.1",
55+
"prettier": "^3.2.4",
5656
"prettier-plugin-tailwindcss": "^0.5.11",
5757
"tailwindcss": "^3.4.1",
5858
"tailwindcss-animate": "^1.0.7",

0 commit comments

Comments
 (0)