Skip to content

Commit fe7d838

Browse files
0.0.4 - Use jose npm package instead of CDN
Switch from esm.sh CDN import to npm package for bundler compatibility. This allows webpack and other bundlers to properly resolve the jose dependency.
1 parent f90ee65 commit fe7d838

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solid-oidc",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Minimal, zero-build Solid-OIDC client for browsers",
55
"type": "module",
66
"main": "solid-oidc.js",
@@ -45,5 +45,8 @@
4545
"homepage": "https://github.com/JavaScriptSolidServer/solid-oidc#readme",
4646
"engines": {
4747
"node": ">=14"
48+
},
49+
"dependencies": {
50+
"jose": "^5.9.6"
4851
}
4952
}

solid-oidc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
createRemoteJWKSet,
2727
jwtVerify,
2828
calculateJwkThumbprint
29-
} from 'https://esm.sh/jose@5'
29+
} from 'jose'
3030

3131
// ============================================================================
3232
// Session Events

0 commit comments

Comments
 (0)