2 Commits
1.2.4 ... 1.2.5

Author SHA1 Message Date
f9a202db55 chore(deps): bump
Some checks failed
Build Latest image / build-container (push) Successful in 44s
Build release images / build-container (push) Failing after 3h14m11s
2025-03-27 10:20:15 +01:00
92fc5762e4 chore(deps): bun:1.2.6
All checks were successful
Build Latest image / build-container (push) Successful in 38s
2025-03-27 10:03:18 +01:00
4 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
FROM oven/bun:1.1.40-slim FROM oven/bun:1.2.6-slim
WORKDIR /app WORKDIR /app
COPY package.json . COPY package.json .
RUN bun i RUN bun i

BIN
bun.lockb

Binary file not shown.

View File

@@ -8,20 +8,20 @@
"start": "bun src/index.ts" "start": "bun src/index.ts"
}, },
"dependencies": { "dependencies": {
"@hono/node-server": "1.13.7", "@hono/node-server": "1.14.0",
"@hono/swagger-ui": "0.5.0", "@hono/swagger-ui": "0.5.1",
"@hono/zod-openapi": "0.18.3", "@hono/zod-openapi": "0.19.2",
"@hono/zod-validator": "0.4.2", "@hono/zod-validator": "0.4.3",
"bullmq": "5.34.3", "bullmq": "5.44.4",
"handlebars": "4.7.8", "handlebars": "4.7.8",
"hono": "4.6.14", "hono": "4.7.5",
"ioredis": "5.4.1", "ioredis": "5.6.0",
"nodemailer": "6.9.16", "nodemailer": "6.10.0",
"zod": "3.24.1" "zod": "3.24.2"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "22.10.2", "@types/node": "22.13.14",
"@types/nodemailer": "6.4.17", "@types/nodemailer": "6.4.17",
"bun-types": "1.1.40" "bun-types": "1.2.6"
} }
} }

View File

@@ -21,7 +21,7 @@ async function generateBarcodeDataURL(data) {
return `${process.env.DOCUMENT_SERVER_URL}/v1/barcodes/code128/${data}` return `${process.env.DOCUMENT_SERVER_URL}/v1/barcodes/code128/${data}`
} }
emailRouter.post('/', bearerAuth({ token: process.env.AUTHKEY }), zValidator('json', sendEmailSchema), async (c) => { emailRouter.post('/', bearerAuth({ token: process.env.AUTHKEY || "" }), zValidator('json', sendEmailSchema), async (c) => {
let { to, templateName, language, data } = c.req.valid('json') let { to, templateName, language, data } = c.req.valid('json')
const attachments: Attachment[] = [] const attachments: Attachment[] = []
try { try {