@le-space/ui 0.4.5 → 0.6.0
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 +6 -6
- package/react/index.js +5 -5
- package/shared/index.d.ts +1 -1
- package/shared/index.js +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@le-space/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Floating Aleph sponsor relay UI components for Svelte and React.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|
|
40
|
-
"url": "https://github.com/NiKrause/
|
|
40
|
+
"url": "https://github.com/NiKrause/relay-button"
|
|
41
41
|
},
|
|
42
|
-
"homepage": "https://github.com/NiKrause/
|
|
42
|
+
"homepage": "https://github.com/NiKrause/relay-button",
|
|
43
43
|
"bugs": {
|
|
44
|
-
"url": "https://github.com/NiKrause/
|
|
44
|
+
"url": "https://github.com/NiKrause/relay-button/issues"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@le-space/browser": "0.
|
|
48
|
-
"@le-space/core": "0.
|
|
47
|
+
"@le-space/browser": "0.6.0",
|
|
48
|
+
"@le-space/core": "0.6.0",
|
|
49
49
|
"viem": "^2.38.5"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
package/react/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var RECENT_INSTANCE_RUNTIME_GRACE_MS = 10 * 60 * 1e3;
|
|
|
28
28
|
var DEPLOYMENT_PENDING_WARNING_MS = 3 * 60 * 1e3;
|
|
29
29
|
|
|
30
30
|
// src/shared/package-version.ts
|
|
31
|
-
var UI_PACKAGE_VERSION = "0.
|
|
31
|
+
var UI_PACKAGE_VERSION = "0.6.0";
|
|
32
32
|
|
|
33
33
|
// src/shared/format.ts
|
|
34
34
|
function shortHash(value, head = 8, tail = 6) {
|
|
@@ -1936,7 +1936,7 @@ function appendDeploymentTokenToSshPublicKey(sshPublicKey, ownerAddress, deploym
|
|
|
1936
1936
|
}
|
|
1937
1937
|
return `${algorithm} ${key} aleph-bootstrap-config:${owner}:${token}`;
|
|
1938
1938
|
}
|
|
1939
|
-
function createReleaseMetadata(name, rootfsVersion, deployer = "
|
|
1939
|
+
function createReleaseMetadata(name, rootfsVersion, deployer = "relay-button") {
|
|
1940
1940
|
return {
|
|
1941
1941
|
name,
|
|
1942
1942
|
rootfs_version: rootfsVersion,
|
|
@@ -3436,8 +3436,8 @@ async function resolveManifest(args) {
|
|
|
3436
3436
|
}
|
|
3437
3437
|
function relayProfileForManifest(manifest) {
|
|
3438
3438
|
if (manifest?.profile === "uc-go-peer") return "uc-go-peer";
|
|
3439
|
-
if (manifest?.profile === "orbitdb-relay
|
|
3440
|
-
return
|
|
3439
|
+
if (manifest?.profile === "orbitdb-relay") {
|
|
3440
|
+
return manifest.profile;
|
|
3441
3441
|
}
|
|
3442
3442
|
return null;
|
|
3443
3443
|
}
|
|
@@ -3704,7 +3704,7 @@ var SponsorRelayController = class {
|
|
|
3704
3704
|
throw new Error("Relay runtime did not expose the temporary setup endpoint.");
|
|
3705
3705
|
}
|
|
3706
3706
|
let bootstrapSignalRelayMetadata = null;
|
|
3707
|
-
if (profile === "orbitdb-relay
|
|
3707
|
+
if (profile === "orbitdb-relay") {
|
|
3708
3708
|
this.emitProgress({
|
|
3709
3709
|
stage: "deployment-confirmed",
|
|
3710
3710
|
label: "Configuring relay",
|
package/shared/index.d.ts
CHANGED
|
@@ -311,7 +311,7 @@ declare const STALE_INSTANCE_ALLOCATION_COOLDOWN_MS: number;
|
|
|
311
311
|
declare const RECENT_INSTANCE_RUNTIME_GRACE_MS: number;
|
|
312
312
|
declare const DEPLOYMENT_PENDING_WARNING_MS: number;
|
|
313
313
|
|
|
314
|
-
declare const UI_PACKAGE_VERSION = "0.
|
|
314
|
+
declare const UI_PACKAGE_VERSION = "0.6.0";
|
|
315
315
|
|
|
316
316
|
interface RootfsRequiredPortForward {
|
|
317
317
|
port: number;
|
package/shared/index.js
CHANGED
|
@@ -27,7 +27,7 @@ var RECENT_INSTANCE_RUNTIME_GRACE_MS = 10 * 60 * 1e3;
|
|
|
27
27
|
var DEPLOYMENT_PENDING_WARNING_MS = 3 * 60 * 1e3;
|
|
28
28
|
|
|
29
29
|
// src/shared/package-version.ts
|
|
30
|
-
var UI_PACKAGE_VERSION = "0.
|
|
30
|
+
var UI_PACKAGE_VERSION = "0.6.0";
|
|
31
31
|
|
|
32
32
|
// src/shared/format.ts
|
|
33
33
|
function shortHash(value, head = 8, tail = 6) {
|
|
@@ -1935,7 +1935,7 @@ function appendDeploymentTokenToSshPublicKey(sshPublicKey, ownerAddress, deploym
|
|
|
1935
1935
|
}
|
|
1936
1936
|
return `${algorithm} ${key} aleph-bootstrap-config:${owner}:${token}`;
|
|
1937
1937
|
}
|
|
1938
|
-
function createReleaseMetadata(name, rootfsVersion, deployer = "
|
|
1938
|
+
function createReleaseMetadata(name, rootfsVersion, deployer = "relay-button") {
|
|
1939
1939
|
return {
|
|
1940
1940
|
name,
|
|
1941
1941
|
rootfs_version: rootfsVersion,
|
|
@@ -3435,8 +3435,8 @@ async function resolveManifest(args) {
|
|
|
3435
3435
|
}
|
|
3436
3436
|
function relayProfileForManifest(manifest) {
|
|
3437
3437
|
if (manifest?.profile === "uc-go-peer") return "uc-go-peer";
|
|
3438
|
-
if (manifest?.profile === "orbitdb-relay
|
|
3439
|
-
return
|
|
3438
|
+
if (manifest?.profile === "orbitdb-relay") {
|
|
3439
|
+
return manifest.profile;
|
|
3440
3440
|
}
|
|
3441
3441
|
return null;
|
|
3442
3442
|
}
|
|
@@ -3703,7 +3703,7 @@ var SponsorRelayController = class {
|
|
|
3703
3703
|
throw new Error("Relay runtime did not expose the temporary setup endpoint.");
|
|
3704
3704
|
}
|
|
3705
3705
|
let bootstrapSignalRelayMetadata = null;
|
|
3706
|
-
if (profile === "orbitdb-relay
|
|
3706
|
+
if (profile === "orbitdb-relay") {
|
|
3707
3707
|
this.emitProgress({
|
|
3708
3708
|
stage: "deployment-confirmed",
|
|
3709
3709
|
label: "Configuring relay",
|