@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
|
@@ -7252,14 +7252,30 @@ function deleteUser(user) {
|
|
|
7252
7252
|
});
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
/**
|
|
7256
|
+
* @license
|
|
7257
|
+
* Copyright 2020 Google LLC
|
|
7258
|
+
*
|
|
7259
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7260
|
+
* you may not use this file except in compliance with the License.
|
|
7261
|
+
* You may obtain a copy of the License at
|
|
7262
|
+
*
|
|
7263
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7264
|
+
*
|
|
7265
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7266
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
7267
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
7268
|
+
* See the License for the specific language governing permissions and
|
|
7269
|
+
* limitations under the License.
|
|
7270
|
+
*/
|
|
7255
7271
|
var MultiFactorSessionImpl = /** @class */ (function () {
|
|
7256
|
-
function MultiFactorSessionImpl(type, credential,
|
|
7272
|
+
function MultiFactorSessionImpl(type, credential, user) {
|
|
7257
7273
|
this.type = type;
|
|
7258
7274
|
this.credential = credential;
|
|
7259
|
-
this.
|
|
7275
|
+
this.user = user;
|
|
7260
7276
|
}
|
|
7261
|
-
MultiFactorSessionImpl._fromIdtoken = function (idToken,
|
|
7262
|
-
return new MultiFactorSessionImpl("enroll" /* MultiFactorSessionType.ENROLL */, idToken,
|
|
7277
|
+
MultiFactorSessionImpl._fromIdtoken = function (idToken, user) {
|
|
7278
|
+
return new MultiFactorSessionImpl("enroll" /* MultiFactorSessionType.ENROLL */, idToken, user);
|
|
7263
7279
|
};
|
|
7264
7280
|
MultiFactorSessionImpl._fromMfaPendingCredential = function (mfaPendingCredential) {
|
|
7265
7281
|
return new MultiFactorSessionImpl("signin" /* MultiFactorSessionType.SIGN_IN */, mfaPendingCredential);
|
|
@@ -7443,7 +7459,7 @@ var MultiFactorUserImpl = /** @class */ (function () {
|
|
|
7443
7459
|
case 0:
|
|
7444
7460
|
_b = (_a = MultiFactorSessionImpl)._fromIdtoken;
|
|
7445
7461
|
return [4 /*yield*/, this.user.getIdToken()];
|
|
7446
|
-
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), this.user
|
|
7462
|
+
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), this.user])];
|
|
7447
7463
|
}
|
|
7448
7464
|
});
|
|
7449
7465
|
});
|
|
@@ -7545,7 +7561,7 @@ function multiFactor(user) {
|
|
|
7545
7561
|
}
|
|
7546
7562
|
|
|
7547
7563
|
var name = "@firebase/auth";
|
|
7548
|
-
var version = "0.23.2-canary.
|
|
7564
|
+
var version = "0.23.2-canary.f949ee90f";
|
|
7549
7565
|
|
|
7550
7566
|
/**
|
|
7551
7567
|
* @license
|
|
@@ -9029,4 +9045,4 @@ exports.updateProfile = updateProfile;
|
|
|
9029
9045
|
exports.useDeviceLanguage = useDeviceLanguage;
|
|
9030
9046
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
9031
9047
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
9032
|
-
//# sourceMappingURL=phone-
|
|
9048
|
+
//# sourceMappingURL=phone-d305ad1a.js.map
|