0b7639adf5
Improve merchant creation with automatic keypair generation
...
Enhance the merchant creation process by automatically generating Nostr keypairs
for users who don't have them, and streamline the API interface.
Changes:
- Add CreateMerchantRequest model to simplify merchant creation API
- Auto-generate Nostr keypairs for users without existing keys
- Update merchant creation endpoint to use user account keypairs
- Improve error handling and validation in merchant creation flow
- Clean up frontend JavaScript for merchant creation
This ensures all merchants have proper Nostr keypairs for marketplace
functionality without requiring manual key management from users.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 00:47:46 +01:00
Vlad Stan
0fc26d096f
V1 ( #106 )
2024-11-06 11:50:21 +02:00
PatMulligan
cf82ed478d
pass showKeys as prop to merchant-details child and use emit to toggle ( #105 )
...
previously, index and its child compoment merchant-details had their own
booleans and their values were not synched. Using a prop avoids this
problem
2024-10-25 15:19:13 +03:00
Vlad Stan
889152a80b
Fix subscription errors ( #81 )
...
* pref: merge filters in one
* chore: load nit
* feat: restore individual order
2023-09-12 15:03:37 +03:00
Vlad Stan
a3299b63c4
Extract market place ( #78 )
...
* chore: remove marketplace components
* feat: add static marketplace
* feat: add entry point for static marketplace
* doc: add comment
* chore: include nostr-bundle.js
2023-07-31 11:35:50 +03:00
Vlad Stan
8ebe2fe458
chore: code clean-up
2023-07-24 11:11:31 +02:00
Vlad Stan
e1fd62400d
refactor: stuff
2023-07-24 11:11:31 +02:00
Vlad Stan
f41a502d3b
fix: update product list when product deleted
2023-07-24 11:11:31 +02:00
Vlad Stan
ee3b161b47
feat: add readNotes and clearAllData option
2023-07-24 11:11:31 +02:00
Vlad Stan
bb2d68d7dc
fix: why even optimize
2023-07-24 11:11:31 +02:00
Vlad Stan
091d3cf5d9
chore: code clean-up
2023-07-18 16:40:43 +02:00
Vlad Stan
97cc7a3e17
feat: user logout and data clear
2023-07-18 16:40:43 +02:00
Vlad Stan
da00113666
feat: ui loading update
2023-07-18 16:40:43 +02:00
Vlad Stan
28683087aa
chore: code clean-up
2023-07-18 16:40:43 +02:00
Vlad Stan
4a07f1423a
fix: persist UI config
2023-07-18 16:40:43 +02:00
Vlad Stan
ca7a973041
feat: load naddr
2023-07-18 16:40:43 +02:00
Vlad Stan
c15086d0cf
feat: ask for login
2023-07-18 16:40:43 +02:00
Vlad Stan
04d087c65d
fet: ui bla
2023-07-18 16:40:43 +02:00
Vlad Stan
820ae9a831
fix: config update
2023-07-18 16:40:43 +02:00
Vlad Stan
d810b7c5d5
refactor: code clean-up
2023-07-18 16:40:43 +02:00
Vlad Stan
a65f3cdd96
feat: UI improvements
2023-07-18 16:40:43 +02:00
Vlad Stan
12349aa344
fix: navigation link
2023-07-18 16:40:43 +02:00
Vlad Stan
2518715110
fix: active page
2023-07-18 16:40:43 +02:00
Vlad Stan
ea6ba611b5
fix: query param names
2023-07-18 16:40:43 +02:00
Vlad Stan
edb9fffdc3
refactor: param parsnig
2023-07-18 16:40:43 +02:00
Vlad Stan
b9ca9e325a
refactor: naddrs stuff
2023-07-18 16:40:43 +02:00
Vlad Stan
c366d571ef
fix: dark mode
2023-07-18 16:40:43 +02:00
Vlad Stan
d8721a0785
refactor: extract applyUiConfigs
2023-07-18 16:40:43 +02:00
Vlad Stan
6c3f2b529b
refactor: extract restoreFromStorage
2023-07-18 16:40:43 +02:00
Vlad Stan
d22c15d7a7
feat: refresh market-config
2023-07-18 16:40:43 +02:00
Vlad Stan
3ffb055e94
fix: logo image
2023-07-18 16:40:43 +02:00
Vlad Stan
582c71a98c
fix: banner & logo update
2023-07-18 16:40:43 +02:00
Vlad Stan
7cfb12011c
chore: code clean-up
2023-07-18 16:40:43 +02:00
Vlad Stan
0226fc3f79
feat: prepare for naddr fix
2023-07-18 16:40:43 +02:00
Vlad Stan
b02f050547
feat: add remove relays
2023-07-18 16:40:43 +02:00
Vlad Stan
1f0ea23359
feat: nicer stall cards
2023-07-18 16:40:43 +02:00
Vlad Stan
ad0ac073ab
feat: add basic stall list
2023-07-18 16:40:43 +02:00
Vlad Stan
357f99675f
fix: navigation
2023-07-18 16:40:43 +02:00
Vlad Stan
3a94405124
fix: filter products at top level
2023-07-18 16:40:43 +02:00
Vlad Stan
22e32c9513
feat: select category
2023-07-18 16:40:43 +02:00
Vlad Stan
79ce34467c
feat: show market categories
2023-07-18 16:40:43 +02:00
Vlad Stan
ab6f59e314
feat: add user-chat
2023-07-18 16:40:43 +02:00
Vlad Stan
3c8bdf5881
feat: add empty user config
2023-07-18 16:40:43 +02:00
Vlad Stan
fa375a23b4
chore: small stuff
2023-07-18 16:40:43 +02:00
Vlad Stan
65b19845d1
chore: code clean-up
2023-07-18 16:40:43 +02:00
Vlad Stan
e72f013d84
feat: add product to cart from main page
2023-07-18 16:40:43 +02:00
Vlad Stan
7516e0bc99
fix: update orders page
2023-07-18 16:40:43 +02:00
Vlad Stan
761cf02a34
feat: UI stuff
2023-07-18 16:40:43 +02:00
Vlad Stan
c3c141cac4
fix: more UI stuff
2023-07-18 16:40:43 +02:00
Vlad Stan
3864200ffa
fix: ui stuff
2023-07-18 16:40:43 +02:00