Skip to content

Commit 7bdfd1b

Browse files
authored
Add commitAuthor to Node SDK (#14)
fixes PLAT-2229
1 parent 7643151 commit 7bdfd1b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nightfall-js",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Build data classification and protection into your application or service with Nightfall.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/tests/mocks.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export const scanTextResponse = {
5050
"start": 25,
5151
"end": 41
5252
},
53-
"commitHash": ""
53+
"commitHash": "",
54+
"commitAuthor": ""
5455
},
5556
"matchedDetectionRuleUUIDs": [],
5657
"matchedDetectionRules": [

src/types/scanText.ts

+2
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ export namespace ScanText {
3030
rowRange?: FindingRange
3131
columnRange?: FindingRange
3232
commitHash: string
33+
commitAuthor: string
3334
};
3435
redactedLocation?: {
3536
byteRange: FindingRange
3637
codepointRange: FindingRange
3738
rowRange?: FindingRange
3839
columnRange?: FindingRange
3940
commitHash: string
41+
commitAuthor: string
4042
}
4143
matchedDetectionRuleUUIDs: any[]
4244
matchedDetectionRules: string[]

0 commit comments

Comments
 (0)