logix-payment-shift4 1.1.7 → 1.1.9

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.
package/dist/index.cjs.js CHANGED
@@ -239,6 +239,7 @@ function PaymentForm(_ref) {
239
239
  if (!window.Shift4) return;
240
240
  shift4Ref.current = window.Shift4(publicKeys);
241
241
  componentsRef.current = shift4Ref.current.createComponentGroup().automount("#payment-form");
242
+ componentsRef.current = componentGroup;
242
243
  setIsReady(true);
243
244
  };
244
245
  script.onerror = function () {
package/dist/index.esm.js CHANGED
@@ -237,6 +237,7 @@ function PaymentForm(_ref) {
237
237
  if (!window.Shift4) return;
238
238
  shift4Ref.current = window.Shift4(publicKeys);
239
239
  componentsRef.current = shift4Ref.current.createComponentGroup().automount("#payment-form");
240
+ componentsRef.current = componentGroup;
240
241
  setIsReady(true);
241
242
  };
242
243
  script.onerror = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logix-payment-shift4",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "A React component library for integrating Shift4 payments with Logix applications.",
5
5
  "author": "Yusif Atababayev",
6
6
  "license": "ISC",