@braze/web-sdk 6.10.0 → 6.10.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.10.0
2
+ * Type definitions for @braze/web-sdk v6.10.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.10.0",
3
+ "version": "6.10.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.10.0)";
27
+ const o = "Braze SDK Warning: " + n + " (v6.10.1)";
28
28
  null != b.Ud ? b.Ud(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.10.0)";
33
+ const o = "Braze SDK Error: " + n + " (v6.10.1)";
34
34
  null != b.Ud ? b.Ud(o) : console.error(o);
35
35
  }
36
36
  },
@@ -77,7 +77,7 @@ class ci {
77
77
  (this.Jh = []),
78
78
  (this.Xh = []),
79
79
  (this.In = []),
80
- (this.Vh = "6.10.0");
80
+ (this.Vh = "6.10.1");
81
81
  }
82
82
  Zh(t) {
83
83
  this.qh.Ut(t);
@@ -36,7 +36,7 @@ export default class di {
36
36
  }
37
37
  qt() {
38
38
  return {
39
- s: "6.10.0",
39
+ s: "6.10.1",
40
40
  l: this.ld,
41
41
  e: this.bd,
42
42
  a: this.fd,
@@ -56,7 +56,7 @@ export default class di {
56
56
  static _u(t) {
57
57
  let i = t.l;
58
58
  return (
59
- "6.10.0" !== t.s && (i = 0),
59
+ "6.10.1" !== t.s && (i = 0),
60
60
  new di(
61
61
  i,
62
62
  t.e,
@@ -188,7 +188,8 @@ export default class Kt {
188
188
  (this.fc = !1);
189
189
  }
190
190
  rn(t) {
191
- return this.fc ? (t(), null) : this.uc.Ut(t);
191
+ const i = this.uc.Ut(t);
192
+ return this.fc && t(), i;
192
193
  }
193
194
  openSession() {
194
195
  const t = this.C.$t() !== this.C.el();
@@ -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.10.0".replace(/\./g, "-")}`;
4
+ e = `ab-${t}-css-definitions-${"6.10.1".replace(/\./g, "-")}`;
5
5
  if (!c) return;
6
6
  const s = c.ownerDocument || document;
7
7
  if (null == s.getElementById(e)) {