@auth0/auth0-spa-js 2.13.0 → 2.13.1

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.
@@ -529,7 +529,7 @@
529
529
  return SuperTokensLock;
530
530
  }();
531
531
  var _default = browserTabsLock.default = SuperTokensLock;
532
- var version = "2.13.0";
532
+ var version = "2.13.1";
533
533
  const DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;
534
534
  const DEFAULT_POPUP_CONFIG_OPTIONS = {
535
535
  timeoutInSeconds: DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS
@@ -7965,14 +7965,14 @@
7965
7965
  });
7966
7966
  }
7967
7967
  async exchangeToken(options) {
7968
- return this._requestToken({
7968
+ return this._requestToken(Object.assign(Object.assign({}, options), {
7969
7969
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange",
7970
7970
  subject_token: options.subject_token,
7971
7971
  subject_token_type: options.subject_token_type,
7972
7972
  scope: scopesToRequest(this.scope, options.scope, options.audience || this.options.authorizationParams.audience),
7973
7973
  audience: options.audience || this.options.authorizationParams.audience,
7974
7974
  organization: options.organization || this.options.authorizationParams.organization
7975
- });
7975
+ }));
7976
7976
  }
7977
7977
  _assertDpop(dpop) {
7978
7978
  if (!dpop) {