mainstack-payments 0.2.9 → 0.3.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.
@@ -25973,13 +25973,15 @@ const rz = "Payment Completed", az = ({
25973
25973
  metadata: {
25974
25974
  ...t,
25975
25975
  reference: y
25976
- }
25976
+ },
25977
+ reference: y
25977
25978
  });
25978
25979
  } catch (C) {
25979
25980
  v.complete("fail"), Et(
25980
25981
  (C == null ? void 0 : C.message) ?? "We couldn't initialize your payment",
25981
25982
  Ct.error
25982
25983
  );
25984
+ return;
25983
25985
  }
25984
25986
  const { client_secret: w } = await i.post("/stripe/intent", {
25985
25987
  amount: n,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "0.2.9",
4
+ "version": "0.3.0",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [