@webpieces/rules-config 0.4.963 → 0.4.965

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webpieces/rules-config",
3
- "version": "0.4.963",
3
+ "version": "0.4.965",
4
4
  "description": "Shared webpieces.config.json loader. Single source of truth for validation rule configuration consumed by @webpieces/ai-hook-rules, @webpieces/code-rules, and @webpieces/nx-webpieces-rules.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -19,9 +19,9 @@
19
19
  "inversify": "7.10.4",
20
20
  "reflect-metadata": "0.2.2",
21
21
  "minimatch": "10.0.1",
22
- "@webpieces/tooling-common": "0.4.963",
23
- "@webpieces/repo-workflow-core": "0.4.963",
24
- "@webpieces/rules-sdk": "0.4.963"
22
+ "@webpieces/tooling-common": "0.4.965",
23
+ "@webpieces/repo-workflow-core": "0.4.965",
24
+ "@webpieces/rules-sdk": "0.4.965"
25
25
  },
26
26
  "author": "Dean Hiller",
27
27
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "access": "public"
35
35
  },
36
36
  "devDependencies": {
37
- "@webpieces/tooling-testkit": "0.4.963"
37
+ "@webpieces/tooling-testkit": "0.4.965"
38
38
  },
39
39
  "types": "./src/index.d.ts",
40
40
  "bin": {
@@ -674,7 +674,7 @@ external consumer. So:
674
674
  - A client must branch on the error TYPE, on `subType`, on `errorCode` or on `callerMessage` — never
675
675
  on the prose of `message`. Against a current webpieces server that prose is a constant per status.
676
676
  - An app that deliberately wants to publish richer text installs an `ErrorTranslator` on
677
- `ClientRegistry` (`setErrorTranslator(t, 'ALL')`, or per contract class); its `toWire()` response — status, reason phrase, headers
677
+ `ApiRegistry` (`setErrorTranslator(t, CallScope.all())`, or `CallScope.api(X)` per contract class); its `toWire()` response — status, reason phrase, headers
678
678
  and body — is sent verbatim. That is the explicit, greppable opt-out.
679
679
 
680
680
  ## How to Request Approval