UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

28 lines (27 loc) 617 B
import { rehydrateDateAfterJsonization as Y } from "../util/date-utils.js"; export default class ti { constructor(t, i, s, l, h) { (this.endpoint = t), (this.Vn = i), (this.publicKey = s), (this.Vl = l), (this.dl = h), (this.endpoint = t || null), (this.Vn = i || null), (this.publicKey = s || null), (this.Vl = l || null), (this.dl = h || null); } dt() { return { e: this.endpoint, c: this.Vn, p: this.publicKey, u: this.Vl, v: this.dl, }; } static qn(t) { return new ti(t.e, Y(t.c), t.p, t.u, t.v); } }