@braze/web-sdk 6.10.2 → 6.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/index.d.ts +28 -4
  2. package/package.json +1 -1
  3. package/shared-lib/encoding-utils.js +3 -3
  4. package/shared-lib/event-types.js +10 -10
  5. package/shared-lib/indexed-db-adapter.js +51 -51
  6. package/shared-lib/logger.js +7 -7
  7. package/shared-lib/supported-options.js +9 -9
  8. package/src/Core/logout.js +2 -2
  9. package/src/InAppMessage/constants.js +39 -47
  10. package/src/InAppMessage/display/html-message-to-html.js +1 -1
  11. package/src/InAppMessage/display/in-app-message-to-html.js +38 -36
  12. package/src/InAppMessage/in-app-message-factory.js +4 -4
  13. package/src/InAppMessage/in-app-message-manager.js +89 -68
  14. package/src/InAppMessage/log-in-app-message-button-click.js +1 -1
  15. package/src/InAppMessage/log-in-app-message-click.js +1 -1
  16. package/src/InAppMessage/log-in-app-message-html-click.js +2 -2
  17. package/src/InAppMessage/log-in-app-message-impression.js +1 -1
  18. package/src/InAppMessage/models/full-screen-message.js +22 -22
  19. package/src/InAppMessage/models/html-message.js +13 -13
  20. package/src/InAppMessage/models/in-app-message-button.js +2 -2
  21. package/src/InAppMessage/models/in-app-message.js +68 -66
  22. package/src/InAppMessage/models/modal-message.js +20 -20
  23. package/src/InAppMessage/models/slide-up-message.js +25 -25
  24. package/src/InAppMessage/models/templated-in-app-message.js +6 -6
  25. package/src/InAppMessage/subscribe-to-in-app-message.js +1 -1
  26. package/src/InAppMessage/ui/automatically-show-in-app-messages.js +3 -3
  27. package/src/InAppMessage/ui/show-in-app-message.js +27 -25
  28. package/src/Push/index.js +1 -0
  29. package/src/Push/push-manager-factory.js +4 -4
  30. package/src/Push/push-manager.js +222 -179
  31. package/src/Push/register-push.js +9 -0
  32. package/src/Push/unregister-push-token-on-server.js +4 -4
  33. package/src/Push/utils/push-utils.js +8 -8
  34. package/src/User/user-manager.js +19 -19
  35. package/src/User/user.js +35 -35
  36. package/src/common/constants.js +1 -1
  37. package/src/common/content-cards-display.js +5 -5
  38. package/src/l10n/l10n-manager-factory.js +1 -1
  39. package/src/l10n/l10n-manager.js +1 -1
  40. package/src/managers/braze-instance.js +42 -38
  41. package/src/managers/device-manager.js +20 -20
  42. package/src/managers/network-manager.js +122 -122
  43. package/src/managers/server-config-manager.js +76 -76
  44. package/src/managers/session-manager.js +8 -8
  45. package/src/managers/storage-manager.js +127 -127
  46. package/src/managers/utils.js +1 -1
  47. package/src/models/backend-errors.js +5 -5
  48. package/src/models/braze-event.js +2 -2
  49. package/src/models/device.js +3 -3
  50. package/src/models/identifier.js +6 -6
  51. package/src/models/push-token.js +6 -6
  52. package/src/models/server-config.js +24 -24
  53. package/src/request-controller.js +85 -85
  54. package/src/triggers/models/trigger-condition.js +27 -27
  55. package/src/triggers/models/trigger.js +2 -2
  56. package/src/triggers/triggers-provider-factory.js +1 -1
  57. package/src/triggers/triggers-provider.js +37 -29
  58. package/src/types.js +2 -2
  59. package/src/ui/js/attach-css.js +1 -1
  60. package/src/util/base-device-parser.js +1 -1
  61. package/src/util/braze-actions.js +4 -4
  62. package/src/util/browser-detector.js +5 -5
  63. package/src/util/client-hints-parser.js +1 -1
  64. package/src/util/dom-utils.js +2 -2
  65. package/src/util/ecommerce-event-validation.js +1 -1
  66. package/src/util/key-codes.js +1 -1
  67. package/src/util/net.js +3 -3
  68. package/src/util/request-header-utils.js +15 -15
  69. package/src/util/user-agent-parser.js +4 -4
  70. package/src/util/validation-utils.js +5 -5
  71. package/src/util/window-utils.js +2 -2
@@ -19,44 +19,44 @@ export default class di {
19
19
  d = null,
20
20
  m = null,
21
21
  ) {
22
- (this.ld = t),
23
- (this.bd = i),
24
- (this.fd = s),
25
- (this.pd = h),
26
- (this.Cd = l),
27
- (this.hd = e),
28
- (this.dd = r),
22
+ (this.dd = t),
23
+ (this.Cd = i),
24
+ (this.Ed = s),
25
+ (this.wd = h),
26
+ (this.Td = l),
27
+ (this.gd = e),
28
+ (this.bd = r),
29
29
  (this.Xr = n),
30
- (this.ad = a),
30
+ (this.md = a),
31
31
  (this.banners = o),
32
32
  (this.dust = u),
33
- (this.Bd = c),
34
- (this.yd = d),
35
- (this.vd = m);
33
+ (this.Sd = c),
34
+ (this.Ld = d),
35
+ (this.fd = m);
36
36
  }
37
37
  qt() {
38
38
  return {
39
- s: "6.10.2",
40
- l: this.ld,
41
- e: this.bd,
42
- a: this.fd,
43
- p: this.pd,
44
- m: this.Cd,
45
- v: this.hd,
46
- c: this.dd,
39
+ s: "6.11.0",
40
+ l: this.dd,
41
+ e: this.Cd,
42
+ a: this.Ed,
43
+ p: this.wd,
44
+ m: this.Td,
45
+ v: this.gd,
46
+ c: this.bd,
47
47
  f: this.Xr,
48
- grl: this.ad,
48
+ grl: this.md,
49
49
  b: this.banners,
50
50
  d: this.dust,
51
- rb: this.Bd,
52
- mst: this.yd,
53
- ch: this.vd,
51
+ rb: this.Sd,
52
+ mst: this.Ld,
53
+ ch: this.fd,
54
54
  };
55
55
  }
56
56
  static _u(t) {
57
57
  let i = t.l;
58
58
  return (
59
- "6.10.2" !== t.s && (i = 0),
59
+ "6.11.0" !== t.s && (i = 0),
60
60
  new di(
61
61
  i,
62
62
  t.e,
@@ -15,27 +15,27 @@ import { randomInclusive as a } from "./util/math.js";
15
15
  import l from "./util/net.js";
16
16
  import h from "./util/request-header-utils.js";
17
17
  export default class Kt {
18
- constructor(t, i, s, e, h, n, o, r, l, u) {
19
- (this.tu = t),
18
+ constructor(t, i, s, e, h, o, n, r, l, u) {
19
+ (this.eu = t),
20
20
  (this.baseUrl = i),
21
21
  (this.C = s),
22
- (this.eu = e),
22
+ (this.tu = e),
23
23
  (this.Ss = h),
24
- (this.h = n),
25
- (this.j = o),
24
+ (this.h = o),
25
+ (this.j = n),
26
26
  (this.hc = r),
27
27
  (this.Gh = l),
28
28
  (this.B = u),
29
- (this.tu = t),
29
+ (this.eu = t),
30
30
  (this.baseUrl = i),
31
31
  (this.nc = 0),
32
- (this.IS = o.dS() || 0),
32
+ (this.TS = n.cS() || 0),
33
33
  (this.lc = null),
34
34
  (this.C = s),
35
- (this.eu = e),
35
+ (this.tu = e),
36
36
  (this.Ss = h),
37
- (this.h = n),
38
- (this.j = o),
37
+ (this.h = o),
38
+ (this.j = n),
39
39
  (this.Gh = l),
40
40
  (this.B = u),
41
41
  (this.hc = r),
@@ -59,12 +59,12 @@ export default class Kt {
59
59
  }
60
60
  return i;
61
61
  }
62
- bc(t = !1, i = !0, e, n, o, r = !1, u = !1) {
62
+ bc(t = !1, i = !0, e, o, n, r = !1, u = !1, c = "sdk") {
63
63
  i && this.wc();
64
- const c = this.j.hS(),
65
- d = this.j.RS();
66
- let m = !1;
67
- const f = (t, r, u = -1) => {
64
+ const d = this.j.SS(),
65
+ m = this.j.uS();
66
+ let f = !1;
67
+ const g = (t, r, u = -1) => {
68
68
  const c = new Date().valueOf();
69
69
  h.nt(this.j, h.it.pn, c),
70
70
  -1 !== u && r.push(["X-Braze-Req-Tokens-Remaining", u.toString()]);
@@ -79,15 +79,15 @@ export default class Kt {
79
79
  (this.nc = Math.max(this.nc - 1, 0)),
80
80
  this.B.ut(t, i, r)
81
81
  ? (this.Gh.ct(),
82
- this.h.ud(i),
82
+ this.h.vd(i),
83
83
  (null != t.respond_with &&
84
84
  t.respond_with.user_id != this.Ss.getUserId()) ||
85
- (null != t.device && this.j.Pt(s.It.Ha, t.device),
85
+ (null != t.device && this.j.Pt(s.It.La, t.device),
86
86
  null != t.sdk_metadata &&
87
- (this.j.Pt(s.It.Pa, t.sdk_metadata),
88
- this.j.Pt(s.It.Ua, this.C.$t())),
87
+ (this.j.Pt(s.It.Qa, t.sdk_metadata),
88
+ this.j.Pt(s.It.Va, this.C.$t())),
89
89
  this.hc(i),
90
- h.Tl(this.j, h.it.pn, 1),
90
+ h.Nl(this.j, h.it.pn, 1),
91
91
  "function" == typeof e && e()))
92
92
  : i.auth_error && (d = !0);
93
93
  },
@@ -96,60 +96,60 @@ export default class Kt {
96
96
  null != t.respond_with &&
97
97
  t.respond_with.triggers &&
98
98
  (this.nc = Math.max(this.nc - 1, 0)),
99
- this.B.Wa(t.events, t.attributes),
100
- "function" == typeof n && n();
99
+ this.B.Za(t.events, t.attributes),
100
+ "function" == typeof o && o();
101
101
  },
102
102
  ft: (t, s) => {
103
- "function" == typeof o && o(!d);
104
- const e = this.B.zl(s);
105
- let n = 0;
103
+ "function" == typeof n && n(!d);
104
+ const e = this.B.$l(s);
105
+ let o = 0;
106
106
  if (e)
107
107
  switch (e.type) {
108
108
  case "date":
109
- n = Math.max(e.value - new Date().valueOf(), 0);
109
+ o = Math.max(e.value - new Date().valueOf(), 0);
110
110
  break;
111
111
  case "timestamp":
112
- n = e.value;
112
+ o = e.value;
113
113
  }
114
- if (i && !m) {
114
+ if (i && !f) {
115
115
  if (d) {
116
- h.jl(this.j, h.it.pn);
116
+ h.Ll(this.j, h.it.pn);
117
117
  const t = this.h.vt(),
118
118
  i = this.h.gt(),
119
119
  s = this.h.bt();
120
120
  let e = this.lc;
121
121
  (null == e || e < t) && (e = t);
122
- const o = Math.min(s, a(t, e * i)) + n;
123
- this.kc(o);
124
- } else this.kc(Math.max(1e3 * this.IS, n));
125
- m = !0;
122
+ const n = Math.min(s, a(t, e * i)) + o;
123
+ this.kc(n);
124
+ } else this.kc(Math.max(1e3 * this.TS, o));
125
+ f = !0;
126
126
  }
127
127
  },
128
128
  });
129
129
  },
130
- g = this.vc(c),
131
- p = t || g;
132
- if (this.gc(r, g))
130
+ p = this.vc(d),
131
+ v = t || p;
132
+ if (this.gc(r, p))
133
133
  return void b.info(
134
134
  "Declining to flush data due to 50 consecutive authentication failures",
135
135
  );
136
- if (i && !this.B.ml(c, d, p))
137
- return this.kc(), void ("function" == typeof o && o(!0));
138
- const v = this.B.vl(p, c, d, u);
139
- p && this.nc++;
140
- let w = !1;
141
- if (v)
142
- for (const t of v)
136
+ if (i && !this.B.bl(d, m, v))
137
+ return this.kc(), void ("function" == typeof n && n(!0));
138
+ const w = this.B.ql(v, d, m, u, c);
139
+ v && this.nc++;
140
+ let k = !1;
141
+ if (w)
142
+ for (const t of w)
143
143
  this.B.et(
144
144
  t.requestData,
145
- (i) => f(t.requestData, t.headers, i),
145
+ (i) => g(t.requestData, t.headers, i),
146
146
  h.it.pn,
147
- n,
147
+ o,
148
148
  ),
149
- (w = !0);
150
- this.Gh.Fh() && i && !w
149
+ (k = !0);
150
+ this.Gh.Fh() && i && !k
151
151
  ? this.kc()
152
- : g &&
152
+ : p &&
153
153
  (b.info("Invoking new session subscriptions"),
154
154
  this.uc.A(),
155
155
  (this.fc = !0));
@@ -157,7 +157,7 @@ export default class Kt {
157
157
  yc() {
158
158
  return this.nc > 0;
159
159
  }
160
- kc(t = 1e3 * this.IS) {
160
+ kc(t = 1e3 * this.TS) {
161
161
  this.mc ||
162
162
  (this.wc(),
163
163
  (this.cc = window.setTimeout(() => {
@@ -193,11 +193,11 @@ export default class Kt {
193
193
  }
194
194
  openSession() {
195
195
  const t = this.C.$t() !== this.C.el();
196
- t && (this.j.cS(s.Ou.Wh), this.j.cS(s.Ou.Cu)),
196
+ t && (this.j.iS(s.Ou.Wh), this.j.iS(s.Ou.Cu)),
197
197
  this.bc(!1, void 0, () => {
198
198
  t && (this.j.Vt(s.It.jo), this.j.Vt(s.It.At));
199
199
  }),
200
- this.Ea(),
200
+ this.Ua(),
201
201
  t &&
202
202
  import("./Push/push-manager-factory.js").then((t) => {
203
203
  if (this.mc) return;
@@ -207,7 +207,7 @@ export default class Kt {
207
207
  (It.isPushPermissionGranted() || It.isPushBlocked())
208
208
  ) {
209
209
  const t = () => {
210
- i.du()
210
+ i.lu()
211
211
  ? b.info(
212
212
  "Push token maintenance is disabled, not refreshing token for backend.",
213
213
  )
@@ -217,22 +217,22 @@ export default class Kt {
217
217
  s && t();
218
218
  },
219
219
  h = () => {
220
- const i = this.j.St(s.It.Uu);
220
+ const i = this.j.St(s.It.xu);
221
221
  (null == i || i) && t();
222
222
  },
223
- n = et._s.Xs;
224
- new et(n, b).kr(n.Ws.Fu, e, h);
223
+ o = et._s.Xs;
224
+ new et(o, b).kr(o.Ws.Gu, e, h);
225
225
  }
226
226
  });
227
227
  }
228
228
  jc() {
229
- this.j.Vt(s.It.Fo), this.j.Vt(s.It.bi), this.j.Vt(s.It.pa);
229
+ this.j.Vt(s.It.Fo), this.j.Vt(s.It.bi), this.j.Vt(s.It.fa);
230
230
  }
231
231
  Sc() {
232
- this.j.Vt(s.It.Sl),
233
- this.j.Vt(s.It.ES),
234
- this.j.Vt(s.It.Xl),
235
- this.j.Vt(s.It.El);
232
+ this.j.Vt(s.It.Ml),
233
+ this.j.Vt(s.It.sS),
234
+ this.j.Vt(s.It.Fl),
235
+ this.j.Vt(s.It.Pl);
236
236
  }
237
237
  changeUser(t, i, e) {
238
238
  const h = this.Ss.getUserId();
@@ -241,13 +241,13 @@ export default class Kt {
241
241
  this.jc(),
242
242
  gi(),
243
243
  null != h && this.bc(void 0, !1, void 0, void 0, void 0),
244
- this.Ss.Ju(t),
244
+ this.Ss.Lu(t),
245
245
  e ? this.Gh.setSdkAuthenticationSignature(e) : this.Gh.jh();
246
246
  for (let t = 0; t < i.length; t++) i[t].changeUser(null == h);
247
247
  this.B.fo(),
248
- null != h && this.j.Vt(s.It.eS),
249
- this.j.Vt(s.It.Ha),
250
- this.j.Vt(s.It.lS),
248
+ null != h && this.j.Vt(s.It.VE),
249
+ this.j.Vt(s.It.La),
250
+ this.j.Vt(s.It.oS),
251
251
  this.Sc(),
252
252
  this.openSession(),
253
253
  b.info('Changed user to "' + t + '".');
@@ -273,22 +273,22 @@ export default class Kt {
273
273
  !0,
274
274
  );
275
275
  }
276
- Ar(t, i) {
276
+ Ar(t, i, s = "sdk") {
277
277
  this.C.el(),
278
278
  b.info("Requesting explicit trigger refresh."),
279
- this.bc(!0, void 0, t, i);
279
+ this.bc(!0, void 0, t, i, void 0, void 0, void 0, s);
280
280
  }
281
- Gu(t, i) {
281
+ Hu(t, i) {
282
282
  const e = p.Ac,
283
283
  h = { a: t, l: i },
284
- n = v.Dt(e, h);
284
+ o = v.Dt(e, h);
285
285
  return (
286
- n && (b.info(`Logged alias ${t} with label ${i}`), this.j.Pt(s.It.lS, h)),
287
- n
286
+ o && (b.info(`Logged alias ${t} with label ${i}`), this.j.Pt(s.It.oS, h)),
287
+ o
288
288
  );
289
289
  }
290
- Mu(t, i, s) {
291
- if (this.h.qu(i))
290
+ Yu(t, i, s) {
291
+ if (this.h.zu(i))
292
292
  return (
293
293
  b.info(`Custom Attribute "${i}" is blocklisted, ignoring.`), new L()
294
294
  );
@@ -300,15 +300,15 @@ export default class Kt {
300
300
  }
301
301
  return h;
302
302
  }
303
- setLastKnownLocation(t, i, s, e, h, n) {
304
- const o = { latitude: i, longitude: s };
305
- null != e && (o.altitude = e),
306
- null != h && (o.ll_accuracy = h),
307
- null != n && (o.alt_accuracy = n);
308
- const r = v.Dt(p.Dc, o, t || void 0);
303
+ setLastKnownLocation(t, i, s, e, h, o) {
304
+ const n = { latitude: i, longitude: s };
305
+ null != e && (n.altitude = e),
306
+ null != h && (n.ll_accuracy = h),
307
+ null != o && (n.alt_accuracy = o);
308
+ const r = v.Dt(p.Dc, n, t || void 0);
309
309
  return (
310
310
  r &&
311
- b.info(`Set user last known location as ${JSON.stringify(o, null, 2)}`),
311
+ b.info(`Set user last known location as ${JSON.stringify(n, null, 2)}`),
312
312
  r
313
313
  );
314
314
  }
@@ -319,25 +319,25 @@ export default class Kt {
319
319
  qc(t, i) {
320
320
  return new et(t, i);
321
321
  }
322
- Ea() {
322
+ Ua() {
323
323
  const t = et._s.Xs;
324
324
  this.qc(t, b).setItem(t.Ws.pn, 1, {
325
325
  baseUrl: this.baseUrl,
326
- data: { api_key: this.tu, device_id: this.eu.ve().id },
326
+ data: { api_key: this.eu, device_id: this.tu.ve().id },
327
327
  userId: this.Ss.getUserId(),
328
328
  sdkAuthEnabled: this.Gh.Fh(),
329
329
  });
330
330
  }
331
331
  Dr(t) {
332
332
  for (const i of t)
333
- if (i.api_key === this.tu) this.B.Wa(i.events, i.attributes);
333
+ if (i.api_key === this.eu) this.B.Za(i.events, i.attributes);
334
334
  else {
335
335
  const t = et._s.Xs;
336
336
  new et(t, b).setItem(t.Ws.Br, V.de(), i);
337
337
  }
338
338
  }
339
- Na(t, i, s) {
340
- if (this.h.qu(t))
339
+ Ia(t, i, s) {
340
+ if (this.h.zu(t))
341
341
  return (
342
342
  b.info(`Custom Attribute "${t}" is blocklisted, ignoring.`), new L()
343
343
  );
@@ -349,7 +349,7 @@ export default class Kt {
349
349
  v.Dt(e, h)
350
350
  );
351
351
  }
352
- va(t, i) {
352
+ Ca(t, i) {
353
353
  const s = { group_id: t, status: i };
354
354
  return v.Dt(p.Tc, s);
355
355
  }
@@ -7,7 +7,7 @@ import fs from "./purchase-property-data.js";
7
7
  import wr from "./push-click-data.js";
8
8
  import ot from "./trigger-events.js";
9
9
  import { logger as b } from "../../../shared-lib/index.js";
10
- import { getErrorMessage as hi } from "../../util/error-utils.js";
10
+ import { getErrorMessage as ai } from "../../util/error-utils.js";
11
11
  export default class pi {
12
12
  constructor(e, t) {
13
13
  (this.type = e), (this.data = t), (this.type = e), (this.data = t);
@@ -20,7 +20,7 @@ export default class pi {
20
20
  try {
21
21
  r = window.atob(e);
22
22
  } catch (t) {
23
- return b.info("Failed to unencode analytics id " + e + ": " + hi(t)), !1;
23
+ return b.info("Failed to unencode analytics id " + e + ": " + ai(t)), !1;
24
24
  }
25
25
  return t === r.split("_")[0];
26
26
  }
@@ -28,25 +28,25 @@ export default class pi {
28
28
  const t = e.type;
29
29
  let r = null;
30
30
  switch (t) {
31
- case pi.la.OPEN:
32
- case pi.la.Os:
31
+ case pi.ma.OPEN:
32
+ case pi.ma.Os:
33
33
  break;
34
- case pi.la.qr:
34
+ case pi.ma.qr:
35
35
  r = os.fromJson(e.data);
36
36
  break;
37
- case pi.la.Pc:
37
+ case pi.ma.Pc:
38
38
  r = fs.fromJson(e.data);
39
39
  break;
40
- case pi.la.Sr:
40
+ case pi.ma.Sr:
41
41
  r = wr.fromJson(e.data);
42
42
  break;
43
- case pi.la.he:
43
+ case pi.ma.he:
44
44
  r = es.fromJson(e.data);
45
45
  break;
46
- case pi.la.Rc:
46
+ case pi.ma.Rc:
47
47
  r = ns.fromJson(e.data);
48
48
  break;
49
- case pi.la.rm:
49
+ case pi.ma.rm:
50
50
  r = bi.fromJson(e.data);
51
51
  }
52
52
  return new pi(t, r);
@@ -58,31 +58,31 @@ export default class pi {
58
58
  let t,
59
59
  r = null;
60
60
  switch (e.t) {
61
- case pi.la.OPEN:
62
- case pi.la.Os:
61
+ case pi.ma.OPEN:
62
+ case pi.ma.Os:
63
63
  break;
64
- case pi.la.qr:
64
+ case pi.ma.qr:
65
65
  r = new os(e.d);
66
66
  break;
67
- case pi.la.Pc:
67
+ case pi.ma.Pc:
68
68
  (t = e.d || {}), (r = new fs(t.id, ls._u(t.pf || [])));
69
69
  break;
70
- case pi.la.Sr:
70
+ case pi.ma.Sr:
71
71
  r = new wr(e.d);
72
72
  break;
73
- case pi.la.he:
73
+ case pi.ma.he:
74
74
  r = new es(e.d);
75
75
  break;
76
- case pi.la.Rc:
76
+ case pi.ma.Rc:
77
77
  (t = e.d || {}), (r = new ns(t.e, ls._u(t.pf || [])));
78
78
  break;
79
- case pi.la.rm:
79
+ case pi.ma.rm:
80
80
  r = new bi(e.d);
81
81
  }
82
82
  return new pi(e.t, r);
83
83
  }
84
84
  }
85
- (pi.la = {
85
+ (pi.ma = {
86
86
  OPEN: "open",
87
87
  qr: "purchase",
88
88
  Pc: "purchase_property",
@@ -93,11 +93,11 @@ export default class pi {
93
93
  Os: "test",
94
94
  }),
95
95
  (pi.Ec = {}),
96
- (pi.Ec[pi.la.OPEN] = ot.OPEN),
97
- (pi.Ec[pi.la.qr] = ot.qr),
98
- (pi.Ec[pi.la.Pc] = ot.qr),
99
- (pi.Ec[pi.la.Sr] = ot.Sr),
100
- (pi.Ec[pi.la.he] = ot.he),
101
- (pi.Ec[pi.la.Rc] = ot.he),
102
- (pi.Ec[pi.la.rm] = ot.rm),
103
- (pi.Ec[pi.la.Os] = ot.Os);
96
+ (pi.Ec[pi.ma.OPEN] = ot.OPEN),
97
+ (pi.Ec[pi.ma.qr] = ot.qr),
98
+ (pi.Ec[pi.ma.Pc] = ot.qr),
99
+ (pi.Ec[pi.ma.Sr] = ot.Sr),
100
+ (pi.Ec[pi.ma.he] = ot.he),
101
+ (pi.Ec[pi.ma.Rc] = ot.he),
102
+ (pi.Ec[pi.ma.rm] = ot.rm),
103
+ (pi.Ec[pi.ma.Os] = ot.Os);
@@ -73,7 +73,7 @@ export default class gt {
73
73
  u = t.data,
74
74
  d = t.min_seconds_since_last_trigger;
75
75
  return ta(
76
- gt.la,
76
+ gt.ma,
77
77
  l,
78
78
  "Could not construct Trigger from server data",
79
79
  "Trigger.Types",
@@ -119,4 +119,4 @@ export default class gt {
119
119
  );
120
120
  }
121
121
  }
122
- (gt.la = { oa: "inapp", Md: "templated_iam" }), (gt.Dd = -1);
122
+ (gt.ma = { ua: "inapp", Hd: "templated_iam" }), (gt.Dd = -1);
@@ -14,7 +14,7 @@ export const TriggersProviderFactory = {
14
14
  const i = r.er(U.Dh);
15
15
  (TriggersProviderFactory.provider = new vr(
16
16
  null != i ? i : 30,
17
- je.ra().Pn(),
17
+ je.ra().En(),
18
18
  r.p(),
19
19
  r.nn(),
20
20
  je.ra(),