@doordeck/doordeck-headless-sdk 0.114.0 → 0.116.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 (31) hide show
  1. package/kotlin/Kermit-kermit-core.js +59 -58
  2. package/kotlin/Kermit-kermit.js +7 -7
  3. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1899 -1681
  4. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
  5. package/kotlin/MultiplatformSettings-multiplatform-settings.js +30 -11
  6. package/kotlin/doordeck-sdk.d.ts +1576 -290
  7. package/kotlin/doordeck-sdk.js +6395 -6373
  8. package/kotlin/kotlin-kotlin-stdlib.js +590 -719
  9. package/kotlin/kotlinx-atomicfu.js +5 -5
  10. package/kotlin/kotlinx-coroutines-core.js +246 -243
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +12 -12
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +104 -104
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +126 -117
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1216 -1214
  15. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js → ktor-ktor-client-auth.js} +283 -286
  16. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js → ktor-ktor-client-content-negotiation.js} +169 -169
  17. package/kotlin/{ktor-ktor-client-ktor-client-core.js → ktor-ktor-client-core.js} +2515 -2518
  18. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js → ktor-ktor-client-logging.js} +926 -831
  19. package/kotlin/{ktor-ktor-shared-ktor-events.js → ktor-ktor-events.js} +9 -9
  20. package/kotlin/{ktor-ktor-http-ktor-http-cio.js → ktor-ktor-http-cio.js} +371 -370
  21. package/kotlin/ktor-ktor-http.js +867 -952
  22. package/kotlin/ktor-ktor-io.js +389 -411
  23. package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js → ktor-ktor-serialization-kotlinx-json.js} +7 -7
  24. package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js → ktor-ktor-serialization-kotlinx.js} +150 -150
  25. package/kotlin/{ktor-ktor-shared-ktor-serialization.js → ktor-ktor-serialization.js} +75 -75
  26. package/kotlin/ktor-ktor-utils.js +117 -92
  27. package/kotlin/{ktor-ktor-shared-ktor-websockets.js → ktor-ktor-websockets.js} +52 -52
  28. package/package.json +3 -3
  29. /package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js → ktor-ktor-client-encoding.js} +0 -0
  30. /package/kotlin/{ktor-ktor-shared-ktor-sse.js → ktor-ktor-sse.js} +0 -0
  31. /package/kotlin/{ktor-ktor-shared-ktor-websocket-serialization.js → ktor-ktor-websocket-serialization.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  (function (_, kotlin_kotlin) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.ub;
4
+ var protoOf = kotlin_kotlin.$_$.vb;
5
5
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
6
- var isInterface = kotlin_kotlin.$_$.hb;
6
+ var isInterface = kotlin_kotlin.$_$.ib;
7
7
  var Unit_instance = kotlin_kotlin.$_$.k5;
8
- var initMetadataForClass = kotlin_kotlin.$_$.sa;
9
- var initMetadataForObject = kotlin_kotlin.$_$.ya;
8
+ var initMetadataForClass = kotlin_kotlin.$_$.ta;
9
+ var initMetadataForObject = kotlin_kotlin.$_$.za;
10
10
  var VOID = kotlin_kotlin.$_$.h;
11
11
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.j1;
12
- var charSequenceLength = kotlin_kotlin.$_$.ha;
13
- var initMetadataForInterface = kotlin_kotlin.$_$.wa;
14
- var getStringHashCode = kotlin_kotlin.$_$.qa;
15
- var THROW_CCE = kotlin_kotlin.$_$.sf;
12
+ var charSequenceLength = kotlin_kotlin.$_$.ia;
13
+ var initMetadataForInterface = kotlin_kotlin.$_$.xa;
14
+ var getStringHashCode = kotlin_kotlin.$_$.ra;
15
+ var THROW_CCE = kotlin_kotlin.$_$.vf;
16
16
  var toList = kotlin_kotlin.$_$.u8;
17
- var Enum = kotlin_kotlin.$_$.hf;
18
- var objectCreate = kotlin_kotlin.$_$.tb;
19
- var stackTraceToString = kotlin_kotlin.$_$.tg;
20
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.rg;
17
+ var Enum = kotlin_kotlin.$_$.kf;
18
+ var objectCreate = kotlin_kotlin.$_$.ub;
19
+ var stackTraceToString = kotlin_kotlin.$_$.wg;
20
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ug;
21
21
  //endregion
22
22
  //region block: pre-declaration
23
23
  initMetadataForClass(BaseLogger, 'BaseLogger');
@@ -36,11 +36,12 @@
36
36
  } else {
37
37
  tmp = false;
38
38
  }
39
- if (tmp)
39
+ if (tmp) {
40
40
  return _Message___get_message__impl__3t69n4(message);
41
+ }
41
42
  var sb = StringBuilder_init_$Create$();
42
43
  if (!(severity == null)) {
43
- sb.r8(this.k6g(severity)).r8(' ');
44
+ sb.r8(this.o6g(severity)).r8(' ');
44
45
  }
45
46
  var tmp_1;
46
47
  var tmp_2 = tag;
@@ -52,7 +53,7 @@
52
53
  tmp_1 = false;
53
54
  }
54
55
  if (tmp_1) {
55
- sb.r8(this.i6g(tag)).r8(' ');
56
+ sb.r8(this.m6g(tag)).r8(' ');
56
57
  }
57
58
  sb.r8(_Message___get_message__impl__3t69n4(message));
58
59
  return sb.toString();
@@ -73,26 +74,26 @@
73
74
  }
74
75
  var DEFAULT_MIN_SEVERITY;
75
76
  function BaseLogger(config) {
76
- this.c6g_1 = config;
77
+ this.g6g_1 = config;
77
78
  }
78
- protoOf(BaseLogger).a3i = function () {
79
- return this.c6g_1;
79
+ protoOf(BaseLogger).d3i = function () {
80
+ return this.g6g_1;
80
81
  };
81
- protoOf(BaseLogger).d6g = function () {
82
+ protoOf(BaseLogger).h6g = function () {
82
83
  // Inline function 'kotlin.let' call
83
- var it = this.a3i();
84
+ var it = this.d3i();
84
85
  if (!isInterface(it, MutableLoggerConfig)) {
85
86
  throw IllegalStateException_init_$Create$('Logger config is not mutable');
86
87
  }
87
88
  return it;
88
89
  };
89
- protoOf(BaseLogger).e6g = function (severity, tag, throwable, message) {
90
+ protoOf(BaseLogger).i6g = function (severity, tag, throwable, message) {
90
91
  // Inline function 'kotlin.collections.forEach' call
91
- var _iterator__ex2g4s = this.a3i().f6g().p();
92
+ var _iterator__ex2g4s = this.d3i().j6g().p();
92
93
  while (_iterator__ex2g4s.q()) {
93
94
  var element = _iterator__ex2g4s.r();
94
- if (element.h6g(tag, severity)) {
95
- element.g6g(severity, message, tag, throwable);
95
+ if (element.l6g(tag, severity)) {
96
+ element.k6g(severity, message, tag, throwable);
96
97
  }
97
98
  }
98
99
  };
@@ -105,15 +106,15 @@
105
106
  }
106
107
  function LogWriter() {
107
108
  }
108
- protoOf(LogWriter).h6g = function (tag, severity) {
109
+ protoOf(LogWriter).l6g = function (tag, severity) {
109
110
  return true;
110
111
  };
111
112
  function NoTagFormatter() {
112
113
  }
113
- protoOf(NoTagFormatter).i6g = function (tag) {
114
+ protoOf(NoTagFormatter).m6g = function (tag) {
114
115
  return '';
115
116
  };
116
- protoOf(NoTagFormatter).j6g = function (severity, tag, message) {
117
+ protoOf(NoTagFormatter).n6g = function (severity, tag, message) {
117
118
  return formatMessage.call(this, severity, null, message);
118
119
  };
119
120
  var NoTagFormatter_instance;
@@ -143,21 +144,21 @@
143
144
  function Tag__equals_impl_6ocp5g($this, other) {
144
145
  if (!(other instanceof Tag))
145
146
  return false;
146
- if (!($this === (other instanceof Tag ? other.l6g_1 : THROW_CCE())))
147
+ if (!($this === (other instanceof Tag ? other.p6g_1 : THROW_CCE())))
147
148
  return false;
148
149
  return true;
149
150
  }
150
151
  function Tag(tag) {
151
- this.l6g_1 = tag;
152
+ this.p6g_1 = tag;
152
153
  }
153
154
  protoOf(Tag).toString = function () {
154
- return Tag__toString_impl_tvevk7(this.l6g_1);
155
+ return Tag__toString_impl_tvevk7(this.p6g_1);
155
156
  };
156
157
  protoOf(Tag).hashCode = function () {
157
- return Tag__hashCode_impl_848yrc(this.l6g_1);
158
+ return Tag__hashCode_impl_848yrc(this.p6g_1);
158
159
  };
159
160
  protoOf(Tag).equals = function (other) {
160
- return Tag__equals_impl_6ocp5g(this.l6g_1, other);
161
+ return Tag__equals_impl_6ocp5g(this.p6g_1, other);
161
162
  };
162
163
  function _Message___init__impl__p3e8y6(message) {
163
164
  return message;
@@ -171,7 +172,7 @@
171
172
  minSeverity = minSeverity === VOID ? get_DEFAULT_MIN_SEVERITY() : minSeverity;
172
173
  // Inline function 'kotlin.also' call
173
174
  var this_0 = mutableLoggerConfigInit_0(toList(logWriters));
174
- this_0.m6g(minSeverity);
175
+ this_0.q6g(minSeverity);
175
176
  return this_0;
176
177
  }
177
178
  var Severity_Verbose_instance;
@@ -221,11 +222,11 @@
221
222
  }
222
223
  function ConsoleWriter(messageStringFormatter, console) {
223
224
  LogWriter.call(this);
224
- this.n6g_1 = messageStringFormatter;
225
- this.o6g_1 = console;
225
+ this.r6g_1 = messageStringFormatter;
226
+ this.s6g_1 = console;
226
227
  }
227
- protoOf(ConsoleWriter).g6g = function (severity, message, tag, throwable) {
228
- var output = this.n6g_1.j6g(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));
229
230
  if (throwable == null)
230
231
  null;
231
232
  else {
@@ -235,17 +236,17 @@
235
236
  switch (severity.r2_1) {
236
237
  case 5:
237
238
  case 4:
238
- this.o6g_1.p6g(output);
239
+ this.s6g_1.t6g(output);
239
240
  break;
240
241
  case 3:
241
- this.o6g_1.q6g(output);
242
+ this.s6g_1.m2s(output);
242
243
  break;
243
244
  case 2:
244
- this.o6g_1.r6g(output);
245
+ this.s6g_1.u6g(output);
245
246
  break;
246
247
  case 1:
247
248
  case 0:
248
- this.o6g_1.s4z(output);
249
+ this.s6g_1.o4z(output);
249
250
  break;
250
251
  default:
251
252
  noWhenBranchMatchedException();
@@ -253,37 +254,37 @@
253
254
  }
254
255
  };
255
256
  function JsMutableLoggerConfig(logWriters) {
256
- this.s6g_1 = get_DEFAULT_MIN_SEVERITY();
257
- this.t6g_1 = logWriters;
257
+ this.v6g_1 = get_DEFAULT_MIN_SEVERITY();
258
+ this.w6g_1 = logWriters;
258
259
  }
259
- protoOf(JsMutableLoggerConfig).m6g = function (_set____db54di) {
260
- this.s6g_1 = _set____db54di;
260
+ protoOf(JsMutableLoggerConfig).q6g = function (_set____db54di) {
261
+ this.v6g_1 = _set____db54di;
261
262
  };
262
- protoOf(JsMutableLoggerConfig).u6g = function () {
263
- return this.s6g_1;
263
+ protoOf(JsMutableLoggerConfig).x6g = function () {
264
+ return this.v6g_1;
264
265
  };
265
- protoOf(JsMutableLoggerConfig).f6g = function () {
266
- return this.t6g_1;
266
+ protoOf(JsMutableLoggerConfig).j6g = function () {
267
+ return this.w6g_1;
267
268
  };
268
269
  function mutableLoggerConfigInit_0(logWriters) {
269
270
  return new JsMutableLoggerConfig(logWriters);
270
271
  }
271
272
  function platformLogWriter(messageStringFormatter) {
272
273
  messageStringFormatter = messageStringFormatter === VOID ? DefaultFormatter_instance : messageStringFormatter;
273
- return ConsoleWriter_init_$Create$();
274
+ return ConsoleWriter_init_$Create$(messageStringFormatter);
274
275
  }
275
276
  function ConsoleActual() {
276
277
  }
277
- protoOf(ConsoleActual).p6g = function (output) {
278
+ protoOf(ConsoleActual).t6g = function (output) {
278
279
  console.error(output);
279
280
  };
280
- protoOf(ConsoleActual).q6g = function (output) {
281
+ protoOf(ConsoleActual).m2s = function (output) {
281
282
  console.warn(output);
282
283
  };
283
- protoOf(ConsoleActual).r6g = function (output) {
284
+ protoOf(ConsoleActual).u6g = function (output) {
284
285
  console.info(output);
285
286
  };
286
- protoOf(ConsoleActual).s4z = function (output) {
287
+ protoOf(ConsoleActual).o4z = function (output) {
287
288
  console.log(output);
288
289
  };
289
290
  var ConsoleActual_instance;
@@ -291,10 +292,10 @@
291
292
  return ConsoleActual_instance;
292
293
  }
293
294
  //region block: post-declaration
294
- protoOf(NoTagFormatter).k6g = formatSeverity;
295
- protoOf(DefaultFormatter).k6g = formatSeverity;
296
- protoOf(DefaultFormatter).i6g = formatTag;
297
- protoOf(DefaultFormatter).j6g = formatMessage;
295
+ protoOf(NoTagFormatter).o6g = formatSeverity;
296
+ protoOf(DefaultFormatter).o6g = formatSeverity;
297
+ protoOf(DefaultFormatter).m6g = formatTag;
298
+ protoOf(DefaultFormatter).n6g = formatMessage;
298
299
  //endregion
299
300
  //region block: init
300
301
  NoTagFormatter_instance = new NoTagFormatter();
@@ -4,11 +4,11 @@
4
4
  var platformLogWriter = kotlin_co_touchlab_kermit_core.$_$.d;
5
5
  var listOf = kotlin_kotlin.$_$.v7;
6
6
  var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.c;
7
- var protoOf = kotlin_kotlin.$_$.ub;
8
- var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
7
+ var protoOf = kotlin_kotlin.$_$.vb;
8
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
9
9
  var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
10
10
  var VOID = kotlin_kotlin.$_$.h;
11
- var initMetadataForClass = kotlin_kotlin.$_$.sa;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.ta;
12
12
  //endregion
13
13
  //region block: pre-declaration
14
14
  initMetadataForClass(Logger, 'Logger', VOID, BaseLogger);
@@ -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;