@firebase/auth 0.19.9-canary.e987dac26 → 0.19.10
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 +10 -0
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-93adefc5.js → popup_redirect-0aea9243.js} +29 -15
- package/dist/cordova/popup_redirect-0aea9243.js.map +1 -0
- package/dist/cordova/src/api/index.d.ts +2 -1
- package/dist/cordova/src/core/auth/auth_impl.d.ts +3 -1
- package/dist/cordova/test/helpers/mock_auth.d.ts +5 -0
- package/dist/esm2017/{index-8c58cb89.js → index-f69a28d8.js} +16 -6
- package/dist/esm2017/index-f69a28d8.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/api/index.d.ts +2 -1
- package/dist/esm2017/src/core/auth/auth_impl.d.ts +3 -1
- package/dist/esm2017/test/helpers/mock_auth.d.ts +5 -0
- package/dist/esm5/{index-f7d6fb6f.js → index-f92b2f5a.js} +29 -15
- package/dist/esm5/index-f92b2f5a.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/api/index.d.ts +2 -1
- package/dist/esm5/src/core/auth/auth_impl.d.ts +3 -1
- package/dist/esm5/test/helpers/mock_auth.d.ts +5 -0
- package/dist/index.webworker.esm5.js +28 -14
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-b52d4a00.js → index-35c8d2ed.js} +29 -15
- package/dist/node/index-35c8d2ed.js.map +1 -0
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/api/index.d.ts +2 -1
- package/dist/node/src/core/auth/auth_impl.d.ts +3 -1
- package/dist/node/test/helpers/mock_auth.d.ts +5 -0
- package/dist/node-esm/{index-eb8600c0.js → index-a995c608.js} +16 -6
- package/dist/node-esm/index-a995c608.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/api/index.d.ts +2 -1
- package/dist/node-esm/src/core/auth/auth_impl.d.ts +3 -1
- package/dist/node-esm/test/helpers/mock_auth.d.ts +5 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/{phone-c61e906b.js → phone-d5d8976b.js} +29 -15
- package/dist/rn/phone-d5d8976b.js.map +1 -0
- package/dist/rn/src/api/index.d.ts +2 -1
- package/dist/rn/src/core/auth/auth_impl.d.ts +3 -1
- package/dist/rn/test/helpers/mock_auth.d.ts +5 -0
- package/dist/src/api/index.d.ts +2 -1
- package/dist/src/core/auth/auth_impl.d.ts +3 -1
- package/dist/test/helpers/mock_auth.d.ts +5 -0
- package/package.json +6 -6
- package/dist/cordova/popup_redirect-93adefc5.js.map +0 -1
- package/dist/esm2017/index-8c58cb89.js.map +0 -1
- package/dist/esm5/index-f7d6fb6f.js.map +0 -1
- package/dist/node/index-b52d4a00.js.map +0 -1
- package/dist/node-esm/index-eb8600c0.js.map +0 -1
- package/dist/rn/phone-c61e906b.js.map +0 -1
package/dist/node-esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-
|
|
1
|
+
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-a995c608.js';
|
|
2
2
|
import '@firebase/util';
|
|
3
3
|
import '@firebase/app';
|
|
4
4
|
import 'tslib';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ao as _getInstance, ap as _assert, aq as _signInWithCredential, ar as _reauthenticate, as as _link$1, G as AuthCredential, at as signInWithIdp, au as _fail, av as debugAssert, aw as _persistenceKeyName, ax as _castAuth, ay as FederatedAuthProvider, az as BaseOAuthProvider, aA as _emulatorUrl, aB as _performApiRequest, aC as _isIOS7Or8, aD as _isIOS, aE as _isAndroid, aF as _createError, aG as _isSafari, aH as _isIframe, aI as _isMobileBrowser, aJ as _isIE10 } from './index-
|
|
2
|
-
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aL as AuthImpl, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aN as FetchProvider, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aO as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aK as UserImpl, ap as _assert, ax as _castAuth, au as _fail, aM as _getClientVersion, ao as _getInstance, aw as _persistenceKeyName, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-
|
|
1
|
+
import { ao as _getInstance, ap as _assert, aq as _signInWithCredential, ar as _reauthenticate, as as _link$1, G as AuthCredential, at as signInWithIdp, au as _fail, av as debugAssert, aw as _persistenceKeyName, ax as _castAuth, ay as FederatedAuthProvider, az as BaseOAuthProvider, aA as _emulatorUrl, aB as _performApiRequest, aC as _isIOS7Or8, aD as _isIOS, aE as _isAndroid, aF as _createError, aG as _isSafari, aH as _isIframe, aI as _isMobileBrowser, aJ as _isIE10 } from './index-a995c608.js';
|
|
2
|
+
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aL as AuthImpl, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aN as FetchProvider, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aO as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aK as UserImpl, ap as _assert, ax as _castAuth, au as _fail, aM as _getClientVersion, ao as _getInstance, aw as _persistenceKeyName, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-a995c608.js';
|
|
3
3
|
import { querystring, isEmpty, getUA, querystringDecode } from '@firebase/util';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import { SDK_VERSION } from '@firebase/app';
|
|
@@ -28,7 +28,8 @@ export declare const enum HttpHeader {
|
|
|
28
28
|
CONTENT_TYPE = "Content-Type",
|
|
29
29
|
X_FIREBASE_LOCALE = "X-Firebase-Locale",
|
|
30
30
|
X_CLIENT_VERSION = "X-Client-Version",
|
|
31
|
-
X_FIREBASE_GMPID = "X-Firebase-gmpid"
|
|
31
|
+
X_FIREBASE_GMPID = "X-Firebase-gmpid",
|
|
32
|
+
X_FIREBASE_CLIENT = "X-Firebase-Client"
|
|
32
33
|
}
|
|
33
34
|
export declare const enum Endpoint {
|
|
34
35
|
CREATE_AUTH_URI = "/v1/accounts:createAuthUri",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { _FirebaseService, FirebaseApp } from '@firebase/app';
|
|
18
|
+
import { Provider } from '@firebase/component';
|
|
18
19
|
import { Auth, AuthErrorMap, AuthSettings, EmulatorConfig, NextOrObserver, Persistence, PopupRedirectResolver, User, CompleteFn, ErrorFn, Unsubscribe } from '../../model/public_types';
|
|
19
20
|
import { ErrorFactory } from '@firebase/util';
|
|
20
21
|
import { AuthInternal, ConfigInternal } from '../../model/auth';
|
|
@@ -29,6 +30,7 @@ export declare const enum DefaultConfig {
|
|
|
29
30
|
}
|
|
30
31
|
export declare class AuthImpl implements AuthInternal, _FirebaseService {
|
|
31
32
|
readonly app: FirebaseApp;
|
|
33
|
+
private readonly heartbeatServiceProvider;
|
|
32
34
|
readonly config: ConfigInternal;
|
|
33
35
|
currentUser: User | null;
|
|
34
36
|
emulatorConfig: EmulatorConfig | null;
|
|
@@ -50,7 +52,7 @@ export declare class AuthImpl implements AuthInternal, _FirebaseService {
|
|
|
50
52
|
languageCode: string | null;
|
|
51
53
|
tenantId: string | null;
|
|
52
54
|
settings: AuthSettings;
|
|
53
|
-
constructor(app: FirebaseApp, config: ConfigInternal);
|
|
55
|
+
constructor(app: FirebaseApp, heartbeatServiceProvider: Provider<'heartbeat'>, config: ConfigInternal);
|
|
54
56
|
_initializeWithPersistence(persistenceHierarchy: PersistenceInternal[], popupRedirectResolver?: PopupRedirectResolver): Promise<void>;
|
|
55
57
|
/**
|
|
56
58
|
* If the persistence is changed in another window, the user manager will let us know
|
|
@@ -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 { Provider } from '@firebase/component';
|
|
17
18
|
import { PopupRedirectResolver } from '../../src/model/public_types';
|
|
18
19
|
import { AuthImpl } from '../../src/core/auth/auth_impl';
|
|
19
20
|
import { PersistedBlob } from '../../src/core/persistence';
|
|
@@ -28,6 +29,10 @@ export declare const TEST_KEY = "test-api-key";
|
|
|
28
29
|
export interface TestAuth extends AuthImpl {
|
|
29
30
|
persistenceLayer: MockPersistenceLayer;
|
|
30
31
|
}
|
|
32
|
+
export declare const FAKE_HEARTBEAT_CONTROLLER: {
|
|
33
|
+
getHeartbeatsHeader: () => Promise<string>;
|
|
34
|
+
};
|
|
35
|
+
export declare const FAKE_HEARTBEAT_CONTROLLER_PROVIDER: Provider<'heartbeat'>;
|
|
31
36
|
export declare class MockPersistenceLayer extends InMemoryPersistence {
|
|
32
37
|
lastObjectSet: PersistedBlob | null;
|
|
33
38
|
_set(key: string, object: PersistedBlob): Promise<void>;
|
package/dist/rn/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var ReactNative = require('react-native');
|
|
6
6
|
var app = require('@firebase/app');
|
|
7
|
-
var phone = require('./phone-
|
|
7
|
+
var phone = require('./phone-d5d8976b.js');
|
|
8
8
|
var tslib = require('tslib');
|
|
9
9
|
require('@firebase/util');
|
|
10
10
|
require('@firebase/component');
|
package/dist/rn/internal.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var phone = require('./phone-
|
|
5
|
+
var phone = require('./phone-d5d8976b.js');
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var util = require('@firebase/util');
|
|
8
8
|
var app = require('@firebase/app');
|
|
@@ -2384,8 +2384,9 @@ function _getClientVersion(clientPlatform, frameworks) {
|
|
|
2384
2384
|
* limitations under the License.
|
|
2385
2385
|
*/
|
|
2386
2386
|
var AuthImpl = /** @class */ (function () {
|
|
2387
|
-
function AuthImpl(app, config) {
|
|
2387
|
+
function AuthImpl(app, heartbeatServiceProvider, config) {
|
|
2388
2388
|
this.app = app;
|
|
2389
|
+
this.heartbeatServiceProvider = heartbeatServiceProvider;
|
|
2389
2390
|
this.config = config;
|
|
2390
2391
|
this.currentUser = null;
|
|
2391
2392
|
this.emulatorConfig = null;
|
|
@@ -2910,17 +2911,29 @@ var AuthImpl = /** @class */ (function () {
|
|
|
2910
2911
|
return this.frameworks;
|
|
2911
2912
|
};
|
|
2912
2913
|
AuthImpl.prototype._getAdditionalHeaders = function () {
|
|
2914
|
+
var _a;
|
|
2913
2915
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
2914
|
-
var headers;
|
|
2915
|
-
var
|
|
2916
|
-
return tslib.__generator(this, function (
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2916
|
+
var headers, heartbeatsHeader;
|
|
2917
|
+
var _b;
|
|
2918
|
+
return tslib.__generator(this, function (_c) {
|
|
2919
|
+
switch (_c.label) {
|
|
2920
|
+
case 0:
|
|
2921
|
+
headers = (_b = {},
|
|
2922
|
+
_b["X-Client-Version" /* X_CLIENT_VERSION */] = this.clientVersion,
|
|
2923
|
+
_b);
|
|
2924
|
+
if (this.app.options.appId) {
|
|
2925
|
+
headers["X-Firebase-gmpid" /* X_FIREBASE_GMPID */] = this.app.options.appId;
|
|
2926
|
+
}
|
|
2927
|
+
return [4 /*yield*/, ((_a = this.heartbeatServiceProvider.getImmediate({
|
|
2928
|
+
optional: true,
|
|
2929
|
+
})) === null || _a === void 0 ? void 0 : _a.getHeartbeatsHeader())];
|
|
2930
|
+
case 1:
|
|
2931
|
+
heartbeatsHeader = _c.sent();
|
|
2932
|
+
if (heartbeatsHeader) {
|
|
2933
|
+
headers["X-Firebase-Client" /* X_FIREBASE_CLIENT */] = heartbeatsHeader;
|
|
2934
|
+
}
|
|
2935
|
+
return [2 /*return*/, headers];
|
|
2922
2936
|
}
|
|
2923
|
-
return [2 /*return*/, headers];
|
|
2924
2937
|
});
|
|
2925
2938
|
});
|
|
2926
2939
|
};
|
|
@@ -6786,7 +6799,7 @@ function multiFactor(user) {
|
|
|
6786
6799
|
}
|
|
6787
6800
|
|
|
6788
6801
|
var name = "@firebase/auth";
|
|
6789
|
-
var version = "0.19.
|
|
6802
|
+
var version = "0.19.10";
|
|
6790
6803
|
|
|
6791
6804
|
/**
|
|
6792
6805
|
* @license
|
|
@@ -6906,8 +6919,9 @@ function registerAuth(clientPlatform) {
|
|
|
6906
6919
|
app._registerComponent(new component.Component("auth" /* AUTH */, function (container, _a) {
|
|
6907
6920
|
var deps = _a.options;
|
|
6908
6921
|
var app = container.getProvider('app').getImmediate();
|
|
6922
|
+
var heartbeatServiceProvider = container.getProvider('heartbeat');
|
|
6909
6923
|
var _b = app.options, apiKey = _b.apiKey, authDomain = _b.authDomain;
|
|
6910
|
-
return (function (app) {
|
|
6924
|
+
return (function (app, heartbeatServiceProvider) {
|
|
6911
6925
|
_assert(apiKey && !apiKey.includes(':'), "invalid-api-key" /* INVALID_API_KEY */, { appName: app.name });
|
|
6912
6926
|
// Auth domain is optional if IdP sign in isn't being used
|
|
6913
6927
|
_assert(!(authDomain === null || authDomain === void 0 ? void 0 : authDomain.includes(':')), "argument-error" /* ARGUMENT_ERROR */, {
|
|
@@ -6922,10 +6936,10 @@ function registerAuth(clientPlatform) {
|
|
|
6922
6936
|
apiScheme: "https" /* API_SCHEME */,
|
|
6923
6937
|
sdkClientVersion: _getClientVersion(clientPlatform)
|
|
6924
6938
|
};
|
|
6925
|
-
var authInstance = new AuthImpl(app, config);
|
|
6939
|
+
var authInstance = new AuthImpl(app, heartbeatServiceProvider, config);
|
|
6926
6940
|
_initializeAuthInstance(authInstance, deps);
|
|
6927
6941
|
return authInstance;
|
|
6928
|
-
})(app);
|
|
6942
|
+
})(app, heartbeatServiceProvider);
|
|
6929
6943
|
}, "PUBLIC" /* PUBLIC */)
|
|
6930
6944
|
/**
|
|
6931
6945
|
* Auth can only be initialized by explicitly calling getAuth() or initializeAuth()
|
|
@@ -8309,4 +8323,4 @@ exports.updateProfile = updateProfile;
|
|
|
8309
8323
|
exports.useDeviceLanguage = useDeviceLanguage;
|
|
8310
8324
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
8311
8325
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
8312
|
-
//# sourceMappingURL=phone-
|
|
8326
|
+
//# sourceMappingURL=phone-d5d8976b.js.map
|