@stll/anonymize-wasm 1.1.0 → 1.1.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.
- package/dist/wasm.d.mts +7 -8
- package/dist/wasm.mjs.map +1 -1
- package/package.json +1 -1
package/dist/wasm.d.mts
CHANGED
|
@@ -177,8 +177,8 @@ type DenyListCategory = "Names" | "Places" | "Addresses" | "Courts" | "Financial
|
|
|
177
177
|
/**
|
|
178
178
|
* Metadata for a single dictionary entry in the
|
|
179
179
|
* deny-list system. Mirrors the shape from
|
|
180
|
-
*
|
|
181
|
-
* pre-loaded data without
|
|
180
|
+
* the anonymize-data package so consumers can pass
|
|
181
|
+
* pre-loaded data without a runtime dependency.
|
|
182
182
|
*/
|
|
183
183
|
type DictionaryMeta = {
|
|
184
184
|
label: string;
|
|
@@ -188,14 +188,13 @@ type DictionaryMeta = {
|
|
|
188
188
|
/**
|
|
189
189
|
* Pre-loaded dictionary data for dependency injection.
|
|
190
190
|
* Consumers that want name/city/deny-list detection
|
|
191
|
-
*
|
|
192
|
-
* pass
|
|
193
|
-
* has zero cross-package imports.
|
|
191
|
+
* load dictionaries themselves (e.g. from the
|
|
192
|
+
* anonymize-data package) and pass them here; the
|
|
193
|
+
* anonymize package has zero cross-package imports.
|
|
194
194
|
*
|
|
195
195
|
* All fields are optional. When a field is absent,
|
|
196
196
|
* the corresponding detection path is skipped (same
|
|
197
|
-
* behavior as when
|
|
198
|
-
* installed).
|
|
197
|
+
* behavior as when no dictionaries are available).
|
|
199
198
|
*/
|
|
200
199
|
type Dictionaries = {
|
|
201
200
|
/**
|
|
@@ -266,7 +265,7 @@ type PipelineConfig = {
|
|
|
266
265
|
* Pre-loaded dictionary data for name, deny-list,
|
|
267
266
|
* and city detection. When omitted, dictionary-based
|
|
268
267
|
* detection paths are skipped. Consumers load from
|
|
269
|
-
*
|
|
268
|
+
* the anonymize-data package and pass the data here.
|
|
270
269
|
*/
|
|
271
270
|
dictionaries?: Dictionaries;
|
|
272
271
|
};
|