@webpieces/rules-config 0.4.956 → 0.4.958

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.956",
3
+ "version": "0.4.958",
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.956",
23
- "@webpieces/repo-workflow-core": "0.4.956",
24
- "@webpieces/rules-sdk": "0.4.956"
22
+ "@webpieces/tooling-common": "0.4.958",
23
+ "@webpieces/repo-workflow-core": "0.4.958",
24
+ "@webpieces/rules-sdk": "0.4.958"
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.956"
37
+ "@webpieces/tooling-testkit": "0.4.958"
38
38
  },
39
39
  "types": "./src/index.d.ts",
40
40
  "bin": {
@@ -162,7 +162,9 @@ binder.bindExternal(BrowserStorageApi, new UseExisting(LoggedBrowserStorage)); /
162
162
  Supply `ClientBindOptions` / `PubSubBindOptions` with a `token` only when two clients of the same
163
163
  API must coexist; filters ride on `ClientBindOptions` for RPC clients. `bindExternal(Api,
164
164
  VendorImpl)` binds a vendor implementation AND records the external-contract graph edge; the
165
- browser spelling names its recipe, `new UseClass(Vendor)` or `new UseExisting(Token)`.
165
+ browser spelling names its recipe, `new UseClass(Vendor)` or `new UseExisting(Token)`. An
166
+ `EXTERNAL_OUTBOUND` contract (an outside system's HTTP API webpieces' client calls) uses plain
167
+ `createRpcClientAndBind` and is drawn as a vendor node; no server here may `addRoutes` it.
166
168
  `RuntimeClients`, `RuntimeTaskClients`, `provideRpcClient`, `ExternalContractUse`, `ClientToken`,
167
169
  `BrowserBindings` and `BindingModule` no longer exist; `getBindingModules` / `getRoutingModules`
168
170
  are now `getBindModules` / `getRouteModules`, and `runtime-deps.json` uses `bindModules` /
@@ -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`); its `toWire()` response — status, reason phrase, headers
677
+ `ClientRegistry` (`setErrorTranslator(t, 'ALL')`, or 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