Skip to content

Commit 3228646

Browse files
committed
fix build, lockfile
1 parent 3c8dacc commit 3228646

8 files changed

Lines changed: 242 additions & 131 deletions

File tree

auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import GitHub from "next-auth/providers/github"
44
import { SiweMessage } from "siwe"
55

66
import { getUserIdByWallet, storeUser } from "@/lib/data/kv"
7+
78
function getCsrfTokenFromRequest(request: Request) {
89
const cookieHeader = request.headers.get("cookie")
910
if (!cookieHeader) return undefined

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
},
1515
"files": {
16-
"includes": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "!**/node_modules/**", "!**/.next/**"],
16+
"includes": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "!**/node_modules", "!**/.next"],
1717
"maxSize": 5242880
1818
},
1919
"vcs": {

bun.lock

Lines changed: 232 additions & 124 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/deploy-contract-button.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use client"
2+
13
import Link from "next/link"
24
import { useCallback, useEffect, useMemo, useState } from "react"
35

lib/actions/deploy-contract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const storeTokenScriptDeploymentAction = withUser<
7474
})
7575
})
7676

77-
export async function ipfsUploadFileAction(fileName: string, fileContent: string | Buffer): Promise<string | null> {
77+
export async function ipfsUploadFileAction(fileName: string, fileContent: string): Promise<string | null> {
7878
return await ipfsUploadFile(fileName, fileContent)
7979
}
8080

lib/data/ipfs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function ipfsUploadDir(
4141
}
4242
}
4343

44-
export async function ipfsUploadFile(fileName: string, fileContent: string | Buffer): Promise<string | null> {
44+
export async function ipfsUploadFile(fileName: string, fileContent: string): Promise<string | null> {
4545
try {
4646
const file = new File([fileContent], fileName)
4747
const { IpfsHash } = await pinata.upload.file(file, {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"check": "biome check {app,lib,components}",
10-
"check:fix": "biome check --write {app,lib,components}"
9+
"check": "biome check",
10+
"fix": "biome check --write"
1111
},
1212
"dependencies": {
1313
"@ai-sdk/openai": "^1.3.23",

postcss.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
plugins: {
33
tailwindcss: {},
4-
autoprefixer: {}
5-
}
4+
autoprefixer: {},
5+
},
66
}

0 commit comments

Comments
 (0)