Commit Graph

38 Commits

Author SHA1 Message Date
nazeh
ccbd3ff2f9 feat(js): pass all unit tests 2024-12-22 15:41:00 +03:00
nazeh
738bff1ae1 feat(homeserver): add PubkyHost and Authz layers 2024-12-20 11:30:58 +03:00
nazeh
f42797a234 feat(js): pass all unit tests 2024-12-18 00:16:49 +03:00
nazeh
992607a7a7 feat(homeserver): add http relay in homeserver testnet for js testing 2024-12-17 18:00:52 +03:00
nazeh
b4ef0ca810 feat(js): basic auth with pubky-host header 2024-12-16 13:17:55 +03:00
nazeh
6e886f0180 fix(js): replace pubky:// with https:// in transform_url 2024-12-16 11:04:39 +03:00
nazeh
6262bb75cd feat(homeserver,js): connect to testnet from js 2024-12-15 15:14:12 +03:00
nazeh
3ebdeff354 feat(homeserver): use Pkarr Relay in testnet and new Config simplifications 2024-12-14 12:48:53 +03:00
nazeh
5972b48316 feat(pubky): rename PubkyClient to Client 2024-11-14 15:30:01 +03:00
nazeh
b8fc9b5173 chore(js): publish 0.2.0 2024-11-07 11:49:30 +03:00
nazeh
2ae54359bf feat(pubky): use resolve_endpoint from pkarr 2024-09-25 22:50:52 +03:00
nazeh
6544a82d4c Merge branch 'main' of https://github.com/pubky/pubky into feat/pkarr-reqwest 2024-09-22 13:11:05 +03:00
nazeh
c4af158fc8 feat(pubky): Resolve and connect to a direct server (localhost) 2024-09-19 17:00:31 +03:00
nazeh
80bed52c85 feat(pubky): authRequest response return PublicKey instead of Session
In Authentication mode, there might be no Homeserver to sign in to and get a session
2024-09-17 19:02:13 +03:00
nazeh
4620b94799 feat(js): add PubkyClient.fetch() 2024-09-17 17:31:32 +03:00
nazeh
db006612ef feat(js): return Session class from auth methods 2024-09-07 11:35:24 +03:00
nazeh
634d309766 examples(authz): test thirdPartySignin() 2024-09-02 17:05:06 +03:00
nazeh
915ae66f1a feat(js): add window.pubky and move static methods out of PubkyClient 2024-09-01 16:47:22 +03:00
nazeh
e82e44cc2d fix(js): return better error for Keypair.fromSecretKey() with invalid input 2024-08-08 14:25:36 +03:00
nazeh
2db1e2e191 chore(js): publish 0.1.13 2024-08-08 13:37:56 +03:00
nazeh
5eb54402d2 feat(js): add list shallow option 2024-08-07 19:05:29 +03:00
nazeh
1db1d3a21d feat(js): add list() method 2024-08-05 16:34:26 +03:00
nazeh
3bf89f1e9e feat(js): add createRecoveryFile and decryptRecoveryFile 2024-08-04 14:19:20 +03:00
nazeh
b584703ab5 feat(js): rename from_secret_key to fromSecretKey 2024-08-04 14:18:35 +03:00
nazeh
d39958915f chore(js): publish 0.1.9 2024-08-01 16:48:18 +03:00
nazeh
381a634692 chore(js): publish 0.1.7 2024-08-01 16:04:25 +03:00
nazeh
f760175541 feat(pubky): add delete files by url 2024-08-01 09:37:47 +03:00
nazeh
dcb178cfbb test(pubky): add tests for 401 and 403 responses 2024-08-01 08:43:12 +03:00
nazeh
65a6d776c3 feat(pubky): accept url instead of public key and path 2024-07-31 17:46:59 +03:00
nazeh
7e451a5d00 feat(pubky): add PubkyClient.testnet() helper 2024-07-30 15:55:20 +03:00
nazeh
75d8acde65 feat(pubky): override default pkarr relays 2024-07-29 14:48:51 +03:00
nazeh
5b9a49898b chore(pubky): clippy issues 2024-07-29 14:18:45 +03:00
nazeh
bd5b44e544 feat(pubky): add put/get methods for js 2024-07-29 13:13:56 +03:00
nazeh
d050866cce feat(pubky): auth working everywhere except nodejs 2024-07-28 23:24:32 +03:00
nazeh
3cc81a5d0e test(pubky): add headless testing instead of examples 2024-07-28 20:10:03 +03:00
nazeh
d35c586a12 feat(pubky): start testing js package against local homeserver 2024-07-28 18:38:21 +03:00
nazeh
42156b10f5 feat(js): signup 2024-07-26 20:10:50 +03:00
nazeh
d81b6234d4 test: add JS unit tests instead of nodejs examples 2024-07-26 16:45:59 +03:00