Martti Malmi
adc1854ac6
relay.status() returns 0 when ws not created
2022-12-21 11:08:10 +02:00
fiatjaf
83148e8bdf
fix small things in README.
2022-12-20 22:34:19 -03:00
fiatjaf
364c37cac5
fix autopublishing to npm.
v1.0.0-beta
2022-12-20 20:15:43 -03:00
fiatjaf
385cdb4ac6
README examples for nip05 and nip19.
2022-12-20 18:42:24 -03:00
fiatjaf
3f1025f551
nip05.queryProfile() and test.
2022-12-20 18:36:49 -03:00
fiatjaf
482c5affd4
add nip19.
2022-12-20 18:26:30 -03:00
fiatjaf
679ac0c133
fix standalone script URL.
2022-12-20 17:01:35 -03:00
fiatjaf
b96159ad36
better publishing built files.
v1.0.0-alpha2
2022-12-20 16:56:05 -03:00
fiatjaf
6dede4a688
use semisol relay that has our desired event on test.
2022-12-20 16:26:55 -03:00
fiatjaf
50c8bb72f9
v1.0.0-alpha
v1.0.0-alpha
2022-12-20 16:16:59 -03:00
fiatjaf
72781e0eab
nip05 typescript fixes.
2022-12-20 16:16:59 -03:00
fiatjaf
bf120c1348
relay examples on README.
2022-12-20 16:16:59 -03:00
fiatjaf
3630d377e5
test every commit on github actions.
2022-12-20 16:16:59 -03:00
fiatjaf
53b0091bf4
some fixes on relay.ts and tests.
2022-12-20 15:25:34 -03:00
fiatjaf
1a7cc5f21f
updated readme with nicer examples.
2022-12-19 20:13:08 -03:00
fiatjaf
1162935f58
add a bunch of tests.
2022-12-19 20:02:01 -03:00
fiatjaf
a49d971f6a
reorganize index.ts to use "export *".
2022-12-19 19:51:38 -03:00
fiatjaf
897919be3b
get rid of create-hash, use noble hashes.
2022-12-19 19:50:41 -03:00
fiatjaf
39aca167fb
build for commonjs, esm and a standalone bundle.
2022-12-19 15:46:31 -03:00
fiatjaf
de8bdd8370
fix typescript types everywhere, delete pool.js and refactor relay.js to use event listeners everywhere.
2022-12-18 17:02:19 -03:00
Íñigo Aréjula Aísa
46a0a342db
event fields ( #37 )
2022-12-17 13:09:25 -03:00
Leo Wandersleb
4fe2a9c91a
use default fetch if in service worker ( #23 )
2022-12-17 13:08:59 -03:00
fiatjaf
e62b833464
Merge pull request #41 from monlovesmango/cb-api
...
refactor of cb api
2022-12-17 13:06:30 -03:00
monica
100c77d2aa
finalize cb api
2022-12-07 22:26:51 -06:00
Íñigo Aréjula Aísa
12be5a5338
Fix tag type
...
I realized that tags were an array of array, if it is correct merge, if im wrong just discard
2022-12-05 16:40:47 -03:00
monica
b955ba2a09
initial refactor of cb api
2022-12-04 21:57:15 -06:00
Íñigo Aréjula Aísa
ec805be4ab
expose nip 4 functions to TS ( #39 )
2022-11-30 19:41:10 -03:00
Íñigo Aréjula Aísa
92fb339afb
Update relay.js
2022-11-27 13:57:21 +01:00
Íñigo Aréjula Aísa
f8f125270a
fix return value getRelayList
2022-11-26 11:16:20 -03:00
Íñigo Aréjula Aísa
1b798b2eee
Expose relay funcs ( #31 )
2022-11-25 23:21:33 -03:00
Íñigo Aréjula Aísa
ae717a1a4a
Documentation pool.js ( #30 )
2022-11-25 23:20:22 -03:00
Íñigo Aréjula Aísa
b2015c8fe5
Filter type with optional atributtes
2022-11-25 13:03:45 -03:00
fiatjaf
c5d2e3b037
github action to publish to npm on tag.
2022-11-21 20:26:58 -03:00
fiatjaf
0ef5d1e19c
Merge pull request #27 from monlovesmango/Expose-EOSE-Relay-URL
2022-11-21 20:24:01 -03:00
monlovesmango
7d9d10fdb1
add relay url arg to eoseCb
2022-11-21 16:11:30 -06:00
monlovesmango
a1e1ce131a
include eoseCb in sub
2022-11-21 16:09:23 -06:00
Fred
cdb07bb175
replace micro-bip with @scure/bip, fix #25
2022-10-24 06:16:11 -03:00
Leo Wandersleb
1f1bcff803
EOSE nip-15
2022-09-29 07:23:48 -03:00
fiatjaf
896af30619
release v0.24.1
v0.24.1
2022-09-06 15:19:29 -03:00
bjong
a8542c4b56
fix: CJK characters are garbled after decryption
2022-09-06 15:17:50 -03:00
fiatjaf
9f9e822c6d
allow skipping signature verification.
v0.24.0
2022-08-05 16:36:27 -03:00
Lennon Day-Reynolds
821a8f7895
TypeScript definitions ( #18 )
2022-07-15 15:49:49 -03:00
fiatjaf
2f7e3f8473
bump version.
v0.23.4
2022-06-22 20:08:48 -03:00
monlovesmango
536dbcbffe
Update pool.js
2022-06-22 20:07:25 -03:00
monlovesmango
ed52d2a8d4
updating cb property for subControllers entries
...
when updating subscription or adding new relays, subsequent events that are received have the relay as undefined. by updating cb property for the subControllers entries to be an arrow function (when calling sub.sub or sub.addRelay), subsequent events now return the relay url appropriately
2022-06-22 20:07:25 -03:00
fiatjaf
faf8e62120
maybe fix a bug with calling sub.sub()
v0.23.3
2022-06-04 18:34:54 -03:00
fiatjaf
dc489bf387
build esm module that can be imported from browsers.
...
closes https://github.com/fiatjaf/nostr-tools/issues/14
v0.23.1
2022-05-08 20:49:36 -03:00
Ricardo Arturo Cabral Mejia
60ce13e17d
chore: bump version to 0.23.0
v0.23.0
2022-04-10 19:51:35 -03:00
Ricardo Arturo Cabral Mejia
727bcb05a8
feat: add beforeSend hook to sub()
2022-04-10 19:51:35 -03:00
monlovesmango
c236e41f80
import 'Buffer'
...
'Buffer' wasn't imported initially and was causing issues when I tried to use generatePrivateKey in a client I am building. not sure why Branle has no error, maybe I am doing something wrong?
2022-04-06 18:34:50 -03:00