@react-native-firebase/app-distribution 20.3.0 → 20.4.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
+ ## [20.4.0](https://github.com/invertase/react-native-firebase/compare/v20.3.0...v20.4.0) (2024-08-13)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/app-distribution
9
+
6
10
  ## [20.3.0](https://github.com/invertase/react-native-firebase/compare/v20.2.1...v20.3.0) (2024-07-19)
7
11
 
8
12
  **Note:** Version bump only for package @react-native-firebase/app-distribution
@@ -1,6 +1,13 @@
1
1
  import { describe, expect, it } from '@jest/globals';
2
2
 
3
- import { firebase } from '../lib';
3
+ import {
4
+ firebase,
5
+ getAppDistribution,
6
+ isTesterSignedIn,
7
+ signInTester,
8
+ checkForUpdate,
9
+ signOutTester,
10
+ } from '../lib';
4
11
 
5
12
  describe('appDistribution()', function () {
6
13
  describe('namespace', function () {
@@ -10,4 +17,26 @@ describe('appDistribution()', function () {
10
17
  expect(app.appDistribution().app).toEqual(app);
11
18
  });
12
19
  });
20
+
21
+ describe('modular', function () {
22
+ it('`getAppDistribution` function is properly exposed to end user', function () {
23
+ expect(getAppDistribution).toBeDefined();
24
+ });
25
+
26
+ it('`isTesterSignedIn` function is properly exposed to end user', function () {
27
+ expect(isTesterSignedIn).toBeDefined();
28
+ });
29
+
30
+ it('`signInTester` function is properly exposed to end user', function () {
31
+ expect(signInTester).toBeDefined();
32
+ });
33
+
34
+ it('`checkForUpdate` function is properly exposed to end user', function () {
35
+ expect(checkForUpdate).toBeDefined();
36
+ });
37
+
38
+ it('`signOutTester` function is properly exposed to end user', function () {
39
+ expect(signOutTester).toBeDefined();
40
+ });
41
+ });
13
42
  });
package/lib/index.d.ts CHANGED
@@ -145,6 +145,8 @@ export const firebase: ReactNativeFirebase.Module & {
145
145
 
146
146
  export default defaultExport;
147
147
 
148
+ export * from './modular';
149
+
148
150
  /**
149
151
  * Attach namespace to `firebase.` and `FirebaseApp.`.
150
152
  */
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '20.3.0';
2
+ module.exports = '20.4.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app-distribution",
3
- "version": "20.3.0",
3
+ "version": "20.4.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - App Distribution",
6
6
  "main": "lib/index.js",
@@ -22,10 +22,10 @@
22
22
  "app-distribution"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@react-native-firebase/app": "20.3.0"
25
+ "@react-native-firebase/app": "20.4.0"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "a916b37b022cf40588fa0fd915b7ab901e2458d0"
30
+ "gitHead": "3ac3e9623674a8db52c111b4aa0a85a883260116"
31
31
  }