@takentrade/takentrade-libs 3.2.3 → 3.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/common/constants/index.d.ts +1 -0
- package/dist/common/constants/index.js +1 -0
- package/dist/common/constants/jobs.constants.d.ts +23 -0
- package/dist/common/constants/jobs.constants.js +26 -0
- package/dist/common/constants/queues.constants.d.ts +4 -0
- package/dist/common/constants/queues.constants.js +5 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/enums/otp.enum.d.ts +4 -1
- package/dist/utils/enums/otp.enum.js +3 -0
- package/package.json +14 -14
|
@@ -10,5 +10,8 @@ export declare enum OtpPurpose {
|
|
|
10
10
|
STAFF_PASSWORD_RESET = "staff_password_reset",
|
|
11
11
|
FORGET_PIN = "forget_pin",
|
|
12
12
|
CHANGE_PASSWORD = "change_password",
|
|
13
|
-
DEVICE_VERIFICATION = "device_verification"
|
|
13
|
+
DEVICE_VERIFICATION = "device_verification",
|
|
14
|
+
CHANGE_EMAIL = "change_email",
|
|
15
|
+
CHANGE_PHONE = "change_phone",
|
|
16
|
+
CHANGE_DATE_OF_BIRTH = "change_date_of_birth"
|
|
14
17
|
}
|
|
@@ -15,4 +15,7 @@ var OtpPurpose;
|
|
|
15
15
|
OtpPurpose["FORGET_PIN"] = "forget_pin";
|
|
16
16
|
OtpPurpose["CHANGE_PASSWORD"] = "change_password";
|
|
17
17
|
OtpPurpose["DEVICE_VERIFICATION"] = "device_verification";
|
|
18
|
+
OtpPurpose["CHANGE_EMAIL"] = "change_email";
|
|
19
|
+
OtpPurpose["CHANGE_PHONE"] = "change_phone";
|
|
20
|
+
OtpPurpose["CHANGE_DATE_OF_BIRTH"] = "change_date_of_birth";
|
|
18
21
|
})(OtpPurpose || (exports.OtpPurpose = OtpPurpose = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takentrade/takentrade-libs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "TakeNTrade shared libraries",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@nestjs/axios": "^4.0.1",
|
|
33
33
|
"@nestjs/bullmq": "^11.0.4",
|
|
34
|
-
"@nestjs/common": "^11.1.
|
|
35
|
-
"@nestjs/config": "^4.0.
|
|
36
|
-
"@nestjs/jwt": "^11.0.
|
|
37
|
-
"@nestjs/microservices": "^11.1.
|
|
34
|
+
"@nestjs/common": "^11.1.13",
|
|
35
|
+
"@nestjs/config": "^4.0.3",
|
|
36
|
+
"@nestjs/jwt": "^11.0.2",
|
|
37
|
+
"@nestjs/microservices": "^11.1.13",
|
|
38
38
|
"@nestjs/passport": "^11.0.5",
|
|
39
39
|
"@nestjs/terminus": "^11.0.0",
|
|
40
|
-
"@sentry/node": "^10.
|
|
40
|
+
"@sentry/node": "^10.38.0",
|
|
41
41
|
"@sentry/tracing": "^7.120.4",
|
|
42
42
|
"class-transformer": "^0.5.1",
|
|
43
43
|
"class-validator": "^0.14.3",
|
|
44
|
-
"cloudinary": "^2.
|
|
44
|
+
"cloudinary": "^2.9.0",
|
|
45
45
|
"cockatiel": "^3.2.1",
|
|
46
46
|
"country-codes-list": "^2.0.0",
|
|
47
47
|
"decimal.js": "^10.6.0",
|
|
48
|
-
"ioredis": "^5.
|
|
48
|
+
"ioredis": "^5.9.3",
|
|
49
49
|
"joi": "^18.0.2",
|
|
50
|
-
"jsonwebtoken": "^9.0.
|
|
50
|
+
"jsonwebtoken": "^9.0.3",
|
|
51
51
|
"object-hash": "^3.0.0",
|
|
52
52
|
"opossum": "^9.0.0",
|
|
53
53
|
"prom-client": "^15.1.3",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"uuid": "^13.0.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@nestjs/core": "^11.1.
|
|
60
|
-
"@nestjs/testing": "^11.1.
|
|
59
|
+
"@nestjs/core": "^11.1.13",
|
|
60
|
+
"@nestjs/testing": "^11.1.13",
|
|
61
61
|
"@types/jest": "^30.0.0",
|
|
62
62
|
"@types/multer": "^2.0.0",
|
|
63
|
-
"@types/node": "^
|
|
63
|
+
"@types/node": "^25.2.3",
|
|
64
64
|
"@types/object-hash": "^3.0.6",
|
|
65
65
|
"@types/opossum": "^8.1.9",
|
|
66
66
|
"@types/passport": "^1.0.17",
|
|
67
67
|
"jest": "^30.2.0",
|
|
68
|
-
"prettier": "^3.
|
|
69
|
-
"ts-jest": "^29.4.
|
|
68
|
+
"prettier": "^3.8.1",
|
|
69
|
+
"ts-jest": "^29.4.6",
|
|
70
70
|
"typescript": "^5.9.3"
|
|
71
71
|
},
|
|
72
72
|
"exports": {
|