@secondstaxorg/sscomp 1.4.6 → 1.4.8

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": "@secondstaxorg/sscomp",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { BidsProps } from "./type";
3
+ /**
4
+ * Displayed in the transaction details panel listing the offers that were available at the time of request and which provider the broker chose
5
+ */
6
+ declare const BidsCards: (props: BidsProps) => JSX.Element;
7
+ export default BidsCards;
@@ -0,0 +1 @@
1
+ export declare function moneyfy(number: number | bigint, currency: string): string;
@@ -0,0 +1,8 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const OffersContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Offers: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const OfferItem: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const OfferInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const ProviderInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const ProviderNameDelivery: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const RateInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,15 @@
1
+ export interface BidsProps {
2
+ /**
3
+ * Array of offers that were presented to the broker at the time of LP request
4
+ */
5
+ offers: {
6
+ providerName: string;
7
+ baseCurrency: string;
8
+ exchangeCurrency: string;
9
+ exchangeAmount: number;
10
+ baseAmount: number;
11
+ selectedProvider: boolean;
12
+ providerId: string;
13
+ rate: number;
14
+ }[];
15
+ }
@@ -61,3 +61,4 @@ export { default as UserRolesTable } from './UserRolesTable/UserRolesTable';
61
61
  export { default as UsersTable } from './UsersTable/UsersTable';
62
62
  export { default as WidgetTitle } from './WidgetTitle/WidgetTitle';
63
63
  export { default as SSXBar } from './SSXBar/SSXBar';
64
+ export { default as BidsCards } from './BidsCards/BidsCard';