@firebase/auth 0.23.2-canary.e642fc7cd → 0.23.2-canary.f949ee90f
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/browser-cjs/{index-35a8d5c2.js → index-4caef00b.js} +27 -10
- package/dist/browser-cjs/index-4caef00b.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/mfa/mfa_session.d.ts +3 -3
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +9 -8
- package/dist/cordova/internal.js.map +1 -1
- package/dist/cordova/{popup_redirect-e88eb743.js → popup_redirect-f3f23290.js} +23 -7
- package/dist/cordova/{popup_redirect-e88eb743.js.map → popup_redirect-f3f23290.js.map} +1 -1
- package/dist/cordova/src/mfa/mfa_session.d.ts +3 -3
- package/dist/esm2017/{index-14ccc5f3.js → index-40c82a0a.js} +27 -10
- package/dist/esm2017/index-40c82a0a.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/mfa/mfa_session.d.ts +3 -3
- package/dist/esm5/{index-f5d14f2f.js → index-17e8e811.js} +30 -13
- package/dist/esm5/index-17e8e811.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/mfa/mfa_session.d.ts +3 -3
- package/dist/index.webworker.esm5.js +22 -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/mfa/mfa_session.d.ts +3 -3
- package/dist/node/{totp-0ccc129a.js → totp-f5429052.js} +30 -13
- package/dist/node/{totp-0ccc129a.js.map → totp-f5429052.js.map} +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/src/mfa/mfa_session.d.ts +3 -3
- package/dist/node-esm/{totp-d6b703d1.js → totp-cce6cff7.js} +27 -10
- package/dist/node-esm/{totp-d6b703d1.js.map → totp-cce6cff7.js.map} +1 -1
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +8 -7
- package/dist/rn/internal.js.map +1 -1
- package/dist/rn/{phone-a8d96168.js → phone-d305ad1a.js} +23 -7
- package/dist/rn/{phone-a8d96168.js.map → phone-d305ad1a.js.map} +1 -1
- package/dist/rn/src/mfa/mfa_session.d.ts +3 -3
- package/dist/src/mfa/mfa_session.d.ts +3 -3
- package/package.json +6 -6
- package/dist/browser-cjs/index-35a8d5c2.js.map +0 -1
- package/dist/esm2017/index-14ccc5f3.js.map +0 -1
- package/dist/esm5/index-f5d14f2f.js.map +0 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { UserInternal } from '../model/user';
|
|
18
18
|
import { MultiFactorSession } from '../model/public_types';
|
|
19
19
|
export declare const enum MultiFactorSessionType {
|
|
20
20
|
ENROLL = "enroll",
|
|
@@ -29,9 +29,9 @@ interface SerializedMultiFactorSession {
|
|
|
29
29
|
export declare class MultiFactorSessionImpl implements MultiFactorSession {
|
|
30
30
|
readonly type: MultiFactorSessionType;
|
|
31
31
|
readonly credential: string;
|
|
32
|
-
readonly
|
|
32
|
+
readonly user?: UserInternal | undefined;
|
|
33
33
|
private constructor();
|
|
34
|
-
static _fromIdtoken(idToken: string,
|
|
34
|
+
static _fromIdtoken(idToken: string, user?: UserInternal): MultiFactorSessionImpl;
|
|
35
35
|
static _fromMfaPendingCredential(mfaPendingCredential: string): MultiFactorSessionImpl;
|
|
36
36
|
toJSON(): SerializedMultiFactorSession;
|
|
37
37
|
static fromJSON(obj: Partial<SerializedMultiFactorSession>): MultiFactorSessionImpl | null;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { UserInternal } from '../model/user';
|
|
18
18
|
import { MultiFactorSession } from '../model/public_types';
|
|
19
19
|
export declare const enum MultiFactorSessionType {
|
|
20
20
|
ENROLL = "enroll",
|
|
@@ -29,9 +29,9 @@ interface SerializedMultiFactorSession {
|
|
|
29
29
|
export declare class MultiFactorSessionImpl implements MultiFactorSession {
|
|
30
30
|
readonly type: MultiFactorSessionType;
|
|
31
31
|
readonly credential: string;
|
|
32
|
-
readonly
|
|
32
|
+
readonly user?: UserInternal | undefined;
|
|
33
33
|
private constructor();
|
|
34
|
-
static _fromIdtoken(idToken: string,
|
|
34
|
+
static _fromIdtoken(idToken: string, user?: UserInternal): MultiFactorSessionImpl;
|
|
35
35
|
static _fromMfaPendingCredential(mfaPendingCredential: string): MultiFactorSessionImpl;
|
|
36
36
|
toJSON(): SerializedMultiFactorSession;
|
|
37
37
|
static fromJSON(obj: Partial<SerializedMultiFactorSession>): MultiFactorSessionImpl | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/auth",
|
|
3
|
-
"version": "0.23.2-canary.
|
|
3
|
+
"version": "0.23.2-canary.f949ee90f",
|
|
4
4
|
"description": "The Firebase Authenticaton component of the Firebase JS SDK.",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/node/index.js",
|
|
@@ -108,18 +108,18 @@
|
|
|
108
108
|
"typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
|
-
"@firebase/app": "0.9.
|
|
111
|
+
"@firebase/app": "0.9.12-canary.f949ee90f"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@firebase/component": "0.6.4-canary.
|
|
115
|
-
"@firebase/logger": "0.4.0-canary.
|
|
116
|
-
"@firebase/util": "1.9.3-canary.
|
|
114
|
+
"@firebase/component": "0.6.4-canary.f949ee90f",
|
|
115
|
+
"@firebase/logger": "0.4.0-canary.f949ee90f",
|
|
116
|
+
"@firebase/util": "1.9.3-canary.f949ee90f",
|
|
117
117
|
"node-fetch": "2.6.7",
|
|
118
118
|
"tslib": "^2.1.0"
|
|
119
119
|
},
|
|
120
120
|
"license": "Apache-2.0",
|
|
121
121
|
"devDependencies": {
|
|
122
|
-
"@firebase/app": "0.9.
|
|
122
|
+
"@firebase/app": "0.9.12-canary.f949ee90f",
|
|
123
123
|
"@rollup/plugin-json": "4.1.0",
|
|
124
124
|
"@rollup/plugin-strip": "2.1.0",
|
|
125
125
|
"chromedriver": "98.0.1",
|