@bprotsyk/aso-core 2.1.123 → 2.1.124

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.
@@ -774,6 +774,11 @@ async function updateStreamsForApp(app, platform) {
774
774
  console.log(`No platform data for platform ${platform}`);
775
775
  return false;
776
776
  }
777
+ // Перевіряємо чи це не тестова платформа
778
+ if (platform === app_1.EPlatform.TEST) {
779
+ console.log(`Skipping stream update for platform ${platform}: test platform is ignored`);
780
+ return false;
781
+ }
777
782
  // Перевіряємо чи є directType і чи він трафлєвський
778
783
  const directType = platformData.direct?.directType;
779
784
  if (!directType || (directType !== app_1.EDirectType.TRAFFLE_KEITARO_OFFER && directType !== app_1.EDirectType.TRAFFLE_OFFER_DIRECT)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.123",
3
+ "version": "2.1.124",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -927,6 +927,12 @@ export async function updateStreamsForApp(app: IApp, platform: EPlatform): Promi
927
927
  return false;
928
928
  }
929
929
 
930
+ // Перевіряємо чи це не тестова платформа
931
+ if (platform === EPlatform.TEST) {
932
+ console.log(`Skipping stream update for platform ${platform}: test platform is ignored`);
933
+ return false;
934
+ }
935
+
930
936
  // Перевіряємо чи є directType і чи він трафлєвський
931
937
  const directType = platformData.direct?.directType;
932
938
  if (!directType || (directType !== EDirectType.TRAFFLE_KEITARO_OFFER && directType !== EDirectType.TRAFFLE_OFFER_DIRECT)) {