@firebase/auth 0.19.9 → 0.19.10-2022216223411
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 +11 -0
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-b90dd737.js → popup_redirect-bc0e5b9b.js} +28 -14
- package/dist/cordova/popup_redirect-bc0e5b9b.js.map +1 -0
- package/dist/cordova/popup_redirect-e1d3e431.js +9857 -0
- package/dist/cordova/popup_redirect-e1d3e431.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-38783242.js +9336 -0
- package/dist/esm2017/index-38783242.js.map +1 -0
- package/dist/esm2017/{index-585b6059.js → index-80bbdc0a.js} +15 -5
- package/dist/esm2017/index-80bbdc0a.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-1599a705.js +11092 -0
- package/dist/esm5/index-1599a705.js.map +1 -0
- package/dist/esm5/{index-4ce27cf6.js → index-df6fb03b.js} +28 -14
- package/dist/esm5/index-df6fb03b.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-323d7db2.js → index-7f50dfb5.js} +28 -14
- package/dist/node/index-7f50dfb5.js.map +1 -0
- package/dist/node/index-f95dc6ed.js +7249 -0
- package/dist/node/index-f95dc6ed.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-89c9d3da.js → index-4307ba62.js} +15 -5
- package/dist/node-esm/index-4307ba62.js.map +1 -0
- package/dist/node-esm/index-e7ef0a0d.js +6047 -0
- package/dist/node-esm/index-e7ef0a0d.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-9b8f2122.js +8326 -0
- package/dist/rn/phone-9b8f2122.js.map +1 -0
- package/dist/rn/{phone-2b8df66d.js → phone-d2256cd7.js} +28 -14
- package/dist/rn/phone-d2256cd7.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 +5 -5
- package/dist/cordova/popup_redirect-b90dd737.js.map +0 -1
- package/dist/esm2017/index-585b6059.js.map +0 -1
- package/dist/esm5/index-4ce27cf6.js.map +0 -1
- package/dist/node/index-323d7db2.js.map +0 -1
- package/dist/node-esm/index-89c9d3da.js.map +0 -1
- package/dist/rn/phone-2b8df66d.js.map +0 -1
package/dist/esm5/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-1599a705.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import '@firebase/util';
|
|
4
4
|
import '@firebase/app';
|
package/dist/esm5/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ao as _isAndroid, ap as _isIOS7Or8, aq as _isIOS, ar as _fail, as as _getRedirectUrl, at as debugAssert, au as _getProjectConfig, av as _createError, aw as _assert, ax as AuthEventManager, ay as _getInstance, b as browserLocalPersistence, az as _persistenceKeyName, aA as _clearRedirectOutcomes, a as browserSessionPersistence, aB as _getRedirectResult, aC as _castAuth } from './index-
|
|
2
|
-
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aE as AuthImpl, aH as AuthPopup, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aI 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, aJ as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aD as UserImpl, aw as _assert, aC as _castAuth, ar as _fail, aG as _generateEventId, aF as _getClientVersion, ay as _getInstance, aB as _getRedirectResult, az 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 _isAndroid, ap as _isIOS7Or8, aq as _isIOS, ar as _fail, as as _getRedirectUrl, at as debugAssert, au as _getProjectConfig, av as _createError, aw as _assert, ax as AuthEventManager, ay as _getInstance, b as browserLocalPersistence, az as _persistenceKeyName, aA as _clearRedirectOutcomes, a as browserSessionPersistence, aB as _getRedirectResult, aC as _castAuth } from './index-1599a705.js';
|
|
2
|
+
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aE as AuthImpl, aH as AuthPopup, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aI 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, aJ as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aD as UserImpl, aw as _assert, aC as _castAuth, ar as _fail, aG as _generateEventId, aF as _getClientVersion, ay as _getInstance, aB as _getRedirectResult, az 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-1599a705.js';
|
|
3
3
|
import { __awaiter, __generator, __extends } from 'tslib';
|
|
4
4
|
import { querystringDecode } from '@firebase/util';
|
|
5
5
|
import '@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>;
|
|
@@ -522,7 +522,7 @@ function _initializeAuthInstance(auth, deps) {
|
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
var name = "@firebase/auth";
|
|
525
|
-
var version = "0.19.
|
|
525
|
+
var version = "0.19.10-2022216223411";
|
|
526
526
|
|
|
527
527
|
/**
|
|
528
528
|
* @license
|
|
@@ -2338,8 +2338,9 @@ var PersistenceUserManager = /** @class */ (function () {
|
|
|
2338
2338
|
* limitations under the License.
|
|
2339
2339
|
*/
|
|
2340
2340
|
var AuthImpl = /** @class */ (function () {
|
|
2341
|
-
function AuthImpl(app, config) {
|
|
2341
|
+
function AuthImpl(app, heartbeatServiceProvider, config) {
|
|
2342
2342
|
this.app = app;
|
|
2343
|
+
this.heartbeatServiceProvider = heartbeatServiceProvider;
|
|
2343
2344
|
this.config = config;
|
|
2344
2345
|
this.currentUser = null;
|
|
2345
2346
|
this.emulatorConfig = null;
|
|
@@ -2864,17 +2865,29 @@ var AuthImpl = /** @class */ (function () {
|
|
|
2864
2865
|
return this.frameworks;
|
|
2865
2866
|
};
|
|
2866
2867
|
AuthImpl.prototype._getAdditionalHeaders = function () {
|
|
2868
|
+
var _a;
|
|
2867
2869
|
return __awaiter(this, void 0, void 0, function () {
|
|
2868
|
-
var headers;
|
|
2869
|
-
var
|
|
2870
|
-
return __generator(this, function (
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2870
|
+
var headers, heartbeatsHeader;
|
|
2871
|
+
var _b;
|
|
2872
|
+
return __generator(this, function (_c) {
|
|
2873
|
+
switch (_c.label) {
|
|
2874
|
+
case 0:
|
|
2875
|
+
headers = (_b = {},
|
|
2876
|
+
_b["X-Client-Version" /* X_CLIENT_VERSION */] = this.clientVersion,
|
|
2877
|
+
_b);
|
|
2878
|
+
if (this.app.options.appId) {
|
|
2879
|
+
headers["X-Firebase-gmpid" /* X_FIREBASE_GMPID */] = this.app.options.appId;
|
|
2880
|
+
}
|
|
2881
|
+
return [4 /*yield*/, ((_a = this.heartbeatServiceProvider.getImmediate({
|
|
2882
|
+
optional: true,
|
|
2883
|
+
})) === null || _a === void 0 ? void 0 : _a.getHeartbeatsHeader())];
|
|
2884
|
+
case 1:
|
|
2885
|
+
heartbeatsHeader = _c.sent();
|
|
2886
|
+
if (heartbeatsHeader) {
|
|
2887
|
+
headers["X-Firebase-Client" /* X_FIREBASE_CLIENT */] = heartbeatsHeader;
|
|
2888
|
+
}
|
|
2889
|
+
return [2 /*return*/, headers];
|
|
2876
2890
|
}
|
|
2877
|
-
return [2 /*return*/, headers];
|
|
2878
2891
|
});
|
|
2879
2892
|
});
|
|
2880
2893
|
};
|
|
@@ -3026,8 +3039,9 @@ function registerAuth(clientPlatform) {
|
|
|
3026
3039
|
_registerComponent(new Component("auth" /* AUTH */, function (container, _a) {
|
|
3027
3040
|
var deps = _a.options;
|
|
3028
3041
|
var app = container.getProvider('app').getImmediate();
|
|
3042
|
+
var heartbeatServiceProvider = container.getProvider('heartbeat');
|
|
3029
3043
|
var _b = app.options, apiKey = _b.apiKey, authDomain = _b.authDomain;
|
|
3030
|
-
return (function (app) {
|
|
3044
|
+
return (function (app, heartbeatServiceProvider) {
|
|
3031
3045
|
_assert(apiKey && !apiKey.includes(':'), "invalid-api-key" /* INVALID_API_KEY */, { appName: app.name });
|
|
3032
3046
|
// Auth domain is optional if IdP sign in isn't being used
|
|
3033
3047
|
_assert(!(authDomain === null || authDomain === void 0 ? void 0 : authDomain.includes(':')), "argument-error" /* ARGUMENT_ERROR */, {
|
|
@@ -3042,10 +3056,10 @@ function registerAuth(clientPlatform) {
|
|
|
3042
3056
|
apiScheme: "https" /* API_SCHEME */,
|
|
3043
3057
|
sdkClientVersion: _getClientVersion(clientPlatform)
|
|
3044
3058
|
};
|
|
3045
|
-
var authInstance = new AuthImpl(app, config);
|
|
3059
|
+
var authInstance = new AuthImpl(app, heartbeatServiceProvider, config);
|
|
3046
3060
|
_initializeAuthInstance(authInstance, deps);
|
|
3047
3061
|
return authInstance;
|
|
3048
|
-
})(app);
|
|
3062
|
+
})(app, heartbeatServiceProvider);
|
|
3049
3063
|
}, "PUBLIC" /* PUBLIC */)
|
|
3050
3064
|
/**
|
|
3051
3065
|
* Auth can only be initialized by explicitly calling getAuth() or initializeAuth()
|