@jetthai/cuora 1.1.226 → 1.1.228
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 +4 -0
- package/package.json +1 -1
- package/src/machine/common.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.1.228](https://github.com/jetthai/cuora-module/compare/v1.1.227...v1.1.228) (2024-02-26)
|
|
6
|
+
|
|
7
|
+
### [1.1.227](https://github.com/jetthai/cuora-module/compare/v1.1.226...v1.1.227) (2024-02-26)
|
|
8
|
+
|
|
5
9
|
### [1.1.226](https://github.com/jetthai/cuora-module/compare/v1.1.225...v1.1.226) (2024-02-26)
|
|
6
10
|
|
|
7
11
|
### [1.1.225](https://github.com/jetthai/cuora-module/compare/v1.1.221-layout-1...v1.1.225) (2024-02-07)
|
package/package.json
CHANGED
package/src/machine/common.js
CHANGED
|
@@ -176,6 +176,7 @@ export default function (request) {
|
|
|
176
176
|
})
|
|
177
177
|
.join('')
|
|
178
178
|
)
|
|
179
|
+
layoutConfigDecoded = JSON.parse(JSON.stringify(layoutConfigDecoded))
|
|
179
180
|
}
|
|
180
181
|
return {
|
|
181
182
|
siteConfig: { ...siteConfig, loginMethods: pickBy(loginMethods), registerMethods: pickBy(registerMethods) },
|
|
@@ -285,7 +286,7 @@ export default function (request) {
|
|
|
285
286
|
services: {
|
|
286
287
|
fetchConfig: async (context, event) => {
|
|
287
288
|
const [site, layout] = await Promise.all([request.send(api.getConfig({ appSecret })), request.send(api.getLayoutConfig({ appSecret }))])
|
|
288
|
-
return { siteConfig: JSON.parse(window.atob(site.config)), layoutConfig:
|
|
289
|
+
return { siteConfig: JSON.parse(window.atob(site.config)), layoutConfig: layout.config }
|
|
289
290
|
},
|
|
290
291
|
fetchFeeds: async (context, event) => {
|
|
291
292
|
return await request.send(api.feeds({ appSecret }))
|