@bprotsyk/aso-core 1.2.149 → 1.2.150

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.
@@ -5,6 +5,7 @@ export interface IUpsertFlashAppRequest {
5
5
  bundle: string;
6
6
  sourceUrl?: string;
7
7
  enabled: boolean;
8
+ geos: string;
8
9
  onesignalAppId: string;
9
10
  onesignalRestApiKey: string;
10
11
  policyUrl: string;
@@ -290,7 +290,7 @@ function createBPStreamPartialPayload(app) {
290
290
  filters: [{
291
291
  name: "country",
292
292
  mode: "reject",
293
- payload: app.geos.split(",")
293
+ payload: app.geos.split(" ")
294
294
  }, {
295
295
  name: "bot",
296
296
  mode: "accept",
@@ -311,7 +311,7 @@ function createOWStreamPartialPayload(app) {
311
311
  filters: [{
312
312
  name: "country",
313
313
  mode: "accept",
314
- payload: app.geos.split(",")
314
+ payload: app.geos.split(" ")
315
315
  }],
316
316
  };
317
317
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.149",
3
+ "version": "1.2.150",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -7,6 +7,7 @@ export interface IUpsertFlashAppRequest {
7
7
  bundle: string
8
8
  sourceUrl?: string,
9
9
  enabled: boolean,
10
+ geos: string,
10
11
 
11
12
  onesignalAppId: string
12
13
  onesignalRestApiKey: string
@@ -315,7 +315,7 @@ function createBPStreamPartialPayload(app: IFlashApp): Partial<IKeitaroStream> {
315
315
  filters: [{
316
316
  name: "country",
317
317
  mode: "reject",
318
- payload: app.geos.split(",")
318
+ payload: app.geos.split(" ")
319
319
  }, {
320
320
  name: "bot",
321
321
  mode: "accept",
@@ -337,7 +337,7 @@ export function createOWStreamPartialPayload(app: IFlashApp): Partial<IKeitaroSt
337
337
  filters: [{
338
338
  name: "country",
339
339
  mode: "accept",
340
- payload: app.geos.split(",")
340
+ payload: app.geos.split(" ")
341
341
  }],
342
342
  }
343
343
  }