diff --git a/CHANGELOG.md b/CHANGELOG.md index 98d86d73..7f6ae2f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - Mocked `syscall.Exec` when building for WASM ([#7116](https://github.com/pocketbase/pocketbase/pull/7116); thanks @joas8211). _Note that WASM is not officially supported PocketBase build target and many things may not work as expected._ -- Registered missing `$filesystem`, `$mails` and `$template` bindings in the JSVM migrations ([#7125](https://github.com/pocketbase/pocketbase/issues/7125)). +- Registered missing `$filesystem`, `$mails`, `$template` and `__hooks` bindings in the JSVM migrations ([#7125](https://github.com/pocketbase/pocketbase/issues/7125)). - Regenerated JSVM types to include methods from structs with single generic parameter. diff --git a/plugins/jsvm/internal/types/types.go b/plugins/jsvm/internal/types/types.go index 91ce07d3..a8e39099 100644 --- a/plugins/jsvm/internal/types/types.go +++ b/plugins/jsvm/internal/types/types.go @@ -113,8 +113,6 @@ declare function routerUse(...middlewares: Array