mainstack-payments 1.0.34 → 1.0.35
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/build/src/api/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ interface IInitPayment {
|
|
|
24
24
|
currency: string;
|
|
25
25
|
metadata: TMetadata;
|
|
26
26
|
is_crypto_payment?: boolean;
|
|
27
|
+
is_cashapp_payment?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export declare const useInitPayment: (Request: any) => {
|
|
29
30
|
data: any;
|
|
@@ -53,6 +54,7 @@ interface IIntentPayment {
|
|
|
53
54
|
payment_method_id?: string;
|
|
54
55
|
metadata: TMetadata;
|
|
55
56
|
is_crypto_payment?: boolean;
|
|
57
|
+
is_cashapp_payment?: boolean;
|
|
56
58
|
}
|
|
57
59
|
export declare const useIntentPayment: (Request: any) => {
|
|
58
60
|
data: any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
interface CashAppPaymentProps {
|
|
3
|
+
Request: any;
|
|
4
|
+
metadata: any;
|
|
5
|
+
amount: number;
|
|
6
|
+
currency: string;
|
|
7
|
+
redirectUrl: string;
|
|
8
|
+
checkForErrors: () => Promise<boolean>;
|
|
9
|
+
}
|
|
10
|
+
declare const CashAppPayment: ({ Request, metadata, amount, currency, redirectUrl, checkForErrors, }: CashAppPaymentProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default CashAppPayment;
|