feat: botid enabled on api/book/event api route (#24207)

* wip

* WIP

* restore event

* testing without instrument client

* Add conditional for botID init

* Bump BotID version + pass in header

* botID yarn lock changes

* feat: Add feature flag checks + tidy up into service

* rely on env var also

* use eventType repo instead of passing in prisma

* remove slug from audit

* rename botId feature to botid

* add unit tests for bot service
This commit is contained in:
sean-brydon authored and GitHub committed 2025-10-06 11:16:13 +01:00
1 parent f3269a3ddf
commit 7799b191ec
14 files changed
+340

No files matched your search

+16
View File
@@ -4302,6 +4302,7 @@ __metadata:
autoprefixer: ^10.4.12
bcp-47-match: ^2.0.3
bcryptjs: ^2.4.3
botid: ^1.5.7
classnames: ^2.3.1
cron: ^3.1.7
detect-port: ^1.3.0
@@ -21570,6 +21571,21 @@ __metadata:
languageName: node
linkType: hard
"botid@npm:^1.5.7":
version: 1.5.7
resolution: "botid@npm:1.5.7"
peerDependencies:
next: "*"
react: ^18.0.0 || ^19.0.0
peerDependenciesMeta:
next:
optional: true
react:
optional: true
checksum: d44f483db90e22e5d097e744bfc8baa667e78b1f84c15cb76680eba638fc8e8561582b2dada4c833c2d3291a8a6dd2ac3dc6d67a57ce17e1a4884ebb98cba0d3
languageName: node
linkType: hard
"bottleneck@npm:^2.15.3, bottleneck@npm:^2.19.5":
version: 2.19.5
resolution: "bottleneck@npm:2.19.5"