@accelbyte/sdk 0.1.1-alpha.47 → 0.1.1-alpha.50

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ### 0.1.1-alpha.50 - 2023-01-04
2
+
3
+ - Fix build error
4
+
5
+ ### 0.1.1-alpha.49 - 2023-01-03
6
+
7
+ - Update dependency versions
8
+
9
+ ### 0.1.1-alpha.48 - 2022-12-27
10
+
11
+ - Fix user is unable to activate 2fa with email due to missing `content-type: application/x-www-form-urlencoded`
12
+
1
13
  ### 0.1.1-alpha.47 - 2022-12-22
2
14
 
3
15
  - Fix wrong fields in package.json being deleted
@@ -6684,7 +6684,7 @@ const RetrieveLatestDlcResponseArray = mod.array(RetrieveLatestDlcResponse);
6684
6684
  * This is licensed software from AccelByte Inc, for limitations
6685
6685
  * and restrictions contact your company contract manager.
6686
6686
  */
6687
- class Dlc$$1 {
6687
+ let Dlc$$1 = class Dlc$ {
6688
6688
  // @ts-ignore
6689
6689
  constructor(axiosInstance, namespace, cache = false) {
6690
6690
  this.axiosInstance = axiosInstance;
@@ -6755,7 +6755,7 @@ class Dlc$$1 {
6755
6755
  const cacheKey = url + CodeGenUtil.hashCode(JSON.stringify({ params }));
6756
6756
  return SdkCache.withCache(cacheKey, res);
6757
6757
  }
6758
- }
6758
+ };
6759
6759
 
6760
6760
  class DlcApi {
6761
6761
  /**
@@ -8559,7 +8559,7 @@ var _nodeResolve_empty = {};
8559
8559
 
8560
8560
  var _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
8561
8561
  __proto__: null,
8562
- 'default': _nodeResolve_empty
8562
+ default: _nodeResolve_empty
8563
8563
  });
8564
8564
 
8565
8565
  var require$$0 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
@@ -17928,7 +17928,10 @@ class UsersV4$ {
17928
17928
  postV4UsersMeMfaEmailEnable(data) {
17929
17929
  const params = {};
17930
17930
  const url = '/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable'.replace('{namespace}', this.namespace);
17931
- const resultPromise = this.axiosInstance.post(url, data, { params });
17931
+ const resultPromise = this.axiosInstance.post(url, CodeGenUtil.getFormUrlEncodedData(data), {
17932
+ ...params,
17933
+ headers: { ...params.headers, 'content-type': 'application/x-www-form-urlencoded' }
17934
+ });
17932
17935
  return Validate.responseType(() => resultPromise, mod.unknown());
17933
17936
  }
17934
17937
  /**