@bluxcc/react 0.1.10 → 0.1.12

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.
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const AlbedoLogo: () => React.JSX.Element;
3
+ export declare const HanaLogo: () => React.JSX.Element;
3
4
  export declare const RabetLogo: () => React.JSX.Element;
4
5
  export declare const FreighterLogo: () => React.JSX.Element;
5
6
  export declare const XBullLogo: () => React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface SummaryProps {
3
+ operationsCount: number;
4
+ sender: string;
5
+ receiver?: string | null;
6
+ estimatedFee: string;
7
+ action: string;
8
+ network: string;
9
+ }
10
+ declare const Summary: ({ operationsCount, sender, receiver, network, estimatedFee, action, }: SummaryProps) => React.JSX.Element;
11
+ export default Summary;
@@ -0,0 +1,9 @@
1
+ export type IExplorerDetail = {
2
+ ledgerUrl: string;
3
+ accountUrl: string;
4
+ operationUrl?: string;
5
+ transactionUrl: string;
6
+ [key: string]: string | undefined;
7
+ };
8
+ declare const EXPLORERS: Record<string, IExplorerDetail>;
9
+ export default EXPLORERS;
@@ -1,13 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Routes } from '../../types';
3
- interface ModalContentProps {
4
- showAllWallets: boolean;
5
- setShowAllWallets: (show: boolean) => void;
6
- }
7
3
  type RouteContent = {
8
4
  title: string;
9
5
  isSticky?: boolean;
10
- Component: React.FC<ModalContentProps>;
6
+ Component: React.JSX.Element;
11
7
  };
12
8
  export declare const modalContent: Record<Routes, RouteContent>;
13
9
  export {};
@@ -1,7 +1,3 @@
1
1
  import React from 'react';
2
- type OnBoardingProps = {
3
- showAllWallets: boolean;
4
- setShowAllWallets: (value: boolean) => void;
5
- };
6
- declare const OnBoarding: ({ showAllWallets, setShowAllWallets }: OnBoardingProps) => React.JSX.Element;
2
+ declare const OnBoarding: () => React.JSX.Element;
7
3
  export default OnBoarding;
@@ -1,9 +1,17 @@
1
+ import { Horizon, rpc } from '@stellar/stellar-sdk';
1
2
  import { ISendTransactionOptions } from '../types';
2
3
  export declare const useBlux: () => {
3
4
  login: () => void;
4
5
  logout: () => void;
5
6
  profile: () => void;
6
- sendTransaction: (xdr: string, options?: ISendTransactionOptions) => Promise<unknown>;
7
+ sendTransaction: {
8
+ (xdr: string, options: ISendTransactionOptions & {
9
+ isSoroban: true;
10
+ }): Promise<rpc.Api.GetSuccessfulTransactionResponse>;
11
+ (xdr: string, options?: ISendTransactionOptions & {
12
+ isSoroban?: false;
13
+ }): Promise<Horizon.HorizonApi.SubmitTransactionResponse>;
14
+ };
7
15
  user: import("../types").IUser;
8
16
  isReady: boolean;
9
17
  isAuthenticated: boolean;