[feat] Extension Builder (#3339)

This commit is contained in:
Vlad Stan
2025-09-25 18:33:33 +03:00
committed by GitHub
parent c05122e5fb
commit 4f9a5090c2
27 changed files with 2871 additions and 16 deletions
+3 -2
View File
@@ -1,14 +1,15 @@
window.LNbits = {
g: window.g,
api: {
request(method, url, apiKey, data) {
request(method, url, apiKey, data, options = {}) {
return axios({
method: method,
url: url,
headers: {
'X-Api-Key': apiKey
},
data: data
data: data,
...options
})
},
getServerHealth() {