@teamdigipay/dgepay-customer-transaction-package 0.0.6 → 0.0.7

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.
@@ -627,7 +627,7 @@ TransactionController.validateThresholdWise = (config, payload, onData, onError)
627
627
  userThresholdTxn = userThresholdData === null || userThresholdData === void 0 ? void 0 : userThresholdData.threshold_no_txn;
628
628
  (0, ProfileThresholdHelpers_1.getUserProfileHelper)(config, {
629
629
  userId: userId,
630
- userType: constants_1.USER_TYPE.MERCHANT,
630
+ userType: constants_1.USER_TYPE.CUSTOMER,
631
631
  currencyId: currencyId
632
632
  }, (data) => {
633
633
  data.then((userProfile) => __awaiter(void 0, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamdigipay/dgepay-customer-transaction-package",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "author": "RM (peerbits)",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
@@ -832,7 +832,7 @@ export class TransactionController {
832
832
  getUserProfileHelper(config,
833
833
  {
834
834
  userId: userId,
835
- userType: USER_TYPE.MERCHANT,
835
+ userType: USER_TYPE.CUSTOMER,
836
836
  currencyId: currencyId},
837
837
  (data)=>{
838
838
  data.then(async (userProfile: any) => {