@jetthai/cuora 1.1.55 → 1.1.57

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,10 @@
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.57](https://github.com/jetthai/cuora-module/compare/v1.1.56...v1.1.57) (2023-03-07)
6
+
7
+ ### [1.1.56](https://github.com/jetthai/cuora-module/compare/v1.1.55...v1.1.56) (2023-03-02)
8
+
5
9
  ### [1.1.55](https://github.com/jetthai/cuora-module/compare/v1.1.54...v1.1.55) (2023-03-02)
6
10
 
7
11
  ### [1.1.54](https://github.com/jetthai/cuora-module/compare/v1.1.53...v1.1.54) (2023-03-01)
package/dist/bundle.mjs CHANGED
@@ -9100,8 +9100,6 @@ function activity$1 (request) {
9100
9100
  SET_UNREAD: {
9101
9101
  actions: 'setUnread',
9102
9102
  },
9103
- },
9104
- on: {
9105
9103
  REFRESH: {
9106
9104
  target: '#activity.fetchingActivityList',
9107
9105
  },
@@ -10014,7 +10012,7 @@ function auth (request) {
10014
10012
  sentry.captureMessage(JSON.stringify(messages));
10015
10013
 
10016
10014
  const referralObj = {};
10017
- if (referralCode) {
10015
+ if (![undefined, 'undefined', null, 'null'].includes(referralCode)) {
10018
10016
  referralObj.referralCode = referralCode;
10019
10017
  } else {
10020
10018
  (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.55",
3
+ "version": "1.1.57",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -65,8 +65,6 @@ export default function (request) {
65
65
  SET_UNREAD: {
66
66
  actions: 'setUnread',
67
67
  },
68
- },
69
- on: {
70
68
  REFRESH: {
71
69
  target: '#activity.fetchingActivityList',
72
70
  },
@@ -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),