@dev.smartpricing/platform-layer 0.0.9 → 0.0.10

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.
@@ -37,8 +37,8 @@ export function useProductSwitcher() {
37
37
  const { data: permissions, status } = usePermissionsQuery()
38
38
  const config = useRuntimeConfig().public
39
39
 
40
- const productUrls: Record<string, string> = {
41
- config: config.PLATFORM_APP_URL,
40
+ const productUrls: Record<SuiteProduct, string> = {
41
+ administration: config.PLATFORM_APP_URL,
42
42
  pricing: config.PRICING_APP_URL,
43
43
  connect: config.CONNECT_APP_URL,
44
44
  chat: config.CHAT_APP_URL,
@@ -62,7 +62,7 @@ export function useProductSwitcher() {
62
62
 
63
63
  /** Products the user can fully enter (subscribed + enabled). */
64
64
  const enabledProducts = computed<SuiteProduct[]>(() => {
65
- const enabled: SuiteProduct[] = ['config' as SuiteProduct]
65
+ const enabled: SuiteProduct[] = ['administration']
66
66
 
67
67
  for (const [suite, state] of productStates.value) {
68
68
  if (state === 'accessible') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev.smartpricing/platform-layer",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./nuxt.config.ts",