Commit Graph

53 Commits

Author SHA1 Message Date
nazeh
5972b48316 feat(pubky): rename PubkyClient to Client 2024-11-14 15:30:01 +03:00
nazeh
f82b301385 Merge branch 'main' into dev 2024-11-14 11:13:32 +03:00
nazeh
6e21959d24 Revert "examples: add testnet example"
This reverts commit eb10086b5e.
2024-11-13 15:42:17 +03:00
nazeh
eb10086b5e examples: add testnet example 2024-11-13 15:15:27 +03:00
nazeh
b8fc9b5173 chore(js): publish 0.2.0 2024-11-07 11:49:30 +03:00
nazeh
b2eaf312cc chore(js): publish 0.2.0 2024-11-03 21:03:46 +03:00
nazeh
2434834618 chore: prepare for release 2024-10-25 11:03:02 +03:00
nazeh
2ae54359bf feat(pubky): use resolve_endpoint from pkarr 2024-09-25 22:50:52 +03:00
nazeh
966ccc11e1 refactor(pubky): simplify session management using 'fetch-cookie' dependency 2024-09-22 18:29:58 +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
78aad43f52 chore(js): publish 0.1.16 2024-09-17 19:02:35 +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
32cb8adf6f chore: change 'monotonic' to 'strict monotonic' in code comements 2024-09-17 14:41:32 +03:00
nazeh
9a112b94d1 chore(js): publish 0.1.15 2024-09-07 21:03:35 +03:00
nazeh
db006612ef feat(js): return Session class from auth methods 2024-09-07 11:35:24 +03:00
nazeh
32377080d1 feat(js): add authRequest() 2024-09-06 22:17:12 +03:00
nazeh
634d309766 examples(authz): test thirdPartySignin() 2024-09-02 17:05:06 +03:00
nazeh
5d9be5c0f0 feat(js): add randomBytes() and hash() functions 2024-09-01 18:17:34 +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
7c6d961e91 chore(js): publish 0.1.14 2024-08-08 14:46:11 +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
639ed2d131 chore(js): publish 0.1.12 2024-08-05 16:46:09 +03:00
nazeh
b26fb51785 docs(js): update README with API documentation 2024-08-05 16:42:00 +03:00
nazeh
1db1d3a21d feat(js): add list() method 2024-08-05 16:34:26 +03:00
nazeh
4f59db42b1 chore(js): publish 0.1.10 2024-08-04 14:21:10 +03:00
nazeh
7ec19f95f3 docs(js): update README with API documentation 2024-08-04 14:19:55 +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
ab4a8c309c chore(js): publish 0.1.4 2024-08-01 11:43:13 +03:00
nazeh
86b7dfd4a4 chore: publish 0.1.3 2024-08-01 09:38:51 +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
7deac44fe3 chore: publish 0.1.2 2024-07-31 17:52:52 +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
5b45863d34 docs: fix getting started example in npm package 2024-07-29 15:28:50 +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
ce2a00f020 chore(pubky): add script to run testnet homeserver 2024-07-29 09:35:56 +03:00
nazeh
d64f610102 feat(pubky): cookie jar for nodejs 2024-07-29 09:27:53 +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