arky-sdk 0.7.108 → 0.7.110

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/admin.cjs CHANGED
@@ -2102,14 +2102,6 @@ function getFirstAvailableFCId(variant, quantity = 1) {
2102
2102
  return inv?.location_id;
2103
2103
  }
2104
2104
 
2105
- // src/utils/session.ts
2106
- function getPaymentConfig(store, market) {
2107
- const provider = store?.payment ?? null;
2108
- const methods = market?.payment_methods || [];
2109
- const hasCreditCard = methods.some((m) => m.id === "credit_card");
2110
- return { provider, enabled: hasCreditCard && !!provider };
2111
- }
2112
-
2113
2105
  // src/index.ts
2114
2106
  function createUtilitySurface(apiConfig) {
2115
2107
  return {
@@ -2129,7 +2121,6 @@ function createUtilitySurface(apiConfig) {
2129
2121
  formatMinor,
2130
2122
  getCurrencySymbol,
2131
2123
  getCurrencyName,
2132
- getPaymentConfig,
2133
2124
  validatePhoneNumber,
2134
2125
  tzGroups,
2135
2126
  findTimeZone,