36 Commits
Author SHA1 Message Date
Sepehr Safariandfiatjaf_ 6f334f31a7 add and improve helpers for nip29 2024-08-01 18:18:13 -03:00
Sepehr SafariandGitHub 59426d9f35 Nip58 Implementation (#386)
* implement nip58

* add tests for nip58

* export nip58

* bump version
2024-03-16 13:44:56 -03:00
Sepehr Safariandfiatjaf_ 37b046c047 bump to v2.2.0 2024-02-14 19:48:07 -03:00
Sepehr Safariandfiatjaf_ 846654b449 add exports/nip75 to package.json 2024-02-14 19:48:07 -03:00
Sepehr Safariandfiatjaf_ b676dc0987 add tests for nip75 2024-02-14 19:48:07 -03:00
Sepehr Safariandfiatjaf_ b1ce901555 implement nip75 handlers 2024-02-14 19:48:07 -03:00
Sepehr Safariandfiatjaf_ 7ec6d127b0 fix unexpected errors 2024-01-28 06:45:37 -03:00
Sepehr SafariandGitHub 0f5b3f397c Nip96 implementation (#360)
* add nip96 kind 10096 file server preference

* implement nip96

* refactor nip96 and liftup all type definitions

* install nock as devDep

* fix nip96 throwing errors

* add tests for nip96

* revert installing nock and install msw for mocking apis

* fix trailing slashes in nip96 file deletion

* implement msw in nip96 and add more test cases

* fix fetching server config

* enhance error handling in uploadFile

* add more test cases with mock apis

* add more test cases to reach 90 percent coverage
2024-01-24 09:24:47 -03:00
Sepehr Safariandfiatjaf_ d156f3c0ac add test cases for nip94 2024-01-21 07:32:13 -03:00
Sepehr Safariandfiatjaf_ d656c84ab5 implement nip94 2024-01-21 07:32:13 -03:00
Sepehr Safari c453bc5ec3 revert nip11.test.ts with a todo flag 2024-01-20 11:50:05 +03:30
Sepehr SafariandGitHub 2017b3cabd Merge branch 'nbd-wtf:master' into mock-relay-class 2024-01-20 11:41:27 +03:30
Sepehr Safari fbcfccda01 update nip42.test.ts with new mock relay class 2024-01-20 11:31:18 +03:30
Sepehr Safari 0357e035f4 fix nip11 broken test 2024-01-20 11:29:59 +03:30
Sepehr Safari dd0014aee3 refactor pool.test.ts and update with new mock relay class 2024-01-20 11:29:46 +03:30
Sepehr Safari 2e9798b8ab increase random range for mock relay urls 2024-01-20 11:21:29 +03:30
Sepehr Safari 10b800db3a randomize relay urls in mock relays 2024-01-20 11:14:57 +03:30
Sepehr Safari dbad25b2fa use new MockRelay class in relay.test.ts 2024-01-20 10:41:05 +03:30
Sepehr Safari 829633b0d6 inhance mock relay and refactor to a class 2024-01-20 10:40:15 +03:30
Sepehr Safari b1bbcd6c46 use mock relay in nip42 tests 2024-01-20 09:57:25 +03:30
Sepehr Safariandfiatjaf_ d4090dae2b refactor relay test cases with mock websocket 2024-01-19 15:32:36 -03:00
Sepehr Safariandfiatjaf_ 49596d24c3 install mock-socket as dev dependency 2024-01-19 15:32:36 -03:00
Sepehr Safariandfiatjaf_ ac83eeff1c format with prettier 2024-01-18 11:51:13 -03:00
Sepehr Safariandfiatjaf_ 85b741b39a suppress eqeqeq eslint rule 2024-01-18 11:50:35 -03:00
Sepehr Safari f6ed374f2f remove un-used imports 2024-01-18 17:16:24 +03:30
Sepehr Safari 6d7ad22677 add test cases for nip99 2024-01-18 17:13:39 +03:30
Sepehr Safari 340a4a6799 implement nip99 2024-01-18 17:13:31 +03:30
Sepehr Safari 5ec136a365 refactor and add more test cases 2024-01-17 18:13:10 +03:30
Sepehr Safari 75eb08b170 fix some bugs, refactor to smaller parts, add docs 2024-01-17 17:50:48 +03:30
Sepehr Safariandfiatjaf_ e899cc32b7 edit batchedList and add mergeFilters to it 2023-09-24 20:49:45 -03:00
Sepehr Safariandfiatjaf_ 073dcaafd6 Update README.md
add docs about batchedList.
2023-09-15 20:38:39 -03:00
Sepehr Safariandfiatjaf_ 0925f5db81 add batchedList method to SimplePool 2023-08-21 10:44:33 -03:00
Sepehr SafariandGitHub 74c77a2e9f add 17 test cases for nip57 (#166) 2023-03-26 19:38:33 -03:00
Sepehr SafariandGitHub 60e01a9006 edit filter.test.js and add more test cases (#165)
* add more test cases for event file

* add another test case for event file

* edit filter.test.js and add more test cases
2023-03-26 07:13:02 -03:00
Sepehr Safariandfiatjaf_ 51c3aec788 add another test case for event file 2023-03-23 17:56:11 -03:00
Sepehr Safariandfiatjaf_ 613b2c177f add more test cases for event file 2023-03-23 17:56:11 -03:00