UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

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