@ada-support/embed2 1.7.0 → 1.7.4

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.
@@ -13260,7 +13260,7 @@ const client = new error_tracker_BrowserClient({
13260
13260
  return event;
13261
13261
  },
13262
13262
  environment: "production",
13263
- release: "1.7.0-b0e29e3",
13263
+ release: "1.7.4-e9a4287",
13264
13264
  sampleRate: 0.25,
13265
13265
  autoSessionTracking: false,
13266
13266
  // Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
@@ -13832,7 +13832,7 @@ function getEmbedURL(_ref) {
13832
13832
  } else {
13833
13833
  host = `http://${handle}.localhost:9001`;
13834
13834
  }
13835
- return `${host}/embed/${frameName}/${"b0e29e3"}/index.html`;
13835
+ return `${host}/embed/${frameName}/${"e9a4287"}/index.html`;
13836
13836
  }
13837
13837
  function constructQueryString(query) {
13838
13838
  return Object.keys(query).map(key => {
@@ -14993,9 +14993,9 @@ async function log(message, extra, options) {
14993
14993
  service: "embed",
14994
14994
  env: "production",
14995
14995
  embedVersion: 2,
14996
- version: "1.7.0",
14996
+ version: "1.7.4",
14997
14997
  isNpm: true,
14998
- commitHash: "b0e29e3"
14998
+ commitHash: "e9a4287"
14999
14999
  }))
15000
15000
  });
15001
15001
  }
@@ -16016,7 +16016,7 @@ class ChatFrame extends d {
16016
16016
  const hostPageUrlParams = new URL(window.location.href).searchParams;
16017
16017
  const smsToken = hostPageUrlParams.get("adaSMSToken");
16018
16018
  const queryParams = {
16019
- embedVersion: "b0e29e3".slice(0, 7),
16019
+ embedVersion: "e9a4287".slice(0, 7),
16020
16020
  greeting,
16021
16021
  language,
16022
16022
  skipGreeting,
@@ -16609,8 +16609,8 @@ class ChatFrame extends d {
16609
16609
  title: iFrameName,
16610
16610
  className: iFrameName,
16611
16611
  "aria-expanded": isDrawerOpen,
16612
- "aria-modal": isDrawerOpen,
16613
16612
  "aria-roledescription": roleDescription(),
16613
+ "aria-modal": true,
16614
16614
  allowTransparency: true,
16615
16615
  allowFullScreen: true,
16616
16616
  onLoad: this.frameLoaded.bind(this)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.7.0",
3
+ "version": "1.7.4",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index-npm.d.ts",