@jetthai/cuora 1.1.55 → 1.1.56
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 +2 -0
- package/dist/bundle.mjs +1 -1
- package/package.json +1 -1
- package/src/machine/auth.js +1 -1
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.56](https://github.com/jetthai/cuora-module/compare/v1.1.55...v1.1.56) (2023-03-02)
|
|
6
|
+
|
|
5
7
|
### [1.1.55](https://github.com/jetthai/cuora-module/compare/v1.1.54...v1.1.55) (2023-03-02)
|
|
6
8
|
|
|
7
9
|
### [1.1.54](https://github.com/jetthai/cuora-module/compare/v1.1.53...v1.1.54) (2023-03-01)
|
package/dist/bundle.mjs
CHANGED
|
@@ -10014,7 +10014,7 @@ function auth (request) {
|
|
|
10014
10014
|
sentry.captureMessage(JSON.stringify(messages));
|
|
10015
10015
|
|
|
10016
10016
|
const referralObj = {};
|
|
10017
|
-
if (referralCode) {
|
|
10017
|
+
if (![undefined, 'undefined', null, 'null'].includes(referralCode)) {
|
|
10018
10018
|
referralObj.referralCode = referralCode;
|
|
10019
10019
|
} else {
|
|
10020
10020
|
(referralObj.channel = storage.get('channel') || defaultChannel || channel),
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -343,7 +343,7 @@ export default function (request) {
|
|
|
343
343
|
sentry.captureMessage(JSON.stringify(messages))
|
|
344
344
|
|
|
345
345
|
const referralObj = {}
|
|
346
|
-
if (referralCode) {
|
|
346
|
+
if (![undefined, 'undefined', null, 'null'].includes(referralCode)) {
|
|
347
347
|
referralObj.referralCode = referralCode
|
|
348
348
|
} else {
|
|
349
349
|
;(referralObj.channel = storage.get('channel') || defaultChannel || channel),
|