@jetthai/cuora 1.0.155 → 1.0.156

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,20 @@
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.0.156](https://github.com/jetthai/cuora-module/compare/v1.0.152-2...v1.0.156) (2022-08-02)
6
+
7
+ ### [1.0.155](https://github.com/jetthai/cuora-module/compare/v1.0.152-1...v1.0.155) (2022-08-02)
8
+
9
+ ### [1.0.154](https://github.com/jetthai/cuora-module/compare/v1.0.153-1...v1.0.154) (2022-07-28)
10
+
11
+ ### [1.0.153-1](https://github.com/jetthai/cuora-module/compare/v1.0.153...v1.0.153-1) (2022-07-28)
12
+
13
+ ### [1.0.153](https://github.com/jetthai/cuora-module/compare/v1.0.149-2...v1.0.153) (2022-07-28)
14
+
15
+ ### [1.0.149-2](https://github.com/jetthai/cuora-module/compare/v1.0.152...v1.0.149-2) (2022-07-28)
16
+
17
+ ### [1.0.149-1](https://github.com/jetthai/cuora-module/compare/v1.0.151...v1.0.149-1) (2022-07-27)
18
+
5
19
  ### [1.0.155](https://github.com/jetthai/cuora-module/compare/v1.0.152-1...v1.0.155) (2022-08-02)
6
20
 
7
21
  ### [1.0.154](https://github.com/jetthai/cuora-module/compare/v1.0.153-1...v1.0.154) (2022-07-28)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.155",
3
+ "version": "1.0.156",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -292,12 +292,14 @@ export default function (request) {
292
292
 
293
293
  const dt = await getDeviceToken({ fpToken, sentry, apiURL: request.config.apiURL })
294
294
  sentry.setTag('dt', dt)
295
- const messages = [
296
- { channel: cookies.get('channel'), subchannel: cookies.get('subchannel') },
297
- { channel: defaultChannel, subchannel: defaultSubchannel },
298
- { channel: channel, subchannel: subchannel },
299
- { url: window.location.href },
300
- ]
295
+ const messages = {
296
+ url: window.location.href,
297
+ list: [
298
+ { channel: cookies.get('channel'), subchannel: cookies.get('subchannel') },
299
+ { channel: defaultChannel, subchannel: defaultSubchannel },
300
+ { channel: channel, subchannel: subchannel },
301
+ ],
302
+ }
301
303
  sentry.captureMessage(JSON.stringify(messages))
302
304
 
303
305
  const redirectURL = urljoin(
@@ -105,12 +105,14 @@ export default function (request) {
105
105
  const dt = await getDeviceToken({ fpToken, sentry, apiURL: request.config.apiURL })
106
106
 
107
107
  sentry.setTag('dt', dt)
108
- const messages = [
109
- { channel: cookies.get('channel'), subchannel: cookies.get('subchannel') },
110
- { channel: defaultChannel, subchannel: defaultSubchannel },
111
- { channel: channel, subchannel: subchannel },
112
- { url: window.location.href },
113
- ]
108
+ const messages = {
109
+ url: window.location.href,
110
+ list: [
111
+ { channel: cookies.get('channel'), subchannel: cookies.get('subchannel') },
112
+ { channel: defaultChannel, subchannel: defaultSubchannel },
113
+ { channel: channel, subchannel: subchannel },
114
+ ],
115
+ }
114
116
  sentry.captureMessage(JSON.stringify(messages))
115
117
 
116
118
  return await request.send(