@braze/web-sdk
Version:
Braze SDK for web sites and other JS platforms.
28 lines (27 loc) • 619 B
JavaScript
import { rehydrateDateAfterJsonization as ee } from "../util/date-utils.js";
export default class oi {
constructor(t, i, s, l, h) {
(this.endpoint = t),
(this.Wu = i),
(this.publicKey = s),
(this.zc = l),
(this.rc = h),
(this.endpoint = t || null),
(this.Wu = i || null),
(this.publicKey = s || null),
(this.zc = l || null),
(this.rc = h || null);
}
qt() {
return {
e: this.endpoint,
c: this.Wu,
p: this.publicKey,
u: this.zc,
v: this.rc,
};
}
static _u(t) {
return new oi(t.e, ee(t.c), t.p, t.u, t.v);
}
}