From 243db414d1e0ca9c7f2089b622cd5da646b55d16 Mon Sep 17 00:00:00 2001 From: Yen Truong <36055303+yen-tt@users.noreply.github.com> Date: Mon, 6 May 2024 14:31:52 -0400 Subject: [PATCH] bump headless-react (#47) bump chat-headless version to v0.8.0 to get changes from https://github.com/yext/chat-headless/pull/46 J=CLIP-1189 TEST=manual&auto see that unit tests passed build chat-headless-react and link the library locally to chat-ui-react. Force an internal error using yen-bot-2 (v18)'s CHIT_CHAT goal. See that the thrown error is instance of ApiError and contains the expected new fields. --- package-lock.json | 14 ++------------ packages/chat-headless-react/THIRD-PARTY-NOTICES | 4 ++-- packages/chat-headless-react/package.json | 4 ++-- 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7fa9947..8588785 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18732,11 +18732,11 @@ }, "packages/chat-headless-react": { "name": "@yext/chat-headless-react", - "version": "0.6.1", + "version": "0.7.0", "license": "BSD-3-Clause", "dependencies": { "@reduxjs/toolkit": "^1.9.5", - "@yext/chat-headless": "^0.7.1", + "@yext/chat-headless": "^0.8.0", "react-redux": "^8.0.5" }, "devDependencies": { @@ -19041,16 +19041,6 @@ "cross-fetch": "^3.1.5" } }, - "packages/chat-headless-react/node_modules/@yext/chat-headless": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@yext/chat-headless/-/chat-headless-0.7.5.tgz", - "integrity": "sha512-MML3rncz0yilzNQTYYBk+sTw34BBs3TMJLznaXcpCwQtMu2raeaKPBbeKo+CiErzEy1RdnIkOZibYaIUQApsGA==", - "dependencies": { - "@reduxjs/toolkit": "^1.9.5", - "@yext/analytics": "^0.6.3", - "@yext/chat-core": "^0.7.0" - } - }, "packages/chat-headless-react/node_modules/ansi-styles": { "version": "4.3.0", "dev": true, diff --git a/packages/chat-headless-react/THIRD-PARTY-NOTICES b/packages/chat-headless-react/THIRD-PARTY-NOTICES index bf98b11..40027bb 100644 --- a/packages/chat-headless-react/THIRD-PARTY-NOTICES +++ b/packages/chat-headless-react/THIRD-PARTY-NOTICES @@ -139,8 +139,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The following npm packages may be included in this product: - - @yext/chat-core@0.7.6 - - @yext/chat-headless@0.7.5 + - @yext/chat-core@0.8.0 + - @yext/chat-headless@0.8.0 These packages each contain the following license and notice below: diff --git a/packages/chat-headless-react/package.json b/packages/chat-headless-react/package.json index d0752ea..23246fe 100644 --- a/packages/chat-headless-react/package.json +++ b/packages/chat-headless-react/package.json @@ -1,6 +1,6 @@ { "name": "@yext/chat-headless-react", - "version": "0.6.1", + "version": "0.7.0", "description": "the official React UI Bindings layer for Chat Headless", "main": "./dist/commonjs/src/index.js", "module": "./dist/esm/src/index.mjs", @@ -39,7 +39,7 @@ "homepage": "https://github.com/yext/chat-headless#readme", "dependencies": { "@reduxjs/toolkit": "^1.9.5", - "@yext/chat-headless": "^0.7.1", + "@yext/chat-headless": "^0.8.0", "react-redux": "^8.0.5" }, "peerDependencies": {