@naturalcycles/nodejs-lib 12.81.1 → 12.82.0

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.
@@ -39,7 +39,7 @@ export interface JWTServiceCfg {
39
39
  * You should create one instance of JWTService for each pair of private/public key.
40
40
  *
41
41
  * Generate key pair like this:
42
- * openssl ecparam -name secp256k1 -genkey -noout -out key.pem
42
+ * openssl ecparam -name prime256v1 -genkey -noout -out key.pem
43
43
  * openssl ec -in key.pem -pubout > key.pub.pem
44
44
  */
45
45
  export declare class JWTService {
@@ -12,7 +12,7 @@ const joi_validation_util_1 = require("../validation/joi/joi.validation.util");
12
12
  * You should create one instance of JWTService for each pair of private/public key.
13
13
  *
14
14
  * Generate key pair like this:
15
- * openssl ecparam -name secp256k1 -genkey -noout -out key.pem
15
+ * openssl ecparam -name prime256v1 -genkey -noout -out key.pem
16
16
  * openssl ec -in key.pem -pubout > key.pub.pem
17
17
  */
18
18
  class JWTService {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "12.81.1",
3
+ "version": "12.82.0",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "docs-serve": "vuepress dev docs",
@@ -32,7 +32,7 @@
32
32
  "globby": "^11.0.0",
33
33
  "got": "^11.0.1",
34
34
  "joi": "17.4.2",
35
- "jsonwebtoken": "^8.5.1",
35
+ "jsonwebtoken": "^9.0.0",
36
36
  "lru-cache": "^7.4.0",
37
37
  "move-file": "^2.0.0",
38
38
  "through2-concurrent": "^2.0.0",
@@ -55,7 +55,7 @@ export interface JWTServiceCfg {
55
55
  * You should create one instance of JWTService for each pair of private/public key.
56
56
  *
57
57
  * Generate key pair like this:
58
- * openssl ecparam -name secp256k1 -genkey -noout -out key.pem
58
+ * openssl ecparam -name prime256v1 -genkey -noout -out key.pem
59
59
  * openssl ec -in key.pem -pubout > key.pub.pem
60
60
  */
61
61
  export class JWTService {