@braze/web-sdk
Advanced tools
Comparing version 4.8.2 to 4.8.3
{ | ||
"name": "@braze/web-sdk", | ||
"version": "4.8.2", | ||
"version": "4.8.3", | ||
"description": "Braze SDK for web sites and other JS platforms.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -27,3 +27,3 @@ const Ge = { | ||
if (Ge.zg) { | ||
const o = "Braze SDK Warning: " + n + " (v4.8.2)"; | ||
const o = "Braze SDK Warning: " + n + " (v4.8.3)"; | ||
null != Ge.sd ? Ge.sd(o) : console.warn(o); | ||
@@ -34,3 +34,3 @@ } | ||
if (Ge.zg) { | ||
const o = "Braze SDK Error: " + n + " (v4.8.2)"; | ||
const o = "Braze SDK Error: " + n + " (v4.8.3)"; | ||
null != Ge.sd ? Ge.sd(o) : console.error(o); | ||
@@ -37,0 +37,0 @@ } |
@@ -75,3 +75,3 @@ import jt from "./auth-manager.js"; | ||
(this.Se = []), | ||
(this.Ro = "4.8.2"); | ||
(this.Ro = "4.8.3"); | ||
} | ||
@@ -78,0 +78,0 @@ Ko(t) { |
@@ -31,3 +31,3 @@ export default class Kt { | ||
return { | ||
s: "4.8.2", | ||
s: "4.8.3", | ||
l: this.ol, | ||
@@ -46,5 +46,5 @@ e: this.cl, | ||
return ( | ||
"4.8.2" !== t.s && (i = 0), new Kt(i, t.e, t.a, t.p, t.m, t.v, t.c, t.f) | ||
"4.8.3" !== t.s && (i = 0), new Kt(i, t.e, t.a, t.p, t.m, t.v, t.c, t.f) | ||
); | ||
} | ||
} |
@@ -172,3 +172,3 @@ import { isArray as p, isEqual as ii } from "../util/code-utils.js"; | ||
return this.on | ||
? navigator.serviceWorker.getRegistration() | ||
? navigator.serviceWorker.getRegistration(this.sn) | ||
: navigator.serviceWorker.register(this.sn).then(() => | ||
@@ -175,0 +175,0 @@ navigator.serviceWorker.ready.then( |
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-${"4.8.2".replace(/\./g, "-")}`, | ||
s = `ab-${t}-css-definitions-${"4.8.3".replace(/\./g, "-")}`, | ||
a = c.ownerDocument || document; | ||
@@ -6,0 +6,0 @@ if (null == a.getElementById(s)) { |
Sorry, the diff of this file is too big to display
435971