Bump deps

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-05-21 15:37:41 +02:00
parent c9700906f5
commit f6d564bb7e
4 changed files with 235 additions and 294 deletions

View File

@@ -18,7 +18,8 @@ function urlBase64ToUint8Array(base64String: string): Uint8Array {
}
export async function subscribeUserToPush(): Promise<PushSubscription | null> {
const client = apolloProvider.defaultClient as ApolloClient<NormalizedCacheObject>;
const client =
apolloProvider.defaultClient as ApolloClient<NormalizedCacheObject>;
const registration = await navigator.serviceWorker.ready;
const { data } = await client.mutate<{ config: IConfig }>({