@webpieces/rules-config 0.4.870 → 0.4.872

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.870",
3
+ "version": "0.4.872",
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.870",
23
- "@webpieces/repo-workflow-core": "0.4.870",
24
- "@webpieces/rules-sdk": "0.4.870"
22
+ "@webpieces/tooling-common": "0.4.872",
23
+ "@webpieces/repo-workflow-core": "0.4.872",
24
+ "@webpieces/rules-sdk": "0.4.872"
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.870"
37
+ "@webpieces/tooling-testkit": "0.4.872"
38
38
  },
39
39
  "types": "./src/index.d.ts",
40
40
  "bin": {
@@ -156,11 +156,13 @@ binder.bindExternal(TextToSpeechApi, GcpTextToSpeechClient);
156
156
  // Browser: Binder from @webpieces/http-client-browser (no filter argument is supported)
157
157
  binder.createRpcClientAndBind(SaveApi, 'save');
158
158
  binder.provide(new BrowserValueProvider(MutableContextStore, new MutableContextStore()));
159
+ binder.bindExternal(BrowserStorageApi, new UseExisting(LoggedBrowserStorage)); // or new UseClass(Vendor)
159
160
  ```
160
161
 
161
162
  Supply `ClientBindOptions` / `PubSubBindOptions` with a `token` only when two clients of the same
162
163
  API must coexist; filters ride on `ClientBindOptions` for RPC clients. `bindExternal(Api,
163
- VendorImpl)` binds a vendor implementation AND records the external-contract graph edge.
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)`.
164
166
  `RuntimeClients`, `RuntimeTaskClients`, `provideRpcClient`, `ExternalContractUse`, `ClientToken`,
165
167
  `BrowserBindings` and `BindingModule` no longer exist; `getBindingModules` / `getRoutingModules`
166
168
  are now `getBindModules` / `getRouteModules`, and `runtime-deps.json` uses `bindModules` /