Add NostrmarketAPI integration and enhance MerchantStore component

- Introduce NostrmarketAPI service for improved merchant profile management.
- Update MerchantStore component to handle loading and error states during merchant profile checks.
- Implement logic to check for merchant profiles using the new API, enhancing user experience.
- Refactor computed properties and lifecycle methods to accommodate the new API integration.

These changes streamline the process of checking and managing merchant profiles, providing users with real-time feedback and improving overall functionality.
This commit is contained in:
padreug 2025-09-08 13:42:27 +02:00
parent 8cf62076fd
commit b25e502c17
5 changed files with 319 additions and 28 deletions

View file

@ -36,7 +36,10 @@ export const appConfig: AppConfig = {
config: {
defaultCurrency: 'sats',
paymentTimeout: 300000, // 5 minutes
maxOrderHistory: 50
maxOrderHistory: 50,
apiConfig: {
baseUrl: import.meta.env.VITE_LNBITS_BASE_URL || 'http://localhost:5000'
}
}
},
chat: {