@jetthai/cuora 1.1.436 → 1.1.437

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.437](https://github.com/jetthai/cuora-module/compare/v1.1.436...v1.1.437) (2026-05-15)
6
+
5
7
  ### [1.1.436](https://github.com/jetthai/cuora-module/compare/v1.1.435...v1.1.436) (2026-05-15)
6
8
 
7
9
  ### [1.1.435](https://github.com/jetthai/cuora-module/compare/v1.1.434...v1.1.435) (2026-05-14)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.436",
3
+ "version": "1.1.437",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -219,7 +219,15 @@ export default class Request {
219
219
  (error) => {
220
220
  if (error.message === 'Network Error' || error.message === 'Request failed with status code 404') {
221
221
  const endpoint = error.config?.url || ''
222
- this.sentry?.captureException(`ERR_998:${error.message}`, { extra: { endpoint } })
222
+ const uidSite = window.$nuxt?.$store?.state?.userInfo?.uid_site || ''
223
+ this.sentry?.captureException(`ERR_998:${error.message}`, {
224
+ extra: {
225
+ endpoint,
226
+ site: this.config.clientId,
227
+ uidSite,
228
+ version: this.config.version,
229
+ },
230
+ })
223
231
  return Promise.reject({ code: 'ERR_998', endpoint })
224
232
  }
225
233
  return Promise.reject(error.response?.data?.error || error)