@bprotsyk/aso-core 2.1.105 → 2.1.106

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.
package/lib/app/app.d.ts CHANGED
@@ -57,7 +57,8 @@ export declare enum EPlatform {
57
57
  export declare enum EDirectType {
58
58
  KEITARO_OFFER = "keitaroOffer",
59
59
  OFFER_DIRECT = "offerDirect",
60
- TRAFFLE = "traffle"
60
+ TRAFFLE_KEITARO_OFFER = "traffleKeitaroOffer",
61
+ TRAFFLE_OFFER_DIRECT = "traffleOfferDirect"
61
62
  }
62
63
  export interface IPublicationHistory {
63
64
  publications: number[];
package/lib/app/app.js CHANGED
@@ -31,7 +31,8 @@ var EDirectType;
31
31
  (function (EDirectType) {
32
32
  EDirectType["KEITARO_OFFER"] = "keitaroOffer";
33
33
  EDirectType["OFFER_DIRECT"] = "offerDirect";
34
- EDirectType["TRAFFLE"] = "traffle";
34
+ EDirectType["TRAFFLE_KEITARO_OFFER"] = "traffleKeitaroOffer";
35
+ EDirectType["TRAFFLE_OFFER_DIRECT"] = "traffleOfferDirect";
35
36
  })(EDirectType = exports.EDirectType || (exports.EDirectType = {}));
36
37
  const getPlatformName = (platform) => {
37
38
  switch (platform) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.105",
3
+ "version": "2.1.106",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
package/src/app/app.ts CHANGED
@@ -69,7 +69,8 @@ export enum EPlatform {
69
69
  export enum EDirectType{
70
70
  KEITARO_OFFER = 'keitaroOffer',
71
71
  OFFER_DIRECT = 'offerDirect',
72
- TRAFFLE = 'traffle'
72
+ TRAFFLE_KEITARO_OFFER = 'traffleKeitaroOffer',
73
+ TRAFFLE_OFFER_DIRECT = 'traffleOfferDirect'
73
74
  }
74
75
 
75
76
  export interface IPublicationHistory {
package/test-keitaro.js CHANGED
@@ -29,6 +29,7 @@ async function testClone() {
29
29
  );
30
30
 
31
31
  console.log('Cloned campaign:', result);
32
+ console.log(`domain`, result.domain.split('/')[2])
32
33
  } catch (error) {
33
34
  console.error('Error:', error);
34
35
  }