chore(federation): ⬆️ Upgrade @lysand-org/federation to 2.1.1

This commit is contained in:
Jesse Wierzbinski 2024-07-16 20:17:18 +02:00
parent da16a5d4c2
commit ba56c98e35
No known key found for this signature in database
3 changed files with 2 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -104,7 +104,7 @@
"@json2csv/plainjs": "^7.0.6", "@json2csv/plainjs": "^7.0.6",
"@logtape/logtape": "npm:@jsr/logtape__logtape@0.4.2", "@logtape/logtape": "npm:@jsr/logtape__logtape@0.4.2",
"@lysand-org/client": "^0.2.3", "@lysand-org/client": "^0.2.3",
"@lysand-org/federation": "^2.1.0", "@lysand-org/federation": "^2.1.1",
"@oclif/core": "^4.0.12", "@oclif/core": "^4.0.12",
"@tufjs/canonical-json": "^2.0.0", "@tufjs/canonical-json": "^2.0.0",
"altcha-lib": "^0.4.0", "altcha-lib": "^0.4.0",

View file

@ -2,7 +2,7 @@ import type { ContentFormat } from "@lysand-org/federation/types";
import { lookup } from "mime-types"; import { lookup } from "mime-types";
import { config } from "~/packages/config-manager"; import { config } from "~/packages/config-manager";
export const getBestContentType = (content?: ContentFormat) => { export const getBestContentType = (content?: ContentFormat | null) => {
if (!content) { if (!content) {
return { content: "", format: "text/plain" }; return { content: "", format: "text/plain" };
} }