@bprotsyk/aso-core 1.2.93 → 1.2.94

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.
@@ -8,7 +8,7 @@ export declare enum AlternativeLogicType {
8
8
  RX = "RX",
9
9
  COROUTINES = "Coroutines"
10
10
  }
11
- export declare enum AlternativeWebViewType {
11
+ export declare enum AlternativeNavigation {
12
12
  ACTIVITY = "Activity",
13
13
  FRAGMENT_FM = "Fragment",
14
14
  FRAGMENT_NAV_HOST = "Fragment (NavHost)"
@@ -26,8 +26,15 @@ export declare enum AlternativeLayoutType {
26
26
  PROGRAMATICALLY = "Create in code"
27
27
  }
28
28
  export declare enum AlternativeSourceType {
29
- FIREBASE_REALTIME_DATABASE = "Firebase Realtime DB",
30
- FROM_LINK = "From link"
29
+ FIREBASE_REALTIME_DATABASE = "Firebase Realtime DB"
30
+ }
31
+ export declare enum AlternativeOnBackPressed {
32
+ OLD = "Old",
33
+ NEW = "New"
34
+ }
35
+ export declare enum AlternativeOnActivityResult {
36
+ OLD = "Old",
37
+ NEW = "New"
31
38
  }
32
39
  export interface IFlashIntegration {
33
40
  id: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.AlternativeStorageType = exports.AlternativeWebViewType = exports.AlternativeLogicType = exports.AlternativeNetworkTool = void 0;
3
+ exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.AlternativeStorageType = exports.AlternativeNavigation = exports.AlternativeLogicType = exports.AlternativeNetworkTool = void 0;
4
4
  var AlternativeNetworkTool;
5
5
  (function (AlternativeNetworkTool) {
6
6
  AlternativeNetworkTool["RETROFIT"] = "Retrofit";
@@ -13,12 +13,12 @@ var AlternativeLogicType;
13
13
  AlternativeLogicType["RX"] = "RX";
14
14
  AlternativeLogicType["COROUTINES"] = "Coroutines";
15
15
  })(AlternativeLogicType = exports.AlternativeLogicType || (exports.AlternativeLogicType = {}));
16
- var AlternativeWebViewType;
17
- (function (AlternativeWebViewType) {
18
- AlternativeWebViewType["ACTIVITY"] = "Activity";
19
- AlternativeWebViewType["FRAGMENT_FM"] = "Fragment";
20
- AlternativeWebViewType["FRAGMENT_NAV_HOST"] = "Fragment (NavHost)";
21
- })(AlternativeWebViewType = exports.AlternativeWebViewType || (exports.AlternativeWebViewType = {}));
16
+ var AlternativeNavigation;
17
+ (function (AlternativeNavigation) {
18
+ AlternativeNavigation["ACTIVITY"] = "Activity";
19
+ AlternativeNavigation["FRAGMENT_FM"] = "Fragment";
20
+ AlternativeNavigation["FRAGMENT_NAV_HOST"] = "Fragment (NavHost)";
21
+ })(AlternativeNavigation = exports.AlternativeNavigation || (exports.AlternativeNavigation = {}));
22
22
  var AlternativeStorageType;
23
23
  (function (AlternativeStorageType) {
24
24
  AlternativeStorageType["FILE"] = "File";
@@ -36,6 +36,16 @@ var AlternativeLayoutType;
36
36
  var AlternativeSourceType;
37
37
  (function (AlternativeSourceType) {
38
38
  AlternativeSourceType["FIREBASE_REALTIME_DATABASE"] = "Firebase Realtime DB";
39
- AlternativeSourceType["FROM_LINK"] = "From link";
39
+ // FROM_LINK = "From link",
40
40
  // WITHIN_WEBVIEW = "Within webview",
41
41
  })(AlternativeSourceType = exports.AlternativeSourceType || (exports.AlternativeSourceType = {}));
42
+ var AlternativeOnBackPressed;
43
+ (function (AlternativeOnBackPressed) {
44
+ AlternativeOnBackPressed["OLD"] = "Old";
45
+ AlternativeOnBackPressed["NEW"] = "New";
46
+ })(AlternativeOnBackPressed = exports.AlternativeOnBackPressed || (exports.AlternativeOnBackPressed = {}));
47
+ var AlternativeOnActivityResult;
48
+ (function (AlternativeOnActivityResult) {
49
+ AlternativeOnActivityResult["OLD"] = "Old";
50
+ AlternativeOnActivityResult["NEW"] = "New";
51
+ })(AlternativeOnActivityResult = exports.AlternativeOnActivityResult || (exports.AlternativeOnActivityResult = {}));
package/lib/index.d.ts CHANGED
@@ -19,7 +19,7 @@ export { IOfferWallHomeDialogData } from "./aso/offerwall/offerwall-home-dialog-
19
19
  export { IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType, FlashAppPlugStatus } from "./flash/flash-app";
20
20
  export { IFlashAppListItem } from "./flash/flash-app-list-item";
21
21
  export { FlashAppType } from "./flash/flash-app-type";
22
- export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeWebViewType, IFlashIntegration } from "./flash/flash-app-integration";
22
+ export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IFlashIntegration } from "./flash/flash-app-integration";
23
23
  export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry";
24
24
  export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user";
25
25
  export { IAuthToken } from "./panel/auth";
@@ -35,3 +35,4 @@ export * as KeitaroUtils from "./utils/keitaro-utils";
35
35
  export { IKeitaroCampaign, IKeitaroCampaignParameters, IKeitaroCampaignParameter } from "./keitaro/keitaro-campaign";
36
36
  export { IKeitaroDomain } from "./keitaro/keitaro-domain";
37
37
  export { IKeitaroOffer } from "./keitaro/keitaro-offer";
38
+ export { IKeitaroStream } from "./keitaro/keitaro-stream";
package/lib/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.KeitaroUtils = exports.KeitaroService = exports.ColoredText = exports.ShapeDiv = exports.PanelUserSchema = exports.PanelUserAccessScope = exports.ASOConfigFetch = exports.AlternativeWebViewType = exports.AlternativeStorageType = exports.AlternativeNetworkTool = exports.AlternativeLogicType = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.FlashAppType = exports.FlashAppPlugStatus = exports.PlugType = exports.updateSchemaAndMoveValue = exports.FlashAppSchema = exports.ASO_v5 = exports.ASO_v4 = exports.ASO_v3 = exports.ASO_v2 = exports.ASO_v1 = exports.ASO_v0 = void 0;
26
+ exports.KeitaroUtils = exports.KeitaroService = exports.ColoredText = exports.ShapeDiv = exports.PanelUserSchema = exports.PanelUserAccessScope = exports.ASOConfigFetch = exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeNavigation = exports.AlternativeStorageType = exports.AlternativeNetworkTool = exports.AlternativeLogicType = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.FlashAppType = exports.FlashAppPlugStatus = exports.PlugType = exports.updateSchemaAndMoveValue = exports.FlashAppSchema = exports.ASO_v5 = exports.ASO_v4 = exports.ASO_v3 = exports.ASO_v2 = exports.ASO_v1 = exports.ASO_v0 = void 0;
27
27
  exports.ASO_v0 = __importStar(require("./aso/config/aso-config-v0"));
28
28
  exports.ASO_v1 = __importStar(require("./aso/config/aso-config-v1"));
29
29
  exports.ASO_v2 = __importStar(require("./aso/config/aso-config-v2"));
@@ -43,7 +43,9 @@ Object.defineProperty(exports, "AlternativeSourceType", { enumerable: true, get:
43
43
  Object.defineProperty(exports, "AlternativeLogicType", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeLogicType; } });
44
44
  Object.defineProperty(exports, "AlternativeNetworkTool", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeNetworkTool; } });
45
45
  Object.defineProperty(exports, "AlternativeStorageType", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeStorageType; } });
46
- Object.defineProperty(exports, "AlternativeWebViewType", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeWebViewType; } });
46
+ Object.defineProperty(exports, "AlternativeNavigation", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeNavigation; } });
47
+ Object.defineProperty(exports, "AlternativeOnBackPressed", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeOnBackPressed; } });
48
+ Object.defineProperty(exports, "AlternativeOnActivityResult", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeOnActivityResult; } });
47
49
  exports.ASOConfigFetch = __importStar(require("./aso/usage-logs/aso-config-fetch-entry"));
48
50
  var user_1 = require("./panel/user");
49
51
  Object.defineProperty(exports, "PanelUserAccessScope", { enumerable: true, get: function () { return user_1.PanelUserAccessScope; } });
@@ -55,5 +57,3 @@ Object.defineProperty(exports, "ColoredText", { enumerable: true, get: function
55
57
  var keitaro_service_1 = require("./network/keitaro/keitaro-service");
56
58
  Object.defineProperty(exports, "KeitaroService", { enumerable: true, get: function () { return keitaro_service_1.KeitaroService; } });
57
59
  exports.KeitaroUtils = __importStar(require("./utils/keitaro-utils"));
58
- `
59
- export {IKeitaroStream} from "./keitaro/keitaro-stream";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.93",
3
+ "version": "1.2.94",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -10,7 +10,7 @@ export enum AlternativeLogicType {
10
10
  COROUTINES = "Coroutines",
11
11
  }
12
12
 
13
- export enum AlternativeWebViewType {
13
+ export enum AlternativeNavigation {
14
14
  ACTIVITY = "Activity",
15
15
  FRAGMENT_FM = "Fragment",
16
16
  FRAGMENT_NAV_HOST = "Fragment (NavHost)",
@@ -32,10 +32,20 @@ export enum AlternativeLayoutType {
32
32
 
33
33
  export enum AlternativeSourceType {
34
34
  FIREBASE_REALTIME_DATABASE = "Firebase Realtime DB",
35
- FROM_LINK = "From link",
35
+ // FROM_LINK = "From link",
36
36
  // WITHIN_WEBVIEW = "Within webview",
37
37
  }
38
38
 
39
+ export enum AlternativeOnBackPressed {
40
+ OLD = "Old",
41
+ NEW = "New"
42
+ }
43
+
44
+ export enum AlternativeOnActivityResult {
45
+ OLD = "Old",
46
+ NEW = "New"
47
+ }
48
+
39
49
  export interface IFlashIntegration {
40
50
  id: number,
41
51
  name: string,
package/src/index.ts CHANGED
@@ -19,10 +19,10 @@ export { IOfferWallOffer } from "./aso/offerwall/offerwall-offer"
19
19
  export { IOfferWallResponse } from "./aso/offerwall/offerwall-response"
20
20
  export { IOfferWallHomeDialogData } from "./aso/offerwall/offerwall-home-dialog-data"
21
21
 
22
- export { IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType, FlashAppPlugStatus } from "./flash/flash-app"
22
+ export { IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType, FlashAppPlugStatus } from "./flash/flash-app"
23
23
  export { IFlashAppListItem } from "./flash/flash-app-list-item"
24
24
  export { FlashAppType } from "./flash/flash-app-type"
25
- export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeWebViewType, IFlashIntegration } from "./flash/flash-app-integration"
25
+ export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IFlashIntegration } from "./flash/flash-app-integration"
26
26
 
27
27
  export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry"
28
28
 
@@ -40,7 +40,7 @@ export { IOfferWallAuthSubmitResponse } from "./aso/offerwall/auth/offerwall-aut
40
40
  export { KeitaroService } from "./network/keitaro/keitaro-service"
41
41
  export * as KeitaroUtils from "./utils/keitaro-utils"
42
42
 
43
- export {IKeitaroCampaign, IKeitaroCampaignParameters, IKeitaroCampaignParameter} from "./keitaro/keitaro-campaign"
44
- export {IKeitaroDomain} from "./keitaro/keitaro-domain"
45
- export {IKeitaroOffer} from "./keitaro/keitaro-offer"`
46
- export {IKeitaroStream} from "./keitaro/keitaro-stream"
43
+ export { IKeitaroCampaign, IKeitaroCampaignParameters, IKeitaroCampaignParameter } from "./keitaro/keitaro-campaign"
44
+ export { IKeitaroDomain } from "./keitaro/keitaro-domain"
45
+ export { IKeitaroOffer } from "./keitaro/keitaro-offer"
46
+ export { IKeitaroStream } from "./keitaro/keitaro-stream"