@braze/web-sdk
Advanced tools
Comparing version 5.1.0 to 5.1.1
{ | ||
"name": "@braze/web-sdk", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Braze SDK for web sites and other JS platforms.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -27,3 +27,3 @@ const r = { | ||
if (r.zg) { | ||
const o = "Braze SDK Warning: " + n + " (v5.1.0)"; | ||
const o = "Braze SDK Warning: " + n + " (v5.1.1)"; | ||
null != r.dd ? r.dd(o) : console.warn(o); | ||
@@ -34,3 +34,3 @@ } | ||
if (r.zg) { | ||
const o = "Braze SDK Error: " + n + " (v5.1.0)"; | ||
const o = "Braze SDK Error: " + n + " (v5.1.1)"; | ||
null != r.dd ? r.dd(o) : console.error(o); | ||
@@ -37,0 +37,0 @@ } |
@@ -74,3 +74,3 @@ import kt from "./auth-manager.js"; | ||
(this._e = []), | ||
(this.Wo = "5.1.0"); | ||
(this.Wo = "5.1.1"); | ||
} | ||
@@ -77,0 +77,0 @@ Zo(t) { |
@@ -38,3 +38,3 @@ import { | ||
return { | ||
s: "5.1.0", | ||
s: "5.1.1", | ||
l: this.ol, | ||
@@ -54,3 +54,3 @@ e: this.gl, | ||
return ( | ||
"5.1.0" !== t.s && (i = 0), | ||
"5.1.1" !== t.s && (i = 0), | ||
new Gt(i, t.e, t.a, t.p, t.m, t.v, t.c, t.f, t.grl) | ||
@@ -57,0 +57,0 @@ ); |
@@ -213,2 +213,3 @@ import C from "./util/net.js"; | ||
this.u.hi(o.C.Ja), | ||
this.u.hi(o.C.ai), | ||
this.openSession(), | ||
@@ -215,0 +216,0 @@ r.info('Changed user to "' + t + '".'); |
import e, { OPTIONS as L } from "../../managers/braze-instance.js"; | ||
export function attachCSS(n, t, o) { | ||
const c = n || document.querySelector("head"), | ||
s = `ab-${t}-css-definitions-${"5.1.0".replace(/\./g, "-")}`; | ||
s = `ab-${t}-css-definitions-${"5.1.1".replace(/\./g, "-")}`; | ||
if (!c) return; | ||
@@ -6,0 +6,0 @@ const a = c.ownerDocument || document; |
Sorry, the diff of this file is too big to display
453590
12810