From bb62fbe8c7b5ad453535fcf9f4c70f6337d7232d Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Wed, 11 Dec 2024 11:58:15 +0000 Subject: [PATCH] fix: package manager not following publication rules --- .../packages/generic/src/coreHandler.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/apps/package-manager/packages/generic/src/coreHandler.ts b/apps/package-manager/packages/generic/src/coreHandler.ts index 375990d0..14f0105c 100644 --- a/apps/package-manager/packages/generic/src/coreHandler.ts +++ b/apps/package-manager/packages/generic/src/coreHandler.ts @@ -160,18 +160,13 @@ export class CoreHandler { await Promise.all([ this.core.autoSubscribe(PeripheralDevicePubSub.peripheralDeviceForDevice, this.core.deviceId), this.core.autoSubscribe(PeripheralDevicePubSub.peripheralDeviceCommands, this.core.deviceId), - this.core.autoSubscribe(PeripheralDevicePubSub.packageManagerPlayoutContext, this.core.deviceId, undefined), + this.core.autoSubscribe(PeripheralDevicePubSub.packageManagerPlayoutContext as any, this.core.deviceId), + this.core.autoSubscribe(PeripheralDevicePubSub.packageManagerPackageContainers as any, this.core.deviceId), this.core.autoSubscribe( - PeripheralDevicePubSub.packageManagerPackageContainers, + PeripheralDevicePubSub.packageManagerExpectedPackages as any, this.core.deviceId, undefined ), - this.core.autoSubscribe( - PeripheralDevicePubSub.packageManagerExpectedPackages, - this.core.deviceId, - undefined, - undefined - ), ]) this.logger.info('Core: Subscriptions are set up!')