@sudobility/sider_lib 0.0.10 → 0.0.12

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 CHANGED
@@ -1,3 +1,4 @@
1
+ export { REDACTED, redactPersonalText, redactSensitiveText, isSensitiveValue, isLuhnValid, looksLikeIban, looksLikeRoutingNumber, } from "@sudobility/sider_types";
1
2
  export { templatePath, graphqlOperationOf, endpointKey, clusterObservations, hashRecipe, canonicalizeRecipe, } from "@sudobility/sider_types";
2
3
  export * from "./tokenize";
3
4
  export * from "./recipe";
package/dist/index.js CHANGED
@@ -10,6 +10,10 @@
10
10
  // sider_extension, and sider_app alike.
11
11
  // Clustering/templating + recipe hashing moved to sider_types (shared with the
12
12
  // backend); re-exported here so sider_lib's public API stays stable.
13
+ // Personal-data recognition lives in sider_types for the same reason the
14
+ // clustering did: the backend needs it too, and it must be the SAME rules on
15
+ // both sides. Re-exported so sider_lib's public API stays stable.
16
+ export { REDACTED, redactPersonalText, redactSensitiveText, isSensitiveValue, isLuhnValid, looksLikeIban, looksLikeRoutingNumber, } from "@sudobility/sider_types";
13
17
  export { templatePath, graphqlOperationOf, endpointKey, clusterObservations, hashRecipe, canonicalizeRecipe, } from "@sudobility/sider_types";
14
18
  export * from "./tokenize";
15
19
  export * from "./recipe";
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@sudobility/sider_lib",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "Sider business logic — recipe compiler, egress gates, tokenizer, clustering. Pure, no Chrome/DOM/server.",
5
5
  "license": "BUSL-1.1",
6
6
  "publishConfig": {
7
- "access": "restricted"
7
+ "access": "public"
8
8
  },
9
9
  "type": "module",
10
10
  "main": "src/index.ts",
@@ -19,7 +19,7 @@
19
19
  "test": "bun test"
20
20
  },
21
21
  "dependencies": {
22
- "@sudobility/sider_types": "^0.0.11"
22
+ "@sudobility/sider_types": "^0.0.12"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/bun": "^1.3.14",
package/src/index.ts CHANGED
@@ -11,6 +11,19 @@
11
11
 
12
12
  // Clustering/templating + recipe hashing moved to sider_types (shared with the
13
13
  // backend); re-exported here so sider_lib's public API stays stable.
14
+ // Personal-data recognition lives in sider_types for the same reason the
15
+ // clustering did: the backend needs it too, and it must be the SAME rules on
16
+ // both sides. Re-exported so sider_lib's public API stays stable.
17
+ export {
18
+ REDACTED,
19
+ redactPersonalText,
20
+ redactSensitiveText,
21
+ isSensitiveValue,
22
+ isLuhnValid,
23
+ looksLikeIban,
24
+ looksLikeRoutingNumber,
25
+ } from "@sudobility/sider_types";
26
+
14
27
  export {
15
28
  templatePath,
16
29
  graphqlOperationOf,