@firebase/auth 0.23.2-canary.ce6189631 → 0.23.2-canary.d41ee2f27

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.
Files changed (52) hide show
  1. package/dist/browser-cjs/{index-68a7ec4c.js → index-5b853c36.js} +27 -10
  2. package/dist/browser-cjs/index-5b853c36.js.map +1 -0
  3. package/dist/browser-cjs/index.js +1 -1
  4. package/dist/browser-cjs/internal.js +1 -1
  5. package/dist/browser-cjs/src/mfa/mfa_session.d.ts +3 -3
  6. package/dist/browser-cjs/test/helpers/integration/helpers.d.ts +1 -0
  7. package/dist/cordova/index.js +2 -2
  8. package/dist/cordova/internal.js +9 -8
  9. package/dist/cordova/internal.js.map +1 -1
  10. package/dist/cordova/{popup_redirect-2dcc9534.js → popup_redirect-a50cd6b4.js} +23 -7
  11. package/dist/cordova/{popup_redirect-2dcc9534.js.map → popup_redirect-a50cd6b4.js.map} +1 -1
  12. package/dist/cordova/src/mfa/mfa_session.d.ts +3 -3
  13. package/dist/cordova/test/helpers/integration/helpers.d.ts +1 -0
  14. package/dist/esm2017/{index-5924628c.js → index-85273ccb.js} +27 -10
  15. package/dist/esm2017/index-85273ccb.js.map +1 -0
  16. package/dist/esm2017/index.js +1 -1
  17. package/dist/esm2017/internal.js +2 -2
  18. package/dist/esm2017/src/mfa/mfa_session.d.ts +3 -3
  19. package/dist/esm2017/test/helpers/integration/helpers.d.ts +1 -0
  20. package/dist/esm5/{index-aca388da.js → index-74785635.js} +30 -13
  21. package/dist/esm5/index-74785635.js.map +1 -0
  22. package/dist/esm5/index.js +1 -1
  23. package/dist/esm5/internal.js +2 -2
  24. package/dist/esm5/src/mfa/mfa_session.d.ts +3 -3
  25. package/dist/esm5/test/helpers/integration/helpers.d.ts +1 -0
  26. package/dist/index.webworker.esm5.js +22 -6
  27. package/dist/index.webworker.esm5.js.map +1 -1
  28. package/dist/node/index.js +1 -1
  29. package/dist/node/internal.js +1 -1
  30. package/dist/node/src/mfa/mfa_session.d.ts +3 -3
  31. package/dist/node/test/helpers/integration/helpers.d.ts +1 -0
  32. package/dist/node/{totp-5a831fa0.js → totp-82fd167a.js} +30 -13
  33. package/dist/node/{totp-5a831fa0.js.map → totp-82fd167a.js.map} +1 -1
  34. package/dist/node-esm/index.js +1 -1
  35. package/dist/node-esm/internal.js +2 -2
  36. package/dist/node-esm/src/mfa/mfa_session.d.ts +3 -3
  37. package/dist/node-esm/test/helpers/integration/helpers.d.ts +1 -0
  38. package/dist/node-esm/{totp-20565c98.js → totp-85567000.js} +27 -10
  39. package/dist/node-esm/{totp-20565c98.js.map → totp-85567000.js.map} +1 -1
  40. package/dist/rn/index.js +1 -1
  41. package/dist/rn/internal.js +8 -7
  42. package/dist/rn/internal.js.map +1 -1
  43. package/dist/rn/{phone-def44917.js → phone-13bcb9c1.js} +23 -7
  44. package/dist/rn/{phone-def44917.js.map → phone-13bcb9c1.js.map} +1 -1
  45. package/dist/rn/src/mfa/mfa_session.d.ts +3 -3
  46. package/dist/rn/test/helpers/integration/helpers.d.ts +1 -0
  47. package/dist/src/mfa/mfa_session.d.ts +3 -3
  48. package/dist/test/helpers/integration/helpers.d.ts +1 -0
  49. package/package.json +6 -6
  50. package/dist/browser-cjs/index-68a7ec4c.js.map +0 -1
  51. package/dist/esm2017/index-5924628c.js.map +0 -1
  52. package/dist/esm5/index-aca388da.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, auth) {
7272
+ function MultiFactorSessionImpl(type, credential, user) {
7257
7273
  this.type = type;
7258
7274
  this.credential = credential;
7259
- this.auth = auth;
7275
+ this.user = user;
7260
7276
  }
7261
- MultiFactorSessionImpl._fromIdtoken = function (idToken, auth) {
7262
- return new MultiFactorSessionImpl("enroll" /* MultiFactorSessionType.ENROLL */, idToken, auth);
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.auth])];
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.ce6189631";
7564
+ var version = "0.23.2-canary.d41ee2f27";
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-def44917.js.map
9048
+ //# sourceMappingURL=phone-13bcb9c1.js.map