@le-space/ui 0.4.0 → 0.4.2

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.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Floating Aleph sponsor relay UI components for Svelte and React.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,8 +36,8 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@le-space/browser": "0.4.0",
40
- "@le-space/core": "0.4.0",
39
+ "@le-space/browser": "0.4.2",
40
+ "@le-space/core": "0.4.2",
41
41
  "viem": "^2.38.5"
42
42
  },
43
43
  "peerDependencies": {
package/react/index.d.ts CHANGED
@@ -189,7 +189,6 @@ type DeploymentProgressListener = (event: DeploymentProgressEvent) => void;
189
189
 
190
190
  type SponsorRelayHealthTone = 'ok' | 'caution' | 'error' | 'idle';
191
191
  interface SponsorRelayProps {
192
- libp2p?: unknown;
193
192
  debug?: boolean;
194
193
  manifestUrl?: string;
195
194
  manifestJson?: string;
@@ -224,16 +223,6 @@ interface SponsorRelayRootfsHealth {
224
223
  label: string;
225
224
  detail: string | null;
226
225
  }
227
- interface RelayPingState {
228
- tone: SponsorRelayHealthTone;
229
- sent: boolean;
230
- received: boolean;
231
- lastPeerId: string | null;
232
- lastLatencyMs: number | null;
233
- lastSentAt: number | null;
234
- lastReceivedAt: number | null;
235
- error: string | null;
236
- }
237
226
  interface CompactInstanceDetails {
238
227
  messageStatus: string;
239
228
  allocationSource: string | null;
@@ -303,7 +292,6 @@ interface SponsorRelayState {
303
292
  instances: CompactInstanceRecord[];
304
293
  bootstrapRegistrations: CompactBootstrapRegistrationRecord[];
305
294
  orphanBootstrapRegistrations: CompactBootstrapRegistrationRecord[];
306
- relayPing: RelayPingState;
307
295
  lastDeploymentHash: string | null;
308
296
  deploymentProgress: DeploymentProgressEvent;
309
297
  }
@@ -314,7 +302,6 @@ declare class SponsorRelayController {
314
302
  private subscribers;
315
303
  private client;
316
304
  private refreshTimer;
317
- private pingTimer;
318
305
  private manifestRefreshTimer;
319
306
  private stopWalletWatch;
320
307
  private props;
@@ -354,7 +341,6 @@ declare class SponsorRelayController {
354
341
  connectWallet(): Promise<void>;
355
342
  private refreshWalletDerivedState;
356
343
  refresh(): Promise<void>;
357
- refreshRelayPing(): Promise<void>;
358
344
  deploy(): Promise<void>;
359
345
  deleteInstance(instanceHash: string): Promise<void>;
360
346
  deleteBootstrapRegistration(registrationHash: string): Promise<void>;