@jetthai/cuora 1.1.69 → 1.1.70

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,8 @@
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.1.70](https://github.com/jetthai/cuora-module/compare/v1.1.69...v1.1.70) (2023-04-07)
6
+
5
7
  ### [1.1.69](https://github.com/jetthai/cuora-module/compare/v1.1.68...v1.1.69) (2023-04-06)
6
8
 
7
9
  ### [1.1.68](https://github.com/jetthai/cuora-module/compare/v1.1.67...v1.1.68) (2023-04-06)
package/dist/bundle.mjs CHANGED
@@ -3869,7 +3869,7 @@ var payment = {
3869
3869
  giveUp: () => ({ url: 'payment/v2/bankWallet/promotion/giveUp', method: 'post' }),
3870
3870
  restore: ({ amount }) => ({ url: 'payment/v2/bankWallet/restore', method: 'post', params: { amount } }),
3871
3871
  restore: () => ({ url: 'payment/v2/bankWallet/restore', method: 'post', params: { amount } }),
3872
- getBonusPreview: ({ method, promotionsNo }) => ({ url: `payment/v2/${method}/transaction`, method: 'post', params: { promotionsNo } }),
3872
+ getBonusPreview: ({ method, promotionsNo }) => ({ url: `payment/v2/${method}/bonus/preview`, method: 'post', params: { promotionsNo } }),
3873
3873
  };
3874
3874
 
3875
3875
  var user = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.69",
3
+ "version": "1.1.70",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -138,5 +138,5 @@ export default {
138
138
  giveUp: () => ({ url: 'payment/v2/bankWallet/promotion/giveUp', method: 'post' }),
139
139
  restore: ({ amount }) => ({ url: 'payment/v2/bankWallet/restore', method: 'post', params: { amount } }),
140
140
  restore: () => ({ url: 'payment/v2/bankWallet/restore', method: 'post', params: { amount } }),
141
- getBonusPreview: ({ method, promotionsNo }) => ({ url: `payment/v2/${method}/transaction`, method: 'post', params: { promotionsNo } }),
141
+ getBonusPreview: ({ method, promotionsNo }) => ({ url: `payment/v2/${method}/bonus/preview`, method: 'post', params: { promotionsNo } }),
142
142
  }