@firebase/auth 0.23.1 → 0.23.2-20230511201449
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/CHANGELOG.md +9 -0
- package/dist/auth-public.d.ts +3 -3
- package/dist/auth.d.ts +3 -3
- package/dist/browser-cjs/{index-d2009dbb.js → index-91626647.js} +3 -7
- package/dist/browser-cjs/index-91626647.js.map +1 -0
- package/dist/browser-cjs/index.js +1 -1
- package/dist/browser-cjs/internal.js +1 -1
- package/dist/browser-cjs/src/core/user/id_token_result.d.ts +1 -1
- package/dist/browser-cjs/src/model/public_types.d.ts +2 -2
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-9cdb61d2.js → popup_redirect-76f39405.js} +3 -7
- package/dist/cordova/popup_redirect-76f39405.js.map +1 -0
- package/dist/cordova/src/core/user/id_token_result.d.ts +1 -1
- package/dist/cordova/src/model/public_types.d.ts +2 -2
- package/dist/esm2017/{index-eaf604ee.js → index-f70f7bc3.js} +3 -7
- package/dist/esm2017/index-f70f7bc3.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/core/user/id_token_result.d.ts +1 -1
- package/dist/esm2017/src/model/public_types.d.ts +2 -2
- package/dist/esm5/{index-2bcde735.js → index-99558521.js} +3 -7
- package/dist/esm5/index-99558521.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/core/user/id_token_result.d.ts +1 -1
- package/dist/esm5/src/model/public_types.d.ts +2 -2
- package/dist/index.webworker.esm5.js +2 -6
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/core/user/id_token_result.d.ts +1 -1
- package/dist/node/src/model/public_types.d.ts +2 -2
- package/dist/node/{totp-5fc361f8.js → totp-52ea26cd.js} +3 -7
- package/dist/node/totp-52ea26cd.js.map +1 -0
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/src/core/user/id_token_result.d.ts +1 -1
- package/dist/node-esm/src/model/public_types.d.ts +2 -2
- package/dist/node-esm/{totp-035c6eef.js → totp-f1e20bbf.js} +3 -7
- package/dist/node-esm/totp-f1e20bbf.js.map +1 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/{phone-ae3fa109.js → phone-01b2d1ac.js} +3 -7
- package/dist/rn/phone-01b2d1ac.js.map +1 -0
- package/dist/rn/src/core/user/id_token_result.d.ts +1 -1
- package/dist/rn/src/model/public_types.d.ts +2 -2
- package/dist/src/core/user/id_token_result.d.ts +1 -1
- package/dist/src/model/public_types.d.ts +2 -2
- package/package.json +3 -3
- package/dist/browser-cjs/index-d2009dbb.js.map +0 -1
- package/dist/cordova/popup_redirect-9cdb61d2.js.map +0 -1
- package/dist/esm2017/index-eaf604ee.js.map +0 -1
- package/dist/esm5/index-2bcde735.js.map +0 -1
- package/dist/node/totp-5fc361f8.js.map +0 -1
- package/dist/node-esm/totp-035c6eef.js.map +0 -1
- package/dist/rn/phone-ae3fa109.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @firebase/auth
|
|
2
2
|
|
|
3
|
+
## 0.23.2-20230511201449
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`afdccd57a`](https://github.com/firebase/firebase-js-sdk/commit/afdccd57a93cedc3cff052dfb19c2863660ba592) [#7277](https://github.com/firebase/firebase-js-sdk/pull/7277) - Allow port numbers in authDomain
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`466d3670a`](https://github.com/firebase/firebase-js-sdk/commit/466d3670ae32b61e3e0319bb73407bcd7ac90290), [`e0551fa13`](https://github.com/firebase/firebase-js-sdk/commit/e0551fa13c9ae1556edf0ffb967f2f9e661f18a0)]:
|
|
10
|
+
- @firebase/app@0.9.10-20230511201449
|
|
11
|
+
|
|
3
12
|
## 0.23.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/auth-public.d.ts
CHANGED
|
@@ -411,7 +411,7 @@ export declare interface Auth {
|
|
|
411
411
|
*/
|
|
412
412
|
useDeviceLanguage(): void;
|
|
413
413
|
/**
|
|
414
|
-
* Signs out the current user.
|
|
414
|
+
* Signs out the current user. This does not automatically revoke the user's ID token.
|
|
415
415
|
*/
|
|
416
416
|
signOut(): Promise<void>;
|
|
417
417
|
}
|
|
@@ -1262,7 +1262,7 @@ export declare function getAuth(app?: FirebaseApp): Auth;
|
|
|
1262
1262
|
export declare function getIdToken(user: User, forceRefresh?: boolean): Promise<string>;
|
|
1263
1263
|
|
|
1264
1264
|
/**
|
|
1265
|
-
* Returns a deserialized JSON Web Token (JWT) used to
|
|
1265
|
+
* Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
|
|
1266
1266
|
*
|
|
1267
1267
|
* @remarks
|
|
1268
1268
|
* Returns the current token if it has not expired or if it will not expire in the next five
|
|
@@ -3582,7 +3582,7 @@ export declare interface User extends UserInfo {
|
|
|
3582
3582
|
*/
|
|
3583
3583
|
getIdToken(forceRefresh?: boolean): Promise<string>;
|
|
3584
3584
|
/**
|
|
3585
|
-
* Returns a deserialized JSON Web Token (JWT) used to
|
|
3585
|
+
* Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
|
|
3586
3586
|
*
|
|
3587
3587
|
* @remarks
|
|
3588
3588
|
* Returns the current token if it has not expired or if it will not expire in the next five
|
package/dist/auth.d.ts
CHANGED
|
@@ -420,7 +420,7 @@ export declare interface Auth {
|
|
|
420
420
|
*/
|
|
421
421
|
useDeviceLanguage(): void;
|
|
422
422
|
/**
|
|
423
|
-
* Signs out the current user.
|
|
423
|
+
* Signs out the current user. This does not automatically revoke the user's ID token.
|
|
424
424
|
*/
|
|
425
425
|
signOut(): Promise<void>;
|
|
426
426
|
}
|
|
@@ -1554,7 +1554,7 @@ export declare function getAuth(app?: FirebaseApp): Auth;
|
|
|
1554
1554
|
export declare function getIdToken(user: User, forceRefresh?: boolean): Promise<string>;
|
|
1555
1555
|
|
|
1556
1556
|
/**
|
|
1557
|
-
* Returns a deserialized JSON Web Token (JWT) used to
|
|
1557
|
+
* Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
|
|
1558
1558
|
*
|
|
1559
1559
|
* @remarks
|
|
1560
1560
|
* Returns the current token if it has not expired or if it will not expire in the next five
|
|
@@ -4048,7 +4048,7 @@ export declare interface User extends UserInfo {
|
|
|
4048
4048
|
*/
|
|
4049
4049
|
getIdToken(forceRefresh?: boolean): Promise<string>;
|
|
4050
4050
|
/**
|
|
4051
|
-
* Returns a deserialized JSON Web Token (JWT) used to
|
|
4051
|
+
* Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
|
|
4052
4052
|
*
|
|
4053
4053
|
* @remarks
|
|
4054
4054
|
* Returns the current token if it has not expired or if it will not expire in the next five
|
|
@@ -1066,7 +1066,7 @@ function getIdToken(user, forceRefresh = false) {
|
|
|
1066
1066
|
return util.getModularInstance(user).getIdToken(forceRefresh);
|
|
1067
1067
|
}
|
|
1068
1068
|
/**
|
|
1069
|
-
* Returns a deserialized JSON Web Token (JWT) used to
|
|
1069
|
+
* Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
|
|
1070
1070
|
*
|
|
1071
1071
|
* @remarks
|
|
1072
1072
|
* Returns the current token if it has not expired or if it will not expire in the next five
|
|
@@ -9866,7 +9866,7 @@ function _isEmptyString(input) {
|
|
|
9866
9866
|
}
|
|
9867
9867
|
|
|
9868
9868
|
var name = "@firebase/auth";
|
|
9869
|
-
var version = "0.23.
|
|
9869
|
+
var version = "0.23.2-20230511201449";
|
|
9870
9870
|
|
|
9871
9871
|
/**
|
|
9872
9872
|
* @license
|
|
@@ -9975,10 +9975,6 @@ function registerAuth(clientPlatform) {
|
|
|
9975
9975
|
const appCheckServiceProvider = container.getProvider('app-check-internal');
|
|
9976
9976
|
const { apiKey, authDomain } = app.options;
|
|
9977
9977
|
_assert(apiKey && !apiKey.includes(':'), "invalid-api-key" /* AuthErrorCode.INVALID_API_KEY */, { appName: app.name });
|
|
9978
|
-
// Auth domain is optional if IdP sign in isn't being used
|
|
9979
|
-
_assert(!(authDomain === null || authDomain === void 0 ? void 0 : authDomain.includes(':')), "argument-error" /* AuthErrorCode.ARGUMENT_ERROR */, {
|
|
9980
|
-
appName: app.name
|
|
9981
|
-
});
|
|
9982
9978
|
const config = {
|
|
9983
9979
|
apiKey,
|
|
9984
9980
|
authDomain,
|
|
@@ -10195,4 +10191,4 @@ exports.updateProfile = updateProfile;
|
|
|
10195
10191
|
exports.useDeviceLanguage = useDeviceLanguage;
|
|
10196
10192
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
10197
10193
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
10198
|
-
//# sourceMappingURL=index-
|
|
10194
|
+
//# sourceMappingURL=index-91626647.js.map
|