@meddleware/dao-ui 0.1.20 → 0.1.21
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/README.md +3 -2
- package/package.json +3 -3
- package/src/config.ts +2 -2
- package/vite.config.ts +5 -0
package/README.md
CHANGED
|
@@ -4,8 +4,9 @@ The **Meddleware DAO console** — a standalone Vue 3 SPA (and embeddable librar
|
|
|
4
4
|
platform's on-chain state on Sui: treasury balance, commission policy, the community access gates the
|
|
5
5
|
treasury controls, and a live feed of access-gate activity.
|
|
6
6
|
|
|
7
|
-
Deployed at `sui-dao.meddleware.co.uk
|
|
8
|
-
(`
|
|
7
|
+
Deployed at `sui-dao.meddleware.co.uk`. It will also be embedded inline in the tools hub
|
|
8
|
+
(`dash.meddleware.co.uk`) once governance is available; until then the hub shows the read-only
|
|
9
|
+
Treasury console (`@meddleware/treasury-ui`) in its place.
|
|
9
10
|
|
|
10
11
|
## What it shows
|
|
11
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meddleware/dao-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"homepage": "https://docs.meddleware.co.uk/blockchain/sui/dao/",
|
|
5
5
|
"description": "Meddleware DAO console — treasury overview, proposals, and governance on Sui.",
|
|
6
6
|
"author": "Meddleware <dev@meddleware.co.uk>",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@meddleware/design-tokens": "^0.1.7",
|
|
48
48
|
"@meddleware/ui": "^0.1.28",
|
|
49
|
-
"@meddleware/wallet-adapter": "^0.0.
|
|
50
|
-
"@mysten/sui": "^2.
|
|
49
|
+
"@meddleware/wallet-adapter": "^0.0.10",
|
|
50
|
+
"@mysten/sui": "^2.33.1",
|
|
51
51
|
"vue": "^3.5.43"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
package/src/config.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const RPC_URLS: Record<Network, string> = {
|
|
|
14
14
|
export const ACCESS_GATE_PACKAGE_ID: Record<Network, string> = {
|
|
15
15
|
testnet:
|
|
16
16
|
import.meta.env.VITE_ACCESS_GATE_PACKAGE_ID_TESTNET ||
|
|
17
|
-
'
|
|
17
|
+
'0x1a81ca177db039585e575beeeee4759466e55910e936a6733e38dbb65025eea4',
|
|
18
18
|
mainnet: import.meta.env.VITE_ACCESS_GATE_PACKAGE_ID_MAINNET || '',
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ export const ACCESS_GATE_PACKAGE_ID: Record<Network, string> = {
|
|
|
22
22
|
export const PLATFORM_CONFIG_ID: Record<Network, string> = {
|
|
23
23
|
testnet:
|
|
24
24
|
import.meta.env.VITE_PLATFORM_CONFIG_ID_TESTNET ||
|
|
25
|
-
'
|
|
25
|
+
'0xe3b949cabe9a0574c03dfc924fb3f96e6f959f2bb86d053ed6229a241c3a23f7',
|
|
26
26
|
mainnet: import.meta.env.VITE_PLATFORM_CONFIG_ID_MAINNET || '',
|
|
27
27
|
}
|
|
28
28
|
|
package/vite.config.ts
CHANGED
|
@@ -3,4 +3,9 @@ import vue from '@vitejs/plugin-vue'
|
|
|
3
3
|
|
|
4
4
|
export default defineConfig({
|
|
5
5
|
plugins: [vue()],
|
|
6
|
+
optimizeDeps: {
|
|
7
|
+
// @meddleware/wallet-adapter ships TS + .vue source and holds the shared wallet singleton; if it
|
|
8
|
+
// were pre-bundled, its .vue files (served raw) would load a second copy of the singleton in dev.
|
|
9
|
+
exclude: ['@meddleware/wallet-adapter'],
|
|
10
|
+
},
|
|
6
11
|
})
|