@rxap/firebase 21.0.1-dev.0 → 21.0.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 +25 -0
- package/compodoc/changelog.html +23 -0
- package/compodoc/dependencies.html +3 -3
- package/compodoc/graph/dependencies.svg +4 -30
- package/compodoc/injectables/AppCheckService.html +30 -147
- package/compodoc/injectables/RxapFirebaseMessagingService.html +16 -93
- package/compodoc/interceptors/FirebaseAppCheckHttpInterceptor.html +13 -77
- package/compodoc/interfaces/Message.html +5 -12
- package/compodoc/js/menu-wc.js +0 -32
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +78 -0
- package/compodoc/miscellaneous/variables.html +1 -0
- package/compodoc/modules.html +0 -32
- package/compodoc/overview.html +1 -73
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +906 -1315
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AppCheckService.html +2 -2
- package/docs/html/classes/FirebaseAppCheckHttpInterceptor.html +3 -3
- package/docs/html/classes/RxapFirebaseMessagingService.html +2 -2
- package/docs/html/functions/AnalyticsEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckEnabledFactory.html +1 -1
- package/docs/html/functions/AppCheckSiteKeyFactory.html +1 -1
- package/docs/html/functions/AppIsTokenAutoRefreshEnabledFactory.html +1 -1
- package/docs/html/functions/AuthLanguageCodeFactory.html +1 -1
- package/docs/html/functions/AuthPersistenceFactory.html +1 -1
- package/docs/html/functions/AuthSettingsFactory.html +1 -1
- package/docs/html/functions/AuthTenantIdFactory.html +1 -1
- package/docs/html/functions/AuthUseDeviceLanguageFactory.html +1 -1
- package/docs/html/functions/DataCollectionEnabledFactory.html +1 -1
- package/docs/html/functions/EnablePersistenceTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseNameOrConfigTokenFactory.html +1 -1
- package/docs/html/functions/FirebaseOptionsTokenFactory.html +1 -1
- package/docs/html/functions/FirestoreSettingsTokenFactory.html +1 -1
- package/docs/html/functions/FunctionsNewOriginBehaviorFactory.html +1 -1
- package/docs/html/functions/FunctionsOriginFactory.html +1 -1
- package/docs/html/functions/FunctionsRegionFactory.html +1 -1
- package/docs/html/functions/GetAnalyticsAppName.html +1 -1
- package/docs/html/functions/InstrumentationEnabledFactory.html +1 -1
- package/docs/html/functions/PersistenceSettingsTokenFactory.html +1 -1
- package/docs/html/functions/ServiceWorkerFactory.html +1 -1
- package/docs/html/functions/StorageBucketFactory.html +1 -1
- package/docs/html/functions/StorageMaxOperationRetryTimeFactory.html +1 -1
- package/docs/html/functions/StorageMaxUploadRetryTimeFactory.html +1 -1
- package/docs/html/functions/UseAuthEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFirestoreEmulatorFactory.html +1 -1
- package/docs/html/functions/UseFunctionsEmulatorFactory.html +1 -1
- package/docs/html/functions/VapidKeyFactory.html +1 -1
- package/docs/html/functions/provideAngularFireAppCheck.html +3 -0
- package/docs/html/functions/provideAngularFireStorageEmulator.html +3 -0
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/FirebaseConfig.html +2 -2
- package/docs/html/interfaces/Message.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/APP_CHECK_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.html +1 -1
- package/docs/html/variables/APP_CHECK_SITE_KEY.html +1 -1
- package/docs/html/variables/FIREBASE_ANALYTICS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.html +1 -1
- package/docs/html/variables/FIREBASE_APP_CHECK_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_APP_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_AUTH_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FIRESTORE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_FUNCTIONS_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_MESSAGING_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PERFORMANCE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_PROVIDERS.html +1 -1
- package/docs/html/variables/FIREBASE_STORAGE_PROVIDERS.html +1 -1
- package/docs/html/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.html +1 -1
- package/docs/html/variables/USE_STORAGE_EMULATOR.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppCheckService.md +7 -37
- package/docs/markdown/classes/FirebaseAppCheckHttpInterceptor.md +6 -20
- package/docs/markdown/classes/RxapFirebaseMessagingService.md +10 -20
- package/docs/markdown/functions/AnalyticsEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckEnabledFactory.md +2 -2
- package/docs/markdown/functions/AppCheckSiteKeyFactory.md +2 -2
- package/docs/markdown/functions/AppIsTokenAutoRefreshEnabledFactory.md +2 -2
- package/docs/markdown/functions/AuthLanguageCodeFactory.md +2 -2
- package/docs/markdown/functions/AuthPersistenceFactory.md +2 -2
- package/docs/markdown/functions/AuthSettingsFactory.md +2 -2
- package/docs/markdown/functions/AuthTenantIdFactory.md +2 -2
- package/docs/markdown/functions/AuthUseDeviceLanguageFactory.md +2 -2
- package/docs/markdown/functions/DataCollectionEnabledFactory.md +2 -2
- package/docs/markdown/functions/EnablePersistenceTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseNameOrConfigTokenFactory.md +2 -2
- package/docs/markdown/functions/FirebaseOptionsTokenFactory.md +2 -2
- package/docs/markdown/functions/FirestoreSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/FunctionsNewOriginBehaviorFactory.md +2 -2
- package/docs/markdown/functions/FunctionsOriginFactory.md +2 -2
- package/docs/markdown/functions/FunctionsRegionFactory.md +2 -2
- package/docs/markdown/functions/GetAnalyticsAppName.md +2 -2
- package/docs/markdown/functions/InstrumentationEnabledFactory.md +2 -2
- package/docs/markdown/functions/PersistenceSettingsTokenFactory.md +2 -2
- package/docs/markdown/functions/ServiceWorkerFactory.md +2 -2
- package/docs/markdown/functions/StorageBucketFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxOperationRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/StorageMaxUploadRetryTimeFactory.md +2 -2
- package/docs/markdown/functions/UseAuthEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFirestoreEmulatorFactory.md +2 -2
- package/docs/markdown/functions/UseFunctionsEmulatorFactory.md +2 -2
- package/docs/markdown/functions/VapidKeyFactory.md +2 -2
- package/docs/markdown/functions/provideAngularFireAppCheck.md +18 -0
- package/docs/markdown/functions/provideAngularFireStorageEmulator.md +18 -0
- package/docs/markdown/globals.md +4 -4
- package/docs/markdown/interfaces/FirebaseConfig.md +3 -3
- package/docs/markdown/interfaces/Message.md +5 -5
- package/docs/markdown/variables/APP_CHECK_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +2 -2
- package/docs/markdown/variables/APP_CHECK_SITE_KEY.md +2 -2
- package/docs/markdown/variables/FIREBASE_ANALYTICS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_CHECK_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_APP_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_AUTH_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FIRESTORE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_FUNCTIONS_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_MESSAGING_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PERFORMANCE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/FIREBASE_STORAGE_PROVIDERS.md +2 -2
- package/docs/markdown/variables/RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +2 -2
- package/docs/markdown/variables/USE_STORAGE_EMULATOR.md +2 -2
- package/docs/wiki/Class.AppCheckService.md +6 -36
- package/docs/wiki/Class.FirebaseAppCheckHttpInterceptor.md +5 -19
- package/docs/wiki/Class.RxapFirebaseMessagingService.md +9 -19
- package/docs/wiki/Function.AnalyticsEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckEnabledFactory.md +1 -1
- package/docs/wiki/Function.AppCheckSiteKeyFactory.md +1 -1
- package/docs/wiki/Function.AppIsTokenAutoRefreshEnabledFactory.md +1 -1
- package/docs/wiki/Function.AuthLanguageCodeFactory.md +1 -1
- package/docs/wiki/Function.AuthPersistenceFactory.md +1 -1
- package/docs/wiki/Function.AuthSettingsFactory.md +1 -1
- package/docs/wiki/Function.AuthTenantIdFactory.md +1 -1
- package/docs/wiki/Function.AuthUseDeviceLanguageFactory.md +1 -1
- package/docs/wiki/Function.DataCollectionEnabledFactory.md +1 -1
- package/docs/wiki/Function.EnablePersistenceTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseNameOrConfigTokenFactory.md +1 -1
- package/docs/wiki/Function.FirebaseOptionsTokenFactory.md +1 -1
- package/docs/wiki/Function.FirestoreSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.FunctionsNewOriginBehaviorFactory.md +1 -1
- package/docs/wiki/Function.FunctionsOriginFactory.md +1 -1
- package/docs/wiki/Function.FunctionsRegionFactory.md +1 -1
- package/docs/wiki/Function.GetAnalyticsAppName.md +1 -1
- package/docs/wiki/Function.InstrumentationEnabledFactory.md +1 -1
- package/docs/wiki/Function.PersistenceSettingsTokenFactory.md +1 -1
- package/docs/wiki/Function.ServiceWorkerFactory.md +1 -1
- package/docs/wiki/Function.StorageBucketFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxOperationRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.StorageMaxUploadRetryTimeFactory.md +1 -1
- package/docs/wiki/Function.UseAuthEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFirestoreEmulatorFactory.md +1 -1
- package/docs/wiki/Function.UseFunctionsEmulatorFactory.md +1 -1
- package/docs/wiki/Function.VapidKeyFactory.md +1 -1
- package/docs/wiki/Function.provideAngularFireAppCheck.md +14 -0
- package/docs/wiki/Function.provideAngularFireStorageEmulator.md +14 -0
- package/docs/wiki/Interface.FirebaseConfig.md +2 -2
- package/docs/wiki/Interface.Message.md +4 -4
- package/docs/wiki/Variable.APP_CHECK_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED.md +1 -1
- package/docs/wiki/Variable.APP_CHECK_SITE_KEY.md +1 -1
- package/docs/wiki/Variable.FIREBASE_ANALYTICS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_HTTP_INTERCEPTOR_URL_PATTERN.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_CHECK_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_APP_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_AUTH_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FIRESTORE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_FUNCTIONS_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_MESSAGING_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PERFORMANCE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.FIREBASE_STORAGE_PROVIDERS.md +1 -1
- package/docs/wiki/Variable.RXAP_REQUEST_CLOUD_MESSAGING_TOKEN.md +1 -1
- package/docs/wiki/Variable.USE_STORAGE_EMULATOR.md +1 -1
- package/docs/wiki/_Sidebar.md +2 -2
- package/docs/wiki/globals.md +3 -3
- package/fesm2022/rxap-firebase-auth.mjs +4 -5
- package/fesm2022/rxap-firebase-auth.mjs.map +1 -1
- package/fesm2022/rxap-firebase.mjs +55 -103
- package/fesm2022/rxap-firebase.mjs.map +1 -1
- package/package.json +8 -8
- package/types/rxap-firebase-auth.d.ts +1 -1
- package/types/rxap-firebase.d.ts +20 -26
- package/docs/html/classes/RxapAngularFireAppCheckModule.html +0 -3
- package/docs/html/classes/RxapAngularFireStorageModule.html +0 -2
- package/docs/markdown/classes/RxapAngularFireAppCheckModule.md +0 -35
- package/docs/markdown/classes/RxapAngularFireStorageModule.md +0 -31
- package/docs/wiki/Class.RxapAngularFireAppCheckModule.md +0 -31
- package/docs/wiki/Class.RxapAngularFireStorageModule.md +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
## 21.0.1 (2026-11-22)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **upgrade:** TestBed.get->inject (removed in angular) + dedupe rxjs to single version
|
|
6
|
+
- **upgrade:** angular 20 / ts 5.9 code fixes across libraries
|
|
7
|
+
|
|
8
|
+
### 🧱 Updated Dependencies
|
|
9
|
+
|
|
10
|
+
- Updated angular-config to 21.0.1
|
|
11
|
+
- Updated utilities to 16.5.2
|
|
12
|
+
- Updated rxjs to 1.1.18
|
|
13
|
+
|
|
14
|
+
### ❤️ Thank You
|
|
15
|
+
|
|
16
|
+
- Merzough Münker
|
|
17
|
+
|
|
18
|
+
## 21.0.1-dev.1 (2026-11-22)
|
|
19
|
+
|
|
20
|
+
### 🧱 Updated Dependencies
|
|
21
|
+
|
|
22
|
+
- Updated angular-config to 21.0.1-dev.1
|
|
23
|
+
- Updated utilities to 16.5.2-dev.1
|
|
24
|
+
- Updated rxjs to 1.1.18-dev.1
|
|
25
|
+
|
|
1
26
|
## 21.0.1-dev.0 (2026-11-20)
|
|
2
27
|
|
|
3
28
|
### 🩹 Fixes
|
package/compodoc/changelog.html
CHANGED
|
@@ -82,6 +82,29 @@
|
|
|
82
82
|
<div class="content getting-started">
|
|
83
83
|
<div class="content-data">
|
|
84
84
|
|
|
85
|
+
<h2>21.0.1 (2026-11-22)</h2>
|
|
86
|
+
<h3>🩹 Fixes</h3>
|
|
87
|
+
<ul>
|
|
88
|
+
<li><strong>upgrade:</strong> TestBed.get->inject (removed in angular) + dedupe rxjs to single version</li>
|
|
89
|
+
<li><strong>upgrade:</strong> angular 20 / ts 5.9 code fixes across libraries</li>
|
|
90
|
+
</ul>
|
|
91
|
+
<h3>🧱 Updated Dependencies</h3>
|
|
92
|
+
<ul>
|
|
93
|
+
<li>Updated angular-config to 21.0.1</li>
|
|
94
|
+
<li>Updated utilities to 16.5.2</li>
|
|
95
|
+
<li>Updated rxjs to 1.1.18</li>
|
|
96
|
+
</ul>
|
|
97
|
+
<h3>❤️ Thank You</h3>
|
|
98
|
+
<ul>
|
|
99
|
+
<li>Merzough Münker</li>
|
|
100
|
+
</ul>
|
|
101
|
+
<h2>21.0.1-dev.1 (2026-11-22)</h2>
|
|
102
|
+
<h3>🧱 Updated Dependencies</h3>
|
|
103
|
+
<ul>
|
|
104
|
+
<li>Updated angular-config to 21.0.1-dev.1</li>
|
|
105
|
+
<li>Updated utilities to 16.5.2-dev.1</li>
|
|
106
|
+
<li>Updated rxjs to 1.1.18-dev.1</li>
|
|
107
|
+
</ul>
|
|
85
108
|
<h2>21.0.1-dev.0 (2026-11-20)</h2>
|
|
86
109
|
<h3>🩹 Fixes</h3>
|
|
87
110
|
<ul>
|
|
@@ -119,11 +119,11 @@
|
|
|
119
119
|
<li>
|
|
120
120
|
<b>@angular/fire</b> : ^7.5.0</li>
|
|
121
121
|
<li>
|
|
122
|
-
<b>@rxap/config</b> : ^21.0.1
|
|
122
|
+
<b>@rxap/config</b> : ^21.0.1</li>
|
|
123
123
|
<li>
|
|
124
|
-
<b>@rxap/rxjs</b> : ^1.1.18
|
|
124
|
+
<b>@rxap/rxjs</b> : ^1.1.18</li>
|
|
125
125
|
<li>
|
|
126
|
-
<b>@rxap/utilities</b> : ^16.5.2
|
|
126
|
+
<b>@rxap/utilities</b> : ^16.5.2</li>
|
|
127
127
|
<li>
|
|
128
128
|
<b>firebase</b> : ^9.23.0</li>
|
|
129
129
|
<li>
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
<!-- Generated by graphviz version 2.47.0 (20210316.0004)
|
|
5
5
|
-->
|
|
6
6
|
<!-- Title: dependencies Pages: 1 -->
|
|
7
|
-
<svg width="504pt" height="
|
|
8
|
-
viewBox="0.00 0.00 504.00
|
|
9
|
-
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4
|
|
7
|
+
<svg width="504pt" height="70pt"
|
|
8
|
+
viewBox="0.00 0.00 504.00 70.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 66)">
|
|
10
10
|
<title>dependencies</title>
|
|
11
|
-
<polygon fill="white" stroke="transparent" points="-4,4 -4,-
|
|
11
|
+
<polygon fill="white" stroke="transparent" points="-4,4 -4,-66 500,-66 500,4 -4,4"/>
|
|
12
12
|
<text text-anchor="start" x="227.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
|
|
13
13
|
<polygon fill="#ffffb3" stroke="transparent" points="14,-10 14,-30 34,-30 34,-10 14,-10"/>
|
|
14
14
|
<text text-anchor="start" x="37.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
|
|
@@ -20,31 +20,5 @@
|
|
|
20
20
|
<text text-anchor="start" x="333.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
|
|
21
21
|
<polygon fill="#fb8072" stroke="transparent" points="406,-10 406,-30 426,-30 426,-10 406,-10"/>
|
|
22
22
|
<text text-anchor="start" x="429.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
|
|
23
|
-
<g id="clust1" class="cluster">
|
|
24
|
-
<title>cluster_RxapAngularFireAppCheckModule</title>
|
|
25
|
-
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="131,-70 131,-195 365,-195 365,-70 131,-70"/>
|
|
26
|
-
</g>
|
|
27
|
-
<g id="clust6" class="cluster">
|
|
28
|
-
<title>cluster_RxapAngularFireAppCheckModule_providers</title>
|
|
29
|
-
<polygon fill="none" stroke="black" points="159,-78 159,-130 337,-130 337,-78 159,-78"/>
|
|
30
|
-
</g>
|
|
31
|
-
<!-- AppCheckService -->
|
|
32
|
-
<g id="node1" class="node">
|
|
33
|
-
<title>AppCheckService</title>
|
|
34
|
-
<ellipse fill="#fdb462" stroke="black" cx="248" cy="-104" rx="81.08" ry="18"/>
|
|
35
|
-
<text text-anchor="middle" x="248" y="-99.8" font-family="Times,serif" font-size="14.00">AppCheckService</text>
|
|
36
|
-
</g>
|
|
37
|
-
<!-- RxapAngularFireAppCheckModule -->
|
|
38
|
-
<g id="node2" class="node">
|
|
39
|
-
<title>RxapAngularFireAppCheckModule</title>
|
|
40
|
-
<polygon fill="#8dd3c7" stroke="black" points="356.89,-187 353.89,-191 332.89,-191 329.89,-187 139.11,-187 139.11,-151 356.89,-151 356.89,-187"/>
|
|
41
|
-
<text text-anchor="middle" x="248" y="-164.8" font-family="Times,serif" font-size="14.00">RxapAngularFireAppCheckModule</text>
|
|
42
|
-
</g>
|
|
43
|
-
<!-- AppCheckService->RxapAngularFireAppCheckModule -->
|
|
44
|
-
<g id="edge1" class="edge">
|
|
45
|
-
<title>AppCheckService->RxapAngularFireAppCheckModule</title>
|
|
46
|
-
<path fill="none" stroke="black" d="M248,-122.11C248,-122.11 248,-140.99 248,-140.99"/>
|
|
47
|
-
<polygon fill="black" stroke="black" points="244.5,-140.99 248,-150.99 251.5,-140.99 244.5,-140.99"/>
|
|
48
|
-
</g>
|
|
49
23
|
</g>
|
|
50
24
|
</svg>
|
|
@@ -177,117 +177,15 @@
|
|
|
177
177
|
<tbody>
|
|
178
178
|
<tr>
|
|
179
179
|
<td class="col-md-4">
|
|
180
|
-
<code>constructor(
|
|
180
|
+
<code>constructor()</code>
|
|
181
181
|
</td>
|
|
182
182
|
</tr>
|
|
183
183
|
<tr>
|
|
184
184
|
<td class="col-md-4">
|
|
185
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
185
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/app-check.ts:34</a></div>
|
|
186
186
|
</td>
|
|
187
187
|
</tr>
|
|
188
188
|
|
|
189
|
-
<tr>
|
|
190
|
-
<td class="col-md-4">
|
|
191
|
-
<div>
|
|
192
|
-
<b>Parameters :</b>
|
|
193
|
-
<table class="params">
|
|
194
|
-
<thead>
|
|
195
|
-
<tr>
|
|
196
|
-
<td>Name</td>
|
|
197
|
-
<td>Type</td>
|
|
198
|
-
<td>Optional</td>
|
|
199
|
-
</tr>
|
|
200
|
-
</thead>
|
|
201
|
-
<tbody>
|
|
202
|
-
<tr>
|
|
203
|
-
<td>options</td>
|
|
204
|
-
|
|
205
|
-
<td>
|
|
206
|
-
<code>FirebaseOptions</code>
|
|
207
|
-
</td>
|
|
208
|
-
|
|
209
|
-
<td>
|
|
210
|
-
No
|
|
211
|
-
</td>
|
|
212
|
-
|
|
213
|
-
</tr>
|
|
214
|
-
<tr>
|
|
215
|
-
<td>nameOrConfig</td>
|
|
216
|
-
|
|
217
|
-
<td>
|
|
218
|
-
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
219
|
-
</td>
|
|
220
|
-
|
|
221
|
-
<td>
|
|
222
|
-
No
|
|
223
|
-
</td>
|
|
224
|
-
|
|
225
|
-
</tr>
|
|
226
|
-
<tr>
|
|
227
|
-
<td>zone</td>
|
|
228
|
-
|
|
229
|
-
<td>
|
|
230
|
-
<code>NgZone</code>
|
|
231
|
-
</td>
|
|
232
|
-
|
|
233
|
-
<td>
|
|
234
|
-
No
|
|
235
|
-
</td>
|
|
236
|
-
|
|
237
|
-
</tr>
|
|
238
|
-
<tr>
|
|
239
|
-
<td>config</td>
|
|
240
|
-
|
|
241
|
-
<td>
|
|
242
|
-
<code>ConfigService</code>
|
|
243
|
-
</td>
|
|
244
|
-
|
|
245
|
-
<td>
|
|
246
|
-
No
|
|
247
|
-
</td>
|
|
248
|
-
|
|
249
|
-
</tr>
|
|
250
|
-
<tr>
|
|
251
|
-
<td>enabled</td>
|
|
252
|
-
|
|
253
|
-
<td>
|
|
254
|
-
<code>boolean | null</code>
|
|
255
|
-
</td>
|
|
256
|
-
|
|
257
|
-
<td>
|
|
258
|
-
No
|
|
259
|
-
</td>
|
|
260
|
-
|
|
261
|
-
</tr>
|
|
262
|
-
<tr>
|
|
263
|
-
<td>siteKey</td>
|
|
264
|
-
|
|
265
|
-
<td>
|
|
266
|
-
<code>string | null</code>
|
|
267
|
-
</td>
|
|
268
|
-
|
|
269
|
-
<td>
|
|
270
|
-
No
|
|
271
|
-
</td>
|
|
272
|
-
|
|
273
|
-
</tr>
|
|
274
|
-
<tr>
|
|
275
|
-
<td>isTokenAutoRefreshEnabled</td>
|
|
276
|
-
|
|
277
|
-
<td>
|
|
278
|
-
<code>boolean | null</code>
|
|
279
|
-
</td>
|
|
280
|
-
|
|
281
|
-
<td>
|
|
282
|
-
No
|
|
283
|
-
</td>
|
|
284
|
-
|
|
285
|
-
</tr>
|
|
286
|
-
</tbody>
|
|
287
|
-
</table>
|
|
288
|
-
</div>
|
|
289
|
-
</td>
|
|
290
|
-
</tr>
|
|
291
189
|
</tbody>
|
|
292
190
|
</table>
|
|
293
191
|
</section>
|
|
@@ -319,8 +217,8 @@
|
|
|
319
217
|
|
|
320
218
|
<tr>
|
|
321
219
|
<td class="col-md-4">
|
|
322
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
323
|
-
class="link-to-prism">src/lib/app-check.ts:
|
|
220
|
+
<div class="io-line">Defined in <a href="" data-line="74"
|
|
221
|
+
class="link-to-prism">src/lib/app-check.ts:74</a></div>
|
|
324
222
|
</td>
|
|
325
223
|
</tr>
|
|
326
224
|
|
|
@@ -388,8 +286,8 @@
|
|
|
388
286
|
|
|
389
287
|
<tr>
|
|
390
288
|
<td class="col-md-4">
|
|
391
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
392
|
-
class="link-to-prism">src/lib/app-check.ts:
|
|
289
|
+
<div class="io-line">Defined in <a href="" data-line="82"
|
|
290
|
+
class="link-to-prism">src/lib/app-check.ts:82</a></div>
|
|
393
291
|
</td>
|
|
394
292
|
</tr>
|
|
395
293
|
|
|
@@ -467,7 +365,7 @@
|
|
|
467
365
|
</tr>
|
|
468
366
|
<tr>
|
|
469
367
|
<td class="col-md-4">
|
|
470
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
368
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/app-check.ts:33</a></div>
|
|
471
369
|
</td>
|
|
472
370
|
</tr>
|
|
473
371
|
|
|
@@ -480,14 +378,7 @@
|
|
|
480
378
|
|
|
481
379
|
|
|
482
380
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
483
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
484
|
-
Inject,
|
|
485
|
-
Injectable,
|
|
486
|
-
isDevMode,
|
|
487
|
-
NgModule,
|
|
488
|
-
NgZone,
|
|
489
|
-
Optional,
|
|
490
|
-
} from '@angular/core';
|
|
381
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable, isDevMode, NgZone, inject, makeEnvironmentProviders, provideAppInitializer, EnvironmentProviders } from '@angular/core';
|
|
491
382
|
import { ConfigService } from '@rxap/config';
|
|
492
383
|
import {
|
|
493
384
|
EMPTY,
|
|
@@ -515,29 +406,21 @@ import {
|
|
|
515
406
|
|
|
516
407
|
@Injectable()
|
|
517
408
|
export class AppCheckService {
|
|
409
|
+
private readonly config = inject(ConfigService);
|
|
410
|
+
private readonly enabled = inject(APP_CHECK_ENABLED, { optional: true });
|
|
411
|
+
|
|
518
412
|
|
|
519
413
|
public readonly onTokenChanged$: Observable<AppCheckTokenResult> = EMPTY;
|
|
520
414
|
private readonly _appCheck: AppCheck | null = null;
|
|
521
415
|
|
|
522
|
-
constructor(
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
@
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
private readonly config: ConfigService,
|
|
531
|
-
@Optional()
|
|
532
|
-
@Inject(APP_CHECK_ENABLED)
|
|
533
|
-
private readonly enabled: boolean | null,
|
|
534
|
-
@Optional()
|
|
535
|
-
@Inject(APP_CHECK_SITE_KEY)
|
|
536
|
-
siteKey: string | null,
|
|
537
|
-
@Optional()
|
|
538
|
-
@Inject(APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED)
|
|
539
|
-
isTokenAutoRefreshEnabled: boolean | null,
|
|
540
|
-
) {
|
|
416
|
+
constructor() {
|
|
417
|
+
const options = inject<FirebaseOptions>(FIREBASE_OPTIONS);
|
|
418
|
+
const nameOrConfig = inject(FIREBASE_APP_NAME, { optional: true });
|
|
419
|
+
// NgZone is only injected because the @angular/fire compat factory (ɵfirebaseAppFactory) requires it
|
|
420
|
+
const zone = inject<NgZone>(NgZone);
|
|
421
|
+
const siteKey = inject(APP_CHECK_SITE_KEY, { optional: true });
|
|
422
|
+
const isTokenAutoRefreshEnabled = inject(APP_CHECK_IS_TOKEN_AUTO_REFRESH_ENABLED, { optional: true });
|
|
423
|
+
|
|
541
424
|
if (this.enabled) {
|
|
542
425
|
if (siteKey) {
|
|
543
426
|
const app: any = ɵfirebaseAppFactory(options, zone, nameOrConfig);
|
|
@@ -584,17 +467,17 @@ export class AppCheckService {
|
|
|
584
467
|
|
|
585
468
|
}
|
|
586
469
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
470
|
+
/**
|
|
471
|
+
* Registers the AppCheckService and eagerly instantiates it on app initialization
|
|
472
|
+
* (replaces the former RxapAngularFireAppCheckModule).
|
|
473
|
+
*/
|
|
474
|
+
export function provideAngularFireAppCheck(): EnvironmentProviders {
|
|
475
|
+
return makeEnvironmentProviders([
|
|
476
|
+
AppCheckService,
|
|
477
|
+
provideAppInitializer(() => {
|
|
478
|
+
inject(AppCheckService);
|
|
479
|
+
}),
|
|
480
|
+
]);
|
|
598
481
|
}
|
|
599
482
|
</code></pre>
|
|
600
483
|
</div>
|
|
@@ -135,15 +135,10 @@
|
|
|
135
135
|
<td class="col-md-4">
|
|
136
136
|
<ul class="index-list">
|
|
137
137
|
<li>
|
|
138
|
-
<span class="modifier"></span>
|
|
139
|
-
<span class="modifier">Public</span>
|
|
140
138
|
<span class="modifier">Readonly</span>
|
|
141
139
|
<a href="#messaging" >messaging</a>
|
|
142
140
|
</li>
|
|
143
141
|
<li>
|
|
144
|
-
<span class="modifier"></span>
|
|
145
|
-
<span class="modifier"></span>
|
|
146
|
-
<span class="modifier">Public</span>
|
|
147
142
|
<span class="modifier">Readonly</span>
|
|
148
143
|
<a href="#requestPermissionImminently" >requestPermissionImminently</a>
|
|
149
144
|
</li>
|
|
@@ -189,56 +184,15 @@
|
|
|
189
184
|
<tbody>
|
|
190
185
|
<tr>
|
|
191
186
|
<td class="col-md-4">
|
|
192
|
-
<code>constructor(
|
|
187
|
+
<code>constructor()</code>
|
|
193
188
|
</td>
|
|
194
189
|
</tr>
|
|
195
190
|
<tr>
|
|
196
191
|
<td class="col-md-4">
|
|
197
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
192
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/firebase-messaging.service.ts:25</a></div>
|
|
198
193
|
</td>
|
|
199
194
|
</tr>
|
|
200
195
|
|
|
201
|
-
<tr>
|
|
202
|
-
<td class="col-md-4">
|
|
203
|
-
<div>
|
|
204
|
-
<b>Parameters :</b>
|
|
205
|
-
<table class="params">
|
|
206
|
-
<thead>
|
|
207
|
-
<tr>
|
|
208
|
-
<td>Name</td>
|
|
209
|
-
<td>Type</td>
|
|
210
|
-
<td>Optional</td>
|
|
211
|
-
</tr>
|
|
212
|
-
</thead>
|
|
213
|
-
<tbody>
|
|
214
|
-
<tr>
|
|
215
|
-
<td>messaging</td>
|
|
216
|
-
|
|
217
|
-
<td>
|
|
218
|
-
<code>AngularFireMessaging</code>
|
|
219
|
-
</td>
|
|
220
|
-
|
|
221
|
-
<td>
|
|
222
|
-
No
|
|
223
|
-
</td>
|
|
224
|
-
|
|
225
|
-
</tr>
|
|
226
|
-
<tr>
|
|
227
|
-
<td>requestPermissionImminently</td>
|
|
228
|
-
|
|
229
|
-
<td>
|
|
230
|
-
</td>
|
|
231
|
-
|
|
232
|
-
<td>
|
|
233
|
-
No
|
|
234
|
-
</td>
|
|
235
|
-
|
|
236
|
-
</tr>
|
|
237
|
-
</tbody>
|
|
238
|
-
</table>
|
|
239
|
-
</div>
|
|
240
|
-
</td>
|
|
241
|
-
</tr>
|
|
242
196
|
</tbody>
|
|
243
197
|
</table>
|
|
244
198
|
</section>
|
|
@@ -270,8 +224,8 @@
|
|
|
270
224
|
|
|
271
225
|
<tr>
|
|
272
226
|
<td class="col-md-4">
|
|
273
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
274
|
-
class="link-to-prism">src/lib/firebase-messaging.service.ts:
|
|
227
|
+
<div class="io-line">Defined in <a href="" data-line="43"
|
|
228
|
+
class="link-to-prism">src/lib/firebase-messaging.service.ts:43</a></div>
|
|
275
229
|
</td>
|
|
276
230
|
</tr>
|
|
277
231
|
|
|
@@ -309,8 +263,8 @@
|
|
|
309
263
|
|
|
310
264
|
<tr>
|
|
311
265
|
<td class="col-md-4">
|
|
312
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
313
|
-
class="link-to-prism">src/lib/firebase-messaging.service.ts:
|
|
266
|
+
<div class="io-line">Defined in <a href="" data-line="56"
|
|
267
|
+
class="link-to-prism">src/lib/firebase-messaging.service.ts:56</a></div>
|
|
314
268
|
</td>
|
|
315
269
|
</tr>
|
|
316
270
|
|
|
@@ -380,8 +334,6 @@
|
|
|
380
334
|
<td class="col-md-4">
|
|
381
335
|
<a name="messaging"></a>
|
|
382
336
|
<span class="name">
|
|
383
|
-
<span class="modifier"></span>
|
|
384
|
-
<span class="modifier">Public</span>
|
|
385
337
|
<span class="modifier">Readonly</span>
|
|
386
338
|
<span ><b>messaging</b></span>
|
|
387
339
|
<a href="#messaging"><span class="icon ion-ios-link"></span></a>
|
|
@@ -390,22 +342,12 @@
|
|
|
390
342
|
</tr>
|
|
391
343
|
<tr>
|
|
392
344
|
<td class="col-md-4">
|
|
393
|
-
<i>
|
|
394
|
-
|
|
395
|
-
</td>
|
|
396
|
-
</tr>
|
|
397
|
-
<tr>
|
|
398
|
-
<td class="col-md-4">
|
|
399
|
-
<b>Decorators : </b>
|
|
400
|
-
<br />
|
|
401
|
-
<code>
|
|
402
|
-
@Inject(AngularFireMessaging)<br />
|
|
403
|
-
</code>
|
|
345
|
+
<i>Default value : </i><code>inject<AngularFireMessaging>(AngularFireMessaging)</code>
|
|
404
346
|
</td>
|
|
405
347
|
</tr>
|
|
406
348
|
<tr>
|
|
407
349
|
<td class="col-md-4">
|
|
408
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
350
|
+
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/firebase-messaging.service.ts:22</a></div>
|
|
409
351
|
</td>
|
|
410
352
|
</tr>
|
|
411
353
|
|
|
@@ -418,9 +360,6 @@
|
|
|
418
360
|
<td class="col-md-4">
|
|
419
361
|
<a name="requestPermissionImminently"></a>
|
|
420
362
|
<span class="name">
|
|
421
|
-
<span class="modifier"></span>
|
|
422
|
-
<span class="modifier"></span>
|
|
423
|
-
<span class="modifier">Public</span>
|
|
424
363
|
<span class="modifier">Readonly</span>
|
|
425
364
|
<span ><b>requestPermissionImminently</b></span>
|
|
426
365
|
<a href="#requestPermissionImminently"><span class="icon ion-ios-link"></span></a>
|
|
@@ -429,21 +368,12 @@
|
|
|
429
368
|
</tr>
|
|
430
369
|
<tr>
|
|
431
370
|
<td class="col-md-4">
|
|
432
|
-
<i>Default value : </i><code>false</code>
|
|
433
|
-
</td>
|
|
434
|
-
</tr>
|
|
435
|
-
<tr>
|
|
436
|
-
<td class="col-md-4">
|
|
437
|
-
<b>Decorators : </b>
|
|
438
|
-
<br />
|
|
439
|
-
<code>
|
|
440
|
-
@Optional()<br />@Inject(RXAP_REQUEST_CLOUD_MESSAGING_TOKEN)<br />
|
|
441
|
-
</code>
|
|
371
|
+
<i>Default value : </i><code>inject(RXAP_REQUEST_CLOUD_MESSAGING_TOKEN, { optional: true }) ?? false</code>
|
|
442
372
|
</td>
|
|
443
373
|
</tr>
|
|
444
374
|
<tr>
|
|
445
375
|
<td class="col-md-4">
|
|
446
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
376
|
+
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/firebase-messaging.service.ts:23</a></div>
|
|
447
377
|
</td>
|
|
448
378
|
</tr>
|
|
449
379
|
|
|
@@ -469,7 +399,7 @@
|
|
|
469
399
|
</tr>
|
|
470
400
|
<tr>
|
|
471
401
|
<td class="col-md-4">
|
|
472
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
402
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/firebase-messaging.service.ts:25</a></div>
|
|
473
403
|
</td>
|
|
474
404
|
</tr>
|
|
475
405
|
|
|
@@ -482,11 +412,7 @@
|
|
|
482
412
|
|
|
483
413
|
|
|
484
414
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
485
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
486
|
-
Inject,
|
|
487
|
-
Injectable,
|
|
488
|
-
Optional,
|
|
489
|
-
} from '@angular/core';
|
|
415
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable, inject } from '@angular/core';
|
|
490
416
|
import { ReplaySubject } from 'rxjs';
|
|
491
417
|
import {
|
|
492
418
|
mergeMapTo,
|
|
@@ -507,15 +433,12 @@ export interface Message {
|
|
|
507
433
|
|
|
508
434
|
@Injectable({ providedIn: 'root' })
|
|
509
435
|
export class RxapFirebaseMessagingService {
|
|
436
|
+
readonly messaging = inject<AngularFireMessaging>(AngularFireMessaging);
|
|
437
|
+
readonly requestPermissionImminently = inject(RXAP_REQUEST_CLOUD_MESSAGING_TOKEN, { optional: true }) ?? false;
|
|
438
|
+
|
|
510
439
|
public token$ = new ReplaySubject<string | null>(1);
|
|
511
440
|
|
|
512
|
-
constructor(
|
|
513
|
-
@Inject(AngularFireMessaging)
|
|
514
|
-
public readonly messaging: AngularFireMessaging,
|
|
515
|
-
@Optional()
|
|
516
|
-
@Inject(RXAP_REQUEST_CLOUD_MESSAGING_TOKEN)
|
|
517
|
-
public readonly requestPermissionImminently = false,
|
|
518
|
-
) {
|
|
441
|
+
constructor() {
|
|
519
442
|
this.messaging.messages
|
|
520
443
|
.pipe(
|
|
521
444
|
tap((message: any) =>
|