@react-native-firebase/database 23.7.0 → 23.8.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [23.8.0](https://github.com/invertase/react-native-firebase/compare/v23.7.0...v23.8.0) (2026-01-13)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/database
9
+
6
10
  ## [23.7.0](https://github.com/invertase/react-native-firebase/compare/v23.6.0...v23.7.0) (2025-12-08)
7
11
 
8
12
  **Note:** Version bump only for package @react-native-firebase/database
package/lib/index.d.ts CHANGED
@@ -110,6 +110,7 @@ export namespace FirebaseDatabaseTypes {
110
110
  * ```
111
111
  */
112
112
  ServerValue: ServerValue;
113
+ SDK_VERSION: string;
113
114
  }
114
115
 
115
116
  export interface TransactionResult {
@@ -1113,6 +1114,11 @@ export namespace FirebaseDatabaseTypes {
1113
1114
  *
1114
1115
  */
1115
1116
  export class Module extends FirebaseModule {
1117
+ /**
1118
+ * The current `FirebaseApp` instance for this Firebase service.
1119
+ */
1120
+ app: ReactNativeFirebase.FirebaseApp;
1121
+
1116
1122
  /**
1117
1123
  * Returns the current Firebase Database server time as a JavaScript Date object.
1118
1124
  */
@@ -1276,10 +1282,19 @@ export namespace FirebaseDatabaseTypes {
1276
1282
  }
1277
1283
  }
1278
1284
 
1279
- declare const defaultExport: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<
1285
+ type DatabaseNamespace = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<
1280
1286
  FirebaseDatabaseTypes.Module,
1281
1287
  FirebaseDatabaseTypes.Statics
1282
- >;
1288
+ > & {
1289
+ database: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<
1290
+ FirebaseDatabaseTypes.Module,
1291
+ FirebaseDatabaseTypes.Statics
1292
+ >;
1293
+ firebase: ReactNativeFirebase.Module;
1294
+ app(name?: string): ReactNativeFirebase.FirebaseApp;
1295
+ };
1296
+
1297
+ declare const defaultExport: DatabaseNamespace;
1283
1298
 
1284
1299
  export const firebase: ReactNativeFirebase.Module & {
1285
1300
  database: typeof defaultExport;
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '23.7.0';
2
+ module.exports = '23.8.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/database",
3
- "version": "23.7.0",
3
+ "version": "23.8.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. React Native Firebase provides native integration with the Android & iOS Firebase SDKs, supporting both realtime data sync and offline capabilities.",
6
6
  "main": "lib/index.js",
@@ -25,11 +25,11 @@
25
25
  "realtome database"
26
26
  ],
27
27
  "peerDependencies": {
28
- "@react-native-firebase/app": "23.7.0"
28
+ "@react-native-firebase/app": "23.8.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public",
32
32
  "provenance": true
33
33
  },
34
- "gitHead": "2a30c0b1e41a2b239172afd167f98a03fd422f2c"
34
+ "gitHead": "724ddcfea6ebe93875e5a54ff38ca57ab5990822"
35
35
  }