@teamdigipay/dgepay-customer-transaction-package 0.0.23 → 0.0.25

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/dist/index.d.ts CHANGED
@@ -10,5 +10,5 @@ import * as txnConstants from "./utils/constants";
10
10
  import DatadogTxn from "./utils/DatadogTxn";
11
11
  import { MoneyExchangeController } from "../src/controller/MoneyExchangeController";
12
12
  import { SubWalletController } from "./controller/SubWalletController";
13
- import { CommonConfig, initializeCommonConfig } from "./utils/CommonConfig";
14
- export { TransactionController, AddMoneyController, TransactionHistoryController, SettleToBankController, MoneyExchangeController, SubWalletController, getUserWalletHelper, txnUtils, CommonConfig, initializeCommonConfig, txnAPIModels, txnConstants, txnNavigationConstants, DatadogTxn };
13
+ import { CommonConfig, initializeTxnCommonConfig } from "./utils/CommonConfig";
14
+ export { TransactionController, AddMoneyController, TransactionHistoryController, SettleToBankController, MoneyExchangeController, SubWalletController, getUserWalletHelper, txnUtils, CommonConfig, initializeTxnCommonConfig, txnAPIModels, txnConstants, txnNavigationConstants, DatadogTxn };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DatadogTxn = exports.txnNavigationConstants = exports.txnConstants = exports.txnAPIModels = exports.initializeCommonConfig = exports.txnUtils = exports.getUserWalletHelper = exports.SubWalletController = exports.MoneyExchangeController = exports.SettleToBankController = exports.TransactionHistoryController = exports.AddMoneyController = exports.TransactionController = void 0;
3
+ exports.DatadogTxn = exports.txnNavigationConstants = exports.txnConstants = exports.txnAPIModels = exports.initializeTxnCommonConfig = exports.txnUtils = exports.getUserWalletHelper = exports.SubWalletController = exports.MoneyExchangeController = exports.SettleToBankController = exports.TransactionHistoryController = exports.AddMoneyController = exports.TransactionController = void 0;
4
4
  const txnAPIModels = require("./network/APIModels/APIModels");
5
5
  exports.txnAPIModels = txnAPIModels;
6
6
  const NavigationConstants_1 = require("./utils/NavigationConstants");
@@ -26,4 +26,4 @@ Object.defineProperty(exports, "MoneyExchangeController", { enumerable: true, ge
26
26
  const SubWalletController_1 = require("./controller/SubWalletController");
27
27
  Object.defineProperty(exports, "SubWalletController", { enumerable: true, get: function () { return SubWalletController_1.SubWalletController; } });
28
28
  const CommonConfig_1 = require("./utils/CommonConfig");
29
- Object.defineProperty(exports, "initializeCommonConfig", { enumerable: true, get: function () { return CommonConfig_1.initializeCommonConfig; } });
29
+ Object.defineProperty(exports, "initializeTxnCommonConfig", { enumerable: true, get: function () { return CommonConfig_1.initializeTxnCommonConfig; } });
@@ -11,5 +11,5 @@ export interface CommonConfig {
11
11
  SESSION_EXPIRE_VALUE: string;
12
12
  message: string;
13
13
  }
14
- export declare const initializeCommonConfig: (config: CommonConfig) => void;
14
+ export declare const initializeTxnCommonConfig: (config: CommonConfig) => void;
15
15
  export declare const getCommonConfig: () => CommonConfig;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCommonConfig = exports.initializeCommonConfig = void 0;
3
+ exports.getCommonConfig = exports.initializeTxnCommonConfig = void 0;
4
4
  let commonConfig = null;
5
- const initializeCommonConfig = (config) => {
5
+ const initializeTxnCommonConfig = (config) => {
6
6
  commonConfig = config;
7
7
  };
8
- exports.initializeCommonConfig = initializeCommonConfig;
8
+ exports.initializeTxnCommonConfig = initializeTxnCommonConfig;
9
9
  const getCommonConfig = () => {
10
10
  if (!commonConfig) {
11
11
  throw new Error('Common config is not initialized. Please call initializeCommonConfig based in app.tsx.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamdigipay/dgepay-customer-transaction-package",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "author": "RM (peerbits)",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
package/src/index.ts CHANGED
@@ -10,7 +10,7 @@ import * as txnConstants from "./utils/constants";
10
10
  import DatadogTxn from "./utils/DatadogTxn";
11
11
  import { MoneyExchangeController } from "../src/controller/MoneyExchangeController"
12
12
  import { SubWalletController } from "./controller/SubWalletController";
13
- import {CommonConfig,initializeCommonConfig} from "./utils/CommonConfig";
13
+ import {CommonConfig,initializeTxnCommonConfig} from "./utils/CommonConfig";
14
14
 
15
15
 
16
16
  export {
@@ -25,7 +25,7 @@ export {
25
25
  getUserWalletHelper,
26
26
  txnUtils,
27
27
  CommonConfig,
28
- initializeCommonConfig,
28
+ initializeTxnCommonConfig,
29
29
 
30
30
  // Constants
31
31
  txnAPIModels,
@@ -16,7 +16,7 @@ export interface CommonConfig {
16
16
  let commonConfig: CommonConfig | null = null;
17
17
 
18
18
 
19
- export const initializeCommonConfig = (config: CommonConfig) => {
19
+ export const initializeTxnCommonConfig = (config: CommonConfig) => {
20
20
  commonConfig = config;
21
21
  };
22
22