@braze/web-sdk 6.12.0 → 6.12.1

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definitions for @braze/web-sdk v6.12.0
2
+ * Type definitions for @braze/web-sdk v6.12.1
3
3
  * Project: https://github.com/braze-inc/braze-web-sdk
4
4
  * (c) Braze, Inc. 2026 - http://braze.com
5
5
  * License available at https://github.com/braze-inc/braze-web-sdk/blob/master/LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@braze/web-sdk",
3
- "version": "6.12.0",
3
+ "version": "6.12.1",
4
4
  "description": "Braze SDK for web sites and other JS platforms.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -24,13 +24,13 @@ const b = {
24
24
  },
25
25
  warn: function (n) {
26
26
  if (b.zg) {
27
- const o = "Braze SDK Warning: " + n + " (v6.12.0)";
27
+ const o = "Braze SDK Warning: " + n + " (v6.12.1)";
28
28
  null != b.Bd ? b.Bd(o) : console.warn(o);
29
29
  }
30
30
  },
31
31
  error: function (n) {
32
32
  if (b.zg) {
33
- const o = "Braze SDK Error: " + n + " (v6.12.0)";
33
+ const o = "Braze SDK Error: " + n + " (v6.12.1)";
34
34
  null != b.Bd ? b.Bd(o) : console.error(o);
35
35
  }
36
36
  },
@@ -79,7 +79,10 @@ export function showInAppMessage(e, t, s) {
79
79
  for (let e = 0; e < s.length; e++)
80
80
  if (s[e].clickAction === ce.URI) {
81
81
  const o = s[e].uri;
82
- t = tt(o);
82
+ if (tt(o)) {
83
+ t = !0;
84
+ break;
85
+ }
83
86
  }
84
87
  } else e.clickAction === ce.URI && (t = tt(e.uri));
85
88
  if (t)
@@ -77,7 +77,7 @@ class Ei {
77
77
  (this.Jh = []),
78
78
  (this.Xh = []),
79
79
  (this.In = []),
80
- (this.Vh = "6.12.0");
80
+ (this.Vh = "6.12.1");
81
81
  }
82
82
  Zh(t) {
83
83
  this.qh.Ut(t);
@@ -36,7 +36,7 @@ export default class vi {
36
36
  }
37
37
  qt() {
38
38
  return {
39
- s: "6.12.0",
39
+ s: "6.12.1",
40
40
  l: this.ed,
41
41
  e: this.vd,
42
42
  a: this.md,
@@ -56,7 +56,7 @@ export default class vi {
56
56
  static _u(t) {
57
57
  let i = t.l;
58
58
  return (
59
- "6.12.0" !== t.s && (i = 0),
59
+ "6.12.1" !== t.s && (i = 0),
60
60
  new vi(
61
61
  i,
62
62
  t.e,
@@ -1,7 +1,7 @@
1
1
  import r, { OPTIONS as U } from "../../managers/braze-instance.js";
2
2
  export function attachCSS(n, t, o) {
3
3
  const c = n || document.querySelector("head"),
4
- e = `ab-${t}-css-definitions-${"6.12.0".replace(/\./g, "-")}`;
4
+ e = `ab-${t}-css-definitions-${"6.12.1".replace(/\./g, "-")}`;
5
5
  if (!c) return;
6
6
  const s = c.ownerDocument || document;
7
7
  if (null == s.getElementById(e)) {