@meddleware/token-deployer-ui 0.0.12 → 0.0.15
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,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meddleware/token-deployer-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "0BSD",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/meddleware-org/token-deployer-ui.git"
|
|
9
|
+
},
|
|
6
10
|
"exports": {
|
|
7
11
|
".": {
|
|
8
12
|
"default": "./src/index.ts"
|
|
@@ -50,7 +54,7 @@
|
|
|
50
54
|
"@meddleware/design-tokens": "^0.1.7",
|
|
51
55
|
"@meddleware/ui": "^0.1.28",
|
|
52
56
|
"@meddleware/walrus-client": "^0.0.21",
|
|
53
|
-
"@meddleware/walrus-relay": "^0.1.
|
|
57
|
+
"@meddleware/walrus-relay": "^0.1.21",
|
|
54
58
|
"@mysten/bcs": "~2.1.2",
|
|
55
59
|
"@mysten/move-bytecode-template": "~0.4.1",
|
|
56
60
|
"@mysten/sui": "^2.33.1",
|
|
@@ -38,6 +38,7 @@ const accessGate = useAccessGate({ gate: ACCESS_GATE[walrusNet], getClient: () =
|
|
|
38
38
|
const {
|
|
39
39
|
selectedRelayHost,
|
|
40
40
|
availableRelays,
|
|
41
|
+
relayPending,
|
|
41
42
|
purchaseAccessAvailable,
|
|
42
43
|
estimatedCost,
|
|
43
44
|
fileSizeBytes,
|
|
@@ -255,7 +256,14 @@ function onBrowseSelect(url: string): void {
|
|
|
255
256
|
class="icon-file"
|
|
256
257
|
@change="onFile"
|
|
257
258
|
/>
|
|
258
|
-
|
|
259
|
+
<!-- No relay is offered while the operator relay's health or pass check is pending, or
|
|
260
|
+
while a gated relay is up and this wallet has no pass: upload is blocked then
|
|
261
|
+
(walrus-relay useWalrusRelay policy). -->
|
|
262
|
+
<button
|
|
263
|
+
type="button"
|
|
264
|
+
:disabled="uploading || !connected || !fileName || availableRelays.length === 0"
|
|
265
|
+
@click="upload"
|
|
266
|
+
>
|
|
259
267
|
<span v-if="uploading" class="spinner" aria-hidden="true"></span>
|
|
260
268
|
Upload to Walrus
|
|
261
269
|
</button>
|
|
@@ -300,11 +308,14 @@ function onBrowseSelect(url: string): void {
|
|
|
300
308
|
<strong>Estimated cost:</strong> {{ estimatedCost.label }}
|
|
301
309
|
</UiNotice>
|
|
302
310
|
|
|
303
|
-
|
|
304
|
-
|
|
311
|
+
<p v-if="fileName && connected && relayPending" class="hint icon-notice" role="status">
|
|
312
|
+
Checking the upload relay…
|
|
313
|
+
</p>
|
|
314
|
+
|
|
315
|
+
<!-- NFT-gated relay: the operator relay is live but this wallet lacks the access pass. While
|
|
316
|
+
the operator relay is up it is the only relay offered, so uploading needs a pass. -->
|
|
305
317
|
<UiNotice v-if="fileName && purchaseAccessAvailable" class="icon-notice">
|
|
306
|
-
|
|
307
|
-
access to support this app’s relay.
|
|
318
|
+
Uploading through this app’s relay requires an access pass.
|
|
308
319
|
<button
|
|
309
320
|
type="button"
|
|
310
321
|
class="icon-notice__cta"
|