@react-native-firebase/app-check 23.0.1 → 23.1.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.
- package/CHANGELOG.md +10 -0
- package/lib/index.js +2 -7
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/plugin/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.1.1](https://github.com/invertase/react-native-firebase/compare/v23.1.0...v23.1.1) (2025-08-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- validate listenerOrObserver callbacks in auth, app-check, remote-config ([06dcae4](https://github.com/invertase/react-native-firebase/commit/06dcae44e29f18e7716727479fd6e6d048336d91))
|
|
11
|
+
|
|
12
|
+
## [23.1.0](https://github.com/invertase/react-native-firebase/compare/v23.0.1...v23.1.0) (2025-08-19)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @react-native-firebase/app-check
|
|
15
|
+
|
|
6
16
|
## [23.0.1](https://github.com/invertase/react-native-firebase/compare/v23.0.0...v23.0.1) (2025-08-12)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @react-native-firebase/app-check
|
package/lib/index.js
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
isFunction,
|
|
24
24
|
isUndefined,
|
|
25
25
|
isOther,
|
|
26
|
+
parseListenerOrObserver,
|
|
26
27
|
} from '@react-native-firebase/app/lib/common';
|
|
27
28
|
import {
|
|
28
29
|
createModuleNamespace,
|
|
@@ -179,12 +180,6 @@ class FirebaseAppCheckModule extends FirebaseModule {
|
|
|
179
180
|
return this.native.getLimitedUseToken();
|
|
180
181
|
}
|
|
181
182
|
|
|
182
|
-
_parseListener(listenerOrObserver) {
|
|
183
|
-
return typeof listenerOrObserver === 'object'
|
|
184
|
-
? listenerOrObserver.next.bind(listenerOrObserver)
|
|
185
|
-
: listenerOrObserver;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
183
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
189
184
|
onTokenChanged(onNextOrObserver, onError, onCompletion) {
|
|
190
185
|
// iOS does not provide any native listening feature
|
|
@@ -193,7 +188,7 @@ class FirebaseAppCheckModule extends FirebaseModule {
|
|
|
193
188
|
console.warn('onTokenChanged is not implemented on IOS, only for Android');
|
|
194
189
|
return () => {};
|
|
195
190
|
}
|
|
196
|
-
const nextFn =
|
|
191
|
+
const nextFn = parseListenerOrObserver(onNextOrObserver);
|
|
197
192
|
// let errorFn = function () { };
|
|
198
193
|
// if (onNextOrObserver.error != null) {
|
|
199
194
|
// errorFn = onNextOrObserver.error.bind(onNextOrObserver);
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
module.exports = '23.
|
|
2
|
+
module.exports = '23.1.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/app-check",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.1.1",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - App Check",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"appCheck"
|
|
26
26
|
],
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@react-native-firebase/app": "23.
|
|
28
|
+
"@react-native-firebase/app": "23.1.1",
|
|
29
29
|
"expo": ">=47.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"expo": "^
|
|
32
|
+
"expo": "^53.0.20"
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {
|
|
35
35
|
"expo": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"access": "public",
|
|
41
41
|
"provenance": true
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "1cdb412427e0c909ede08f5fed5c6b512e9fb5d5"
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/index.ts","./src/ios/appDelegate.ts","./src/ios/index.ts"],"version":"5.
|
|
1
|
+
{"root":["./src/index.ts","./src/ios/appDelegate.ts","./src/ios/index.ts"],"version":"5.9.2"}
|