-
-
-
- This should be a temp private (throw away). No not user your
- own private key!
-
-
+
+
+ Sender Public Key:
+
+
+
+
+
+
+
+ Test Message:
+
+
+
+
+
+
+
+ Receiver Public Key:
+
+
+
+
+
+
+
+
+
+ This is the recipient of the message. Field required.
+
+
+
+
+
-
- It is optional. One can be generated for you!
-
+
+
+
-
-
-
-
Sender Public Key:
+
+
+ Received Data:
+
+
+
+
-
-
-
-
-
-
- Test Message:
-
-
-
-
-
-
-
- Receiver Public Key:
-
-
-
-
-
-
-
-
-
- This is the recipient of the message. Field required.
-
-
-
-
-
-
-
-
-
-
- Received Data:
-
-
-
-
-
-
+
+
@@ -421,18 +431,21 @@
LNbits.utils.notifyApiError(error)
})
},
- toggleTestPanel: async function() {
+ toggleTestPanel: async function () {
if (this.testData.show) {
await this.hideTestPannel()
} else {
await this.showTestPanel()
}
},
- showTestPanel: async function() {
+ showTestPanel: async function () {
this.testData = {
show: true,
wsConnection: null,
- senderPrivateKey: this.$q.localStorage.getItem('lnbits.nostrclient.senderPrivateKey') || '',
+ senderPrivateKey:
+ this.$q.localStorage.getItem(
+ 'lnbits.nostrclient.senderPrivateKey'
+ ) || '',
recieverPublicKey: null,
message: null,
sentData: '',
@@ -441,7 +454,7 @@
await this.closeWebsocket()
this.connectToWebsocket()
},
- hideTestPannel: async function() {
+ hideTestPannel: async function () {
await this.closeWebsocket()
this.testData = {
show: false,