@le-space/ui 0.3.0 → 0.3.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 +3 -3
- package/react/index.d.ts +4 -0
- package/react/index.js +467 -37
- package/shared/index.d.ts +7 -1
- package/shared/index.js +386 -9
- package/svelte/SponsorRelayFab.svelte +65 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@le-space/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.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.3.
|
|
40
|
-
"@le-space/core": "0.3.
|
|
39
|
+
"@le-space/browser": "0.3.2",
|
|
40
|
+
"@le-space/core": "0.3.2",
|
|
41
41
|
"viem": "^2.38.5"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
package/react/index.d.ts
CHANGED
|
@@ -262,6 +262,7 @@ interface SponsorRelayState {
|
|
|
262
262
|
sshPublicKey: string;
|
|
263
263
|
instanceName: string;
|
|
264
264
|
tierId: string;
|
|
265
|
+
showAdvanced: boolean;
|
|
265
266
|
showInstances: boolean;
|
|
266
267
|
showPasteManifest: boolean;
|
|
267
268
|
busy: {
|
|
@@ -294,6 +295,7 @@ declare class SponsorRelayController {
|
|
|
294
295
|
private client;
|
|
295
296
|
private refreshTimer;
|
|
296
297
|
private pingTimer;
|
|
298
|
+
private manifestRefreshTimer;
|
|
297
299
|
private stopWalletWatch;
|
|
298
300
|
private props;
|
|
299
301
|
private progressEmitter;
|
|
@@ -322,11 +324,13 @@ declare class SponsorRelayController {
|
|
|
322
324
|
toggleOpen(): void;
|
|
323
325
|
setManifestUrl(manifestUrl: string): void;
|
|
324
326
|
setManifestJson(manifestJson: string): void;
|
|
327
|
+
setShowAdvanced(showAdvanced: boolean): void;
|
|
325
328
|
setShowPasteManifest(showPasteManifest: boolean): void;
|
|
326
329
|
setSshPublicKey(sshPublicKey: string): void;
|
|
327
330
|
setInstanceName(instanceName: string): void;
|
|
328
331
|
setTierId(tierId: string): void;
|
|
329
332
|
private recomputePricingSummary;
|
|
333
|
+
private queueManifestRefresh;
|
|
330
334
|
connectWallet(): Promise<void>;
|
|
331
335
|
private refreshWalletDerivedState;
|
|
332
336
|
refresh(): Promise<void>;
|