@juv/codego-react-ui 3.5.3 → 3.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -619,6 +619,14 @@ function AnnouncementsPage() {
619
619
  }
620
620
  ```
621
621
 
622
+ > **Note:** `useServerBulletin` uses the internal `codego` api client which automatically attaches the Bearer token from `localStorage.getItem("token")`. For encrypted Laravel responses, pass `encrypt: true` and set `VITE_LARAVEL_KEY` in your `.env`:
623
+ >
624
+ > ```
625
+ > VITE_LARAVEL_KEY=base64:your_app_key_here
626
+ > ```
627
+ >
628
+ > Or pass the key directly: `key: "base64:..."`. The response can be a plain array `[...]` or a paginated object `{ data: [...], total, per_page, ... }` — both are handled automatically.
629
+
622
630
  ---
623
631
 
624
632
  ## LeafletMap Props