@opencxh/domain 1.20.0 → 1.23.2

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.
@@ -63,10 +63,14 @@ export declare enum CommunicationScheme {
63
63
  * - `protocol` only: pick the first registered account with this protocol
64
64
  * (acceptable when there is one UA per provider per tenant)
65
65
  * - `accountId` set: pin to a specific account (multi-trunk / multi-tenant)
66
+ * - `matcherId` set: defer to a client-registered matcher fn that picks the
67
+ * account based on dynamic context (channel, accounts). Lookup by string
68
+ * keeps the wire format JSON; fn lives in the runtime registry.
66
69
  */
67
70
  export interface AccountSelector {
68
71
  protocol: string;
69
72
  accountId?: string;
73
+ matcherId?: string;
70
74
  }
71
75
  export type TransportConfig = {
72
76
  kind: "compose";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.20.0",
3
+ "version": "1.23.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",