react-memory-optimization 0.0.52 → 0.0.54

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.
@@ -1263,6 +1263,26 @@ exports.binaryDecoderScheme = {
1263
1263
  },
1264
1264
  ],
1265
1265
  },
1266
+ '154': {
1267
+ data: [
1268
+ {
1269
+ type: -2 /* EReadModifiedDataType.Module */,
1270
+ name: 'paymentResponse',
1271
+ isSave: true,
1272
+ dependencyName: types_1.ReadModuleKeys.ReadPaymentResponse,
1273
+ },
1274
+ ],
1275
+ },
1276
+ '155': {
1277
+ data: [
1278
+ {
1279
+ type: -2 /* EReadModifiedDataType.Module */,
1280
+ name: 'paymentResponse',
1281
+ isSave: true,
1282
+ dependencyName: types_1.ReadModuleKeys.ReadPaymentResponse,
1283
+ },
1284
+ ],
1285
+ },
1266
1286
  '200': {
1267
1287
  data: [
1268
1288
  {
@@ -1,4 +1,3 @@
1
- import { Jackpot } from './jackpots';
2
1
  import { InstaHistories } from './instaNews';
3
2
  import { ExperimentalService } from './service';
4
3
  import { ExperimentalPush } from './push';
@@ -6,7 +5,6 @@ export declare class ExperimentalFeatures {
6
5
  socket: null | any;
7
6
  socketConnectionStatus: boolean;
8
7
  url: string;
9
- jackpots: Jackpot;
10
8
  instaHistories: InstaHistories;
11
9
  pushes: ExperimentalPush;
12
10
  experimentalService: ExperimentalService;
@@ -1,12 +1,6 @@
1
1
  import { ExperimentalFeatures } from '..';
2
- import { CustomJackpotInfo, ExperimentalJackpot } from '../jackpots/types';
3
2
  export declare class ExperimentalService {
4
3
  parent: ExperimentalFeatures;
5
4
  constructor(parent: ExperimentalFeatures);
6
- getJackpots(): Promise<ExperimentalJackpot[]>;
7
- getJackpotsByPath(): Promise<{
8
- jackpots: CustomJackpotInfo[];
9
- }>;
10
5
  savePushInfo(data: any): Promise<any>;
11
- getAdaptedCustomJackpots(): ExperimentalJackpot[];
12
6
  }
@@ -1,4 +1,3 @@
1
- import { Jackpot } from './jackpots/types';
2
1
  export declare const enum EAppSocketCommand {
3
2
  UserVerification = "user-verification",
4
3
  CasinoJackpots = "casino-jackpots",
@@ -6,16 +5,3 @@ export declare const enum EAppSocketCommand {
6
5
  Wheel = "wheel-update",
7
6
  InformationMessages = "info-update"
8
7
  }
9
- export type EventJackpotUpdate = {
10
- name: EAppSocketCommand.CasinoJackpots;
11
- id: number;
12
- isActive: boolean;
13
- isDrawTime: boolean;
14
- jackpot: Jackpot;
15
- } & ({
16
- isDelete: true;
17
- ids: (number | string)[];
18
- } | {
19
- isDelete: false;
20
- ids?: any[] | undefined;
21
- });
@@ -2,3 +2,4 @@ export declare const COUNT_GAMES_MAIN_PAGE = 9;
2
2
  export declare const POPULAR_GROUP_ID = 10;
3
3
  export declare const DEFAULT_PLATFORM: any;
4
4
  export declare const DEFAULT_RESPONSE: any;
5
+ export declare const JACKPOT_SECRET_KEY = "jackpot-secret-key-001";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_RESPONSE = exports.DEFAULT_PLATFORM = exports.POPULAR_GROUP_ID = exports.COUNT_GAMES_MAIN_PAGE = void 0;
3
+ exports.JACKPOT_SECRET_KEY = exports.DEFAULT_RESPONSE = exports.DEFAULT_PLATFORM = exports.POPULAR_GROUP_ID = exports.COUNT_GAMES_MAIN_PAGE = void 0;
4
4
  exports.COUNT_GAMES_MAIN_PAGE = 9;
5
5
  exports.POPULAR_GROUP_ID = 10;
6
6
  // TODO FIX TYPES
@@ -20,3 +20,4 @@ exports.DEFAULT_RESPONSE = {
20
20
  allDesktopGameIds: {},
21
21
  providerIds: {},
22
22
  };
23
+ exports.JACKPOT_SECRET_KEY = 'jackpot-secret-key-001';
@@ -262,7 +262,9 @@ export declare enum PaymentChannelType {
262
262
  PlixoCreedoBkash = 248,
263
263
  PlixoCreedoNagad = 249,
264
264
  PlixoCreedoEasyPaisa = 250,
265
- PlixoCreedoJazzCash = 251
265
+ PlixoCreedoJazzCash = 251,
266
+ FluxBKash = 252,
267
+ FluxNagad = 253
266
268
  }
267
269
  export type MPayMethods = PaymentChannelType.MPayParazula | PaymentChannelType.MPayPayco | PaymentChannelType.MPayVCC | PaymentChannelType.PaparaMPay | PaymentChannelType.MefeteMpay | PaymentChannelType.MefeteMpayQr | PaymentChannelType.EFTMPay | PaymentChannelType.MiniHavaleMpay | PaymentChannelType.PopyMpay;
268
270
  export type WellexPayMethods = PaymentChannelType.BKashFastWellexPay | PaymentChannelType.NagadFastWellexPay | PaymentChannelType.NagadWellexPay | PaymentChannelType.BkashWellexPay | PaymentChannelType.WellxpayUpay | PaymentChannelType.BKashFastWellexPayCopy | PaymentChannelType.NagadFastWellexPayCopy | PaymentChannelType.WellxpayRocket;
@@ -163,4 +163,6 @@ var PaymentChannelType;
163
163
  PaymentChannelType[PaymentChannelType["PlixoCreedoNagad"] = 249] = "PlixoCreedoNagad";
164
164
  PaymentChannelType[PaymentChannelType["PlixoCreedoEasyPaisa"] = 250] = "PlixoCreedoEasyPaisa";
165
165
  PaymentChannelType[PaymentChannelType["PlixoCreedoJazzCash"] = 251] = "PlixoCreedoJazzCash";
166
+ PaymentChannelType[PaymentChannelType["FluxBKash"] = 252] = "FluxBKash";
167
+ PaymentChannelType[PaymentChannelType["FluxNagad"] = 253] = "FluxNagad";
166
168
  })(PaymentChannelType || (exports.PaymentChannelType = PaymentChannelType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-memory-optimization",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "description": "react memory optimization library",
5
5
  "sideEffects": false,
6
6
  "files": [
@@ -1,21 +0,0 @@
1
- import { ObservableEntity } from 'service/observableEntity';
2
- import { ExperimentalService } from '../service';
3
- import { CustomJackpot, EventJackpotUpdate, ExperimentalJackpot } from './types';
4
- import { BaseObservableSubscriber, UpdateData } from 'service/observable/type';
5
- export declare class Jackpot extends ObservableEntity<undefined> {
6
- _jackpots: ExperimentalJackpot[];
7
- _customJackpots: CustomJackpot;
8
- service: ExperimentalService;
9
- constructor(service: ExperimentalService);
10
- set jackpots(data: ExperimentalJackpot[]);
11
- get jackpots(): ExperimentalJackpot[];
12
- set customJackpots(data: CustomJackpot);
13
- get customJackpots(): CustomJackpot;
14
- fetchInitialJackpots(): Promise<void>;
15
- fetchCustomJackpots(): Promise<void>;
16
- parseJackpotInfo(data: EventJackpotUpdate): void;
17
- sendUpdateEntity(info: BaseObservableSubscriber & {
18
- customPath?: string;
19
- jackpotId: number;
20
- }): UpdateData;
21
- }
@@ -1,38 +0,0 @@
1
- import { EAppSocketCommand } from '../types';
2
- export type Jackpot = {
3
- id: number;
4
- min: number;
5
- name: string;
6
- max: number;
7
- drawDate: number;
8
- createdAt: number;
9
- };
10
- export type EventJackpotUpdate = {
11
- name: EAppSocketCommand.CasinoJackpots;
12
- id: number;
13
- isActive: boolean;
14
- isDrawTime: boolean;
15
- jackpot: Jackpot;
16
- } & ({
17
- isDelete: true;
18
- ids: (number | string)[];
19
- } | {
20
- isDelete: false;
21
- ids?: any[] | undefined;
22
- });
23
- export type ExperimentalJackpot = {
24
- id: number;
25
- min: number;
26
- name: string;
27
- max: number;
28
- drawDate: number;
29
- createdAt: number;
30
- };
31
- export type CustomJackpot = {
32
- path: string;
33
- jackpots: CustomJackpotInfo[];
34
- };
35
- export type CustomJackpotInfo = Omit<ExperimentalJackpot, 'max' | 'createAt' | 'drawAt'> & {
36
- step: number;
37
- days: number;
38
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });