@superlogic/spree-pay 0.1.6 → 0.1.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/build/index.d.cts CHANGED
@@ -4,6 +4,7 @@ type SpreePayProps = {
4
4
  onProcess?: () => Promise<void>;
5
5
  amount?: number;
6
6
  className?: string;
7
+ isProcessing?: boolean;
7
8
  };
8
9
 
9
10
  declare const SpreePay: FC<SpreePayProps>;
@@ -105,6 +106,7 @@ declare const useSpreePay: () => {
105
106
  process: (data: {
106
107
  hash: string;
107
108
  }) => Promise<PaymentMethodResult>;
109
+ isProcessing: boolean;
108
110
  enabled: boolean;
109
111
  selectedPaymentMethod: SelectedPaymentMethod;
110
112
  };
package/build/index.d.ts CHANGED
@@ -4,6 +4,7 @@ type SpreePayProps = {
4
4
  onProcess?: () => Promise<void>;
5
5
  amount?: number;
6
6
  className?: string;
7
+ isProcessing?: boolean;
7
8
  };
8
9
 
9
10
  declare const SpreePay: FC<SpreePayProps>;
@@ -105,6 +106,7 @@ declare const useSpreePay: () => {
105
106
  process: (data: {
106
107
  hash: string;
107
108
  }) => Promise<PaymentMethodResult>;
109
+ isProcessing: boolean;
108
110
  enabled: boolean;
109
111
  selectedPaymentMethod: SelectedPaymentMethod;
110
112
  };