@jetthai/cuora 1.1.54 → 1.1.55

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.55](https://github.com/jetthai/cuora-module/compare/v1.1.54...v1.1.55) (2023-03-02)
6
+
5
7
  ### [1.1.54](https://github.com/jetthai/cuora-module/compare/v1.1.53...v1.1.54) (2023-03-01)
6
8
 
7
9
  ### [1.1.53](https://github.com/jetthai/cuora-module/compare/v1.1.51...v1.1.53) (2023-02-24)
package/dist/bundle.mjs CHANGED
@@ -14604,7 +14604,7 @@ function user_sign_up (request) {
14604
14604
  sentry.captureMessage(JSON.stringify(messages));
14605
14605
 
14606
14606
  const referralObj = {};
14607
- if (referralCode) {
14607
+ if (![undefined, 'undefined', null, 'null'].includes(referralCode)) {
14608
14608
  referralObj.referralCode = referralCode;
14609
14609
  } else {
14610
14610
  (referralObj.channel = storage.get('channel') || defaultChannel || channel),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -125,7 +125,7 @@ export default function (request) {
125
125
  sentry.captureMessage(JSON.stringify(messages))
126
126
 
127
127
  const referralObj = {}
128
- if (referralCode) {
128
+ if (![undefined, 'undefined', null, 'null'].includes(referralCode)) {
129
129
  referralObj.referralCode = referralCode
130
130
  } else {
131
131
  ;(referralObj.channel = storage.get('channel') || defaultChannel || channel),