Simple API gateway for webhooks

chore: move to new Deno Deploy

finxol.io e417a824 876f8692

verified
+12 -12
+1
.gitignore
··· 1 1 .env 2 2 test.json 3 + .DS_Store
+1 -6
.tangled/workflows/deploy.yaml
··· 13 13 command: | 14 14 deno lint 15 15 16 - - name: Install deployctl 17 - command: | 18 - deno install -gArf jsr:@deno/deployctl 19 - 20 16 - name: Deploy to Deno Deploy 21 17 command: | 22 - cd .output/public 23 - ~/.deno/bin/deployctl deploy --project finxol-hook --entrypoint src/main.ts --include=. --prod 18 + deno deploy --prod --no-wait
+4 -4
deno.json
··· 1 1 { 2 2 "imports": { 3 3 "@hono/ua-blocker": "npm:@hono/ua-blocker@^0.1.9", 4 + "@std/crypto": "jsr:@std/crypto@^1.0.5", 5 + "@std/encoding": "jsr:@std/encoding@^1.0.10", 4 6 "hono": "npm:hono@^4.9.6", 5 7 "zod": "npm:zod@^4.1.5" 6 8 }, ··· 22 24 "proseWrap": "preserve" 23 25 }, 24 26 "deploy": { 25 - "project": "bd2e7894-6133-473d-8093-f84066914d26", 26 - "exclude": ["**/node_modules"], 27 - "include": ["."], 28 - "entrypoint": "src/main.ts" 27 + "org": "finxol", 28 + "app": "hook" 29 29 } 30 30 }
+4
deno.lock
··· 2 2 "version": "5", 3 3 "specifiers": { 4 4 "jsr:@std/crypto@*": "1.0.5", 5 + "jsr:@std/crypto@^1.0.5": "1.0.5", 5 6 "jsr:@std/encoding@*": "1.0.10", 7 + "jsr:@std/encoding@^1.0.10": "1.0.10", 6 8 "npm:@hono/ua-blocker@~0.1.9": "0.1.9_hono@4.9.6", 7 9 "npm:@types/node@*": "24.2.0", 8 10 "npm:hono@^4.9.6": "4.9.6", ··· 41 43 }, 42 44 "workspace": { 43 45 "dependencies": [ 46 + "jsr:@std/crypto@^1.0.5", 47 + "jsr:@std/encoding@^1.0.10", 44 48 "npm:@hono/ua-blocker@~0.1.9", 45 49 "npm:hono@^4.9.6", 46 50 "npm:zod@^4.1.5"
+2 -2
src/util.ts
··· 1 - import { crypto } from "jsr:@std/crypto" 2 - import { encodeHex } from "jsr:@std/encoding/hex" 1 + import { crypto } from "@std/crypto" 2 + import { encodeHex } from "@std/encoding/hex" 3 3 4 4 export const kv = await Deno.openKv() 5 5