@meddleware/access-gate-ui 0.1.6 → 0.1.8
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 +3 -3
- package/src/App.vue +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meddleware/access-gate-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Operator console for creating and managing on-chain Sui access gates — create gates, configure settings, airdrop NFTs, and freeze gates via a wallet-connected SPA.",
|
|
5
5
|
"author": "Meddleware <dev@meddleware.co.uk>",
|
|
6
6
|
"license": "0BSD",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@meddleware/design-tokens": "^0.1.2",
|
|
41
|
-
"@meddleware/ui": "^0.1.
|
|
41
|
+
"@meddleware/ui": "^0.1.10",
|
|
42
42
|
"@meddleware/nft-gate-client": "^0.0.6",
|
|
43
43
|
"@meddleware/wallet-adapter": "^0.0.5",
|
|
44
|
-
"@mysten/sui": "^2.
|
|
44
|
+
"@mysten/sui": "^2.30.0",
|
|
45
45
|
"@mysten/wallet-standard": "^0.20.0",
|
|
46
46
|
"vue": "^3.5.40"
|
|
47
47
|
},
|
package/src/App.vue
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
// Standalone shell for the Access Gate SPA: app header + footer wrapping the core tool view.
|
|
3
3
|
// The core UI lives in AccessGateView.vue (also exported for inline embedding in the dashboard).
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
AppHeader, AppFooter, ColorModeControl, UiButton, CopyableAddress, ExplorerLink,
|
|
6
|
+
suiExplorerUrl, useColorMode,
|
|
7
|
+
} from '@meddleware/ui'
|
|
5
8
|
import { useWallet } from './wallet.js'
|
|
9
|
+
import { NETWORK } from './config.js'
|
|
6
10
|
import AccessGateView from './components/AccessGateView.vue'
|
|
7
11
|
|
|
8
12
|
const { mode, set } = useColorMode('dark')
|
|
@@ -22,7 +26,9 @@ async function onConnect(): Promise<void> {
|
|
|
22
26
|
</template>
|
|
23
27
|
<template #actions>
|
|
24
28
|
<template v-if="account">
|
|
25
|
-
<CopyableAddress :address="account.address"
|
|
29
|
+
<CopyableAddress :address="account.address">
|
|
30
|
+
<ExplorerLink :href="suiExplorerUrl('account', account.address, NETWORK)" :value="account.address" />
|
|
31
|
+
</CopyableAddress>
|
|
26
32
|
<UiButton variant="ghost" @click="disconnect">Disconnect</UiButton>
|
|
27
33
|
</template>
|
|
28
34
|
<template v-else>
|