File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @firebase/app-check ' : patch
3+ ---
4+
5+ Update platform logging to use new endpoint.
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import {
3030} from '@firebase/component' ;
3131import { AppCheckService } from '../src/factory' ;
3232import { AppCheck , CustomProvider } from '../src' ;
33+ import { HeartbeatService } from '@firebase/app/dist/app/src/types' ;
3334
3435export const FAKE_SITE_KEY = 'fake-site-key' ;
3536
@@ -99,7 +100,10 @@ export function getFakeHeartbeatServiceProvider(
99100 container . addComponent (
100101 new Component (
101102 'heartbeat' ,
102- ( ) => ( { getPlatformInfoString : ( ) => fakeLogString } ) ,
103+ ( ) =>
104+ ( {
105+ getHeartbeatsHeader : ( ) => Promise . resolve ( fakeLogString )
106+ } as HeartbeatService ) ,
103107 ComponentType . PRIVATE
104108 )
105109 ) ;
You can’t perform that action at this time.
0 commit comments