@braze/web-sdk
Advanced tools
Comparing version 5.3.0 to 5.3.1
{ | ||
"name": "@braze/web-sdk", | ||
"version": "5.3.0", | ||
"version": "5.3.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.3.0)"; | ||
const o = "Braze SDK Warning: " + n + " (v5.3.1)"; | ||
null != r.vd ? r.vd(o) : console.warn(o); | ||
@@ -34,3 +34,3 @@ } | ||
if (r.zg) { | ||
const o = "Braze SDK Error: " + n + " (v5.3.0)"; | ||
const o = "Braze SDK Error: " + n + " (v5.3.1)"; | ||
null != r.vd ? r.vd(o) : console.error(o); | ||
@@ -37,0 +37,0 @@ } |
@@ -76,3 +76,3 @@ import kt from "./auth-manager.js"; | ||
(this._e = []), | ||
(this.Wo = "5.3.0"); | ||
(this.Wo = "5.3.1"); | ||
} | ||
@@ -79,0 +79,0 @@ Xo(t) { |
@@ -38,3 +38,3 @@ import { | ||
return { | ||
s: "5.3.0", | ||
s: "5.3.1", | ||
l: this.hl, | ||
@@ -54,3 +54,3 @@ e: this.gl, | ||
return ( | ||
"5.3.0" !== t.s && (i = 0), | ||
"5.3.1" !== t.s && (i = 0), | ||
new Ht(i, t.e, t.a, t.p, t.m, t.v, t.c, t.f, t.grl) | ||
@@ -57,0 +57,0 @@ ); |
@@ -357,3 +357,3 @@ import { isArray as j, isEqual as ii } from "../util/code-utils.js"; | ||
this.ln | ||
? navigator.serviceWorker.getRegistration().then((e) => { | ||
? navigator.serviceWorker.getRegistration(this.un).then((e) => { | ||
e | ||
@@ -360,0 +360,0 @@ ? e.pushManager |
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.3.0".replace(/\./g, "-")}`; | ||
s = `ab-${t}-css-definitions-${"5.3.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
457654