add js formatting to sample code

pull/85/head
steliosrammos 2022-04-28 16:21:20 +02:00 zatwierdzone przez fiatjaf
rodzic 4b9e9d1232
commit 759997657f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -16,7 +16,7 @@ A special event with kind `4`, meaning "encrypted direct message". It is suppose
Code sample for generating such an event in JavaScript:
```
```js
import crypto from 'crypto'
import * as secp from 'noble-secp256k1'