Update packages
This commit is contained in:
parent
83f86214b5
commit
363b00b949
19
package.json
19
package.json
|
@ -7,21 +7,22 @@
|
||||||
"start-bot": "bun src/mpp/index.ts"
|
"start-bot": "bun src/mpp/index.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest"
|
"@types/bun": "^1.1.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.3.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@prisma/client": "^5.9.1",
|
"@prisma/client": "^5.15.0",
|
||||||
"@trpc/client": "next",
|
"@trpc/client": "next",
|
||||||
"@trpc/server": "next",
|
"@trpc/server": "next",
|
||||||
"cli-markdown": "^3.2.2",
|
"@types/node": "^20.14.2",
|
||||||
"discord.js": "^14.14.1",
|
"cli-markdown": "^3.4.0",
|
||||||
"mpp-client-net": "^1.1.3",
|
"discord.js": "^14.15.3",
|
||||||
"prisma": "^5.9.1",
|
"mpp-client-net": "^1.2.0",
|
||||||
|
"prisma": "^5.15.0",
|
||||||
"trpc-bun-adapter": "^1.1.0",
|
"trpc-bun-adapter": "^1.1.0",
|
||||||
"yaml": "^2.3.4",
|
"yaml": "^2.4.5",
|
||||||
"zod": "^3.22.4"
|
"zod": "^3.23.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { Logger } from "@util/Logger";
|
import { Logger } from "@util/Logger";
|
||||||
import { createInterface, type ReadLine } from "readline";
|
import { createInterface } from "readline";
|
||||||
import { EventEmitter } from "events";
|
import { EventEmitter } from "events";
|
||||||
import gettRPC from "@util/api/trpc";
|
import gettRPC from "@util/api/trpc";
|
||||||
import { startAutorestart } from "@util/autorestart";
|
import { startAutorestart } from "@util/autorestart";
|
||||||
|
|
|
@ -6,14 +6,14 @@ import type { AppRouter } from "@server/api/trpc";
|
||||||
export function gettRPC(token: string) {
|
export function gettRPC(token: string) {
|
||||||
return createTRPCClient<AppRouter>({
|
return createTRPCClient<AppRouter>({
|
||||||
links: [
|
links: [
|
||||||
// httpBatchLink({
|
httpBatchLink({
|
||||||
// url: "http://localhost:3000",
|
url: "http://localhost:3000",
|
||||||
// headers() {
|
headers() {
|
||||||
// return {
|
return {
|
||||||
// Authorization: token
|
Authorization: token
|
||||||
// };
|
};
|
||||||
// }
|
}
|
||||||
// }),
|
}),
|
||||||
httpBatchLink({
|
httpBatchLink({
|
||||||
url: "https://fishing.hri7566.info/api",
|
url: "https://fishing.hri7566.info/api",
|
||||||
headers() {
|
headers() {
|
||||||
|
|
Loading…
Reference in New Issue