@bprotsyk/aso-core 2.1.73 → 2.1.75
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 +1 -5
- package/lib/app/app.js +1 -5
- package/package.json +1 -1
- package/src/app/app.ts +2 -5
package/lib/app/app.d.ts
CHANGED
|
@@ -49,9 +49,6 @@ export declare enum EDirectType {
|
|
|
49
49
|
KEITARO_OFFER = "keitaroOffer",
|
|
50
50
|
OFFER_DIRECT = "offerDirect"
|
|
51
51
|
}
|
|
52
|
-
export declare enum EBannerDirectType {
|
|
53
|
-
OFFER_DIRECT = "offerDirect"
|
|
54
|
-
}
|
|
55
52
|
export declare const getPlatformName: (platform: EPlatform | undefined) => string | false;
|
|
56
53
|
export interface IPlatformParams {
|
|
57
54
|
enabled: boolean;
|
|
@@ -72,8 +69,7 @@ export interface IPlatformParams {
|
|
|
72
69
|
postApiKey: string;
|
|
73
70
|
};
|
|
74
71
|
appsflyerParams?: {
|
|
75
|
-
|
|
76
|
-
appId?: string;
|
|
72
|
+
apiToken: string;
|
|
77
73
|
eventIds?: Record<string, string>;
|
|
78
74
|
};
|
|
79
75
|
proxied?: boolean;
|
package/lib/app/app.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppSchema = exports.PlugType = exports.IntegrationVersion = exports.getPlatformName = exports.
|
|
3
|
+
exports.AppSchema = exports.PlugType = exports.IntegrationVersion = exports.getPlatformName = exports.EDirectType = exports.EPlatform = exports.EImageFormat = void 0;
|
|
4
4
|
const app_type_1 = require("./app-type");
|
|
5
5
|
const mongoose_1 = require("mongoose");
|
|
6
6
|
const util = require("util");
|
|
@@ -26,10 +26,6 @@ var EDirectType;
|
|
|
26
26
|
EDirectType["KEITARO_OFFER"] = "keitaroOffer";
|
|
27
27
|
EDirectType["OFFER_DIRECT"] = "offerDirect";
|
|
28
28
|
})(EDirectType = exports.EDirectType || (exports.EDirectType = {}));
|
|
29
|
-
var EBannerDirectType;
|
|
30
|
-
(function (EBannerDirectType) {
|
|
31
|
-
EBannerDirectType["OFFER_DIRECT"] = "offerDirect";
|
|
32
|
-
})(EBannerDirectType = exports.EBannerDirectType || (exports.EBannerDirectType = {}));
|
|
33
29
|
const getPlatformName = (platform) => {
|
|
34
30
|
switch (platform) {
|
|
35
31
|
case EPlatform.SAMSUNG:
|
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -62,9 +62,7 @@ export enum EDirectType{
|
|
|
62
62
|
OFFER_DIRECT = 'offerDirect',
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
OFFER_DIRECT = 'offerDirect',
|
|
67
|
-
}
|
|
65
|
+
|
|
68
66
|
|
|
69
67
|
|
|
70
68
|
export const getPlatformName = (platform: EPlatform | undefined): string | false => {
|
|
@@ -109,8 +107,7 @@ export interface IPlatformParams {
|
|
|
109
107
|
postApiKey: string,
|
|
110
108
|
},
|
|
111
109
|
appsflyerParams? :{
|
|
112
|
-
|
|
113
|
-
appId?: string,
|
|
110
|
+
apiToken: string,
|
|
114
111
|
eventIds?: Record<string, string>,
|
|
115
112
|
},
|
|
116
113
|
proxied?: boolean,
|