@uipath/ui-widgets-conversational-agent-chat 1.0.1 → 1.0.2

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.
@@ -1,5 +1,5 @@
1
1
  import { telemetryClient } from "@uipath/uipath-typescript/core";
2
- import { version } from "../../package.json";
2
+ import { version } from "../version";
3
3
  export const trackTelemetry = (event, status, properties) => {
4
4
  telemetryClient.track(event, status, {
5
5
  ApplicationName: "Widget.ConversationalAgentChat",
@@ -1 +1 @@
1
- {"version":3,"file":"telemetryUtils.js","sourceRoot":"","sources":["../../src/utils/telemetryUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG7C,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,KAAqB,EACrB,MAAuB,EACvB,UAAoC,EACpC,EAAE;IACF,eAAe,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE;QACnC,eAAe,EAAE,gCAAgC;QACjD,aAAa,EAAE,OAAO;QACtB,GAAG,UAAU;KACd,CAAC,CAAC;AACL,CAAC,CAAC"}
1
+ {"version":3,"file":"telemetryUtils.js","sourceRoot":"","sources":["../../src/utils/telemetryUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,KAAqB,EACrB,MAAuB,EACvB,UAAoC,EACpC,EAAE;IACF,eAAe,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE;QACnC,eAAe,EAAE,gCAAgC;QACjD,aAAa,EAAE,OAAO;QACtB,GAAG,UAAU;KACd,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const version = "1.0.2";
2
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ // Generated from package.json by scripts/sync-version.mjs. Do not edit by hand.
2
+ export const version = "1.0.2";
3
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/ui-widgets-conversational-agent-chat",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A React conversational agent chat component",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -17,8 +17,9 @@
17
17
  "dist"
18
18
  ],
19
19
  "scripts": {
20
- "build": "npm run clean && tsc && npm run copy-styles",
20
+ "build": "npm run clean && npm run sync-version && tsc && npm run copy-styles",
21
21
  "clean": "rimraf dist",
22
+ "sync-version": "node scripts/sync-version.mjs",
22
23
  "copy-styles": "sass --no-source-map src/ConversationalAgentChat.scss | postcss -o dist/ConversationalAgentChat.css",
23
24
  "test": "vitest --run",
24
25
  "test:watch": "vitest",