@react-native-firebase/installations 18.5.0 → 18.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/__tests__/installations.test.ts +9 -9
- package/android/build.gradle +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/type-test.ts +3 -10
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
|
+
## [18.6.0](https://github.com/invertase/react-native-firebase/compare/v18.5.0...v18.6.0) (2023-10-26)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/installations
|
9
|
+
|
6
10
|
## [18.5.0](https://github.com/invertase/react-native-firebase/compare/v18.4.0...v18.5.0) (2023-09-22)
|
7
11
|
|
8
12
|
**Note:** Version bump only for package @react-native-firebase/installations
|
@@ -26,19 +26,19 @@ describe('installations()', function () {
|
|
26
26
|
it('returns an instance of Installations', async function () {
|
27
27
|
const installations = getInstallations();
|
28
28
|
expect(installations).toBeDefined();
|
29
|
-
expect(installations.app).toBeDefined();
|
29
|
+
// expect(installations.app).toBeDefined();
|
30
30
|
});
|
31
31
|
|
32
|
-
it('supports multiple apps', async function () {
|
33
|
-
|
34
|
-
|
32
|
+
// it('supports multiple apps', async function () {
|
33
|
+
// const app = firebase.app();
|
34
|
+
// const secondaryApp = firebase.app('secondaryFromNative');
|
35
35
|
|
36
|
-
|
37
|
-
|
36
|
+
// const installations = getInstallations();
|
37
|
+
// const installationsForApp = getInstallations(secondaryApp);
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
});
|
39
|
+
// expect(installations.app).toEqual(app);
|
40
|
+
// expect(installationsForApp.app).toEqual(secondaryApp);
|
41
|
+
// });
|
42
42
|
});
|
43
43
|
|
44
44
|
describe('onIdChange', function () {
|
package/android/build.gradle
CHANGED
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '18.
|
2
|
+
module.exports = '18.6.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/installations",
|
3
|
-
"version": "18.
|
3
|
+
"version": "18.6.0",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - Installations",
|
6
6
|
"main": "lib/index.js",
|
@@ -22,10 +22,10 @@
|
|
22
22
|
"installations"
|
23
23
|
],
|
24
24
|
"peerDependencies": {
|
25
|
-
"@react-native-firebase/app": "18.
|
25
|
+
"@react-native-firebase/app": "18.6.0"
|
26
26
|
},
|
27
27
|
"publishConfig": {
|
28
28
|
"access": "public"
|
29
29
|
},
|
30
|
-
"gitHead": "
|
30
|
+
"gitHead": "adbbd4171adb1e3c2306da1285520abbaf9313b8"
|
31
31
|
}
|
package/type-test.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import firebase from '
|
2
|
-
import defaultExport, { firebase as firebaseFromModule } from '@react-native-firebase/installations';
|
1
|
+
import firebase from '.';
|
3
2
|
|
4
3
|
// checks module exists at root
|
5
4
|
console.log(firebase.installations().app.name);
|
@@ -10,17 +9,11 @@ console.log(firebase.app().installations().app.name);
|
|
10
9
|
// checks statics exist
|
11
10
|
console.log(firebase.installations.SDK_VERSION);
|
12
11
|
|
13
|
-
// checks statics exist on defaultExport
|
14
|
-
console.log(defaultExport.SDK_VERSION);
|
15
|
-
|
16
|
-
// checks root exists
|
17
|
-
console.log(firebase.SDK_VERSION);
|
18
|
-
|
19
12
|
// checks firebase named export exists on module
|
20
|
-
console.log(
|
13
|
+
console.log(firebase.SDK_VERSION);
|
21
14
|
|
22
15
|
// checks multi-app support exists
|
23
16
|
console.log(firebase.installations(firebase.app()).app.name);
|
24
17
|
|
25
18
|
// checks default export supports app arg
|
26
|
-
console.log(
|
19
|
+
console.log(firebase(firebase.app()).app.name);
|