@jetthai/cuora 1.1.86 → 1.1.87

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,34 @@
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.87](https://github.com/jetthai/cuora-module/compare/v1.1.74-2...v1.1.87) (2023-04-30)
6
+
7
+ ### [1.1.86](https://github.com/jetthai/cuora-module/compare/v1.1.85...v1.1.86) (2023-04-27)
8
+
9
+ ### [1.1.85](https://github.com/jetthai/cuora-module/compare/v1.1.84...v1.1.85) (2023-04-26)
10
+
11
+ ### [1.1.84](https://github.com/jetthai/cuora-module/compare/v1.1.83...v1.1.84) (2023-04-26)
12
+
13
+ ### [1.1.83](https://github.com/jetthai/cuora-module/compare/v1.1.82...v1.1.83) (2023-04-24)
14
+
15
+ ### [1.1.82](https://github.com/jetthai/cuora-module/compare/v1.1.81...v1.1.82) (2023-04-24)
16
+
17
+ ### [1.1.81](https://github.com/jetthai/cuora-module/compare/v1.1.80...v1.1.81) (2023-04-20)
18
+
19
+ ### [1.1.80](https://github.com/jetthai/cuora-module/compare/v1.1.79...v1.1.80) (2023-04-18)
20
+
21
+ ### [1.1.79](https://github.com/jetthai/cuora-module/compare/v1.1.78...v1.1.79) (2023-04-18)
22
+
23
+ ### [1.1.78](https://github.com/jetthai/cuora-module/compare/v1.1.66-1...v1.1.78) (2023-04-14)
24
+
25
+ ### [1.1.66-1](https://github.com/jetthai/cuora-module/compare/v1.1.77...v1.1.66-1) (2023-04-13)
26
+
27
+ ### [1.1.77](https://github.com/jetthai/cuora-module/compare/v1.1.76...v1.1.77) (2023-04-13)
28
+
29
+ ### [1.1.76](https://github.com/jetthai/cuora-module/compare/v1.1.75...v1.1.76) (2023-04-13)
30
+
31
+ ### [1.1.75](https://github.com/jetthai/cuora-module/compare/v1.1.74...v1.1.75) (2023-04-12)
32
+
5
33
  ### [1.1.86](https://github.com/jetthai/cuora-module/compare/v1.1.85...v1.1.86) (2023-04-27)
6
34
 
7
35
  ### [1.1.85](https://github.com/jetthai/cuora-module/compare/v1.1.84...v1.1.85) (2023-04-26)
@@ -26,6 +54,10 @@ All notable changes to this project will be documented in this file. See [standa
26
54
 
27
55
  ### [1.1.75](https://github.com/jetthai/cuora-module/compare/v1.1.74...v1.1.75) (2023-04-12)
28
56
 
57
+ ### [1.1.74-2](https://github.com/jetthai/cuora-module/compare/v1.1.74-1...v1.1.74-2) (2023-04-29)
58
+
59
+ ### [1.1.74-1](https://github.com/jetthai/cuora-module/compare/v1.1.74...v1.1.74-1) (2023-04-29)
60
+
29
61
  ### [1.1.74](https://github.com/jetthai/cuora-module/compare/v1.1.73...v1.1.74) (2023-04-09)
30
62
 
31
63
  ### [1.1.73](https://github.com/jetthai/cuora-module/compare/v1.1.72...v1.1.73) (2023-04-07)
package/dist/bundle.mjs CHANGED
@@ -15777,11 +15777,11 @@ function auth (request) {
15777
15777
  const referralObj = {};
15778
15778
  if (![undefined, 'undefined', null, 'null'].includes(affiliateCode)) {
15779
15779
  referralObj.ac = affiliateCode;
15780
- } else {
15781
- (referralObj.channel = storage.get('channel') || defaultChannel || channel),
15782
- (referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel);
15783
15780
  }
15784
15781
 
15782
+ referralObj.channel = storage.get('channel') || defaultChannel || channel;
15783
+ referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel;
15784
+
15785
15785
  const redirectURL = urljoin(
15786
15786
  request.config.fullURL,
15787
15787
  'login?' +
@@ -20400,11 +20400,11 @@ function user_sign_up (request) {
20400
20400
  const referralObj = {};
20401
20401
  if (![undefined, 'undefined', null, 'null'].includes(affiliateCode)) {
20402
20402
  referralObj.ac = affiliateCode;
20403
- } else {
20404
- (referralObj.channel = storage.get('channel') || defaultChannel || channel),
20405
- (referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel);
20406
20403
  }
20407
20404
 
20405
+ referralObj.channel = storage.get('channel') || defaultChannel || channel;
20406
+ referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel;
20407
+
20408
20408
  return await request.send(
20409
20409
  auth$1.register({
20410
20410
  ...signUpData,
@@ -23841,10 +23841,7 @@ function loadcard_vn (request) {
23841
23841
  {
23842
23842
  target: 'submitting',
23843
23843
  actions: 'setCalculation',
23844
- cond: (context, event) => {
23845
- const { siteConfig = {}, selectedCard = {} } = context;
23846
- return siteConfig.walletMode === '2' && selectedCard.jumpLinkEnable === 1
23847
- },
23844
+ cond: 'jumpLinkEnable',
23848
23845
  },
23849
23846
  {
23850
23847
  target: 'cardInfo',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.86",
3
+ "version": "1.1.87",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -345,11 +345,11 @@ export default function (request) {
345
345
  const referralObj = {}
346
346
  if (![undefined, 'undefined', null, 'null'].includes(affiliateCode)) {
347
347
  referralObj.ac = affiliateCode
348
- } else {
349
- ;(referralObj.channel = storage.get('channel') || defaultChannel || channel),
350
- (referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel)
351
348
  }
352
349
 
350
+ referralObj.channel = storage.get('channel') || defaultChannel || channel
351
+ referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel
352
+
353
353
  const redirectURL = urljoin(
354
354
  request.config.fullURL,
355
355
  'login?' +
@@ -135,10 +135,7 @@ export default function (request) {
135
135
  {
136
136
  target: 'submitting',
137
137
  actions: 'setCalculation',
138
- cond: (context, event) => {
139
- const { siteConfig = {}, selectedCard = {} } = context
140
- return siteConfig.walletMode === '2' && selectedCard.jumpLinkEnable === 1
141
- },
138
+ cond: 'jumpLinkEnable',
142
139
  },
143
140
  {
144
141
  target: 'cardInfo',
@@ -127,11 +127,11 @@ export default function (request) {
127
127
  const referralObj = {}
128
128
  if (![undefined, 'undefined', null, 'null'].includes(affiliateCode)) {
129
129
  referralObj.ac = affiliateCode
130
- } else {
131
- ;(referralObj.channel = storage.get('channel') || defaultChannel || channel),
132
- (referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel)
133
130
  }
134
131
 
132
+ referralObj.channel = storage.get('channel') || defaultChannel || channel
133
+ referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel
134
+
135
135
  return await request.send(
136
136
  auth.register({
137
137
  ...signUpData,