@alanszp/jwt 16.4.0 → 16.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jwt.js +1 -1
- package/package.json +6 -6
package/dist/jwt.js
CHANGED
|
@@ -37,7 +37,7 @@ function withDefaultSignOptions(options) {
|
|
|
37
37
|
return Object.assign({ issuer: "hodor", audience: "web", expiration: "24h" }, options);
|
|
38
38
|
}
|
|
39
39
|
function withDefaultVerifyOptions(options) {
|
|
40
|
-
return Object.assign({ issuer: ["hodor", "long:
|
|
40
|
+
return Object.assign({ issuer: ["hodor", "long:2"], audience: "web" }, options);
|
|
41
41
|
}
|
|
42
42
|
function generateJWT(privateKey, user, options) {
|
|
43
43
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alanszp/jwt",
|
|
3
|
-
"version": "16.4
|
|
3
|
+
"version": "16.5.4",
|
|
4
4
|
"description": "Alan's jwt validator & signer.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"typescript": "^5.7.3"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@alanszp/axios-node": "^16.
|
|
32
|
-
"@alanszp/core": "^16.
|
|
33
|
-
"@alanszp/errors": "^16.
|
|
34
|
-
"@alanszp/logger": "^16.
|
|
31
|
+
"@alanszp/axios-node": "^16.5.4",
|
|
32
|
+
"@alanszp/core": "^16.5.4",
|
|
33
|
+
"@alanszp/errors": "^16.5.4",
|
|
34
|
+
"@alanszp/logger": "^16.5.4",
|
|
35
35
|
"jose": "^5.2.2",
|
|
36
36
|
"uuid": "^11.0.5"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "8d1aacba9dbc946adcff7cf00a14ba0f08d4a061"
|
|
39
39
|
}
|