@bprotsyk/aso-core 1.2.91 → 1.2.93

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.
@@ -25,6 +25,10 @@ export declare enum AlternativeLayoutType {
25
25
  BY_ID = "findViewById",
26
26
  PROGRAMATICALLY = "Create in code"
27
27
  }
28
+ export declare enum AlternativeSourceType {
29
+ FIREBASE_REALTIME_DATABASE = "Firebase Realtime DB",
30
+ FROM_LINK = "From link"
31
+ }
28
32
  export interface IFlashIntegration {
29
33
  id: number;
30
34
  name: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AlternativeLayoutType = exports.AlternativeStorageType = exports.AlternativeWebViewType = exports.AlternativeLogicType = exports.AlternativeNetworkTool = void 0;
3
+ exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.AlternativeStorageType = exports.AlternativeWebViewType = exports.AlternativeLogicType = exports.AlternativeNetworkTool = void 0;
4
4
  var AlternativeNetworkTool;
5
5
  (function (AlternativeNetworkTool) {
6
6
  AlternativeNetworkTool["RETROFIT"] = "Retrofit";
@@ -33,3 +33,9 @@ var AlternativeLayoutType;
33
33
  AlternativeLayoutType["BY_ID"] = "findViewById";
34
34
  AlternativeLayoutType["PROGRAMATICALLY"] = "Create in code";
35
35
  })(AlternativeLayoutType = exports.AlternativeLayoutType || (exports.AlternativeLayoutType = {}));
36
+ var AlternativeSourceType;
37
+ (function (AlternativeSourceType) {
38
+ AlternativeSourceType["FIREBASE_REALTIME_DATABASE"] = "Firebase Realtime DB";
39
+ AlternativeSourceType["FROM_LINK"] = "From link";
40
+ // WITHIN_WEBVIEW = "Within webview",
41
+ })(AlternativeSourceType = exports.AlternativeSourceType || (exports.AlternativeSourceType = {}));
package/lib/index.d.ts CHANGED
@@ -19,3 +19,19 @@ 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";
23
+ export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry";
24
+ export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user";
25
+ export { IAuthToken } from "./panel/auth";
26
+ export { IUpsertFlashAppRequest, IUpsertFlashAppResponse } from "./panel/flash/create-flash-app-request";
27
+ export { IGradient, IStroke, IShape, ShapeDiv } from "./shared/shape";
28
+ export { ColoredText, IColoredTextProps } from "./shared/colored-text";
29
+ export { IOfferWallAuthConfig } from "./aso/offerwall/auth/offerwall-auth-config";
30
+ export { IOfferWallAuthLocalization } from "./aso/offerwall/auth/offerwall-auth-localization";
31
+ export { IOfferWallAuthSubmitRequest } from "./aso/offerwall/auth/offerwall-auth-submit-request";
32
+ export { IOfferWallAuthSubmitResponse } from "./aso/offerwall/auth/offerwall-auth-submit-response";
33
+ export { KeitaroService } from "./network/keitaro/keitaro-service";
34
+ export * as KeitaroUtils from "./utils/keitaro-utils";
35
+ export { IKeitaroCampaign, IKeitaroCampaignParameters, IKeitaroCampaignParameter } from "./keitaro/keitaro-campaign";
36
+ export { IKeitaroDomain } from "./keitaro/keitaro-domain";
37
+ export { IKeitaroOffer } from "./keitaro/keitaro-offer";
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.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.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;
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"));
@@ -37,26 +37,23 @@ Object.defineProperty(exports, "PlugType", { enumerable: true, get: function ()
37
37
  Object.defineProperty(exports, "FlashAppPlugStatus", { enumerable: true, get: function () { return flash_app_1.FlashAppPlugStatus; } });
38
38
  var flash_app_type_1 = require("./flash/flash-app-type");
39
39
  Object.defineProperty(exports, "FlashAppType", { enumerable: true, get: function () { return flash_app_type_1.FlashAppType; } });
40
+ var flash_app_integration_1 = require("./flash/flash-app-integration");
41
+ Object.defineProperty(exports, "AlternativeLayoutType", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeLayoutType; } });
42
+ Object.defineProperty(exports, "AlternativeSourceType", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeSourceType; } });
43
+ Object.defineProperty(exports, "AlternativeLogicType", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeLogicType; } });
44
+ Object.defineProperty(exports, "AlternativeNetworkTool", { enumerable: true, get: function () { return flash_app_integration_1.AlternativeNetworkTool; } });
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; } });
47
+ exports.ASOConfigFetch = __importStar(require("./aso/usage-logs/aso-config-fetch-entry"));
48
+ var user_1 = require("./panel/user");
49
+ Object.defineProperty(exports, "PanelUserAccessScope", { enumerable: true, get: function () { return user_1.PanelUserAccessScope; } });
50
+ Object.defineProperty(exports, "PanelUserSchema", { enumerable: true, get: function () { return user_1.PanelUserSchema; } });
51
+ var shape_1 = require("./shared/shape");
52
+ Object.defineProperty(exports, "ShapeDiv", { enumerable: true, get: function () { return shape_1.ShapeDiv; } });
53
+ var colored_text_1 = require("./shared/colored-text");
54
+ Object.defineProperty(exports, "ColoredText", { enumerable: true, get: function () { return colored_text_1.ColoredText; } });
55
+ var keitaro_service_1 = require("./network/keitaro/keitaro-service");
56
+ Object.defineProperty(exports, "KeitaroService", { enumerable: true, get: function () { return keitaro_service_1.KeitaroService; } });
57
+ exports.KeitaroUtils = __importStar(require("./utils/keitaro-utils"));
40
58
  `
41
- export { AlternativeLayoutType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeWebViewType, IFlashIntegration } from "./flash/flash-app-integration"
42
-
43
- export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry"
44
-
45
- export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user"
46
- export { IAuthToken } from "./panel/auth"
47
- export { IUpsertFlashAppRequest, IUpsertFlashAppResponse } from "./panel/flash/create-flash-app-request"
48
-
49
- export { IGradient, IStroke, IShape, ShapeDiv } from "./shared/shape"
50
- export { ColoredText, IColoredTextProps } from "./shared/colored-text"
51
- export { IOfferWallAuthConfig } from "./aso/offerwall/auth/offerwall-auth-config"
52
- export { IOfferWallAuthLocalization } from "./aso/offerwall/auth/offerwall-auth-localization"
53
- export { IOfferWallAuthSubmitRequest } from "./aso/offerwall/auth/offerwall-auth-submit-request"
54
- export { IOfferWallAuthSubmitResponse } from "./aso/offerwall/auth/offerwall-auth-submit-response"
55
-
56
- export { KeitaroService } from "./network/keitaro/keitaro-service"
57
- export * as KeitaroUtils from "./utils/keitaro-utils"
58
-
59
- export {IKeitaroCampaign, IKeitaroCampaignParameters, IKeitaroCampaignParameter} from "./keitaro/keitaro-campaign"
60
- export {IKeitaroDomain} from "./keitaro/keitaro-domain"
61
- export {IKeitaroOffer} from "./keitaro/keitaro-offer"
62
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.91",
3
+ "version": "1.2.93",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -30,6 +30,12 @@ export enum AlternativeLayoutType {
30
30
  PROGRAMATICALLY = "Create in code"
31
31
  }
32
32
 
33
+ export enum AlternativeSourceType {
34
+ FIREBASE_REALTIME_DATABASE = "Firebase Realtime DB",
35
+ FROM_LINK = "From link",
36
+ // WITHIN_WEBVIEW = "Within webview",
37
+ }
38
+
33
39
  export interface IFlashIntegration {
34
40
  id: number,
35
41
  name: string,
package/src/index.ts CHANGED
@@ -21,8 +21,8 @@ export { IOfferWallHomeDialogData } from "./aso/offerwall/offerwall-home-dialog-
21
21
 
22
22
  export { IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType, FlashAppPlugStatus } from "./flash/flash-app"
23
23
  export { IFlashAppListItem } from "./flash/flash-app-list-item"
24
- export { FlashAppType } from "./flash/flash-app-type"`
25
- export { AlternativeLayoutType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeWebViewType, IFlashIntegration } from "./flash/flash-app-integration"
24
+ export { FlashAppType } from "./flash/flash-app-type"
25
+ export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeWebViewType, IFlashIntegration } from "./flash/flash-app-integration"
26
26
 
27
27
  export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry"
28
28
 
@@ -42,5 +42,5 @@ export * as KeitaroUtils from "./utils/keitaro-utils"
42
42
 
43
43
  export {IKeitaroCampaign, IKeitaroCampaignParameters, IKeitaroCampaignParameter} from "./keitaro/keitaro-campaign"
44
44
  export {IKeitaroDomain} from "./keitaro/keitaro-domain"
45
- export {IKeitaroOffer} from "./keitaro/keitaro-offer"
45
+ export {IKeitaroOffer} from "./keitaro/keitaro-offer"`
46
46
  export {IKeitaroStream} from "./keitaro/keitaro-stream"