@firebase/auth 0.23.2-canary.f2fb56fc0 → 0.23.2-canary.f3067f72d

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 (67) hide show
  1. package/dist/auth-public.d.ts +3 -4
  2. package/dist/auth.d.ts +3 -4
  3. package/dist/browser-cjs/{index-076dd21a.js → index-4e3902d3.js} +4 -5
  4. package/dist/{esm2017/index-16873a0f.js.map → browser-cjs/index-4e3902d3.js.map} +1 -1
  5. package/dist/browser-cjs/index.doc.d.ts +1 -1
  6. package/dist/browser-cjs/index.js +1 -1
  7. package/dist/browser-cjs/index.rn.d.ts +7 -8
  8. package/dist/browser-cjs/internal.js +1 -1
  9. package/dist/browser-cjs/src/model/public_types.d.ts +1 -1
  10. package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  11. package/dist/cordova/index.doc.d.ts +1 -1
  12. package/dist/cordova/index.js +2 -2
  13. package/dist/cordova/index.rn.d.ts +7 -8
  14. package/dist/cordova/internal.js +4 -5
  15. package/dist/cordova/internal.js.map +1 -1
  16. package/dist/cordova/{popup_redirect-45f50d6d.js → popup_redirect-dedc8953.js} +2 -2
  17. package/dist/cordova/{popup_redirect-45f50d6d.js.map → popup_redirect-dedc8953.js.map} +1 -1
  18. package/dist/cordova/src/model/public_types.d.ts +1 -1
  19. package/dist/cordova/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  20. package/dist/esm2017/{index-16873a0f.js → index-b991d88a.js} +4 -5
  21. package/dist/{browser-cjs/index-076dd21a.js.map → esm2017/index-b991d88a.js.map} +1 -1
  22. package/dist/esm2017/index.doc.d.ts +1 -1
  23. package/dist/esm2017/index.js +1 -1
  24. package/dist/esm2017/index.rn.d.ts +7 -8
  25. package/dist/esm2017/internal.js +2 -2
  26. package/dist/esm2017/src/model/public_types.d.ts +1 -1
  27. package/dist/esm2017/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  28. package/dist/esm5/{index-9607cc9e.js → index-42a84fec.js} +4 -5
  29. package/dist/esm5/{index-9607cc9e.js.map → index-42a84fec.js.map} +1 -1
  30. package/dist/esm5/index.doc.d.ts +1 -1
  31. package/dist/esm5/index.js +1 -1
  32. package/dist/esm5/index.rn.d.ts +7 -8
  33. package/dist/esm5/internal.js +2 -2
  34. package/dist/esm5/src/model/public_types.d.ts +1 -1
  35. package/dist/esm5/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  36. package/dist/index.doc.d.ts +1 -1
  37. package/dist/index.rn.d.ts +7 -8
  38. package/dist/index.webworker.esm5.js +1 -1
  39. package/dist/node/index.doc.d.ts +1 -1
  40. package/dist/node/index.js +1 -1
  41. package/dist/node/index.rn.d.ts +7 -8
  42. package/dist/node/internal.js +1 -1
  43. package/dist/node/src/model/public_types.d.ts +1 -1
  44. package/dist/node/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  45. package/dist/node/{totp-92574d9d.js → totp-6261826d.js} +2 -2
  46. package/dist/node/{totp-92574d9d.js.map → totp-6261826d.js.map} +1 -1
  47. package/dist/node-esm/index.doc.d.ts +1 -1
  48. package/dist/node-esm/index.js +1 -1
  49. package/dist/node-esm/index.rn.d.ts +7 -8
  50. package/dist/node-esm/internal.js +2 -2
  51. package/dist/node-esm/src/model/public_types.d.ts +1 -1
  52. package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  53. package/dist/node-esm/{totp-189893d3.js → totp-b39ea02b.js} +2 -2
  54. package/dist/node-esm/{totp-189893d3.js.map → totp-b39ea02b.js.map} +1 -1
  55. package/dist/rn/index.doc.d.ts +1 -1
  56. package/dist/rn/index.js +5 -57
  57. package/dist/rn/index.js.map +1 -1
  58. package/dist/rn/index.rn.d.ts +7 -8
  59. package/dist/rn/internal.js +1 -1
  60. package/dist/rn/{phone-5cad688a.js → phone-23272773.js} +4 -5
  61. package/dist/rn/{phone-5cad688a.js.map → phone-23272773.js.map} +1 -1
  62. package/dist/rn/src/model/public_types.d.ts +1 -1
  63. package/dist/rn/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  64. package/dist/src/model/public_types.d.ts +1 -1
  65. package/dist/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  66. package/package.json +11 -15
  67. package/react-native/package.json +0 -7
@@ -21,4 +21,4 @@
21
21
  */
22
22
  export * from './index';
23
23
  export { cordovaPopupRedirectResolver } from './index.cordova';
24
- export { reactNativeLocalPersistence, getReactNativePersistence } from './index.rn';
24
+ export { getReactNativePersistence } from './index.rn';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-076dd21a.js');
5
+ var index = require('./index-4e3902d3.js');
6
6
  require('@firebase/util');
7
7
  require('@firebase/app');
8
8
  require('tslib');
@@ -14,19 +14,18 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ /**
18
+ * This is the file that people using React Native will actually import. You
19
+ * should only include this file if you have something specific about your
20
+ * implementation that mandates having a separate entrypoint. Otherwise you can
21
+ * just use index.ts
22
+ */
17
23
  import { FirebaseApp } from '@firebase/app';
18
- import { Auth, Persistence } from './src/model/public_types';
24
+ import { Auth } from './src/model/public_types';
19
25
  import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
20
26
  export * from './index.shared';
21
27
  export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
22
28
  export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
23
29
  export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
24
- /**
25
- * An implementation of {@link Persistence} of type 'LOCAL' for use in React
26
- * Native environments.
27
- *
28
- * @public
29
- */
30
- export declare const reactNativeLocalPersistence: Persistence;
31
30
  export { getReactNativePersistence };
32
31
  export declare function getAuth(app?: FirebaseApp): Auth;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-076dd21a.js');
5
+ var index = require('./index-4e3902d3.js');
6
6
  var util = require('@firebase/util');
7
7
  require('@firebase/app');
8
8
  require('tslib');
@@ -86,7 +86,7 @@ export interface ParsedToken {
86
86
  'identities'?: Record<string, string>;
87
87
  };
88
88
  /** Map of any additional custom claims. */
89
- [key: string]: any;
89
+ [key: string]: unknown;
90
90
  }
91
91
  /**
92
92
  * Type definition for an event callback.
@@ -46,6 +46,7 @@ export declare class RecaptchaVerifier implements ApplicationVerifierInternal {
46
46
  readonly _recaptchaLoader: ReCaptchaLoader;
47
47
  private recaptcha;
48
48
  /**
49
+ * @param authExtern - The corresponding Firebase {@link Auth} instance.
49
50
  *
50
51
  * @param containerOrId - The reCAPTCHA container parameter.
51
52
  *
@@ -62,10 +63,8 @@ export declare class RecaptchaVerifier implements ApplicationVerifierInternal {
62
63
  * the sitekey. Firebase Auth backend provisions a reCAPTCHA for each project and will
63
64
  * configure this upon rendering. For an invisible reCAPTCHA, a size key must have the value
64
65
  * 'invisible'.
65
- *
66
- * @param authExtern - The corresponding Firebase {@link Auth} instance.
67
66
  */
68
- constructor(containerOrId: HTMLElement | string, parameters: RecaptchaParameters, authExtern: Auth);
67
+ constructor(authExtern: Auth, containerOrId: HTMLElement | string, parameters?: RecaptchaParameters);
69
68
  /**
70
69
  * Waits for the user to solve the reCAPTCHA and resolves with the reCAPTCHA token.
71
70
  *
@@ -21,4 +21,4 @@
21
21
  */
22
22
  export * from './index';
23
23
  export { cordovaPopupRedirectResolver } from './index.cordova';
24
- export { reactNativeLocalPersistence, getReactNativePersistence } from './index.rn';
24
+ export { getReactNativePersistence } from './index.rn';
@@ -1,6 +1,6 @@
1
1
  import { getApp, _getProvider } from '@firebase/app';
2
- import { _ as _signInWithRedirect, a as _reauthenticateWithRedirect, b as _linkWithRedirect, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, d as cordovaPopupRedirectResolver } from './popup_redirect-45f50d6d.js';
3
- export { A as ActionCodeOperation, a4 as ActionCodeURL, w as AuthCredential, t as AuthErrorCodes, E as EmailAuthCredential, B as EmailAuthProvider, C as FacebookAuthProvider, F as FactorId, D as GithubAuthProvider, G as GoogleAuthProvider, x as OAuthCredential, H as OAuthProvider, O as OperationType, y as PhoneAuthCredential, P as ProviderId, I as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, U as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, V as checkActionCode, R as confirmPasswordReset, v as connectAuthEmulator, d as cordovaPopupRedirectResolver, X as createUserWithEmailAndPassword, p as debugErrorMap, n as deleteUser, a1 as fetchSignInMethodsForEmail, ac as getAdditionalUserInfo, a9 as getIdToken, aa as getIdTokenResult, ae as getMultiFactorResolver, g as getRedirectResult, z as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, $ as isSignInWithEmailLink, L as linkWithCredential, af as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a5 as parseActionCodeURL, q as prodErrorMap, M as reauthenticateWithCredential, ad as reload, a2 as sendEmailVerification, Q as sendPasswordResetEmail, Z as sendSignInLinkToEmail, s as setPersistence, J as signInAnonymously, K as signInWithCredential, N as signInWithCustomToken, Y as signInWithEmailAndPassword, a0 as signInWithEmailLink, m as signOut, ab as unlink, l as updateCurrentUser, a7 as updateEmail, a8 as updatePassword, a6 as updateProfile, u as useDeviceLanguage, a3 as verifyBeforeUpdateEmail, W as verifyPasswordResetCode } from './popup_redirect-45f50d6d.js';
2
+ import { _ as _signInWithRedirect, a as _reauthenticateWithRedirect, b as _linkWithRedirect, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, d as cordovaPopupRedirectResolver } from './popup_redirect-dedc8953.js';
3
+ export { A as ActionCodeOperation, a4 as ActionCodeURL, w as AuthCredential, t as AuthErrorCodes, E as EmailAuthCredential, B as EmailAuthProvider, C as FacebookAuthProvider, F as FactorId, D as GithubAuthProvider, G as GoogleAuthProvider, x as OAuthCredential, H as OAuthProvider, O as OperationType, y as PhoneAuthCredential, P as ProviderId, I as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, U as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, V as checkActionCode, R as confirmPasswordReset, v as connectAuthEmulator, d as cordovaPopupRedirectResolver, X as createUserWithEmailAndPassword, p as debugErrorMap, n as deleteUser, a1 as fetchSignInMethodsForEmail, ac as getAdditionalUserInfo, a9 as getIdToken, aa as getIdTokenResult, ae as getMultiFactorResolver, g as getRedirectResult, z as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, $ as isSignInWithEmailLink, L as linkWithCredential, af as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a5 as parseActionCodeURL, q as prodErrorMap, M as reauthenticateWithCredential, ad as reload, a2 as sendEmailVerification, Q as sendPasswordResetEmail, Z as sendSignInLinkToEmail, s as setPersistence, J as signInAnonymously, K as signInWithCredential, N as signInWithCustomToken, Y as signInWithEmailAndPassword, a0 as signInWithEmailLink, m as signOut, ab as unlink, l as updateCurrentUser, a7 as updateEmail, a8 as updatePassword, a6 as updateProfile, u as useDeviceLanguage, a3 as verifyBeforeUpdateEmail, W as verifyPasswordResetCode } from './popup_redirect-dedc8953.js';
4
4
  import 'tslib';
5
5
  import '@firebase/util';
6
6
  import '@firebase/component';
@@ -14,19 +14,18 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ /**
18
+ * This is the file that people using React Native will actually import. You
19
+ * should only include this file if you have something specific about your
20
+ * implementation that mandates having a separate entrypoint. Otherwise you can
21
+ * just use index.ts
22
+ */
17
23
  import { FirebaseApp } from '@firebase/app';
18
- import { Auth, Persistence } from './src/model/public_types';
24
+ import { Auth } from './src/model/public_types';
19
25
  import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
20
26
  export * from './index.shared';
21
27
  export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
22
28
  export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
23
29
  export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
24
- /**
25
- * An implementation of {@link Persistence} of type 'LOCAL' for use in React
26
- * Native environments.
27
- *
28
- * @public
29
- */
30
- export declare const reactNativeLocalPersistence: Persistence;
31
30
  export { getReactNativePersistence };
32
31
  export declare function getAuth(app?: FirebaseApp): Auth;
@@ -1,5 +1,5 @@
1
- import { ag as _performApiRequest, ah as _addTidIfNecessary, ai as _assert, aj as Delay, ak as _window, al as isV2, am as _createError, an as _loadJS, ao as _generateCallbackName, ap as getRecaptchaParams, aq as _isHttpOrHttps, ar as _isWorker, as as _castAuth, K as signInWithCredential, L as linkWithCredential, at as _assertLinkedStatus, M as reauthenticateWithCredential, au as sendPhoneVerificationCode, av as startEnrollPhoneMfa, aw as _link, y as PhoneAuthCredential, ax as debugAssert, ay as _generateEventId, az as AbstractPopupRedirectOperation, aA as _assertInstanceOf, aB as _withDefaultResolver, aC as FederatedAuthProvider, aD as _fail, aE as _getProjectConfig, aF as _getCurrentUrl, aG as _emulatorUrl, aH as _isChromeIOS, aI as _isFirefox, aJ as _isIOSStandalone, aK as _getRedirectUrl, aL as _setWindowLocation, aM as _isMobileBrowser, aN as _isSafari, aO as _isIOS, f as browserSessionPersistence, aP as _getRedirectResult, aQ as _overrideRedirectResult, aR as AuthEventManager, aS as debugFail, aT as finalizeEnrollPhoneMfa, aU as finalizeEnrollTotpMfa, aV as startEnrollTotpMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence, j as beforeAuthStateChanged, o as onIdTokenChanged, v as connectAuthEmulator } from './popup_redirect-45f50d6d.js';
2
- export { A as ActionCodeOperation, a4 as ActionCodeURL, w as AuthCredential, t as AuthErrorCodes, aZ as AuthImpl, E as EmailAuthCredential, B as EmailAuthProvider, C as FacebookAuthProvider, F as FactorId, a$ as FetchProvider, D as GithubAuthProvider, G as GoogleAuthProvider, x as OAuthCredential, H as OAuthProvider, O as OperationType, y as PhoneAuthCredential, P as ProviderId, b0 as SAMLAuthCredential, I as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aX as UserImpl, ai as _assert, as as _castAuth, aD as _fail, ay as _generateEventId, a_ as _getClientVersion, aY as _getInstance, aP as _getRedirectResult, aQ as _overrideRedirectResult, aW as _persistenceKeyName, U as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, V as checkActionCode, R as confirmPasswordReset, v as connectAuthEmulator, d as cordovaPopupRedirectResolver, X as createUserWithEmailAndPassword, p as debugErrorMap, n as deleteUser, a1 as fetchSignInMethodsForEmail, ac as getAdditionalUserInfo, a9 as getIdToken, aa as getIdTokenResult, ae as getMultiFactorResolver, g as getRedirectResult, z as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, $ as isSignInWithEmailLink, L as linkWithCredential, b2 as linkWithRedirect, af as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a5 as parseActionCodeURL, q as prodErrorMap, M as reauthenticateWithCredential, b3 as reauthenticateWithRedirect, ad as reload, a2 as sendEmailVerification, Q as sendPasswordResetEmail, Z as sendSignInLinkToEmail, s as setPersistence, J as signInAnonymously, K as signInWithCredential, N as signInWithCustomToken, Y as signInWithEmailAndPassword, a0 as signInWithEmailLink, b1 as signInWithRedirect, m as signOut, ab as unlink, l as updateCurrentUser, a7 as updateEmail, a8 as updatePassword, a6 as updateProfile, u as useDeviceLanguage, a3 as verifyBeforeUpdateEmail, W as verifyPasswordResetCode } from './popup_redirect-45f50d6d.js';
1
+ import { ag as _performApiRequest, ah as _addTidIfNecessary, ai as _assert, aj as Delay, ak as _window, al as isV2, am as _createError, an as _loadJS, ao as _generateCallbackName, ap as getRecaptchaParams, aq as _isHttpOrHttps, ar as _isWorker, as as _castAuth, K as signInWithCredential, L as linkWithCredential, at as _assertLinkedStatus, M as reauthenticateWithCredential, au as sendPhoneVerificationCode, av as startEnrollPhoneMfa, aw as _link, y as PhoneAuthCredential, ax as debugAssert, ay as _generateEventId, az as AbstractPopupRedirectOperation, aA as _assertInstanceOf, aB as _withDefaultResolver, aC as FederatedAuthProvider, aD as _fail, aE as _getProjectConfig, aF as _getCurrentUrl, aG as _emulatorUrl, aH as _isChromeIOS, aI as _isFirefox, aJ as _isIOSStandalone, aK as _getRedirectUrl, aL as _setWindowLocation, aM as _isMobileBrowser, aN as _isSafari, aO as _isIOS, f as browserSessionPersistence, aP as _getRedirectResult, aQ as _overrideRedirectResult, aR as AuthEventManager, aS as debugFail, aT as finalizeEnrollPhoneMfa, aU as finalizeEnrollTotpMfa, aV as startEnrollTotpMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence, j as beforeAuthStateChanged, o as onIdTokenChanged, v as connectAuthEmulator } from './popup_redirect-dedc8953.js';
2
+ export { A as ActionCodeOperation, a4 as ActionCodeURL, w as AuthCredential, t as AuthErrorCodes, aZ as AuthImpl, E as EmailAuthCredential, B as EmailAuthProvider, C as FacebookAuthProvider, F as FactorId, a$ as FetchProvider, D as GithubAuthProvider, G as GoogleAuthProvider, x as OAuthCredential, H as OAuthProvider, O as OperationType, y as PhoneAuthCredential, P as ProviderId, b0 as SAMLAuthCredential, I as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aX as UserImpl, ai as _assert, as as _castAuth, aD as _fail, ay as _generateEventId, a_ as _getClientVersion, aY as _getInstance, aP as _getRedirectResult, aQ as _overrideRedirectResult, aW as _persistenceKeyName, U as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, V as checkActionCode, R as confirmPasswordReset, v as connectAuthEmulator, d as cordovaPopupRedirectResolver, X as createUserWithEmailAndPassword, p as debugErrorMap, n as deleteUser, a1 as fetchSignInMethodsForEmail, ac as getAdditionalUserInfo, a9 as getIdToken, aa as getIdTokenResult, ae as getMultiFactorResolver, g as getRedirectResult, z as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, $ as isSignInWithEmailLink, L as linkWithCredential, b2 as linkWithRedirect, af as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a5 as parseActionCodeURL, q as prodErrorMap, M as reauthenticateWithCredential, b3 as reauthenticateWithRedirect, ad as reload, a2 as sendEmailVerification, Q as sendPasswordResetEmail, Z as sendSignInLinkToEmail, s as setPersistence, J as signInAnonymously, K as signInWithCredential, N as signInWithCustomToken, Y as signInWithEmailAndPassword, a0 as signInWithEmailLink, b1 as signInWithRedirect, m as signOut, ab as unlink, l as updateCurrentUser, a7 as updateEmail, a8 as updatePassword, a6 as updateProfile, u as useDeviceLanguage, a3 as verifyBeforeUpdateEmail, W as verifyPasswordResetCode } from './popup_redirect-dedc8953.js';
3
3
  import { __awaiter, __generator, __assign, __extends, __spreadArray } from 'tslib';
4
4
  import { querystring, getModularInstance, getUA, getExperimentalSetting, getDefaultEmulatorHost } from '@firebase/util';
5
5
  import { SDK_VERSION, getApp, _getProvider } from '@firebase/app';
@@ -313,6 +313,7 @@ var DEFAULT_PARAMS = {
313
313
  */
314
314
  var RecaptchaVerifier = /** @class */ (function () {
315
315
  /**
316
+ * @param authExtern - The corresponding Firebase {@link Auth} instance.
316
317
  *
317
318
  * @param containerOrId - The reCAPTCHA container parameter.
318
319
  *
@@ -329,10 +330,8 @@ var RecaptchaVerifier = /** @class */ (function () {
329
330
  * the sitekey. Firebase Auth backend provisions a reCAPTCHA for each project and will
330
331
  * configure this upon rendering. For an invisible reCAPTCHA, a size key must have the value
331
332
  * 'invisible'.
332
- *
333
- * @param authExtern - The corresponding Firebase {@link Auth} instance.
334
333
  */
335
- function RecaptchaVerifier(containerOrId, parameters, authExtern) {
334
+ function RecaptchaVerifier(authExtern, containerOrId, parameters) {
336
335
  if (parameters === void 0) { parameters = __assign({}, DEFAULT_PARAMS); }
337
336
  this.parameters = parameters;
338
337
  /**