@firebase/auth-compat 0.4.4 → 0.4.5-canary.cc77a2a19
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/dist/auth-compat/index.d.ts +2 -1
- package/dist/auth-compat/test/helpers/helpers.d.ts +1 -0
- package/dist/esm/auth-compat/test/helpers/helpers.d.ts +1 -0
- package/dist/esm/index.node.esm.js +1 -1
- package/dist/firebase-auth.js +1 -1
- package/dist/firebase-auth.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm2017.js +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/package.json +7 -7
|
@@ -50,7 +50,7 @@ declare module '@firebase/app-compat' {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
|
|
53
|
-
import { type User, type Unsubscribe, type ActionCodeInfo, type UserCredential, type Auth, type IdTokenResult, type MultiFactorError, type MultiFactorResolver, type PopupRedirectResolver, type Dependencies, type AuthCredential, type ApplicationVerifier, type ConfirmationResult, type AuthProvider, type MultiFactorUser, type NextOrObserver, type ErrorFn, type CompleteFn, type ActionCodeSettings, type Persistence, type PhoneAuthCredential } from "@firebase/auth";
|
|
53
|
+
import { type User, type Unsubscribe, type ActionCodeInfo, type UserCredential, type Auth, type IdTokenResult, type MultiFactorError, type MultiFactorResolver, type PopupRedirectResolver, type Dependencies, type AuthCredential, type ApplicationVerifier, type ConfirmationResult, type AuthProvider, type MultiFactorUser, type NextOrObserver, type ErrorFn, type CompleteFn, type ActionCodeSettings, type Persistence, type PhoneAuthCredential, type PasswordValidationStatus } from "@firebase/auth";
|
|
54
54
|
declare module "@firebase/auth" {
|
|
55
55
|
function applyActionCode(auth: types.FirebaseAuth, oobCode: string): Promise<void>;
|
|
56
56
|
function beforeAuthStateChanged(auth: types.FirebaseAuth, callback: (user: User | null) => void | Promise<void>, onAbort?: () => void): Unsubscribe;
|
|
@@ -105,6 +105,7 @@ declare module "@firebase/auth" {
|
|
|
105
105
|
photoURL?: string | null;
|
|
106
106
|
}): Promise<void>;
|
|
107
107
|
function useDeviceLanguage(auth: types.FirebaseAuth): void;
|
|
108
|
+
function validatePassword(auth: types.FirebaseAuth, password: string): Promise<PasswordValidationStatus>;
|
|
108
109
|
function verifyBeforeUpdateEmail(user: types.User, newEmail: string, actionCodeSettings?: ActionCodeSettings | null): Promise<void>;
|
|
109
110
|
function verifyPasswordResetCode(auth: types.FirebaseAuth, code: string): Promise<string>;
|
|
110
111
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
+
import '@firebase/auth-compat';
|
|
17
18
|
import { Provider } from '@firebase/component';
|
|
18
19
|
import '../..';
|
|
19
20
|
export declare const FAKE_HEARTBEAT_CONTROLLER_PROVIDER: Provider<"heartbeat">;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
+
import '@firebase/auth-compat';
|
|
17
18
|
import { Provider } from '@firebase/component';
|
|
18
19
|
import '../..';
|
|
19
20
|
export declare const FAKE_HEARTBEAT_CONTROLLER_PROVIDER: Provider<"heartbeat">;
|