@jetthai/cuora 1.1.65-doubleWallet-1 → 1.1.65-doubleWallet-2

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.65-doubleWallet-2](https://github.com/jetthai/cuora-module/compare/v1.1.65-doubleWallet-1...v1.1.65-doubleWallet-2) (2023-03-31)
6
+
5
7
  ### [1.1.65-doubleWallet-1](https://github.com/jetthai/cuora-module/compare/v1.1.65-doubleWallet...v1.1.65-doubleWallet-1) (2023-03-31)
6
8
 
7
9
  ### [1.1.65-doubleWallet](https://github.com/jetthai/cuora-module/compare/v1.1.65...v1.1.65-doubleWallet) (2023-03-30)
package/dist/bundle.mjs CHANGED
@@ -27235,7 +27235,7 @@ function promotions (request) {
27235
27235
  }
27236
27236
  return {
27237
27237
  promotionsList,
27238
- selectedPromo: noBonus,
27238
+ selectedPromo: siteConfig?.walletMode === '4' ? promotionsList[0] : noBonus,
27239
27239
  }
27240
27240
  }),
27241
27241
  setSelectedPromo: assign((context, event) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.65-doubleWallet-1",
3
+ "version": "1.1.65-doubleWallet-2",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -111,7 +111,7 @@ export default function (request) {
111
111
  }
112
112
  return {
113
113
  promotionsList,
114
- selectedPromo: noBonus,
114
+ selectedPromo: siteConfig?.walletMode === '4' ? promotionsList[0] : noBonus,
115
115
  }
116
116
  }),
117
117
  setSelectedPromo: assign((context, event) => {