@ffaerber/swarm-connect 0.2.0 → 0.3.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.
@@ -0,0 +1,8 @@
1
+ interface StepLabelProps {
2
+ step: number;
3
+ done?: boolean;
4
+ children: string;
5
+ }
6
+ /** Numbered section heading that signals the setup sequence (1 → 2 → 3). */
7
+ export declare function StepLabel({ step, done, children }: StepLabelProps): import("react").JSX.Element;
8
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { BeeNodeStatus, PostageStampsState } from '../../types';
2
- interface SwarmTabProps {
2
+ interface SwarmSectionProps {
3
3
  beeApiUrl: string;
4
4
  setBeeApiUrl: (url: string) => void;
5
5
  beeNode: BeeNodeStatus & {
@@ -7,5 +7,5 @@ interface SwarmTabProps {
7
7
  };
8
8
  stamps: PostageStampsState;
9
9
  }
10
- export declare function SwarmTab({ beeApiUrl, setBeeApiUrl, beeNode, stamps }: SwarmTabProps): import("react").JSX.Element;
10
+ export declare function SwarmSection({ beeApiUrl, setBeeApiUrl, beeNode, stamps }: SwarmSectionProps): import("react").JSX.Element;
11
11
  export {};
@@ -1 +1,3 @@
1
- export declare function WalletTab(): import("react").JSX.Element;
1
+ export declare function WalletSection({ swarmReady }: {
2
+ swarmReady: boolean;
3
+ }): import("react").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  export declare const GNOSIS_CHAIN_ID = 100;
2
2
  export declare const DEFAULT_BEE_API_URL = "http://localhost:1633";
3
+ export declare const BEE_API_URL_STORAGE_KEY = "swarm-connect:bee-api-url";
3
4
  export declare const STYLES: {
4
5
  readonly colors: {
5
6
  readonly primary: "#1a56db";