@reevit/vue 0.5.0 → 0.5.9

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.
@@ -124,6 +124,7 @@ export interface FlutterwaveConfig {
124
124
  description?: string;
125
125
  logo?: string;
126
126
  };
127
+ meta?: Record<string, unknown>;
127
128
  callback: (response: {
128
129
  transaction_id: number;
129
130
  tx_ref: string;
@@ -24,6 +24,7 @@ export declare function useReevit(options: UseReevitOptions): {
24
24
  readonly recommendedPsp: PSPType;
25
25
  readonly availableMethods: readonly PaymentMethod[];
26
26
  readonly reference?: string | undefined;
27
+ readonly orgId?: string | undefined;
27
28
  readonly connectionId?: string | undefined;
28
29
  readonly provider?: string | undefined;
29
30
  readonly feeAmount?: number | undefined;
@@ -41,7 +42,10 @@ export declare function useReevit(options: UseReevitOptions): {
41
42
  readonly branding?: {
42
43
  readonly primaryColor?: string | undefined;
43
44
  readonly primaryForegroundColor?: string | undefined;
45
+ readonly buttonBackgroundColor?: string | undefined;
46
+ readonly buttonTextColor?: string | undefined;
44
47
  readonly backgroundColor?: string | undefined;
48
+ readonly borderColor?: string | undefined;
45
49
  readonly surfaceColor?: string | undefined;
46
50
  readonly textColor?: string | undefined;
47
51
  readonly mutedTextColor?: string | undefined;
@@ -74,6 +78,7 @@ export declare function useReevit(options: UseReevitOptions): {
74
78
  readonly recommendedPsp: PSPType;
75
79
  readonly availableMethods: readonly PaymentMethod[];
76
80
  readonly reference?: string | undefined;
81
+ readonly orgId?: string | undefined;
77
82
  readonly connectionId?: string | undefined;
78
83
  readonly provider?: string | undefined;
79
84
  readonly feeAmount?: number | undefined;
@@ -91,7 +96,10 @@ export declare function useReevit(options: UseReevitOptions): {
91
96
  readonly branding?: {
92
97
  readonly primaryColor?: string | undefined;
93
98
  readonly primaryForegroundColor?: string | undefined;
99
+ readonly buttonBackgroundColor?: string | undefined;
100
+ readonly buttonTextColor?: string | undefined;
94
101
  readonly backgroundColor?: string | undefined;
102
+ readonly borderColor?: string | undefined;
95
103
  readonly surfaceColor?: string | undefined;
96
104
  readonly textColor?: string | undefined;
97
105
  readonly mutedTextColor?: string | undefined;
@@ -167,7 +175,7 @@ export declare function useReevit(options: UseReevitOptions): {
167
175
  processPayment: (paymentData: Record<string, unknown>) => Promise<void>;
168
176
  handlePspSuccess: (pspData: Record<string, unknown>) => Promise<void>;
169
177
  handlePspError: (error: PaymentError) => void;
170
- reset: () => void;
178
+ reset: () => Promise<void>;
171
179
  close: () => Promise<void>;
172
180
  isLoading: Readonly<import('vue').Ref<boolean, boolean>>;
173
181
  isReady: Readonly<import('vue').Ref<boolean, boolean>>;