@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.
@@ -551,7 +551,7 @@ var SuperTokensLock = function() {
551
551
 
552
552
  var _default = browserTabsLock.default = SuperTokensLock;
553
553
 
554
- var version = "2.13.0";
554
+ var version = "2.13.1";
555
555
 
556
556
  const DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;
557
557
 
@@ -8538,14 +8538,14 @@ class Auth0Client {
8538
8538
  });
8539
8539
  }
8540
8540
  async exchangeToken(options) {
8541
- return this._requestToken({
8541
+ return this._requestToken(Object.assign(Object.assign({}, options), {
8542
8542
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange",
8543
8543
  subject_token: options.subject_token,
8544
8544
  subject_token_type: options.subject_token_type,
8545
8545
  scope: scopesToRequest(this.scope, options.scope, options.audience || this.options.authorizationParams.audience),
8546
8546
  audience: options.audience || this.options.authorizationParams.audience,
8547
8547
  organization: options.organization || this.options.authorizationParams.organization
8548
- });
8548
+ }));
8549
8549
  }
8550
8550
  _assertDpop(dpop) {
8551
8551
  if (!dpop) {