sip-nonce 0.2.8 → 0.3.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.
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -2
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const nonce = function (minLength = 10, maxLength =
|
|
3
|
+
const nonce = function (minLength = 10, maxLength = 12) {
|
|
4
4
|
if (typeof minLength != "number" || minLength < 8)
|
|
5
5
|
minLength = 8;
|
|
6
6
|
if (typeof maxLength != "number" || maxLength > 24)
|
package/dist/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sip-nonce",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Small library for generating random nonce values for SIP challenges",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sip-nonce",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"sideEffects": false,
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"prettier": "^3.7.4",
|
|
42
|
-
"ts-node": "^10.9.2",
|
|
43
42
|
"typescript": "^5.9.3"
|
|
44
43
|
}
|
|
45
44
|
}
|