@accelbyte/sdk 0.2.0-beta.1 → 0.2.0-beta.3

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.
@@ -12100,7 +12100,7 @@ const uponRefreshComplete = (error, tokenResponse, onGetUserSession, onSessionEx
12100
12100
  };
12101
12101
 
12102
12102
  /*
12103
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
12103
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
12104
12104
  * This is licensed software from AccelByte Inc, for limitations
12105
12105
  * and restrictions contact your company contract manager.
12106
12106
  */
@@ -18811,7 +18811,7 @@ var rabbitLegacy = {exports: {}};
18811
18811
  var cryptoJs = cryptoJs$1.exports;
18812
18812
 
18813
18813
  /*
18814
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
18814
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
18815
18815
  * This is licensed software from AccelByte Inc, for limitations
18816
18816
  * and restrictions contact your company contract manager.
18817
18817
  */
@@ -20292,7 +20292,7 @@ class UserAuthorization {
20292
20292
  const axios = Network.create(config);
20293
20293
  const data = {
20294
20294
  grant_type: 'authorization_code',
20295
- code: code,
20295
+ code,
20296
20296
  code_verifier: codeVerifier,
20297
20297
  client_id: this.options.clientId,
20298
20298
  redirect_uri: this.options.redirectURI
@@ -20311,9 +20311,8 @@ class UserAuthorization {
20311
20311
  const doesMFADataExist = Validate.safeParse(errorResponse.data, MFADataResponse);
20312
20312
  if (!doesMFADataExist)
20313
20313
  return;
20314
- // eslint-disable-next-line camelcase
20315
- const { mfa_token, factors, default_factor, email } = errorResponse.data;
20316
- const result = { mfaToken: mfa_token, factors, defaultFactor: default_factor, email };
20314
+ const { mfa_token: mfaToken, factors, default_factor: defaultFactor, email } = errorResponse.data;
20315
+ const result = { mfaToken, factors, defaultFactor, email };
20317
20316
  if (BrowserHelper.isOnBrowser()) {
20318
20317
  localStorage.setItem(MFA_DATA_STORAGE_KEY, JSON.stringify(result));
20319
20318
  }
@@ -39406,7 +39405,7 @@ const PageConfig = mod.object({
39406
39405
  });
39407
39406
 
39408
39407
  /*
39409
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
39408
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
39410
39409
  * This is licensed software from AccelByte Inc, for limitations
39411
39410
  * and restrictions contact your company contract manager.
39412
39411
  */