mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
🚀 feat(migration): add zap endpoint field to payment events table
🎨 refactor(profile): update payment logic and button display 🔧 fix(nostrZap): change relay URL to secure WebSocket protocol
This commit is contained in:
@@ -16,7 +16,7 @@ export default (livewireComponent) => ({
|
||||
relayUrl: 'wss://simple-test-relay.steuernsindraub21.xyz',
|
||||
},
|
||||
local: {
|
||||
relayUrl: 'ws://simple-test-relay.steuernsindraub21.xyz',
|
||||
relayUrl: 'wss://simple-test-relay.steuernsindraub21.xyz',
|
||||
},
|
||||
};
|
||||
const relayUrl = config[env]?.relayUrl || config['local'].relayUrl;
|
||||
@@ -41,6 +41,8 @@ export default (livewireComponent) => ({
|
||||
const callbackData = await callbackResponse.json();
|
||||
const zapEndpoint = callbackData.callback;
|
||||
|
||||
livewireComponent.call('updateZapEndpoint', zapEndpoint);
|
||||
|
||||
const zapEvent = nip57.makeZapRequest({
|
||||
profile: sender,
|
||||
event: event.id,
|
||||
|
||||
Reference in New Issue
Block a user