@jetthai/cuora 1.1.226 → 1.1.227
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 +2 -0
- package/package.json +1 -1
- package/src/machine/common.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.227](https://github.com/jetthai/cuora-module/compare/v1.1.226...v1.1.227) (2024-02-26)
|
|
6
|
+
|
|
5
7
|
### [1.1.226](https://github.com/jetthai/cuora-module/compare/v1.1.225...v1.1.226) (2024-02-26)
|
|
6
8
|
|
|
7
9
|
### [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
|
@@ -285,7 +285,7 @@ export default function (request) {
|
|
|
285
285
|
services: {
|
|
286
286
|
fetchConfig: async (context, event) => {
|
|
287
287
|
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:
|
|
288
|
+
return { siteConfig: JSON.parse(window.atob(site.config)), layoutConfig: layout.config }
|
|
289
289
|
},
|
|
290
290
|
fetchFeeds: async (context, event) => {
|
|
291
291
|
return await request.send(api.feeds({ appSecret }))
|