@konplit-services/common 1.28.0 → 1.29.1
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.
|
@@ -5,8 +5,8 @@ import { BinaryLike, CipherKey } from "crypto";
|
|
|
5
5
|
* @returns
|
|
6
6
|
*/
|
|
7
7
|
export declare const generateAesKeyAndIv: () => {
|
|
8
|
-
aesKey: Buffer
|
|
9
|
-
iv: Buffer
|
|
8
|
+
aesKey: Buffer<ArrayBufferLike>;
|
|
9
|
+
iv: Buffer<ArrayBufferLike>;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
@@ -29,7 +29,7 @@ export declare const encryptWithRsaPublicKey: (aesKey: Buffer, publicKey: string
|
|
|
29
29
|
* @param privateKey the secured save private key
|
|
30
30
|
* @returns
|
|
31
31
|
*/
|
|
32
|
-
export declare const decryptWithRsaPrivateKey: (encryptedAesKey: string, privateKey: string) => Buffer
|
|
32
|
+
export declare const decryptWithRsaPrivateKey: (encryptedAesKey: string, privateKey: string) => Buffer<ArrayBufferLike>;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @param encryptedDataWithIv the encrypted data that was encrypted in the format iv:data
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konplit-services/common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -24,20 +24,25 @@
|
|
|
24
24
|
"@semantic-release/github": "^11.0.3",
|
|
25
25
|
"@semantic-release/npm": "^12.0.2",
|
|
26
26
|
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
27
|
-
"semantic-release": "^24.2.6",
|
|
28
|
-
"typescript": "^5.9.2"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@dinero.js/currencies": "^2.0.0-alpha.14",
|
|
32
|
-
"@prisma/client": "^6.13.0",
|
|
33
27
|
"@types/express": "^4.17.13",
|
|
34
28
|
"@types/google-libphonenumber": "^7.4.30",
|
|
29
|
+
"@types/jest": "^29.5.14",
|
|
35
30
|
"@types/jsonwebtoken": "^8.5.8",
|
|
36
31
|
"@types/morgan": "^1.9.9",
|
|
37
32
|
"@types/node": "^18.6.1",
|
|
38
33
|
"@types/node-forge": "^1.3.14",
|
|
39
34
|
"@types/swagger-jsdoc": "^6.0.4",
|
|
40
35
|
"@types/swagger-ui-express": "^4.1.6",
|
|
36
|
+
"jest": "^29.7.0",
|
|
37
|
+
"semantic-release": "^24.2.6",
|
|
38
|
+
"swagger-jsdoc": "file:...",
|
|
39
|
+
"ts-jest": "^29.4.6",
|
|
40
|
+
"ts-node-dev": "^2.0.0",
|
|
41
|
+
"typescript": "^5.9.2"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@dinero.js/currencies": "^2.0.0-alpha.14",
|
|
45
|
+
"@prisma/client": "^6.13.0",
|
|
41
46
|
"axios": "^1.7.2",
|
|
42
47
|
"dayjs": "^1.11.13",
|
|
43
48
|
"dinero.js": "^2.0.0-alpha.14",
|
|
@@ -55,9 +60,7 @@
|
|
|
55
60
|
"node-ipinfo": "^3.5.0",
|
|
56
61
|
"prom-client": "^15.1.3",
|
|
57
62
|
"reflect-metadata": "^0.2.2",
|
|
58
|
-
"swagger-jsdoc": "^6.2.8",
|
|
59
63
|
"swagger-ui-express": "^5.0.0",
|
|
60
|
-
"ts-node-dev": "^2.0.0",
|
|
61
64
|
"tsyringe": "^4.10.0"
|
|
62
65
|
},
|
|
63
66
|
"engines": {
|