fiatjaf
318e3f8c88
we don't have to bump to 2.0.0 since this will not break backwards-compatibility.
2023-10-15 17:58:42 -03:00
fiatjaf
894ffff1f0
prefix exported modules with ./ (esbuild requires this apparently).
2023-10-14 07:57:30 -03:00
franzap
ce11a5fc89
Organize build, allow one entrypoint per file ( #305 )
2023-10-01 18:20:53 -03:00
Paul Miller
eb0a9093f2
Implement NIP-44: secure versioned replacement for NIP4 ( #221 )
2023-09-29 20:43:48 -03:00
fiatjaf
55f032d0a4
tag v1.15.0
2023-09-10 15:16:04 -03:00
Alex Gleason
401b9c7864
Make TypeScript >= 5.0.0 an optional peer dependency
2023-09-03 20:56:05 -03:00
Alex Gleason
918d514a25
Upgrade all eslint deps
2023-08-31 13:37:45 -05:00
Alex Gleason
48cb9046c4
Add eslint-config-prettier to solve conflicts between prettier and eslint
2023-08-31 13:27:28 -05:00
Alex Gleason
c3acb82464
Upgrade Prettier to v3.0.3
2023-08-31 12:59:54 -05:00
Sepehr Safari
0925f5db81
add batchedList method to SimplePool
2023-08-21 10:44:33 -03:00
Jonathan Staab
d13eecad4a
Add support for nip44
2023-08-12 20:46:32 -03:00
Airtune
16c7ae2a70
+nip98.unpackEventFromToken +nip98.validateEvent
2023-08-07 22:16:23 -04:00
fiatjaf
3368e8c00e
bump minor version because of the breaking change on publish()
...
yes, I don't understand semver
2023-07-31 23:05:36 -03:00
Airtune
e5a3ad9855
Export nip28 functions in index.ts and bump version ( #265 )
2023-07-31 23:04:45 -03:00
fiatjaf
17590cce91
tag v1.13.1
2023-07-23 10:15:00 -03:00
Pavan Joshi
ee9f37e192
Update package.json to upgrade scure/bip39 ( #254 )
...
* Update package.json to upgrade scure/bip39
scure/bip39 1.2.0 causing problem of "Can't resolve '@scure/bip39/wordlists/english' ... because it was resolved as fully specified "
* Update package.json
2023-07-23 09:41:53 -03:00
fiatjaf
c1848d78a0
tag v1.13.0
2023-07-17 13:14:10 -03:00
fiatjaf
d81a2444b3
release v1.12.1
2023-06-29 15:25:32 -03:00
fiatjaf
a55fb8465f
mergeFilters()
2023-06-09 23:00:57 -03:00
fiatjaf
472a01af6a
fix infinite loop bug caused by malformed TLVs on nip19.
2023-06-08 10:33:28 -03:00
fiatjaf
1c6f39e4ae
v1.11.1
2023-05-18 17:32:57 -03:00
Egge
9f896479d0
update package.json to export declarations
2023-05-10 21:22:11 -03:00
Alex Gleason
18e8227123
Convert all tests to TypeScript
2023-05-10 21:20:27 -03:00
Alex Gleason
64caef9cda
Convert nip05 test to typescript
2023-05-10 21:20:27 -03:00
Paul Miller
03cc18d53b
bring back @noble/curves instead of @noble/secp256k1.
...
fixes https://github.com/nbd-wtf/nostr-tools/issues/196#issuecomment-1537549606
2023-05-07 21:16:48 -03:00
fiatjaf
55ff796b9f
v1.10.1
2023-04-22 21:59:41 -03:00
Alex Gleason
92988051c6
Add Unlicense
2023-04-20 12:22:39 -03:00
fiatjaf
9241089997
v1.10.0 with @noble/secp256k1 back, nip42 support and nip19 typing improvements.
2023-04-18 15:17:57 -03:00
fiatjaf
ef3184a6e0
remove @noble/curves. people are not ready for it, causes BigInt issues.
2023-04-18 15:14:21 -03:00
fiatjaf
ac212cb5c8
tag v1.9.0 using @noble/curves.
2023-04-14 17:09:28 -03:00
Paul Miller
204ae0eff1
Switch from noble-secp256k1 to noble-curves
2023-04-14 16:45:01 -03:00
fiatjaf
f6f5ee8223
tag v1.8.4
2023-04-11 18:23:04 -03:00
fiatjaf
199411a971
yarn.lock with deduped packages.
2023-04-08 15:44:37 -03:00
fiatjaf
a1dc6f41b9
fix conflict in noble dependencies.
2023-04-08 15:43:47 -03:00
OFF0
12acd7bdca
scripts: add npm build, format and test scripts
...
in addition to the just tasks, this commit adds npm scripts back,
for convenience.
example taks:
- npm test
- npm test filter.test.js
- npm run build
- npm run format
in yarn it should just work without 'run' i.e. 'yarn build'.
2023-04-08 09:05:23 -03:00
fiatjaf
e3cea5db16
tag v1.8.2
2023-04-04 10:26:35 -03:00
fiatjaf
51b8f42529
bump to v1.8.1
2023-03-27 10:41:10 -03:00
fiatjaf
ce73b96565
bump to v1.8.0
2023-03-26 09:45:03 -03:00
fiatjaf
24f5068fdb
bump to v1.7.5
2023-03-19 09:09:19 -03:00
BilligsterUser
f9e3119ab4
package.json add License field
2023-03-02 09:34:54 -03:00
fiatjaf
f992c9c967
cleanup lib/ so we can only publish the esm file under esm/
2023-03-02 08:36:43 -03:00
fiatjaf
086f8830e3
catch fetch error on nip05.
2023-03-02 08:21:17 -03:00
Fernando López Guevara
0d77013aab
chore(dx): add format script 💅 ( #128 )
2023-02-28 12:19:10 -03:00
BilligsterUser
673f4abab8
add type definition
...
fixes #138
2023-02-27 19:51:19 -03:00
BilligsterUser
bcefaa0757
update repo url
2023-02-27 19:49:00 -03:00
fiatjaf
9d345a8f01
configurable list and get timeout on relay.
2023-02-26 21:23:09 -03:00
fiatjaf
c362212778
make pool.publish() return a single Pub object.
2023-02-26 17:44:51 -03:00
fiatjaf
a21329da3f
make timeouts configurable for pool.
2023-02-26 16:50:49 -03:00
fiatjaf
63f4a49a69
increase pool timeouts.
2023-02-26 15:05:26 -03:00
fiatjaf
27749d91b8
fix nip19: relays TLV items are optional.
2023-02-26 07:44:22 -03:00