Filip Skokan
3d2a2b8eee
feat: add jose.decodeJwt utility
2022-02-07 13:49:35 +01:00
Filip Skokan
3925ebc561
docs: update readmes and examples
2021-11-10 15:19:37 +01:00
Filip Skokan
dd2cf9ed2d
refactor: redo exports to support broader tooling
...
BREAKING CHANGE: All module named exports have moved from subpaths to
just "jose". For example, `import { jwtVerify } from 'jose/jwt/verify'`
is now just `import { jwtVerify } from 'jose'`.
BREAKING CHANGE: All submodule default exports and named have been
removed in favour of just "jose" named exports.
2021-10-14 14:08:05 +02:00
Filip Skokan
a51a9f6770
refactor: remove public API default exports in favour of named ones
2021-10-14 13:45:03 +02:00
Filip Skokan
cd1ccc6936
docs: reoder usage and import examples, update to import from "jose"
2021-10-14 13:44:59 +02:00
Filip Skokan
914e47fc9b
refactor: remove util/random
...
BREAKING CHANGE: The undocumented `jose/util/random` was removed.
2021-10-14 13:44:53 +02:00
Filip Skokan
373e0e4b22
fix(typescript): JWTExpired error TS2417
2021-10-14 12:13:38 +02:00
Filip Skokan
08243010d9
fix: allow tree-shaking of errors
2021-10-13 13:35:22 +02:00
Filip Skokan
efa1619517
fix: proper createRemoteJWKSet timeoutDuration handling
...
fixes #277
2021-10-06 16:09:34 +02:00
Filip Skokan
a13eb045d8
feat: improve key input type errors, remove dependency on @types/node
2021-10-06 11:57:48 +02:00
Filip Skokan
82fa773d6e
refactor: runtime import reorder, node predicates
2021-09-09 21:06:28 +02:00
Filip Skokan
73adc014ad
fix(typescript): generateKeyPair never returns Uint8Array
2021-08-20 22:24:00 +02:00
Filip Skokan
5c7d2656b6
feat: experimental Deno build & publish
2021-08-20 12:01:17 +02:00
Filip Skokan
0ae0855dae
refactor: remove a number of unused catch err variables
2021-07-27 13:44:19 +02:00
Filip Skokan
2b5cc28684
fix(typescript): export generate key pair result interface
2021-07-21 12:29:40 +02:00
Filip Skokan
e091f0f245
fix(typescript): remove file extensions from .d.ts files
...
resolves #222
2021-07-02 15:46:54 +02:00
Cody Ebberson
13fa3d8ae0
feat(typescript): export consume module interface types ( #213 )
...
Co-authored-by: Filip Skokan <panva.ip@gmail.com>
2021-06-22 11:21:21 +02:00
Filip Skokan
d9d4a5f2e8
fix(browser): remove the use of a node std-lib in decodeProtectedHeader
...
closes #206
2021-06-02 18:24:13 +02:00
Filip Skokan
afae428f39
feat(webcrypto): allow generate* modules extractable: false override
2021-05-12 14:07:26 +02:00
Filip Skokan
41420ceeaa
docs: add a note about generate functions extractable false
2021-05-12 13:15:35 +02:00
Filip Skokan
49ba5616d7
docs: update example labels
2021-03-31 10:55:55 +02:00
Filip Skokan
04a6aa1cd7
doc: document both static and instance code properties
2021-03-24 13:36:21 +01:00
Alex Charles
89d8003875
feat: export error codes as static properties
...
closes #170
2021-03-24 13:35:37 +01:00
Filip Skokan
5cba6b0fdd
feat: add named exports for all modules
2021-03-15 15:47:42 +01:00
Filip Skokan
28d50d09aa
docs: add markdown code block langauge
2021-03-12 15:30:13 +01:00
Filip Skokan
9998cb389a
refactor: generate_key_pair type returns KeyLike
2021-01-22 14:31:08 +01:00
Filip Skokan
5745a6af42
docs: reword decodeProtectedHeader
2020-12-17 23:40:20 +01:00
Filip Skokan
fa29d68cfd
feat: added utility function for decoding token's protected header
2020-12-16 18:29:30 +01:00
Filip Skokan
5f7a0e9055
feat: allow specifying modulusLength when generating RSA Key Pairs
...
resolves #121
2020-12-01 12:12:24 +01:00
Filip Skokan
29373633bc
fix(typescript): refactored how types are published
...
resolves #119
2020-11-26 18:53:01 +01:00
Filip Skokan
357fe0b964
feat: Revised API, No dependencies, Browser Support, Promises
...
BREAKING CHANGE: Revised, Promise-based API
BREAKING CHANGE: No dependencies
BREAKING CHANGE: Browser support (using [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/ ))
BREAKING CHANGE: Support for verification using a remote JWKS endpoint
BREAKING CHANGE: Experimental Node.js libuv thread pool based runtime (non-blocking 🎉 )
2020-11-14 18:26:46 +01:00