@meddleware/dashboard 0.1.4 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meddleware/dashboard",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "description": "Meddleware tools hub — Vue 3 SPA listing hosted services (Walrus, Access Gate) with white-label deploy options.",
5
5
  "author": "Meddleware <dev@meddleware.co.uk>",
6
6
  "license": "0BSD",
@@ -26,16 +26,18 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
+ "@meddleware/access-gate-ui": "^0.1.3",
29
30
  "@meddleware/design-tokens": "^0.1.2",
31
+ "@meddleware/seal-ui": "^0.0.3",
30
32
  "@meddleware/ui": "^0.1.6",
31
- "@meddleware/wallet-adapter": "^0.0.1",
32
- "@meddleware/walrus-ui": "^0.1.4",
33
+ "@meddleware/wallet-adapter": "^0.0.2",
34
+ "@meddleware/walrus-ui": "^0.1.5",
33
35
  "pinia": "^4.0.2",
34
36
  "vue": "^3.5.40",
35
37
  "vue-router": "^5.2.0"
36
38
  },
37
39
  "overrides": {
38
- "@mysten/sui": "2.17.0"
40
+ "@mysten/sui": "2.28.0"
39
41
  },
40
42
  "devDependencies": {
41
43
  "@types/node": "~24.12.2",
@@ -1,10 +1,10 @@
1
1
  import { createRouter, createWebHistory } from 'vue-router'
2
2
  import Home from '../views/Home.vue'
3
- import ToolPage from '../views/ToolPage.vue'
4
3
 
5
- // Walrus renders inline via the component exported from @meddleware/walrus-ui (no iframe).
6
- // It shares the dashboard's wallet connection through the @meddleware/wallet-adapter singleton.
7
- // Access Gate and Sealed Storage remain on the interim iframe path until their phases land.
4
+ // Every tool renders inline via the view component exported from its own package
5
+ // (@meddleware/walrus-ui, @meddleware/access-gate-ui, @meddleware/seal-ui) — no iframes. They
6
+ // share the dashboard's wallet connection through the @meddleware/wallet-adapter singleton, and
7
+ // each route is lazy so a tool's deps (incl. the Walrus wasm) load only on navigation.
8
8
  const router = createRouter({
9
9
  history: createWebHistory(import.meta.env.BASE_URL),
10
10
  routes: [
@@ -13,8 +13,14 @@ const router = createRouter({
13
13
  path: '/walrus',
14
14
  component: () => import('@meddleware/walrus-ui').then((m) => m.WalrusView),
15
15
  },
16
- { path: '/access-gate', component: ToolPage, props: { src: 'https://sui-access-gate.meddleware.co.uk/?embedded=1', title: 'Access Gate' } },
17
- { path: '/sealed-storage', component: ToolPage, props: { src: 'https://sui-seal.meddleware.co.uk/?embedded=1', title: 'Sealed Storage' } },
16
+ {
17
+ path: '/access-gate',
18
+ component: () => import('@meddleware/access-gate-ui').then((m) => m.AccessGateView),
19
+ },
20
+ {
21
+ path: '/sealed-storage',
22
+ component: () => import('@meddleware/seal-ui').then((m) => m.SealView),
23
+ },
18
24
  ],
19
25
  })
20
26
 
@@ -1,21 +0,0 @@
1
- <script setup lang="ts">
2
- defineProps<{ src: string; title: string }>()
3
- </script>
4
-
5
- <template>
6
- <iframe
7
- :src="src"
8
- :title="title"
9
- class="tool-frame"
10
- allow="camera; clipboard-read; clipboard-write"
11
- />
12
- </template>
13
-
14
- <style scoped>
15
- .tool-frame {
16
- display: block;
17
- width: 100%;
18
- height: 100%;
19
- border: none;
20
- }
21
- </style>
@@ -1,9 +0,0 @@
1
- <script setup lang="ts">
2
- import ToolFrame from '../components/ToolFrame.vue'
3
-
4
- defineProps<{ src: string; title: string }>()
5
- </script>
6
-
7
- <template>
8
- <ToolFrame :src="src" :title="title" />
9
- </template>