From fca045a2e157ace15e1a48446183662c7daae307 Mon Sep 17 00:00:00 2001 From: Ash Date: Tue, 27 Aug 2024 13:56:11 +0100 Subject: [PATCH] updated webchat version (#793) Co-authored-by: Ash --- package-lock.json | 18 +++++++++++------- package.json | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 58088aee9..624e388c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@babel/core": "^7.23.3", "@babel/plugin-transform-runtime": "^7.23.4", "@babel/preset-env": "^7.16.4", - "@defra/flood-webchat": "^1.0.1", + "@defra/flood-webchat": "^1.0.2", "@hapi/boom": "^10.0.1", "@hapi/catbox-redis": "^7.0.2", "@hapi/code": "^9.0.3", @@ -1642,14 +1642,14 @@ } }, "node_modules/@defra/flood-webchat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@defra/flood-webchat/-/flood-webchat-1.0.1.tgz", - "integrity": "sha512-3Tdopw65SvcQMXV6tJUQJtXZMihr7Yr/+c18NlaYdfYL45yRzyKIdfLn9NM4t9M83MOfnywH5e5a00ne8broYA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@defra/flood-webchat/-/flood-webchat-1.0.2.tgz", + "integrity": "sha512-z0FoqmyVhXf/8JdApV2h8BQgxRAR4WApdmZBel1dwwt8ZDhYecJZPxgpm2M7/1Ksn8zPUyKd/7QVjYeaQGWkSA==", "dependencies": { "@nice-devone/nice-cxone-chat-web-sdk": "^1.18.0", "axios": "^1.7.2", "html-react-parser": "^5.1.10", - "jwt-decode": "^3.1.2", + "jwt-decode": "^4.0.0", "lodash.debounce": "^4.0.8", "luxon": "^3.4.3", "querystring": "^0.2.1", @@ -7915,8 +7915,12 @@ "license": "MIT" }, "node_modules/jwt-decode": { - "version": "3.1.2", - "license": "MIT" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz", + "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==", + "engines": { + "node": ">=18" + } }, "node_modules/keyv": { "version": "4.5.4", diff --git a/package.json b/package.json index 1682d35ea..e082e1315 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@babel/core": "^7.23.3", "@babel/plugin-transform-runtime": "^7.23.4", "@babel/preset-env": "^7.16.4", - "@defra/flood-webchat": "^1.0.1", + "@defra/flood-webchat": "^1.0.2", "@hapi/boom": "^10.0.1", "@hapi/catbox-redis": "^7.0.2", "@hapi/code": "^9.0.3",