@tender-cash/agent-sdk-react 0.3.6-beta.1 → 0.3.6-beta.3

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.
@@ -16,11 +16,13 @@ declare const fetchPaymentDetailAction: ({ nextScreen, setPageLoading, }: {
16
16
  title: string;
17
17
  message: string;
18
18
  data: any;
19
+ isError: boolean;
19
20
  } | undefined;
20
21
  setPaymentError: import('react').Dispatch<import('react').SetStateAction<{
21
22
  title: string;
22
23
  message: string;
23
24
  data: any;
25
+ isError: boolean;
24
26
  } | undefined>>;
25
27
  confirmPayment: () => void | Promise<void>;
26
28
  cancelPayment: () => void | Promise<void>;
@@ -25,6 +25,7 @@ declare const useAgentSdkAction: () => {
25
25
  title: string;
26
26
  message: string;
27
27
  data: any;
28
+ isError: boolean;
28
29
  } | undefined;
29
30
  };
30
31
  export default useAgentSdkAction;
@@ -1,3 +1,3 @@
1
1
  import { TenderAgentProps } from './types';
2
- declare const TenderAgentSdk: ({ referenceId, amount, accessId, accessSecret, env, fiatCurrency, paymentExpirySeconds, onEventResponse, }: TenderAgentProps) => import('react').ReactPortal;
2
+ declare const TenderAgentSdk: ({ referenceId, amount, accessId, accessSecret, env, fiatCurrency, paymentExpirySeconds, onEventResponse, }: TenderAgentProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default TenderAgentSdk;
@@ -1,6 +1,7 @@
1
- declare const InfoScreen: ({ title, message, dataToView, }: {
1
+ declare const InfoScreen: ({ title, message, dataToView, isError, }: {
2
2
  title?: string;
3
3
  message?: string;
4
+ isError?: boolean;
4
5
  dataToView?: {
5
6
  network: string;
6
7
  coin: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tender-cash/agent-sdk-react",
3
3
  "license": "MIT",
4
- "version": "0.3.6-beta.1",
4
+ "version": "0.3.6-beta.3",
5
5
  "repository": "git://github.com/tender-cash/agent-sdk-react.git",
6
6
  "description": "",
7
7
  "author": "Tender",