New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@braze/web-sdk

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braze/web-sdk - npm Package Compare versions

Comparing version 4.8.1 to 4.8.2

2

package.json
{
"name": "@braze/web-sdk",
"version": "4.8.1",
"version": "4.8.2",
"description": "Braze SDK for web sites and other JS platforms.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

import je from "./encoding-utils.js";
import { EventTypes as ve, InternalEventTypes as De } from "./event-types.js";
import Ie from "./guid.js";
import Be from "./indexed-db-adapter.js";
import Ae from "./logger.js";
import Ge from "./supported-options.js";
const r = { xn: je, q: ve, Cr: De, Z: Ie, xt: Be, zt: Be.ep, j: Ae, xo: Ge };
import Be from "./guid.js";
import Ae from "./indexed-db-adapter.js";
import Ge from "./logger.js";
import Oe from "./supported-options.js";
const r = { xn: je, q: ve, Cr: De, Z: Be, xt: Ae, zt: Ae.ep, j: Ge, xo: Oe };
export default r;

@@ -1,2 +0,2 @@

const Ie = {
const Be = {
Y: () => {

@@ -10,2 +10,2 @@ const t = t => {

};
export default Ie;
export default Be;

@@ -1,2 +0,2 @@

export default class Be {
export default class Ae {
constructor(t, e) {

@@ -299,3 +299,3 @@ (this.nd = "undefined" == typeof window ? self : window),

}
Be.ep = {
Ae.ep = {
Ft: {

@@ -302,0 +302,0 @@ ad: "AppboyServiceWorkerAsyncStorage",

@@ -1,38 +0,38 @@

const Ae = {
const Ge = {
init: function(n) {
(void 0 === n && void 0 !== Ae.zg) || (Ae.zg = !!n), Ae.Eg || (Ae.Eg = !0);
(void 0 === n && void 0 !== Ge.zg) || (Ge.zg = !!n), Ge.Eg || (Ge.Eg = !0);
},
destroy: function() {
(Ae.Eg = !1), (Ae.zg = void 0), (Ae.sd = void 0);
(Ge.Eg = !1), (Ge.zg = void 0), (Ge.sd = void 0);
},
setLogger: function(n) {
"function" == typeof n
? (Ae.init(), (Ae.sd = n))
: Ae.info("Ignoring setLogger call since logger is not a function");
? (Ge.init(), (Ge.sd = n))
: Ge.info("Ignoring setLogger call since logger is not a function");
},
toggleLogging: function() {
Ae.init(),
Ae.zg
? (console.log("Disabling Braze logging"), (Ae.zg = !1))
: (console.log("Enabled Braze logging"), (Ae.zg = !0));
Ge.init(),
Ge.zg
? (console.log("Disabling Braze logging"), (Ge.zg = !1))
: (console.log("Enabled Braze logging"), (Ge.zg = !0));
},
info: function(n) {
if (Ae.zg) {
if (Ge.zg) {
const o = "Braze: " + n;
null != Ae.sd ? Ae.sd(o) : console.log(o);
null != Ge.sd ? Ge.sd(o) : console.log(o);
}
},
warn: function(n) {
if (Ae.zg) {
const o = "Braze SDK Warning: " + n + " (v4.8.1)";
null != Ae.sd ? Ae.sd(o) : console.warn(o);
if (Ge.zg) {
const o = "Braze SDK Warning: " + n + " (v4.8.2)";
null != Ge.sd ? Ge.sd(o) : console.warn(o);
}
},
error: function(n) {
if (Ae.zg) {
const o = "Braze SDK Error: " + n + " (v4.8.1)";
null != Ae.sd ? Ae.sd(o) : console.error(o);
if (Ge.zg) {
const o = "Braze SDK Error: " + n + " (v4.8.2)";
null != Ge.sd ? Ge.sd(o) : console.error(o);
}
}
};
export default Ae;
export default Ge;
import { ControlCard } from "../Card/index.js";
export const FEED_ANIMATION_DURATION = 500;
export default class x {
constructor(e, r) {
(this.cards = e), (this.lastUpdated = r);
constructor(e, s) {
(this.cards = e),
(this.lastUpdated = s),
(this.cards = e),
(this.lastUpdated = s);
}
getUnreadCardCount() {
let e = 0;
for (const r of this.cards) r.viewed || r instanceof ControlCard || e++;
for (const s of this.cards) s.viewed || s instanceof ControlCard || e++;
return e;

@@ -11,0 +14,0 @@ }

export default class y {
constructor() {}
Ts(a) {}
changeUser(a) {}
clearData(a) {}
changeUser(a = !1) {}
clearData(a = !1) {}
}

@@ -7,5 +7,6 @@ import r from "../../shared-lib/braze-shared-lib.js";

N: (o, n, s) => {
var i;
const a = new t(),
i = e.aa();
if (!i)
l = e.aa();
if (!l)
return (

@@ -17,10 +18,16 @@ r.j.info(

);
const m = i.bo();
return (
a.ve.push(new ue(s || e.ir().getUserId(), o, new Date().valueOf(), m, n)),
(a.O = e.l().co(a.ve)),
a
const m = l.co();
a.ve.push(
new ue(
s || (null === (i = e.ir()) || void 0 === i ? void 0 : i.getUserId()),
o,
new Date().valueOf(),
m,
n
)
);
const u = e.l();
return u && (a.O = u.bo(a.ve)), a;
}
};
export default s;

@@ -8,10 +8,10 @@ import x from "./base-feed.js";

markCardAsRead as Fe,
topHadImpression as _e
topHadImpression as Te
} from "../Card/display/card-display.js";
import { bottomIsInView as Te, topIsInView as xe } from "../util/dom-utils.js";
import { bottomIsInView as xe, topIsInView as Ee } from "../util/dom-utils.js";
import { Card, ControlCard } from "../Card/index.js";
import { cardToHtml as Ee } from "../Card/display/card-display.js";
import { cardToHtml as he } from "../Card/display/card-display.js";
import { isArray as p } from "../util/code-utils.js";
import { KeyCodes as lt } from "../util/key-codes.js";
import he from "../l10n/l10n-manager-factory.js";
import Se from "../l10n/l10n-manager-factory.js";
import { removeSubscription } from "../Core/remove-subscription.js";

@@ -28,4 +28,4 @@ import r from "../../shared-lib/braze-shared-lib.js";

"data-last-requested-refresh";
export const _SUBSCRIPTION_ID_DATA_ATTRIBUTE = "data-update-subscription-id";
export const _SCROLL_LISTENER_ID = "data-listener-id";
export const SUBSCRIPTION_ID_DATA_ATTRIBUTE = "data-update-subscription-id";
export const SCROLL_LISTENER_ID = "data-listener-id";
export const scrollListeners = {};

@@ -45,3 +45,3 @@ export function destroyFeedHtml(e) {

}
export function _generateFeedBody(e, t) {
export function generateFeedBody(e, t) {
const o = document.createElement("div");

@@ -62,9 +62,7 @@ if (

let s = !1;
const logCardClick = t => {
e.logCardClick(t);
};
const logCardClick = t => e.logCardClick(t);
for (const n of e.cards) {
const i = n instanceof ControlCard;
!i || e.ur()
? (o.appendChild(Ee(n, logCardClick, t)), (s = s || !i))
? (o.appendChild(he(n, logCardClick, t)), (s = s || !i))
: r.j.error(

@@ -77,3 +75,3 @@ "Received a control card for a legacy news feed. Control cards are only supported with content cards."

(e.className = "ab-no-cards-message"),
(e.innerHTML = he.m().get("NO_CARDS_MESSAGE")),
(e.innerHTML = Se.m().get("NO_CARDS_MESSAGE")),
e.setAttribute("role", "article"),

@@ -86,3 +84,3 @@ o.appendChild(e);

export function detectFeedImpressions(e, t) {
if (null != t) {
if (null != e && null != t) {
const o = [],

@@ -92,10 +90,10 @@ s = t.querySelectorAll(".ab-card");

for (let t = 0; t < s.length; t++) {
const r = fe(s[t]),
n = xe(s[t]),
i = Te(s[t]);
if (e.fo[r]) {
n || i || Fe(s[t]);
const n = fe(s[t]),
r = Ee(s[t]),
i = xe(s[t]);
if (e.fo[n]) {
r || i || Fe(s[t]);
continue;
}
let a = _e(s[t]),
let a = Te(s[t]),
d = de(s[t]);

@@ -105,3 +103,3 @@ const l = a,

if (
(!a && n && ((a = !0), ye(s[t])),
(!a && r && ((a = !0), ye(s[t])),
!d && i && ((d = !0), be(s[t])),

@@ -112,3 +110,3 @@ a && d)

for (const t of e.cards)
if (t.id === r) {
if (t.id === n) {
(e.fo[t.id] = !0), o.push(t);

@@ -123,2 +121,3 @@ break;

export function refreshFeed(e, t) {
if (null == e || null == t) return;
t.setAttribute("aria-busy", "true");

@@ -137,5 +136,5 @@ const o = t.querySelectorAll(".ab-refresh-button")[0];

const e = document.createElement("span");
(e.innerHTML = he.m().get("FEED_TIMEOUT_MESSAGE")),
o.parentNode.appendChild(e),
o.parentNode.removeChild(o);
(e.innerHTML = Se.m().get("FEED_TIMEOUT_MESSAGE")),
null != o.parentNode &&
(o.parentNode.appendChild(e), o.parentNode.removeChild(o));
}

@@ -172,3 +171,3 @@ "true" === t.getAttribute("aria-busy") &&

(d.className = "fa fa-refresh ab-refresh-button"),
null == e.lastUpdated && (d.className += " fa-spin"),
e && null == e.lastUpdated && (d.className += " fa-spin"),
d.setAttribute("aria-label", "Refresh Feed"),

@@ -186,3 +185,3 @@ d.setAttribute("tabindex", "0"),

n.appendChild(i),
s.appendChild(_generateFeedBody(e, t));
s.appendChild(generateFeedBody(e, t));
const c = () => detectFeedImpressions(e, s);

@@ -202,3 +201,3 @@ if ((s.addEventListener("scroll", c), !o)) {

if (e.url && X.test(e.url)) {
let t = Q(e.url);
const t = Q(e.url);
if (ft(t)) {

@@ -217,4 +216,5 @@ r.j.error(dt(vt.Ki, "Content Card"));

if (null != t) {
const o = _generateFeedBody(e, n);
t.parentNode.replaceChild(o, t), detectFeedImpressions(e, o.parentNode);
const o = generateFeedBody(e, n);
t.parentNode && t.parentNode.replaceChild(o, t),
detectFeedImpressions(e, o.parentNode);
}

@@ -224,3 +224,3 @@ }

export function registerFeedSubscriptionId(e, t) {
t.setAttribute("data-update-subscription-id", e);
e && t.setAttribute("data-update-subscription-id", e);
}

@@ -15,3 +15,3 @@ import x from "../common/base-feed.js";

logCardClick(r) {
logCardClick(r, !0);
return logCardClick(r, !0);
}

@@ -18,0 +18,0 @@ sr() {

@@ -99,3 +99,3 @@ import r from "../../shared-lib/braze-shared-lib.js";

}
zi(t = 1e3 * this.yi, s, i, e) {
zi(t = 1e3 * this.yi, s, i, e = !1) {
this.qi(),

@@ -102,0 +102,0 @@ (this.ji = window.setTimeout(() => {

@@ -12,3 +12,3 @@ import x from "../common/base-feed.js";

logCardClick(r) {
logCardClick(r, !1);
return logCardClick(r, !1);
}

@@ -15,0 +15,0 @@ sr() {

@@ -36,17 +36,17 @@ import e, { OPTIONS as L } from "../../managers/braze-instance.js";

null == t && ((t = document.body), (l = !0));
let a = !1,
f = null;
let a,
f = !1;
null == n
? ((f = ie.er().Ei()),
B(f, s(f.cards, o), f.lastUpdated, null, i),
(a = !0))
: (f = new Feed(s(n, o), new Date()));
const u = I(f, i, l);
if (a) {
(null == f.lastUpdated ||
new Date().valueOf() - f.lastUpdated.valueOf() > Feed.mr) &&
? ((a = ie.er().Ei()),
B(a, s(a.cards, o), a.lastUpdated, null, i),
(f = !0))
: (a = new Feed(s(n, o), new Date()));
const u = I(a, i, l);
if (f) {
(null == a.lastUpdated ||
new Date().valueOf() - a.lastUpdated.valueOf() > Feed.mr) &&
(r.j.info(
`Cached feed was older than max TTL of ${Feed.mr} ms, requesting an update from the server.`
),
$(f, u));
$(a, u));
const e = new Date().valueOf(),

@@ -67,3 +67,3 @@ t = subscribeToFeedUpdates(function(t) {

}
B(f, s(t.cards, o), t.lastUpdated, u, i);
B(a, s(t.cards, o), t.lastUpdated, u, i);
});

@@ -84,4 +84,4 @@ A(t, u);

logFeedDisplayed(),
q(f, u),
f && F(f.cards, e);
q(a, u),
a && F(a.cards, e);
};

@@ -88,0 +88,0 @@ var m;

@@ -19,40 +19,49 @@ import {

import r from "../../../shared-lib/braze-shared-lib.js";
export default function ce(e, a, s, t, n, i, l) {
export default function ce(e, a, s, n, t, i, l) {
if (((e.ke = document.activeElement), e instanceof HtmlMessage))
return at(e, a, s, n, i, l);
const u = (function(e, a, s, t, n, i) {
const l = document.createElement("div");
(l.className = "ab-in-app-message ab-start-hidden ab-background"),
i && (l.style.zIndex = (i + 1).toString()),
return at(e, a, s, t, i, l);
const u = (function(e, a, s, n, t, i) {
let l = null;
const c = document.createElement("div");
(c.className = "ab-in-app-message ab-start-hidden ab-background"),
i && (c.style.zIndex = (i + 1).toString()),
e.xe() &&
((l.className += " ab-modal-interactions"),
l.setAttribute("tabindex", "-1")),
((c.className += " ab-modal-interactions"),
c.setAttribute("tabindex", "-1")),
e.ye() ||
((l.style.color = me(e.textColor)),
(l.style.backgroundColor = me(e.backgroundColor)),
ne(e.backgroundColor) && (l.className += " ab-no-shadow"));
const c = () => {
-1 !== l.className.indexOf("ab-start-hidden") &&
((l.className = l.className.replace("ab-start-hidden", "")),
((c.style.color = me(e.textColor)),
(c.style.backgroundColor = me(e.backgroundColor)),
ne(e.backgroundColor) && (c.className += " ab-no-shadow"));
const d = () => {
-1 !== c.className.indexOf("ab-start-hidden") &&
((c.className = c.className.replace("ab-start-hidden", "")),
document.querySelectorAll(".ab-iam-img-loading").length > 0
? t(
? n(
`Cannot show in-app message ${e.message} because another message is being shown.`,
InAppMessage.Me.ze
)
: s(l));
: s(c));
},
d = () => {
const e = document.querySelectorAll(".ab-iam-root");
e && e.length > 0 && (e[0].classList.remove("ab-iam-img-loading"), c());
u = (o = !0) => {
const a = document.querySelectorAll(".ab-iam-root");
a &&
a.length > 0 &&
(a[0].classList.remove("ab-iam-img-loading"),
l && (clearTimeout(l), (l = null)),
o
? d()
: r.j.error(
`Cannot show in-app message ${e.message} because the image failed to load.`
));
};
e.imageStyle === InAppMessage.ImageStyle.GRAPHIC &&
(l.className += " graphic"),
(c.className += " graphic"),
e.orientation === InAppMessage.Orientation.LANDSCAPE &&
(l.className += " landscape"),
(c.className += " landscape"),
null != e.buttons &&
0 === e.buttons.length &&
(e.clickAction !== InAppMessage.ClickAction.NONE &&
(l.className += " ab-clickable"),
(l.onclick = o => (
e.he(l, () => {
(c.className += " ab-clickable"),
(c.onclick = o => (
e.he(c, () => {
logInAppMessageClick(e),

@@ -62,3 +71,3 @@ e.clickAction === InAppMessage.ClickAction.URI

e.uri || "",
n || e.openTarget === InAppMessage.OpenTarget.BLANK,
t || e.openTarget === InAppMessage.OpenTarget.BLANK,
o

@@ -71,17 +80,17 @@ )

)));
const u = o(
const b = o(
"Close Message",
e.ye() ? void 0 : me(e.closeButtonColor),
() => {
e.he(l);
e.he(c);
}
);
l.appendChild(u), i && (u.style.zIndex = (i + 2).toString());
const b = document.createElement("div");
b.className = "ab-message-text";
const p = (e.messageAlignment || e.Le).toLowerCase();
b.className += " " + p + "-aligned";
c.appendChild(b), i && (b.style.zIndex = (i + 2).toString());
const p = document.createElement("div");
p.className = "ab-message-text";
const g = (e.messageAlignment || e.Le).toLowerCase();
p.className += " " + g + "-aligned";
let f = !1;
const g = document.createElement("div");
if (((g.className = "ab-image-area"), e.imageUrl)) {
const h = document.createElement("div");
if (((h.className = "ab-image-area"), e.imageUrl)) {
if (e.cropType === InAppMessage.CropType.CENTER_CROP) {

@@ -94,3 +103,3 @@ const o = document.createElement("span");

e.Ie(o),
g.appendChild(o);
h.appendChild(o);
} else {

@@ -106,9 +115,17 @@ const o = document.createElement("img");

e && e.length > 0 && e[0].classList.add("ab-iam-img-loading"),
(o.onload = d);
(l = window.setTimeout(() => {
u(!1);
}, 6e4)),
(o.onload = () => {
u();
}),
(o.onerror = () => {
u(!1);
});
}
setTimeout(c, 1e3), g.appendChild(o);
h.appendChild(o);
}
l.appendChild(g), (b.className += " ab-with-image");
c.appendChild(h), (p.className += " ab-with-image");
} else if (e.icon) {
g.className += " ab-icon-area";
h.className += " ab-icon-area";
const o = document.createElement("span");

@@ -124,7 +141,7 @@ (o.className = "ab-icon"),

o.appendChild(a),
g.appendChild(o),
l.appendChild(g),
(b.className += " ab-with-icon");
h.appendChild(o),
c.appendChild(h),
(p.className += " ab-with-icon");
}
if ((oe(b, "touchstart"), e.header && e.header.length > 0)) {
if ((oe(p, "touchstart"), e.header && e.header.length > 0)) {
const o = document.createElement("h1");

@@ -138,10 +155,10 @@ (o.className = "ab-message-header"), (e.Te = r.Z.Y()), (o.id = e.Te);

o.appendChild(document.createTextNode(e.header)),
b.appendChild(o);
p.appendChild(o);
}
return b.appendChild(e.Be()), l.appendChild(b), f || c(), (e.qe = l), l;
})(e, a, s, t, n, i);
return p.appendChild(e.Be()), c.appendChild(p), f || d(), (e.qe = c), c;
})(e, a, s, n, t, i);
if (e instanceof FullScreenMessage || e instanceof ModalMessage) {
const o = e instanceof FullScreenMessage ? "ab-fullscreen" : "ab-modal";
(u.className += ` ${o} ab-centered`),
le.De(e, a, u, n),
le.De(e, a, u, t),
le.Ge(u),

@@ -148,0 +165,0 @@ le.He(e.Te, u);

import e, { OPTIONS as L } from "../managers/braze-instance.js";
import V from "../util/browser-detector.js";
import nr from "./l10n-manager.js";
const he = {
const Se = {
t: !1,
i: null,
m: () => {
if ((he.o(), !he.i)) {
if ((Se.o(), !Se.i)) {
let r = V.language,
t = !1;
e.nn(L.Mn) && ((r = e.nn(L.Mn)), (t = !0)), (he.i = new nr(r, t));
e.nn(L.Mn) && ((r = e.nn(L.Mn)), (t = !0)), (Se.i = new nr(r, t));
}
return he.i;
return Se.i;
},
o: () => {
he.t || (e.g(he), (he.t = !0));
Se.t || (e.g(Se), (Se.t = !0));
},
destroy: () => {
(he.i = null), (he.t = !1);
(Se.i = null), (Se.t = !1);
}
};
export default he;
export default Se;

@@ -75,3 +75,3 @@ import jt from "./auth-manager.js";

(this.Se = []),
(this.Ro = "4.8.1");
(this.Ro = "4.8.2");
}

@@ -218,3 +218,3 @@ Ko(t) {

if (!this.Uo) return;
(0, t.default)(null, null, !0);
(0, t.default)(void 0, void 0, !0);
});

@@ -221,0 +221,0 @@ }),

@@ -173,3 +173,3 @@ import qt from "../models/backend-errors.js";

}
this.u.co(e);
this.u.bo(e);
}

@@ -176,0 +176,0 @@ if (e) for (const t of e) this.u.va(t);

@@ -50,3 +50,3 @@ import { STORAGE_KEYS as i } from "../managers/storage-manager.js";

}
bo() {
co() {
const s = new Date().valueOf(),

@@ -53,0 +53,0 @@ t = s + 1e3 * this.wl,

@@ -78,3 +78,3 @@ import ue from "../models/braze-event.js";

}
co(t) {
bo(t) {
let e;

@@ -89,3 +89,3 @@ if (null == t || 0 === t.length) return !1;

Hl(t) {
return null != t && this.co([t]);
return null != t && this.bo([t]);
}

@@ -92,0 +92,0 @@ Ja() {

@@ -31,3 +31,3 @@ export default class Kt {

return {
s: "4.8.1",
s: "4.8.2",
l: this.ol,

@@ -46,5 +46,5 @@ e: this.cl,

return (
"4.8.1" !== t.s && (i = 0), new Kt(i, t.e, t.a, t.p, t.m, t.v, t.c, t.f)
"4.8.2" !== t.s && (i = 0), new Kt(i, t.e, t.a, t.p, t.m, t.v, t.c, t.f)
);
}
}

@@ -65,12 +65,13 @@ import { isArray as p, isEqual as ii } from "../util/code-utils.js";

n = null;
if (i instanceof PushSubscription && null != i.getKey)
const o = i;
if (null != o.getKey)
try {
const t = Array.from(new Uint8Array(i.getKey("p256dh"))),
e = Array.from(new Uint8Array(i.getKey("auth")));
(r = btoa(String.fromCharCode.apply(null, t))),
(n = btoa(String.fromCharCode.apply(null, e)));
const i = Array.from(new Uint8Array(o.getKey("p256dh"))),
t = Array.from(new Uint8Array(o.getKey("auth")));
(r = btoa(String.fromCharCode.apply(null, i))),
(n = btoa(String.fromCharCode.apply(null, t)));
} catch (i) {
if ("invalid arguments" !== ei(i)) throw i;
}
const o = (i => {
const u = (i => {
let t;

@@ -85,4 +86,4 @@ return i.options &&

: null;
})(i);
this.Yr && this.Yr.gn(s, t, r, n, o),
})(o);
this.Yr && this.Yr.gn(s, t, r, n, u),
s && "function" == typeof e && e(s, r, n);

@@ -89,0 +90,0 @@ }

@@ -147,3 +147,3 @@ import C from "./util/net.js";

openSession() {
const t = this.Bl.pa() !== this.Bl.bo();
const t = this.Bl.pa() !== this.Bl.co();
t && (this.yh.Pa(i.eu.Xo), this.yh.Pa(i.eu.su)),

@@ -201,3 +201,3 @@ this.Gh(null, !1, null, null, null),

requestImmediateDataFlush(t) {
this.Hh(), this.Bl.bo();
this.Hh(), this.Bl.co();
this.Gh(

@@ -218,6 +218,6 @@ null,

requestFeedRefresh() {
this.Bl.bo(), this.Gh(!0);
this.Bl.co(), this.Gh(!0);
}
$r(t, s) {
this.Bl.bo(),
this.Bl.co(),
r.j.info("Requesting explicit trigger refresh."),

@@ -260,3 +260,3 @@ this.Gh(null, !0, null, t, s);

vr(t, s) {
const i = this.Bl.bo();
const i = this.Bl.co();
return new ue(this.Xl.getUserId(), r.q.du, t, i, { cid: s });

@@ -263,0 +263,0 @@ }

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.1".replace(/\./g, "-")}`,
s = `ab-${t}-css-definitions-${"4.8.2".replace(/\./g, "-")}`,
a = c.ownerDocument || document;

@@ -6,0 +6,0 @@ if (null == a.getElementById(s)) {

@@ -1,5 +0,5 @@

import { attachCSS as Se } from "./attach-css.js";
import { loadFontAwesome as Ce } from "./load-font-awesome.js";
import { attachCSS as Ce } from "./attach-css.js";
import { loadFontAwesome as Ie } from "./load-font-awesome.js";
export function attachFeedCSS(t) {
Se(
Ce(
t,

@@ -11,3 +11,3 @@ "feed",

export function setupFeedUI() {
attachFeedCSS(), Ce();
attachFeedCSS(), Ie();
}

@@ -1,5 +0,5 @@

import { attachCSS as Se } from "./attach-css.js";
import { loadFontAwesome as Ce } from "./load-font-awesome.js";
import { attachCSS as Ce } from "./attach-css.js";
import { loadFontAwesome as Ie } from "./load-font-awesome.js";
export function attachInAppMessageCSS(t) {
Se(
Ce(
t,

@@ -11,3 +11,3 @@ "iam",

export function setupInAppMessageUI() {
attachInAppMessageCSS(), Ce();
attachInAppMessageCSS(), Ie();
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc