@vue-storefront/multistore@4.1.0
·
41 commits
to main
since this release
Minor Changes
- [ADDED] Support for asynchronous
fetchConfiguration()
and cacheManagerFactory'sget()
/set()
methods.
import { createMultistoreExtension } from "@vue-storefront/multistore";
export const multistoreExtension = createMultistoreExtension({
- fetchConfiguration: () => ({
+ fetchConfiguration: async () => ({ ... }),
mergeConfigurations: () => ({ ... }),
cacheManagerFactory: () => ({
- get(key) { ... },
+ async get(key) { ... },
- set(key, value) { ... },
+ async set(key, value) { ... },
}),
});