@meddleware/walrus-ui 0.1.51 → 0.1.52

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/walrus-ui",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "homepage": "https://docs.meddleware.co.uk/blockchain/sui/walrus-storage/",
5
5
  "description": "Standalone Vue 3 SPA for uploading blobs to Walrus decentralised storage and managing owned blobs — wallet-connected, NFT-gated relay support.",
6
6
  "author": "Meddleware <dev@meddleware.co.uk>",
@@ -47,9 +47,9 @@
47
47
  "dependencies": {
48
48
  "@meddleware/design-tokens": "^0.1.8",
49
49
  "@meddleware/ui": "^0.1.30",
50
- "@meddleware/walrus-client": "^0.0.25",
51
- "@meddleware/walrus-relay": "^0.1.26",
52
- "@mysten/sui": "^2.33.1",
50
+ "@meddleware/walrus-client": "^0.0.26",
51
+ "@meddleware/walrus-relay": "^0.1.28",
52
+ "@mysten/sui": "^2.33.2",
53
53
  "@mysten/wallet-standard": "^0.21.0",
54
54
  "@mysten/walrus": "~1.2.32",
55
55
  "@mysten/walrus-wasm": "~0.3.1",
@@ -59,7 +59,8 @@
59
59
  "@meddleware/wallet-adapter": ">=0.0.12 <0.2.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@meddleware/access-gate-client": "^0.0.4",
62
+ "@meddleware/access-gate-client": "^0.0.6",
63
+ "@meddleware/eslint-config": "^0.0.1",
63
64
  "@meddleware/wallet-adapter": "^0.0.13",
64
65
  "@playwright/test": "~1.63.0",
65
66
  "@types/node": "~24.12.2",
@@ -4,6 +4,7 @@
4
4
  // from the shared @meddleware/wallet-adapter singleton (via ./wallet.js), so connecting here or
5
5
  // in any other inline tool view reflects everywhere.
6
6
  import { computed, ref, watch } from 'vue'
7
+ import { normalizeSuiAddress } from '@mysten/sui/utils'
7
8
  import {
8
9
  WalrusUpload,
9
10
  AccessGateCta,
@@ -110,8 +111,11 @@ async function performUpload(
110
111
  key: consumeStorageKey(net, gate.gateId, address),
111
112
  relayHost: opts.relayHost,
112
113
  address,
114
+ // Signed into every access proof with the relay's origin: a proof made here works nowhere else.
115
+ gateId: normalizeSuiAddress(gate.gateId),
116
+ network: net,
113
117
  nftId,
114
- singleUse: state.usesRemaining.value !== null,
118
+ singleUse: state.singleUse.value,
115
119
  buildConsume: (id, nonce) => state.buildConsume(id, nonce),
116
120
  signAndExecute: (tx) => executor.signAndExecute(tx),
117
121
  waitForTransaction: (digest) => executor.waitForTransaction(digest),