Commit graph

23 commits

Author SHA1 Message Date
Filip Skokan
7c99153a9e fix(typescript): allow synchronous get key functions 2022-02-22 10:51:27 +01:00
Filip Skokan
573f021780 test(deno): mark P-384 ECDH-ES as unsupported by the runtime 2022-01-19 17:50:21 +01:00
Filip Skokan
6275c911db test(deno): disable timeout test for now 2021-12-15 17:13:50 +01:00
Filip Skokan
aaba8f3000 fix: createRemoteJWKSet handles all JWS syntaxes 2021-11-11 22:05:17 +01:00
Filip Skokan
92df7032fe
style: global prettierc 2021-10-27 17:47:13 +02: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
914e47fc9b
refactor: remove util/random
BREAKING CHANGE: The undocumented `jose/util/random` was removed.
2021-10-14 13:44:53 +02:00
Filip Skokan
5afb713fbb
refactor: rename calculateThumprint to calculateJwkThumbprint
BREAKING CHANGE: The `jose/jwk/thumbprint` named export
is renamed to `calculateJwkThumbprint`, now
`import { calculateJwkThumbprint } from 'jose'`
2021-10-14 13:44:40 +02:00
Filip Skokan
9932bb6828
chore: remove a bunch of ignores for deno's sake 2021-10-13 10:53:03 +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
ee03b7eefa
test: bump deno, update imports 2021-09-29 14:08:59 +02:00
Filip Skokan
a2af0f45fe
feat: add X.509/SPKI/PKCS8 key import and SPKI/PKCS8 export functions 2021-09-22 23:50:08 +02:00
Filip Skokan
35802e7afb
test(deno): mark ECDH-ES w/ P-521 an expected failure 2021-09-15 23:44:48 +02:00
Filip Skokan
6ea19c3aaa test: add negative tests for CF, Deno, Browsers 2021-09-10 11:11:51 +02:00
Filip Skokan
8b3cc9818e test: less browser and deno test duplication 2021-09-07 16:15:12 +02:00
Filip Skokan
be3638c5a8 test(deno): update keylike test to import as exportable 2021-09-02 21:05:44 +02:00
Filip Skokan
2223262fc4 test(deno): test all imports 2021-08-20 23:00:32 +02:00
Filip Skokan
9948de81c2 test(typescript): passing typechecks 2021-08-20 22:24:37 +02:00
Filip Skokan
ee3f2c2808 test(deno): add expected failures for ES512 2021-08-20 15:36:22 +02:00
Filip Skokan
7dc0226baf style: use prettier 2021-08-20 15:26:23 +02:00
Filip Skokan
5c7d2656b6 feat: experimental Deno build & publish 2021-08-20 12:01:17 +02:00