fairsure-checkout-sdk 1.0.10 → 1.0.11

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.
@@ -16,10 +16,8 @@ export default function Checkout({ requestId, customerEmail, customerName, custo
16
16
  handleClose();
17
17
  }, (result) => {
18
18
  onPending === null || onPending === void 0 ? void 0 : onPending(result);
19
- handleClose();
20
19
  }, (error) => {
21
20
  onError === null || onError === void 0 ? void 0 : onError(error);
22
- handleClose();
23
21
  });
24
22
  const handleClose = () => {
25
23
  checkout.resetForm();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fairsure-checkout-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -58,11 +58,9 @@ export default function Checkout({
58
58
  },
59
59
  (result) => {
60
60
  onPending?.(result);
61
- handleClose();
62
61
  },
63
62
  (error) => {
64
63
  onError?.(error);
65
- handleClose();
66
64
  },
67
65
  );
68
66