@jetthai/cuora 1.1.104 → 1.1.105

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.105](https://github.com/jetthai/cuora-module/compare/v1.1.104...v1.1.105) (2023-05-29)
6
+
5
7
  ### [1.1.104](https://github.com/jetthai/cuora-module/compare/v1.1.103...v1.1.104) (2023-05-26)
6
8
 
7
9
  ### [1.1.103](https://github.com/jetthai/cuora-module/compare/v1.1.102...v1.1.103) (2023-05-23)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.104",
3
+ "version": "1.1.105",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -328,7 +328,6 @@ export default function (request) {
328
328
  sentry,
329
329
  hosts: request.hosts,
330
330
  })
331
- sentry.setTag('dt', dt)
332
331
 
333
332
  const affiliateCode = storage.get('ac')
334
333
  const messages = {
@@ -267,7 +267,7 @@ export default function (request, context) {
267
267
  payment.getDepositExpectedResult({
268
268
  method,
269
269
  amount: selectedAmount,
270
- promotionsNo: promotion?.activityNo,
270
+ promotionsNo: promotion?.promotionsNo,
271
271
  })
272
272
  )
273
273
  },
@@ -110,7 +110,6 @@ export default function (request) {
110
110
  authenticate: async (context, event) => {
111
111
  const { channel, subchannel, signUpData } = context
112
112
  const dt = await getDeviceToken({ fpToken, sentry, hosts: request.hosts })
113
- sentry.setTag('dt', dt)
114
113
 
115
114
  const affiliateCode = storage.get('ac')
116
115
  const messages = {
@@ -22,6 +22,7 @@ const getDeviceToken = async ({ fpToken, sentry, hosts }) => {
22
22
  }
23
23
 
24
24
  console.log('[Device Token]', `${dt} from ${endpoints}`)
25
+ sentry?.setTag('dt', dt)
25
26
  } catch (error) {
26
27
  console.error('[Device Token]', `${dt} from ${endpoints}`, error)
27
28
  sentry?.captureException(error)