@pattern-stack/codegen 0.14.1 → 0.14.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.
@@ -3425,7 +3425,11 @@ var BridgeModule = class {
3425
3425
  providers: [
3426
3426
  { provide: BRIDGE_MODULE_OPTIONS, useValue: opts },
3427
3427
  { provide: BRIDGE_MULTI_TENANT, useValue: opts.multiTenant ?? false },
3428
- { provide: BRIDGE_REGISTRY, useValue: bridgeRegistry },
3428
+ // Package mode threads the consumer's generated registry through
3429
+ // `opts.registry`; vendored mode omits it and we fall back to the
3430
+ // bundled `./generated/registry` (which IS the consumer's generated
3431
+ // file in a vendored tree). See `BridgeModuleOptions.registry`.
3432
+ { provide: BRIDGE_REGISTRY, useValue: opts.registry ?? bridgeRegistry },
3429
3433
  repoProvider,
3430
3434
  // Drain hook — always wired; `DrizzleEventBus` consumes it via
3431
3435
  // `@Optional()`, so non-bridge mounts simply see `undefined`.