@medipass/checkout-sdk 3.0.1 → 3.1.0

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.
@@ -8,6 +8,7 @@ interface UpdatePaymentDetailsBase {
8
8
  onCancel: () => void;
9
9
  onClose: () => void;
10
10
  callbackOrigin: string;
11
+ sendSms?: boolean;
11
12
  }
12
13
  interface UpdatePaymentDetailsWithApiKey extends UpdatePaymentDetailsBase {
13
14
  apiKey: string;
@@ -18,5 +19,5 @@ interface UpdatePaymentDetailsWithToken extends UpdatePaymentDetailsBase {
18
19
  apiKey?: never;
19
20
  }
20
21
  export type UpdatePaymentDetails = UpdatePaymentDetailsWithApiKey | UpdatePaymentDetailsWithToken;
21
- declare const updatePaymentDetails: ({ appId, apiKey, token, patientRefId, env, onSuccess, onFailure, onCancel, onClose, callbackOrigin, }: UpdatePaymentDetails) => Promise<void>;
22
+ declare const updatePaymentDetails: ({ appId, apiKey, token, patientRefId, env, onSuccess, onFailure, onCancel, onClose, callbackOrigin, sendSms, }: UpdatePaymentDetails) => Promise<void>;
22
23
  export default updatePaymentDetails;