Pocketbase

Latest version: v0.11.1

Safety actively analyzes 633482 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.11.1

- Exported the services class definitions to allow being used as argument types ([153](https://github.com/pocketbase/js-sdk/issues/153)).
js
CrudService
AdminService
CollectionService
LogService
RealtimeService
RecordService
SettingsService

0.11.0

- Aliased/soft-deprecated `ClientResponseError.data` in favor of `ClientResponseError.response` to avoid the stuttering when accessing the inner error response `data` key (aka. `err.data.data` now is `err.response.data`).
The `ClientResponseError.data` will still work but it is recommend for new code to use the `response` key.

- Added `getFullList(queryParams = {})` overload since the default batch size in most cases doesn't need to change (it can be defined as query parameter).
The old form `getFullList(batch = 200, queryParams = {})` will still work, but it is recommend for new code to use the shorter form.

0.10.2

- Updated `getFileUrl()` to accept custom types as record argument.

0.10.1

- Added check for the collection name before auto updating the `pb.authStore` state on auth record update/delete.

0.10.0

- Added more helpful message for the `ECONNREFUSED ::1` localhost error (related to [21](https://github.com/pocketbase/js-sdk/issues/21)).

- Preserved the "original" function and class names in the minified output for those who rely on `*.prototype.name`.

- Allowed sending the existing valid auth token with the `authWithPassword()` calls.

- Updated the Nuxt3 SSR examples to use the built-in `useCookie()` helper.

0.9.1

- Normalized nested `expand` items to `Record|Array<Record>` instances.

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.