@arcjet/redact 1.14.1 → 1.15.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/index.d.ts +2 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -66,4 +66,5 @@ type Unredact = (input: string) => string;
|
|
|
66
66
|
* Promise to a tuple with the redacted string and a function to unredact it.
|
|
67
67
|
*/
|
|
68
68
|
export declare function redact<const DetectedEntities extends string | undefined = undefined, const ListedEntities extends ArcjetSensitiveInfoType | Exclude<DetectedEntities, undefined> = ArcjetSensitiveInfoType | Exclude<DetectedEntities, undefined>>(candidate: string, options?: RedactOptions<DetectedEntities, ListedEntities>): Promise<[string, Unredact]>;
|
|
69
|
-
//#endregion
|
|
69
|
+
//#endregion
|
|
70
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcjet/redact",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"description": "Arcjet sensitive information redaction library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arcjet",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"test": "npm run build && npm run test-coverage"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@arcjet/redact-wasm": "1.
|
|
51
|
+
"@arcjet/redact-wasm": "1.15.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/node": "22.20.
|
|
55
|
-
"tsdown": "0.23.
|
|
54
|
+
"@types/node": "22.20.5",
|
|
55
|
+
"tsdown": "0.23.1",
|
|
56
56
|
"typescript": "7.0.2"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|