Add explicit packageId to getBridgeAddress self-resolution

This commit is contained in:
ai-bot committed 2026-09-24 20:13:12 +00:00
1 parent 05866d146a
commit eb6671580f
1 file changed
+4
+4
View File
@@ -29,6 +29,10 @@ export const showServiceUrl = sdk.Action.withoutInput(
async ({ effects }) => { async ({ effects }) => {
const bridge = await sdk.host const bridge = await sdk.host
.getBridgeAddress(effects, { .getBridgeAddress(effects, {
// Explicit self-reference: `packageId` may be omitted (it then defaults
// to this package), but naming it keeps the call in lockstep with the
// documented service-to-service contract in README.md.
packageId: 'ppq-private-mode',
hostId: apiHostId, hostId: apiHostId,
internalPort: apiPort, internalPort: apiPort,
ssl: false, ssl: false,