@rebasepro/firebase 0.21.0 → 0.21.1

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.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -9,10 +9,10 @@ pnpm add @rebasepro/firebase
9
9
  ```
10
10
 
11
11
  ESM-only: `"type": "module"` with no CommonJS build, so it is loaded with
12
- `import`. `require()` of it resolves only on Node 22.12+, which supports
13
- `require(esm)`.
12
+ `import`. It needs Node `>=22.22.0` (its `engines` floor), where `require()`
13
+ of it resolves too: Node has supported `require(esm)` since 22.12.
14
14
 
15
- **Peer dependencies:** `firebase ^10.12.2 || ^11.0.0 || ^12.0.0`, `react >= 19.0.0`, `react-dom >= 19.0.0`, `typesense ^1.8.0` (optional)
15
+ **Peer dependencies:** `firebase ^10.12.2 || ^11.0.0 || ^12.0.0`, `react ^19.2.7`, `react-dom ^19.2.7`, `typesense ^1.8.0` (optional)
16
16
 
17
17
  ## What This Package Does
18
18
 
@@ -45,18 +45,18 @@ This package provides the full Firebase integration layer for Rebase. It include
45
45
  | `useRecaptcha` | reCAPTCHA integration for App Check |
46
46
  | `useBuildUserManagement` | Builds a user/role management delegate from Firestore |
47
47
  | `useFirebaseAccessGate` | Evaluates whether the current user can access the admin panel |
48
- | `useFirebaseRealTimeDBDelegate` | Realtime Database integration |
48
+ | `useFirebaseRTDBDelegate` | Realtime Database integration — a `DataDriver` over RTDB |
49
49
 
50
50
  ### Utils
51
51
 
52
52
  | Export | Description |
53
53
  |---|---|
54
- | `buildAlgoliaSearchController` | Algolia text search adapter |
54
+ | `performAlgoliaTextSearch` | Algolia text search returns the ids of the matching entities |
55
55
  | `buildPineconeSearchController` | Pinecone text search adapter |
56
56
  | `buildRebaseSearchController` | Rebase-hosted search adapter |
57
- | `buildLocalTextSearchController` | Client-side fuzzy search (Fuse.js) |
58
- | `buildTextSearchController` | Generic text search adapter builder |
59
- | `buildCollectionsFromFirestore` | Auto-generate collection configs by introspecting Firestore data |
57
+ | `localSearchControllerBuilder` | Client-side fuzzy search (Fuse.js) |
58
+ | `buildExternalSearchController` | Generic adapter over any external index that returns entity ids |
59
+ | `docsToCollectionTree` / `docToCollection` | Rebuild collection configs stored as Firestore documents, subcollections nested |
60
60
 
61
61
  ### Types
62
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebasepro/firebase",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "Firebase data source for Rebase — run the Rebase admin panel and SDK against Firestore.",
5
5
  "keywords": [
6
6
  "rebase",
@@ -33,13 +33,13 @@
33
33
  "fast-equals": "6.0.2",
34
34
  "fuse.js": "^7.5.0",
35
35
  "react-router": "^8.3.0",
36
- "@rebasepro/cms": "0.21.0",
37
- "@rebasepro/common": "0.21.0",
38
- "@rebasepro/cms-types": "0.21.0",
39
- "@rebasepro/app": "0.21.0",
40
- "@rebasepro/ui": "0.21.0",
41
- "@rebasepro/types": "0.21.0",
42
- "@rebasepro/utils": "0.21.0"
36
+ "@rebasepro/cms-types": "0.21.1",
37
+ "@rebasepro/cms": "0.21.1",
38
+ "@rebasepro/common": "0.21.1",
39
+ "@rebasepro/app": "0.21.1",
40
+ "@rebasepro/utils": "0.21.1",
41
+ "@rebasepro/types": "0.21.1",
42
+ "@rebasepro/ui": "0.21.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "firebase": "^10.12.2 || ^11.0.0 || ^12.0.0",