@doordeck/doordeck-headless-sdk 0.115.0 → 0.117.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.
@@ -41,7 +41,7 @@
41
41
  }
42
42
  var sb = StringBuilder_init_$Create$();
43
43
  if (!(severity == null)) {
44
- sb.r8(this.l6g(severity)).r8(' ');
44
+ sb.r8(this.o6g(severity)).r8(' ');
45
45
  }
46
46
  var tmp_1;
47
47
  var tmp_2 = tag;
@@ -53,7 +53,7 @@
53
53
  tmp_1 = false;
54
54
  }
55
55
  if (tmp_1) {
56
- sb.r8(this.j6g(tag)).r8(' ');
56
+ sb.r8(this.m6g(tag)).r8(' ');
57
57
  }
58
58
  sb.r8(_Message___get_message__impl__3t69n4(message));
59
59
  return sb.toString();
@@ -74,12 +74,12 @@
74
74
  }
75
75
  var DEFAULT_MIN_SEVERITY;
76
76
  function BaseLogger(config) {
77
- this.d6g_1 = config;
77
+ this.g6g_1 = config;
78
78
  }
79
79
  protoOf(BaseLogger).d3i = function () {
80
- return this.d6g_1;
80
+ return this.g6g_1;
81
81
  };
82
- protoOf(BaseLogger).e6g = function () {
82
+ protoOf(BaseLogger).h6g = function () {
83
83
  // Inline function 'kotlin.let' call
84
84
  var it = this.d3i();
85
85
  if (!isInterface(it, MutableLoggerConfig)) {
@@ -87,13 +87,13 @@
87
87
  }
88
88
  return it;
89
89
  };
90
- protoOf(BaseLogger).f6g = function (severity, tag, throwable, message) {
90
+ protoOf(BaseLogger).i6g = function (severity, tag, throwable, message) {
91
91
  // Inline function 'kotlin.collections.forEach' call
92
- var _iterator__ex2g4s = this.d3i().g6g().p();
92
+ var _iterator__ex2g4s = this.d3i().j6g().p();
93
93
  while (_iterator__ex2g4s.q()) {
94
94
  var element = _iterator__ex2g4s.r();
95
- if (element.i6g(tag, severity)) {
96
- element.h6g(severity, message, tag, throwable);
95
+ if (element.l6g(tag, severity)) {
96
+ element.k6g(severity, message, tag, throwable);
97
97
  }
98
98
  }
99
99
  };
@@ -106,15 +106,15 @@
106
106
  }
107
107
  function LogWriter() {
108
108
  }
109
- protoOf(LogWriter).i6g = function (tag, severity) {
109
+ protoOf(LogWriter).l6g = function (tag, severity) {
110
110
  return true;
111
111
  };
112
112
  function NoTagFormatter() {
113
113
  }
114
- protoOf(NoTagFormatter).j6g = function (tag) {
114
+ protoOf(NoTagFormatter).m6g = function (tag) {
115
115
  return '';
116
116
  };
117
- protoOf(NoTagFormatter).k6g = function (severity, tag, message) {
117
+ protoOf(NoTagFormatter).n6g = function (severity, tag, message) {
118
118
  return formatMessage.call(this, severity, null, message);
119
119
  };
120
120
  var NoTagFormatter_instance;
@@ -144,21 +144,21 @@
144
144
  function Tag__equals_impl_6ocp5g($this, other) {
145
145
  if (!(other instanceof Tag))
146
146
  return false;
147
- if (!($this === (other instanceof Tag ? other.m6g_1 : THROW_CCE())))
147
+ if (!($this === (other instanceof Tag ? other.p6g_1 : THROW_CCE())))
148
148
  return false;
149
149
  return true;
150
150
  }
151
151
  function Tag(tag) {
152
- this.m6g_1 = tag;
152
+ this.p6g_1 = tag;
153
153
  }
154
154
  protoOf(Tag).toString = function () {
155
- return Tag__toString_impl_tvevk7(this.m6g_1);
155
+ return Tag__toString_impl_tvevk7(this.p6g_1);
156
156
  };
157
157
  protoOf(Tag).hashCode = function () {
158
- return Tag__hashCode_impl_848yrc(this.m6g_1);
158
+ return Tag__hashCode_impl_848yrc(this.p6g_1);
159
159
  };
160
160
  protoOf(Tag).equals = function (other) {
161
- return Tag__equals_impl_6ocp5g(this.m6g_1, other);
161
+ return Tag__equals_impl_6ocp5g(this.p6g_1, other);
162
162
  };
163
163
  function _Message___init__impl__p3e8y6(message) {
164
164
  return message;
@@ -172,7 +172,7 @@
172
172
  minSeverity = minSeverity === VOID ? get_DEFAULT_MIN_SEVERITY() : minSeverity;
173
173
  // Inline function 'kotlin.also' call
174
174
  var this_0 = mutableLoggerConfigInit_0(toList(logWriters));
175
- this_0.n6g(minSeverity);
175
+ this_0.q6g(minSeverity);
176
176
  return this_0;
177
177
  }
178
178
  var Severity_Verbose_instance;
@@ -222,11 +222,11 @@
222
222
  }
223
223
  function ConsoleWriter(messageStringFormatter, console) {
224
224
  LogWriter.call(this);
225
- this.o6g_1 = messageStringFormatter;
226
- this.p6g_1 = console;
225
+ this.r6g_1 = messageStringFormatter;
226
+ this.s6g_1 = console;
227
227
  }
228
- protoOf(ConsoleWriter).h6g = function (severity, message, tag, throwable) {
229
- var output = this.o6g_1.k6g(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
228
+ protoOf(ConsoleWriter).k6g = function (severity, message, tag, throwable) {
229
+ var output = this.r6g_1.n6g(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
230
230
  if (throwable == null)
231
231
  null;
232
232
  else {
@@ -236,17 +236,17 @@
236
236
  switch (severity.r2_1) {
237
237
  case 5:
238
238
  case 4:
239
- this.p6g_1.q6g(output);
239
+ this.s6g_1.t6g(output);
240
240
  break;
241
241
  case 3:
242
- this.p6g_1.m2s(output);
242
+ this.s6g_1.m2s(output);
243
243
  break;
244
244
  case 2:
245
- this.p6g_1.r6g(output);
245
+ this.s6g_1.u6g(output);
246
246
  break;
247
247
  case 1:
248
248
  case 0:
249
- this.p6g_1.o4z(output);
249
+ this.s6g_1.o4z(output);
250
250
  break;
251
251
  default:
252
252
  noWhenBranchMatchedException();
@@ -254,17 +254,17 @@
254
254
  }
255
255
  };
256
256
  function JsMutableLoggerConfig(logWriters) {
257
- this.s6g_1 = get_DEFAULT_MIN_SEVERITY();
258
- this.t6g_1 = logWriters;
257
+ this.v6g_1 = get_DEFAULT_MIN_SEVERITY();
258
+ this.w6g_1 = logWriters;
259
259
  }
260
- protoOf(JsMutableLoggerConfig).n6g = function (_set____db54di) {
261
- this.s6g_1 = _set____db54di;
260
+ protoOf(JsMutableLoggerConfig).q6g = function (_set____db54di) {
261
+ this.v6g_1 = _set____db54di;
262
262
  };
263
- protoOf(JsMutableLoggerConfig).u6g = function () {
264
- return this.s6g_1;
263
+ protoOf(JsMutableLoggerConfig).x6g = function () {
264
+ return this.v6g_1;
265
265
  };
266
- protoOf(JsMutableLoggerConfig).g6g = function () {
267
- return this.t6g_1;
266
+ protoOf(JsMutableLoggerConfig).j6g = function () {
267
+ return this.w6g_1;
268
268
  };
269
269
  function mutableLoggerConfigInit_0(logWriters) {
270
270
  return new JsMutableLoggerConfig(logWriters);
@@ -275,13 +275,13 @@
275
275
  }
276
276
  function ConsoleActual() {
277
277
  }
278
- protoOf(ConsoleActual).q6g = function (output) {
278
+ protoOf(ConsoleActual).t6g = function (output) {
279
279
  console.error(output);
280
280
  };
281
281
  protoOf(ConsoleActual).m2s = function (output) {
282
282
  console.warn(output);
283
283
  };
284
- protoOf(ConsoleActual).r6g = function (output) {
284
+ protoOf(ConsoleActual).u6g = function (output) {
285
285
  console.info(output);
286
286
  };
287
287
  protoOf(ConsoleActual).o4z = function (output) {
@@ -292,10 +292,10 @@
292
292
  return ConsoleActual_instance;
293
293
  }
294
294
  //region block: post-declaration
295
- protoOf(NoTagFormatter).l6g = formatSeverity;
296
- protoOf(DefaultFormatter).l6g = formatSeverity;
297
- protoOf(DefaultFormatter).j6g = formatTag;
298
- protoOf(DefaultFormatter).k6g = formatMessage;
295
+ protoOf(NoTagFormatter).o6g = formatSeverity;
296
+ protoOf(DefaultFormatter).o6g = formatSeverity;
297
+ protoOf(DefaultFormatter).m6g = formatTag;
298
+ protoOf(DefaultFormatter).n6g = formatMessage;
299
299
  //endregion
300
300
  //region block: init
301
301
  NoTagFormatter_instance = new NoTagFormatter();
@@ -18,7 +18,7 @@
18
18
  Companion_instance = this;
19
19
  Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
20
20
  }
21
- protoOf(Companion).x6g = function () {
21
+ protoOf(Companion).a6h = function () {
22
22
  return get_defaultTag();
23
23
  };
24
24
  var Companion_instance;
@@ -31,10 +31,10 @@
31
31
  Companion_getInstance();
32
32
  tag = tag === VOID ? '' : tag;
33
33
  BaseLogger.call(this, config);
34
- this.z6g_1 = tag;
34
+ this.c6h_1 = tag;
35
35
  }
36
- protoOf(Logger).x6g = function () {
37
- return this.z6g_1;
36
+ protoOf(Logger).a6h = function () {
37
+ return this.c6h_1;
38
38
  };
39
39
  function get_defaultTag() {
40
40
  return defaultTag;
@@ -312,7 +312,7 @@
312
312
  function addFormatStructureForTime(structure) {
313
313
  this.l64(structure);
314
314
  }
315
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
315
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
316
316
  function offsetHours$default(padding, $super) {
317
317
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
318
318
  var tmp;
@@ -365,7 +365,7 @@
365
365
  return tmp;
366
366
  }
367
367
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
368
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
368
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithDate, WithUtcOffset]);
369
369
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
370
370
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
371
371
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -4,6 +4,7 @@
4
4
  var Unit_instance = kotlin_kotlin.$_$.k5;
5
5
  var VOID = kotlin_kotlin.$_$.h;
6
6
  var protoOf = kotlin_kotlin.$_$.vb;
7
+ var toIntOrNull = kotlin_kotlin.$_$.me;
7
8
  var toBoolean = kotlin_kotlin.$_$.ie;
8
9
  var initMetadataForClass = kotlin_kotlin.$_$.ta;
9
10
  //endregion
@@ -24,21 +25,39 @@
24
25
  protoOf(StorageSettings).e2 = function () {
25
26
  return this.y6f_1.clear();
26
27
  };
27
- protoOf(StorageSettings).z6f = function (key, value) {
28
+ protoOf(StorageSettings).h2o = function (key) {
29
+ return this.y6f_1.removeItem(key);
30
+ };
31
+ protoOf(StorageSettings).z6f = function (key) {
32
+ // Inline function 'com.russhwolf.settings.get' call
33
+ return !(this.y6f_1.getItem(key) == null);
34
+ };
35
+ protoOf(StorageSettings).a6g = function (key, value) {
36
+ var tmp0 = this.y6f_1;
37
+ // Inline function 'com.russhwolf.settings.set' call
38
+ var value_0 = value.toString();
39
+ tmp0.setItem(key, value_0);
40
+ };
41
+ protoOf(StorageSettings).b6g = function (key) {
42
+ // Inline function 'com.russhwolf.settings.get' call
43
+ var tmp0_safe_receiver = this.y6f_1.getItem(key);
44
+ return tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver);
45
+ };
46
+ protoOf(StorageSettings).c6g = function (key, value) {
28
47
  // Inline function 'com.russhwolf.settings.set' call
29
48
  this.y6f_1.setItem(key, value);
30
49
  };
31
- protoOf(StorageSettings).a6g = function (key) {
50
+ protoOf(StorageSettings).d6g = function (key) {
32
51
  // Inline function 'com.russhwolf.settings.get' call
33
52
  return this.y6f_1.getItem(key);
34
53
  };
35
- protoOf(StorageSettings).b6g = function (key, value) {
54
+ protoOf(StorageSettings).e6g = function (key, value) {
36
55
  var tmp0 = this.y6f_1;
37
56
  // Inline function 'com.russhwolf.settings.set' call
38
57
  var value_0 = value.toString();
39
58
  tmp0.setItem(key, value_0);
40
59
  };
41
- protoOf(StorageSettings).c6g = function (key) {
60
+ protoOf(StorageSettings).f6g = function (key) {
42
61
  // Inline function 'com.russhwolf.settings.get' call
43
62
  var tmp0_safe_receiver = this.y6f_1.getItem(key);
44
63
  return tmp0_safe_receiver == null ? null : toBoolean(tmp0_safe_receiver);