@le-space/ui 0.1.61 → 0.1.62
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 +1 -1
- package/react/index.js +746 -4
- package/shared/index.d.ts +13 -5
- package/shared/index.js +739 -3
- package/svelte/SponsorRelayFab.svelte +6 -1
package/shared/index.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ interface InstanceExecution {
|
|
|
134
134
|
networking: InstanceExecutionNetworking;
|
|
135
135
|
status?: InstanceExecutionStatus | null;
|
|
136
136
|
}
|
|
137
|
-
interface RootfsRequiredPortForward {
|
|
137
|
+
interface RootfsRequiredPortForward$1 {
|
|
138
138
|
port: number;
|
|
139
139
|
tcp?: boolean;
|
|
140
140
|
udp?: boolean;
|
|
@@ -146,7 +146,7 @@ interface RootfsManifest {
|
|
|
146
146
|
rootfsInstallStrategy?: 'thin' | 'prebaked' | string;
|
|
147
147
|
requiresBootstrapNetwork?: boolean;
|
|
148
148
|
bootstrapSummary?: string;
|
|
149
|
-
requiredPortForwards?: RootfsRequiredPortForward[];
|
|
149
|
+
requiredPortForwards?: RootfsRequiredPortForward$1[];
|
|
150
150
|
rootfsItemHash: string;
|
|
151
151
|
rootfsSizeMiB: number;
|
|
152
152
|
rootfsSourceSizeBytes?: number;
|
|
@@ -300,11 +300,19 @@ declare const STALE_INSTANCE_ALLOCATION_COOLDOWN_MS: number;
|
|
|
300
300
|
declare const RECENT_INSTANCE_RUNTIME_GRACE_MS: number;
|
|
301
301
|
declare const DEPLOYMENT_PENDING_WARNING_MS: number;
|
|
302
302
|
|
|
303
|
+
interface RootfsRequiredPortForward {
|
|
304
|
+
port: number;
|
|
305
|
+
tcp?: boolean;
|
|
306
|
+
udp?: boolean;
|
|
307
|
+
purpose?: string;
|
|
308
|
+
}
|
|
309
|
+
|
|
303
310
|
declare function shortHash(value: string | null | undefined, head?: number, tail?: number): string;
|
|
304
311
|
declare function formatNumber(value: number | null | undefined, digits?: number): string;
|
|
305
312
|
declare function formatDateTime(value: string | number | null | undefined): string;
|
|
306
|
-
declare function buildSshCommand(hostIpv4: string | null, mappedPorts: CompactInstanceRecord[
|
|
307
|
-
declare function joinMappedPorts(mappedPorts: CompactInstanceRecord[
|
|
313
|
+
declare function buildSshCommand(hostIpv4: string | null, mappedPorts: CompactInstanceRecord["details"]["mappedPorts"]): string | null;
|
|
314
|
+
declare function joinMappedPorts(mappedPorts: CompactInstanceRecord["details"]["mappedPorts"]): string;
|
|
315
|
+
declare function joinRequiredPortForwards(portForwards: ReadonlyArray<RootfsRequiredPortForward> | null | undefined): string;
|
|
308
316
|
|
|
309
317
|
declare function resolveManifestSource(args: {
|
|
310
318
|
manifestJson: string;
|
|
@@ -372,4 +380,4 @@ interface DeploymentProgressEmitter {
|
|
|
372
380
|
}
|
|
373
381
|
declare function createDeploymentProgressEmitter(): DeploymentProgressEmitter;
|
|
374
382
|
|
|
375
|
-
export { type CompactInstanceDetails, type CompactInstanceRecord, DEFAULT_INSTANCE_NAME, DEFAULT_MANIFEST_URL, DEFAULT_TIER_ID, DEPLOYMENT_PENDING_WARNING_MS, type DeploymentProgressEmitter, type EthereumProviderLike, IDLE_DEPLOYMENT_PROGRESS, INSTANCE_RUNTIME_PENDING_REFRESH_MS, INSTANCE_RUNTIME_READY_REFRESH_MS, INSTANCE_RUNTIME_STALE_REFRESH_MS, RECENT_INSTANCE_RUNTIME_GRACE_MS, REFRESH_INTERVAL_MS, RELAY_PING_IDLE_STATE, RELAY_PING_INTERVAL_MS, ROOTFS_MISSING_STATE, type RelayPingState, STALE_INSTANCE_ALLOCATION_COOLDOWN_MS, SponsorRelayController, type SponsorRelayHealthTone, type SponsorRelayPricingSummary, type SponsorRelayProps, type SponsorRelayRootfsHealth, type SponsorRelayState, type SponsorRelaySubscriber, type SponsorRelayWalletState, buildSshCommand, connectWallet, createDeploymentProgressEmitter, createSponsorRelayController, formatDateTime, formatNumber, getEthereumProvider, joinMappedPorts, personalSign, resolveManifestSource, shortHash, toChecksumAddress, watchWallet };
|
|
383
|
+
export { type CompactInstanceDetails, type CompactInstanceRecord, DEFAULT_INSTANCE_NAME, DEFAULT_MANIFEST_URL, DEFAULT_TIER_ID, DEPLOYMENT_PENDING_WARNING_MS, type DeploymentProgressEmitter, type EthereumProviderLike, IDLE_DEPLOYMENT_PROGRESS, INSTANCE_RUNTIME_PENDING_REFRESH_MS, INSTANCE_RUNTIME_READY_REFRESH_MS, INSTANCE_RUNTIME_STALE_REFRESH_MS, RECENT_INSTANCE_RUNTIME_GRACE_MS, REFRESH_INTERVAL_MS, RELAY_PING_IDLE_STATE, RELAY_PING_INTERVAL_MS, ROOTFS_MISSING_STATE, type RelayPingState, STALE_INSTANCE_ALLOCATION_COOLDOWN_MS, SponsorRelayController, type SponsorRelayHealthTone, type SponsorRelayPricingSummary, type SponsorRelayProps, type SponsorRelayRootfsHealth, type SponsorRelayState, type SponsorRelaySubscriber, type SponsorRelayWalletState, buildSshCommand, connectWallet, createDeploymentProgressEmitter, createSponsorRelayController, formatDateTime, formatNumber, getEthereumProvider, joinMappedPorts, joinRequiredPortForwards, personalSign, resolveManifestSource, shortHash, toChecksumAddress, watchWallet };
|