@accelbyte/sdk 0.1.1-alpha.46 → 0.1.1-alpha.48
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 +8 -0
- package/dist/index.browser.es.js +4 -1
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.es.js +4 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +13 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
### 0.1.1-alpha.48 - 2022-12-27
|
|
2
|
+
|
|
3
|
+
- Fix user is unable to activate 2fa with email due to missing `content-type: application/x-www-form-urlencoded`
|
|
4
|
+
|
|
5
|
+
### 0.1.1-alpha.47 - 2022-12-22
|
|
6
|
+
|
|
7
|
+
- Fix wrong fields in package.json being deleted
|
|
8
|
+
|
|
1
9
|
### 0.1.1-alpha.46 - 2022-12-22
|
|
2
10
|
|
|
3
11
|
- Make dependencies exist in SDK when publishing
|
package/dist/index.browser.es.js
CHANGED
|
@@ -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, {
|
|
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
|
/**
|