@easypayment/medusa-payment-paypal 0.8.1 → 0.8.4

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.
@@ -180,12 +180,6 @@ function AdditionalSettingsTab() {
180
180
  )
181
181
  ] }) });
182
182
  }
183
- function PayPalApplePayPage() {
184
- return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
185
- }
186
- function PayPalGooglePayPage() {
187
- return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
188
- }
189
183
  async function adminFetch$1(path, opts = {}) {
190
184
  var _a;
191
185
  const { method = "GET", body, query } = opts;
@@ -918,7 +912,10 @@ function PayPalConnectionPage() {
918
912
  ` })
919
913
  ] });
920
914
  }
921
- function PayPalPayLaterMessagingPage() {
915
+ function PayPalApplePayPage() {
916
+ return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
917
+ }
918
+ function PayPalGooglePayPage() {
922
919
  return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
923
920
  }
924
921
  async function adminFetch(path, opts = {}) {
@@ -1194,6 +1191,9 @@ function PayPalSettingsTab() {
1194
1191
  )
1195
1192
  ] }) });
1196
1193
  }
1194
+ function PayPalPayLaterMessagingPage() {
1195
+ return /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Navigate, { to: "/settings/paypal/connection", replace: true });
1196
+ }
1197
1197
  const widgetModule = { widgets: [] };
1198
1198
  const routeModule = {
1199
1199
  routes: [
@@ -1205,14 +1205,6 @@ const routeModule = {
1205
1205
  Component: AdditionalSettingsTab,
1206
1206
  path: "/settings/paypal/additional-settings"
1207
1207
  },
1208
- {
1209
- Component: PayPalApplePayPage,
1210
- path: "/settings/paypal/apple-pay"
1211
- },
1212
- {
1213
- Component: PayPalGooglePayPage,
1214
- path: "/settings/paypal/google-pay"
1215
- },
1216
1208
  {
1217
1209
  Component: AdvancedCardPaymentsTab,
1218
1210
  path: "/settings/paypal/advanced-card-payments"
@@ -1222,12 +1214,20 @@ const routeModule = {
1222
1214
  path: "/settings/paypal/connection"
1223
1215
  },
1224
1216
  {
1225
- Component: PayPalPayLaterMessagingPage,
1226
- path: "/settings/paypal/pay-later-messaging"
1217
+ Component: PayPalApplePayPage,
1218
+ path: "/settings/paypal/apple-pay"
1219
+ },
1220
+ {
1221
+ Component: PayPalGooglePayPage,
1222
+ path: "/settings/paypal/google-pay"
1227
1223
  },
1228
1224
  {
1229
1225
  Component: PayPalSettingsTab,
1230
1226
  path: "/settings/paypal/paypal-settings"
1227
+ },
1228
+ {
1229
+ Component: PayPalPayLaterMessagingPage,
1230
+ path: "/settings/paypal/pay-later-messaging"
1231
1231
  }
1232
1232
  ]
1233
1233
  };
@@ -179,12 +179,6 @@ function AdditionalSettingsTab() {
179
179
  )
180
180
  ] }) });
181
181
  }
182
- function PayPalApplePayPage() {
183
- return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
184
- }
185
- function PayPalGooglePayPage() {
186
- return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
187
- }
188
182
  async function adminFetch$1(path, opts = {}) {
189
183
  var _a;
190
184
  const { method = "GET", body, query } = opts;
@@ -917,7 +911,10 @@ function PayPalConnectionPage() {
917
911
  ` })
918
912
  ] });
919
913
  }
920
- function PayPalPayLaterMessagingPage() {
914
+ function PayPalApplePayPage() {
915
+ return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
916
+ }
917
+ function PayPalGooglePayPage() {
921
918
  return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
922
919
  }
923
920
  async function adminFetch(path, opts = {}) {
@@ -1193,6 +1190,9 @@ function PayPalSettingsTab() {
1193
1190
  )
1194
1191
  ] }) });
1195
1192
  }
1193
+ function PayPalPayLaterMessagingPage() {
1194
+ return /* @__PURE__ */ jsx(Navigate, { to: "/settings/paypal/connection", replace: true });
1195
+ }
1196
1196
  const widgetModule = { widgets: [] };
1197
1197
  const routeModule = {
1198
1198
  routes: [
@@ -1204,14 +1204,6 @@ const routeModule = {
1204
1204
  Component: AdditionalSettingsTab,
1205
1205
  path: "/settings/paypal/additional-settings"
1206
1206
  },
1207
- {
1208
- Component: PayPalApplePayPage,
1209
- path: "/settings/paypal/apple-pay"
1210
- },
1211
- {
1212
- Component: PayPalGooglePayPage,
1213
- path: "/settings/paypal/google-pay"
1214
- },
1215
1207
  {
1216
1208
  Component: AdvancedCardPaymentsTab,
1217
1209
  path: "/settings/paypal/advanced-card-payments"
@@ -1221,12 +1213,20 @@ const routeModule = {
1221
1213
  path: "/settings/paypal/connection"
1222
1214
  },
1223
1215
  {
1224
- Component: PayPalPayLaterMessagingPage,
1225
- path: "/settings/paypal/pay-later-messaging"
1216
+ Component: PayPalApplePayPage,
1217
+ path: "/settings/paypal/apple-pay"
1218
+ },
1219
+ {
1220
+ Component: PayPalGooglePayPage,
1221
+ path: "/settings/paypal/google-pay"
1226
1222
  },
1227
1223
  {
1228
1224
  Component: PayPalSettingsTab,
1229
1225
  path: "/settings/paypal/paypal-settings"
1226
+ },
1227
+ {
1228
+ Component: PayPalPayLaterMessagingPage,
1229
+ path: "/settings/paypal/pay-later-messaging"
1230
1230
  }
1231
1231
  ]
1232
1232
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easypayment/medusa-payment-paypal",
3
- "version": "0.8.1",
3
+ "version": "0.8.4",
4
4
  "description": "PayPal integration for Medusa v2",
5
5
  "author": "EasyPayment Plugins",
6
6
  "license": "MIT",