mainstack-payments 1.0.43 → 1.0.44

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.
@@ -27550,7 +27550,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27550
27550
  // @ts-ignore
27551
27551
  type: "crypto"
27552
27552
  },
27553
- return_url: `${a}?reference=${m}`
27553
+ return_url: a.includes("?") ? `${a}&reference=${m}` : `${a}?reference=${m}`
27554
27554
  }
27555
27555
  });
27556
27556
  if (b)
@@ -28128,7 +28128,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28128
28128
  // @ts-ignore
28129
28129
  type: "cashapp"
28130
28130
  },
28131
- return_url: `${a}?reference=${m}`
28131
+ return_url: a.includes("?") ? `${a}&reference=${m}` : `${a}?reference=${m}`
28132
28132
  }
28133
28133
  });
28134
28134
  if (b)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "1.0.43",
4
+ "version": "1.0.44",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [