@@ -26,12 +26,6 @@ window.nostr = {
|
||||
}
|
||||
},
|
||||
|
||||
nip26: {
|
||||
async delegate(delegateePubkey, conditionsJson) {
|
||||
return window.nostr._call('nip26.delegate', {delegateePubkey, conditionsJson})
|
||||
}
|
||||
},
|
||||
|
||||
_call(type, params) {
|
||||
return new Promise((resolve, reject) => {
|
||||
let id = Math.random().toString().slice(4)
|
||||
|
||||
Reference in New Issue
Block a user