@le-space/ui 0.5.2 → 0.6.1

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": "@le-space/ui",
3
- "version": "0.5.2",
3
+ "version": "0.6.1",
4
4
  "description": "Floating Aleph sponsor relay UI components for Svelte and React.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -44,8 +44,8 @@
44
44
  "url": "https://github.com/NiKrause/relay-button/issues"
45
45
  },
46
46
  "dependencies": {
47
- "@le-space/browser": "0.5.2",
48
- "@le-space/core": "0.5.2",
47
+ "@le-space/browser": "0.6.1",
48
+ "@le-space/core": "0.6.1",
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.5.2";
31
+ var UI_PACKAGE_VERSION = "0.6.1";
32
32
 
33
33
  // src/shared/format.ts
34
34
  function shortHash(value, head = 8, tail = 6) {
@@ -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-pinner") {
3440
- return "orbitdb-relay-pinner";
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-pinner") {
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.5.2";
314
+ declare const UI_PACKAGE_VERSION = "0.6.1";
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.5.2";
30
+ var UI_PACKAGE_VERSION = "0.6.1";
31
31
 
32
32
  // src/shared/format.ts
33
33
  function shortHash(value, head = 8, tail = 6) {
@@ -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-pinner") {
3439
- return "orbitdb-relay-pinner";
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-pinner") {
3706
+ if (profile === "orbitdb-relay") {
3707
3707
  this.emitProgress({
3708
3708
  stage: "deployment-confirmed",
3709
3709
  label: "Configuring relay",