fix: bun tsconfig and check response
This commit is contained in:
@@ -100,7 +100,7 @@ export const handleCheck = createRoute({
|
||||
return c.json({
|
||||
...transformedResponse,
|
||||
preview,
|
||||
lock_key: body.lock?.key ?? undefined,
|
||||
// lock_key: body.lock?.key ?? undefined,
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -133,7 +133,9 @@ export const addTaskToQueue = async <T extends keyof Payloads>({
|
||||
? Math.min(Math.floor(delayMs / 1000), 900)
|
||||
: undefined;
|
||||
|
||||
const messageDeduplicationId = messageId ?? generateId("dedup");
|
||||
const messageDeduplicationId = Bun.hash(
|
||||
messageId ?? generateId("dedup"),
|
||||
).toString();
|
||||
|
||||
const command = new SendMessageCommand({
|
||||
QueueUrl: sqsQueueUrl!,
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"moduleResolution": "bundler",
|
||||
"module": "Preserve",
|
||||
|
||||
|
||||
"typeRoots": ["./node_modules/@types", "../node_modules/@types"],
|
||||
"types": ["bun", "node"],
|
||||
// "declaration": true,
|
||||
"jsx": "react-jsx",
|
||||
"rootDir": ".",
|
||||
|
||||
Reference in New Issue
Block a user