@doordeck/doordeck-headless-sdk 0.154.0 → 0.156.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.
@@ -16,7 +16,7 @@
16
16
  var DefaultJson;
17
17
  function json(_this__u8e3s4, json, contentType) {
18
18
  json = json === VOID ? get_DefaultJson() : json;
19
- contentType = contentType === VOID ? Application_getInstance().k2r_1 : contentType;
19
+ contentType = contentType === VOID ? Application_getInstance().l2r_1 : contentType;
20
20
  _init_properties_JsonSupport_kt__yf438r();
21
21
  serialization(_this__u8e3s4, contentType, json);
22
22
  }
@@ -317,11 +317,11 @@
317
317
  function serializeContent($this, serializer, format, value, contentType, charset) {
318
318
  var tmp;
319
319
  if (isInterface(format, StringFormat)) {
320
- var content = format.j1y(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
320
+ var content = format.k1y(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
321
321
  tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
322
322
  } else {
323
323
  if (isInterface(format, BinaryFormat)) {
324
- var content_0 = format.l1y(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
324
+ var content_0 = format.m1y(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
325
325
  tmp = new ByteArrayContent(content_0, contentType);
326
326
  } else {
327
327
  var message = 'Unsupported format ' + toString(format);
@@ -477,7 +477,7 @@
477
477
  var tmp = this.u8_1;
478
478
  if (tmp === 0) {
479
479
  this.v8_1 = 1;
480
- return !(this.z5n_1 == null) || this.y5n_1.g1m();
480
+ return !(this.z5n_1 == null) || this.y5n_1.h1m();
481
481
  } else if (tmp === 1) {
482
482
  throw this.x8_1;
483
483
  }
@@ -531,12 +531,12 @@
531
531
  return fromExtension;
532
532
  var tmp_1;
533
533
  try {
534
- tmp_1 = serializerForTypeInfo(this.i5o_1.n5o_1.i21(), this.l5o_1);
534
+ tmp_1 = serializerForTypeInfo(this.i5o_1.n5o_1.j21(), this.l5o_1);
535
535
  } catch ($p) {
536
536
  var tmp_2;
537
537
  if ($p instanceof SerializationException) {
538
538
  var cause = $p;
539
- tmp_2 = guessSerializer(this.m5o_1, this.i5o_1.n5o_1.i21());
539
+ tmp_2 = guessSerializer(this.m5o_1, this.i5o_1.n5o_1.j21());
540
540
  } else {
541
541
  throw $p;
542
542
  }
@@ -587,14 +587,14 @@
587
587
  var fromExtension = suspendResult;
588
588
  var tmp_1;
589
589
  if (!this.x5o_1.o5o_1.j()) {
590
- tmp_1 = !(fromExtension == null) || this.a5p_1.g1m();
590
+ tmp_1 = !(fromExtension == null) || this.a5p_1.h1m();
591
591
  } else {
592
592
  tmp_1 = false;
593
593
  }
594
594
 
595
595
  if (tmp_1)
596
596
  return fromExtension;
597
- this.b5p_1 = serializerForTypeInfo(this.x5o_1.n5o_1.i21(), this.z5o_1);
597
+ this.b5p_1 = serializerForTypeInfo(this.x5o_1.n5o_1.j21(), this.z5o_1);
598
598
  this.u8_1 = 2;
599
599
  suspendResult = readRemaining(this.a5p_1, this);
600
600
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -608,10 +608,10 @@
608
608
  var tmp0_subject = this.x5o_1.n5o_1;
609
609
  var tmp_2;
610
610
  if (isInterface(tmp0_subject, StringFormat)) {
611
- tmp_2 = this.x5o_1.n5o_1.k1y(this.b5p_1, readText(contentPacket, this.y5o_1));
611
+ tmp_2 = this.x5o_1.n5o_1.l1y(this.b5p_1, readText(contentPacket, this.y5o_1));
612
612
  } else {
613
613
  if (isInterface(tmp0_subject, BinaryFormat)) {
614
- tmp_2 = this.x5o_1.n5o_1.m1y(this.b5p_1, readByteArray(contentPacket));
614
+ tmp_2 = this.x5o_1.n5o_1.n1y(this.b5p_1, readByteArray(contentPacket));
615
615
  } else {
616
616
  discard(contentPacket);
617
617
  var message = 'Unsupported format ' + toString(this.x5o_1.n5o_1);
@@ -678,7 +678,7 @@
678
678
  };
679
679
  function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
680
680
  var module_0 = _this__u8e3s4;
681
- var tmp0_safe_receiver = typeInfo.c2q_1;
681
+ var tmp0_safe_receiver = typeInfo.d2q_1;
682
682
  var tmp;
683
683
  if (tmp0_safe_receiver == null) {
684
684
  tmp = null;
@@ -695,13 +695,13 @@
695
695
  var tmp1_elvis_lhs = tmp;
696
696
  var tmp_1;
697
697
  if (tmp1_elvis_lhs == null) {
698
- var tmp2_safe_receiver = module_0.p1y(typeInfo.b2q_1);
698
+ var tmp2_safe_receiver = module_0.q1y(typeInfo.c2q_1);
699
699
  tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
700
700
  } else {
701
701
  tmp_1 = tmp1_elvis_lhs;
702
702
  }
703
703
  var tmp3_elvis_lhs = tmp_1;
704
- return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.b2q_1), typeInfo) : tmp3_elvis_lhs;
704
+ return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.c2q_1), typeInfo) : tmp3_elvis_lhs;
705
705
  }
706
706
  function guessSerializer(value, module_0) {
707
707
  var tmp;
@@ -731,7 +731,7 @@
731
731
  var valueSerializer = elementSerializer(value.k2(), module_0);
732
732
  tmp = MapSerializer(keySerializer, valueSerializer);
733
733
  } else {
734
- var tmp3_elvis_lhs = module_0.p1y(getKClassFromExpression(value));
734
+ var tmp3_elvis_lhs = module_0.q1y(getKClassFromExpression(value));
735
735
  tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
736
736
  }
737
737
  }
@@ -743,7 +743,7 @@
743
743
  }
744
744
  function maybeNullable(_this__u8e3s4, typeInfo) {
745
745
  var tmp;
746
- var tmp0_safe_receiver = typeInfo.c2q_1;
746
+ var tmp0_safe_receiver = typeInfo.d2q_1;
747
747
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.lb()) === true) {
748
748
  tmp = get_nullable(_this__u8e3s4);
749
749
  } else {
@@ -768,7 +768,7 @@
768
768
  var _iterator__ex2g4s_0 = destination.r();
769
769
  while (_iterator__ex2g4s_0.s()) {
770
770
  var e = _iterator__ex2g4s_0.t();
771
- var key = e.g1x().h1y();
771
+ var key = e.h1x().i1y();
772
772
  if (set.p(key)) {
773
773
  list.p(e);
774
774
  }
@@ -781,7 +781,7 @@
781
781
  var _iterator__ex2g4s_1 = serializers.r();
782
782
  while (_iterator__ex2g4s_1.s()) {
783
783
  var item_0 = _iterator__ex2g4s_1.t();
784
- var tmp$ret$5 = item_0.g1x().h1y();
784
+ var tmp$ret$5 = item_0.h1x().i1y();
785
785
  destination_0.p(tmp$ret$5);
786
786
  }
787
787
  // Inline function 'kotlin.error' call
@@ -790,7 +790,7 @@
790
790
  }
791
791
  var tmp0_elvis_lhs = singleOrNull(serializers);
792
792
  var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
793
- if (selected.g1x().t1y()) {
793
+ if (selected.h1x().u1y()) {
794
794
  return selected;
795
795
  }
796
796
  if (!isInterface(selected, KSerializer))
@@ -73,7 +73,7 @@
73
73
  return tmp.c9();
74
74
  }
75
75
  function suitableCharset(_this__u8e3s4, defaultCharset) {
76
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().d1w_1 : defaultCharset;
76
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e1w_1 : defaultCharset;
77
77
  var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
78
78
  return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
79
79
  }
@@ -83,8 +83,8 @@
83
83
  function Configuration() {
84
84
  }
85
85
  function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
86
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().d1w_1 : defaultCharset;
87
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.q2k(HttpHeaders_getInstance().l2t_1)).r();
86
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e1w_1 : defaultCharset;
87
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.r2k(HttpHeaders_getInstance().m2t_1)).r();
88
88
  while (_iterator__ex2g4s.s()) {
89
89
  var charset = _iterator__ex2g4s.t().ig();
90
90
  if (charset === '*')
@@ -266,7 +266,7 @@
266
266
  var tmp = this.u8_1;
267
267
  if (tmp === 0) {
268
268
  this.v8_1 = 1;
269
- return !(this.p56_1 == null) || this.o56_1.g1m();
269
+ return !(this.p56_1 == null) || this.o56_1.h1m();
270
270
  } else if (tmp === 1) {
271
271
  throw this.x8_1;
272
272
  }
@@ -319,10 +319,10 @@
319
319
  if (!(result == null)) {
320
320
  tmp_1 = result;
321
321
  } else {
322
- if (!this.v54_1.g1m()) {
322
+ if (!this.v54_1.h1m()) {
323
323
  tmp_1 = this.v54_1;
324
324
  } else {
325
- var tmp0_safe_receiver = this.w54_1.c2q_1;
325
+ var tmp0_safe_receiver = this.w54_1.d2q_1;
326
326
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.lb()) === true) {
327
327
  tmp_1 = NullBody_instance;
328
328
  } else {