@getopenpay/openpay-js-react 0.0.3-beta.1 → 0.0.4-alpha.50e456b

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3112,7 +3112,7 @@ const b = x.enum([
3112
3112
  registerIframe: qt
3113
3113
  };
3114
3114
  return /* @__PURE__ */ W(xt.Provider, { value: Yt, children: /* @__PURE__ */ W("div", { className: n, ref: he, children: e({ submit: Kt }) }) });
3115
- }, Tn = (r) => `styles=${encodeURIComponent(JSON.stringify(r))}`, We = (r) => {
3115
+ }, Tn = (r) => JSON.stringify(r), We = (r) => {
3116
3116
  const { subPath: e, styles: t } = r, { formId: n, referer: s, formHeight: a, checkoutSecureToken: i, registerIframe: o } = Ft(), [u, d] = R(!1), m = _t(null), T = Pe(() => t ? Tn(t) : "", [t]), z = Pe(() => ({
3117
3117
  border: "none",
3118
3118
  width: "100%",
@@ -3128,7 +3128,7 @@ const b = x.enum([
3128
3128
  "iframe",
3129
3129
  {
3130
3130
  name: `${e}-element`,
3131
- src: `${st}/app/v1/${e}-element?${G}`,
3131
+ src: `${st}/app/v1/${e}-element/?${G}`,
3132
3132
  style: z,
3133
3133
  ref: m
3134
3134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getopenpay/openpay-js-react",
3
- "version": "0.0.3-beta.1",
3
+ "version": "0.0.4-alpha.50e456b",
4
4
  "description": "Accept payments through OpenPay, right on your site",
5
5
  "author": "OpenPay <info@getopenpay.com> (https://getopenpay.com)",
6
6
  "type": "module",