@jetthai/cuora 1.0.164 → 1.0.166

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.166](https://github.com/jetthai/cuora-module/compare/v1.0.165...v1.0.166) (2022-09-07)
6
+
7
+ ### [1.0.165](https://github.com/jetthai/cuora-module/compare/v1.0.164...v1.0.165) (2022-09-02)
8
+
5
9
  ### [1.0.164](https://github.com/jetthai/cuora-module/compare/v1.0.163...v1.0.164) (2022-08-26)
6
10
 
7
11
  ### [1.0.163](https://github.com/jetthai/cuora-module/compare/v1.0.162...v1.0.163) (2022-08-19)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.164",
3
+ "version": "1.0.166",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -181,7 +181,7 @@ export default function (request) {
181
181
  },
182
182
  fetchBanksList: async (context, event) => {
183
183
  const { paymentDetails } = context
184
- const method = paymentDetails.find((item) => item.category === 'manual')?.method
184
+ const method = paymentDetails.find((item) => item.category === 'direct')?.method
185
185
  return await request.send(payment.getBankList(method))
186
186
  },
187
187
  fetchCalculation: async (context, event) => {