Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CSFrequency/react-firebase-hooks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.0
Choose a base ref
...
head repository: CSFrequency/react-firebase-hooks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Nov 13, 2022

  1. Copy the full SHA
    17b2404 View commit details

Commits on Nov 15, 2022

  1. Merge pull request #277 from vwxyutarooo/utilise-id-token

    [auth] Fix import/export path on useIdToken
    chrisbianca authored Nov 15, 2022
    Copy the full SHA
    faa98f7 View commit details
  2. 5.1.1

    chrisbianca committed Nov 15, 2022
    Copy the full SHA
    09bf06b View commit details
Showing with 5 additions and 4 deletions.
  1. +1 −0 auth/index.ts
  2. +1 −1 auth/useIdToken.ts
  3. +2 −2 package-lock.json
  4. +1 −1 package.json
1 change: 1 addition & 0 deletions auth/index.ts
Original file line number Diff line number Diff line change
@@ -40,3 +40,4 @@ export {
useVerifyBeforeUpdateEmail,
VerifyBeforeUpdateEmailHook,
} from './useUpdateUser';
export { default as useIdToken, IdTokenHook } from './useIdToken';
2 changes: 1 addition & 1 deletion auth/useIdToken.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Auth, onIdTokenChanged, User } from 'firebase/auth';
import { useEffect } from 'react';
import { LoadingHook, useLoadingValue } from '../util/dist/util';
import { LoadingHook, useLoadingValue } from '../util';

export type IdTokenHook = LoadingHook<User | null, Error>;

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-firebase-hooks",
"version": "5.1.0",
"version": "5.1.1",
"description": "React Hooks for Firebase",
"author": "CS Frequency Limited (https://csfrequency.com)",
"license": "Apache-2.0",