Releases: pocketbase/js-sdk
Releases Β· pocketbase/js-sdk
Release list
v0.3.1 Release
Changes
- Clear
baseTokenandbaseModelonBaseAuthStore.clear()call
v0.3.0 Release
Changes
- Added
client.beforeSendandclient.afterSendhooks allowing more advanced request and response customizations (for more details check Send hooks) [#19]. - Added
onChangelistener to the AuthStore:client.authStore.onChange((token, model) => { console.log("Store changed":, token, model); }) - Since several users complained about this and for consistency with other js code, the UpperCamelCase API services access is now soft-deprecated. The old format will still continue to work as alias, but for new projects it is recommended to use the lowerCamelCase version:
client.AuthStore.* => client.authStore.*
client.Admins.* => client.admins.*
client.Users.* => client.users.*
client.Records.* => client.records.*
client.Collections.* => client.collections.*
client.Logs.* => client.logs.*
client.Settings.* => client.settings.*
client.Realtime.* => client.realtime.*
v0.2.2 Release
Changes
- Removed explicit fetch
modeoption and fallback to the defaults [#18]