Socket
Socket
Sign inDemoInstall

pocketbase

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pocketbase - npm Package Versions

1
9

0.11.0

Diff

Changelog

Source

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.

gani.georgiev
published 0.10.2 •

Changelog

Source

0.10.2

  • Updated getFileUrl() to accept custom types as record argument.
gani.georgiev
published 0.10.1 •

Changelog

Source

0.10.1

  • Added check for the collection name before auto updating the pb.authStore state on auth record update/delete.
gani.georgiev
published 0.10.0 •

Changelog

Source

0.10.0

  • Added more helpful message for the ECONNREFUSED ::1 localhost error (related to #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.

gani.georgiev
published 0.9.1 •

Changelog

Source

0.9.1

  • Normalized nested expand items to Record|Array<Record> instances.
gani.georgiev
published 0.9.0 •

Changelog

Source

0.9.0

  • Added pb.health.check() that checks the health status of the API service (available in PocketBase v0.10.0)
gani.georgiev
published 0.8.4 •

Changelog

Source

0.8.4

  • Added type declarations for the action query parameters (#102; thanks @sewera).
    BaseQueryParams
    ListQueryParams
    RecordQueryParams
    RecordListQueryParams
    LogStatsQueryParams
    FileQueryParams
    
gani.georgiev
published 0.8.3 •

Changelog

Source

0.8.3

  • Renamed the declaration file extension from .d.ts to .d.mts to prevent type resolution issues (#92).
gani.georgiev
published 0.8.2 •

Changelog

Source

0.8.2

  • Allowed catching the initial realtime connect error as part of the subscribe() Promise resolution.

  • Reimplemented the default EventSource retry mechanism for better control and more consistent behavior across different browsers.

gani.georgiev
published 0.8.1 •

Changelog

Source

0.8.1

This release contains only documentation fixes:

  • Fixed code comment typos.

  • Added note about loadFromCookie that you may need to call authRefresh to validate the loaded cookie state server-side.

  • Updated the SSR examples to show the authRefresh call. For the examples the authRefresh call is not required but it is there to remind users that it needs to be called if you want to do permission checks in a node env (eg. SSR) and rely on the pb.authStore.isValid.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc