@medipass/checkout-sdk 3.0.0 → 3.0.1

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.
@@ -1,5 +1,6 @@
1
1
  import { ENVS } from './constants';
2
2
  interface UpdatePaymentDetailsBase {
3
+ appId?: string;
3
4
  patientRefId: string;
4
5
  env: typeof ENVS[keyof typeof ENVS];
5
6
  onSuccess: () => void;
@@ -17,5 +18,5 @@ interface UpdatePaymentDetailsWithToken extends UpdatePaymentDetailsBase {
17
18
  apiKey?: never;
18
19
  }
19
20
  export type UpdatePaymentDetails = UpdatePaymentDetailsWithApiKey | UpdatePaymentDetailsWithToken;
20
- declare const updatePaymentDetails: ({ apiKey, token, patientRefId, env, onSuccess, onFailure, onCancel, onClose, callbackOrigin, }: UpdatePaymentDetails) => Promise<void>;
21
+ declare const updatePaymentDetails: ({ appId, apiKey, token, patientRefId, env, onSuccess, onFailure, onCancel, onClose, callbackOrigin, }: UpdatePaymentDetails) => Promise<void>;
21
22
  export default updatePaymentDetails;