@dnax/core 0.8.5 → 0.8.6
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/package.json +3 -2
- package/utils/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnax/core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"module": "index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@types/bun": "latest",
|
|
11
|
-
"@types/nodemailer": "^6.4.15"
|
|
11
|
+
"@types/nodemailer": "^6.4.15",
|
|
12
|
+
"@types/uuid": "^10.0.0"
|
|
12
13
|
},
|
|
13
14
|
"peerDependencies": {
|
|
14
15
|
"typescript": "^5.0.0"
|
package/utils/index.ts
CHANGED
|
@@ -9,6 +9,7 @@ import generateUniqueId from "generate-unique-id";
|
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
import { Otp } from "../lib/opt";
|
|
11
11
|
import collect from "collect.js";
|
|
12
|
+
import * as uuid from "uuid";
|
|
12
13
|
import * as urlencode from "urlencode";
|
|
13
14
|
|
|
14
15
|
const JWT_SECRET = process?.env?.JWT_SECRET || "secret-libv";
|
|
@@ -294,6 +295,7 @@ const password = {
|
|
|
294
295
|
};
|
|
295
296
|
|
|
296
297
|
export {
|
|
298
|
+
uuid,
|
|
297
299
|
pick,
|
|
298
300
|
password, // Hash and verify Password utils
|
|
299
301
|
email, // smtp utils
|