chore: 📦 Use NPM version of @lysand-org/federation

This commit is contained in:
Jesse Wierzbinski 2024-06-07 15:33:00 -10:00
parent 43544a44da
commit e229c30a9f
No known key found for this signature in database
5 changed files with 6 additions and 10 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "packages/lysand-api"]
path = packages/lysand-api
url = https://github.com/lysand-org/api.git

BIN
bun.lockb

Binary file not shown.

View file

@ -100,7 +100,7 @@
"@inquirer/confirm": "^3.1.9",
"@inquirer/input": "^2.1.9",
"@json2csv/plainjs": "^7.0.6",
"@lysand-org/federation": "^1.1.8",
"@lysand-org/federation": "1.1.9",
"@oclif/core": "^3.26.9",
"@tufjs/canonical-json": "^2.0.0",
"blurhash": "^2.0.5",

@ -1 +0,0 @@
Subproject commit 69be6967bd0f0018ac5951238639f49f7c93206e

View file

@ -2,6 +2,11 @@ import { applyConfig, debugRequest, handleZodError } from "@/api";
import { dualLogger } from "@/loggers";
import { errorResponse, jsonResponse, response } from "@/response";
import { zValidator } from "@hono/zod-validator";
import {
EntityValidator,
RequestParserHandler,
SignatureValidator,
} from "@lysand-org/federation";
import type { SocketAddress } from "bun";
import { eq } from "drizzle-orm";
import type { Hono } from "hono";
@ -18,11 +23,6 @@ import { config } from "~/packages/config-manager";
import { Note } from "~/packages/database-interface/note";
import { User } from "~/packages/database-interface/user";
import { LogLevel, LogManager } from "~/packages/log-manager";
import {
EntityValidator,
RequestParserHandler,
SignatureValidator,
} from "~/packages/lysand-api/federation";
export const meta = applyConfig({
allowedMethods: ["POST"],