@bprotsyk/aso-core 2.1.65 → 2.1.67

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
@@ -47,7 +47,7 @@ export declare enum EPlatform {
47
47
  }
48
48
  export declare enum EDirectType {
49
49
  KEITARO_OFFER = "keitaroOffer",
50
- OFFER_DIRECT = "keitaroCampaign"
50
+ OFFER_DIRECT = "offerDirect"
51
51
  }
52
52
  export declare const getPlatformName: (platform: EPlatform | undefined) => string | false;
53
53
  export interface IPlatformParams {
@@ -68,6 +68,11 @@ export interface IPlatformParams {
68
68
  appId: number;
69
69
  postApiKey: string;
70
70
  };
71
+ appsflyerParams?: {
72
+ devKey: string;
73
+ appId?: string;
74
+ eventIds?: Record<string, string>;
75
+ };
71
76
  proxied?: boolean;
72
77
  keitaroData?: IAppKeitaroData | boolean;
73
78
  }
package/lib/app/app.js CHANGED
@@ -24,7 +24,7 @@ var EPlatform;
24
24
  var EDirectType;
25
25
  (function (EDirectType) {
26
26
  EDirectType["KEITARO_OFFER"] = "keitaroOffer";
27
- EDirectType["OFFER_DIRECT"] = "keitaroCampaign";
27
+ EDirectType["OFFER_DIRECT"] = "offerDirect";
28
28
  })(EDirectType = exports.EDirectType || (exports.EDirectType = {}));
29
29
  const getPlatformName = (platform) => {
30
30
  switch (platform) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.65",
3
+ "version": "2.1.67",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
package/src/app/app.ts CHANGED
@@ -59,7 +59,7 @@ export enum EPlatform {
59
59
 
60
60
  export enum EDirectType{
61
61
  KEITARO_OFFER = 'keitaroOffer',
62
- OFFER_DIRECT = 'keitaroCampaign',
62
+ OFFER_DIRECT = 'offerDirect',
63
63
  }
64
64
 
65
65
 
@@ -104,6 +104,11 @@ export interface IPlatformParams {
104
104
  appId: number,
105
105
  postApiKey: string,
106
106
  },
107
+ appsflyerParams? :{
108
+ devKey: string,
109
+ appId?: string,
110
+ eventIds?: Record<string, string>,
111
+ },
107
112
  proxied?: boolean,
108
113
  keitaroData?: IAppKeitaroData | boolean
109
114
  }