Skip to content

Commit fe85f2e

Browse files
committed
update
1 parent 646e923 commit fe85f2e

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

common/api-review/messaging-exp.api.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ export interface NotificationPayload {
5959

6060
export { Observer }
6161

62-
// Warning: (ae-internal-missing-underscore) The name "onBackgroundMessage" should be prefixed with an underscore because the declaration is marked as @internal
63-
//
64-
// @internal
65-
export function onBackgroundMessage(messaging: FirebaseMessaging, nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
66-
6762
// @public
6863
export function onMessage(messaging: FirebaseMessaging, nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;
6964

packages-exp/messaging-exp/src/api.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,6 @@ export function onMessage(
141141
* message is received and the app is currently in the background.
142142
*
143143
* @returns To stop listening for messages execute this returned function
144-
*
145-
* make it internal to hide it from the browser entry point.
146-
* @internal
147144
*/
148145
export function onBackgroundMessage(
149146
messaging: FirebaseMessaging,

packages-exp/messaging-exp/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ export {
3030
getToken,
3131
deleteToken,
3232
onMessage,
33-
getMessagingInWindow as getMessaging,
34-
onBackgroundMessage
33+
getMessagingInWindow as getMessaging
3534
} from './api';
3635
export { isWindowSupported as isSupported } from './api/isSupported';
3736
export * from './interfaces/public-types';

0 commit comments

Comments
 (0)