@doordeck/doordeck-headless-sdk 0.71.0 → 0.72.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 (28) hide show
  1. package/README.md +14 -14
  2. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1344 -1344
  3. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
  4. package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
  5. package/kotlin/doordeck-sdk.d.ts +463 -489
  6. package/kotlin/doordeck-sdk.js +28975 -28999
  7. package/kotlin/kotlin-kotlin-stdlib.js +2284 -2785
  8. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +6 -0
  9. package/kotlin/kotlinx-atomicfu.js +19 -19
  10. package/kotlin/kotlinx-coroutines-core.js +2188 -2804
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +2 -198
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +463 -536
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1939 -1939
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1684 -1733
  15. package/kotlin/ktor-ktor-client-ktor-client-core.js +3074 -3401
  16. package/kotlin/ktor-ktor-client-ktor-client-js.js +6 -0
  17. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +438 -540
  18. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +271 -372
  19. package/kotlin/ktor-ktor-http.js +906 -1012
  20. package/kotlin/ktor-ktor-io.js +880 -1782
  21. package/kotlin/ktor-ktor-shared-ktor-events.js +13 -13
  22. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
  23. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +282 -282
  24. package/kotlin/ktor-ktor-shared-ktor-serialization.js +137 -137
  25. package/kotlin/ktor-ktor-shared-ktor-websockets.js +57 -57
  26. package/kotlin/ktor-ktor-utils.js +668 -758
  27. package/package.json +2 -2
  28. package/kotlin/ktor-ktor-http-ktor-http-cio.js +0 -2009
@@ -2,29 +2,29 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var collectionSizeOrDefault = kotlin_kotlin.$_$.e6;
6
- var mapCapacity = kotlin_kotlin.$_$.v7;
7
- var coerceAtLeast = kotlin_kotlin.$_$.zb;
5
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
6
+ var mapCapacity = kotlin_kotlin.$_$.p7;
7
+ var coerceAtLeast = kotlin_kotlin.$_$.qb;
8
8
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
9
- var Unit_instance = kotlin_kotlin.$_$.j5;
10
- var protoOf = kotlin_kotlin.$_$.sb;
11
- var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
12
- var enumEntries = kotlin_kotlin.$_$.v9;
13
- var Enum = kotlin_kotlin.$_$.af;
14
- var initMetadataForClass = kotlin_kotlin.$_$.ra;
9
+ var Unit_instance = kotlin_kotlin.$_$.g5;
10
+ var protoOf = kotlin_kotlin.$_$.jb;
11
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
12
+ var enumEntries = kotlin_kotlin.$_$.n9;
13
+ var Enum = kotlin_kotlin.$_$.ke;
14
+ var initMetadataForClass = kotlin_kotlin.$_$.ja;
15
15
  var VOID = kotlin_kotlin.$_$.h;
16
- var toString = kotlin_kotlin.$_$.wb;
17
- var getStringHashCode = kotlin_kotlin.$_$.pa;
18
- var THROW_CCE = kotlin_kotlin.$_$.lf;
19
- var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
20
- var initMetadataForObject = kotlin_kotlin.$_$.xa;
21
- var compareTo = kotlin_kotlin.$_$.ha;
22
- var ensureNotNull = kotlin_kotlin.$_$.dg;
23
- var fillArrayVal = kotlin_kotlin.$_$.la;
24
- var objectCreate = kotlin_kotlin.$_$.rb;
25
- var toByteArray = kotlin_io_ktor_ktor_io.$_$.a1;
16
+ var toString = kotlin_kotlin.$_$.nb;
17
+ var getStringHashCode = kotlin_kotlin.$_$.ha;
18
+ var THROW_CCE = kotlin_kotlin.$_$.ve;
19
+ var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
20
+ var initMetadataForObject = kotlin_kotlin.$_$.pa;
21
+ var compareTo = kotlin_kotlin.$_$.z9;
22
+ var ensureNotNull = kotlin_kotlin.$_$.mf;
23
+ var fillArrayVal = kotlin_kotlin.$_$.da;
24
+ var objectCreate = kotlin_kotlin.$_$.ib;
25
+ var toByteArray = kotlin_io_ktor_ktor_io.$_$.x;
26
26
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
27
- var writeText = kotlin_io_ktor_ktor_io.$_$.d1;
27
+ var writeText = kotlin_io_ktor_ktor_io.$_$.a1;
28
28
  var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
29
29
  //endregion
30
30
  //region block: pre-declaration
@@ -64,14 +64,14 @@
64
64
  while (_iterator__ex2g4s.q()) {
65
65
  var element = _iterator__ex2g4s.r();
66
66
  // Inline function 'io.ktor.websocket.Companion.byCodeMap.<anonymous>' call
67
- var tmp$ret$0 = element.s33_1;
67
+ var tmp$ret$0 = element.x2p_1;
68
68
  destination.n2(tmp$ret$0, element);
69
69
  }
70
- tmp.t33_1 = destination;
71
- this.u33_1 = Codes_INTERNAL_ERROR_getInstance();
70
+ tmp.y2p_1 = destination;
71
+ this.z2p_1 = Codes_INTERNAL_ERROR_getInstance();
72
72
  }
73
- protoOf(Companion).v33 = function (code) {
74
- return this.t33_1.k2(code);
73
+ protoOf(Companion).a2q = function (code) {
74
+ return this.y2p_1.k2(code);
75
75
  };
76
76
  var Companion_instance;
77
77
  function Companion_getInstance() {
@@ -110,7 +110,7 @@
110
110
  var $ENTRIES;
111
111
  function Codes(name, ordinal, code) {
112
112
  Enum.call(this, name, ordinal);
113
- this.s33_1 = code;
113
+ this.x2p_1 = code;
114
114
  }
115
115
  function Codes_NORMAL_getInstance() {
116
116
  Codes_initEntries();
@@ -161,19 +161,19 @@
161
161
  return Codes_TRY_AGAIN_LATER_instance;
162
162
  }
163
163
  function CloseReason(code, message) {
164
- this.w33_1 = code;
165
- this.x33_1 = message;
164
+ this.b2q_1 = code;
165
+ this.c2q_1 = message;
166
166
  }
167
- protoOf(CloseReason).y33 = function () {
168
- return Companion_getInstance().v33(this.w33_1);
167
+ protoOf(CloseReason).d2q = function () {
168
+ return Companion_getInstance().a2q(this.b2q_1);
169
169
  };
170
170
  protoOf(CloseReason).toString = function () {
171
- var tmp0_elvis_lhs = this.y33();
172
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.w33_1 : tmp0_elvis_lhs) + ', message=' + this.x33_1 + ')';
171
+ var tmp0_elvis_lhs = this.d2q();
172
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.b2q_1 : tmp0_elvis_lhs) + ', message=' + this.c2q_1 + ')';
173
173
  };
174
174
  protoOf(CloseReason).hashCode = function () {
175
- var result = this.w33_1;
176
- result = imul(result, 31) + getStringHashCode(this.x33_1) | 0;
175
+ var result = this.b2q_1;
176
+ result = imul(result, 31) + getStringHashCode(this.c2q_1) | 0;
177
177
  return result;
178
178
  };
179
179
  protoOf(CloseReason).equals = function (other) {
@@ -182,15 +182,15 @@
182
182
  if (!(other instanceof CloseReason))
183
183
  return false;
184
184
  var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
185
- if (!(this.w33_1 === tmp0_other_with_cast.w33_1))
185
+ if (!(this.b2q_1 === tmp0_other_with_cast.b2q_1))
186
186
  return false;
187
- if (!(this.x33_1 === tmp0_other_with_cast.x33_1))
187
+ if (!(this.c2q_1 === tmp0_other_with_cast.c2q_1))
188
188
  return false;
189
189
  return true;
190
190
  };
191
191
  function NonDisposableHandle() {
192
192
  }
193
- protoOf(NonDisposableHandle).wr = function () {
193
+ protoOf(NonDisposableHandle).wq = function () {
194
194
  return Unit_instance;
195
195
  };
196
196
  protoOf(NonDisposableHandle).toString = function () {
@@ -234,11 +234,11 @@
234
234
  break $l$block_0;
235
235
  }
236
236
  // Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
237
- var maxValue = maxElem.c34_1;
237
+ var maxValue = maxElem.h2q_1;
238
238
  do {
239
239
  var e = iterator.r();
240
240
  // Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
241
- var v = e.c34_1;
241
+ var v = e.h2q_1;
242
242
  if (compareTo(maxValue, v) < 0) {
243
243
  maxElem = e;
244
244
  maxValue = v;
@@ -247,10 +247,10 @@
247
247
  while (iterator.q());
248
248
  tmp$ret$0 = maxElem;
249
249
  }
250
- tmp.d34_1 = ensureNotNull(tmp$ret$0).c34_1;
250
+ tmp.i2q_1 = ensureNotNull(tmp$ret$0).h2q_1;
251
251
  var tmp_0 = this;
252
252
  var tmp_1 = 0;
253
- var tmp_2 = this.d34_1 + 1 | 0;
253
+ var tmp_2 = this.i2q_1 + 1 | 0;
254
254
  // Inline function 'kotlin.arrayOfNulls' call
255
255
  var tmp_3 = fillArrayVal(Array(tmp_2), null);
256
256
  while (tmp_1 < tmp_2) {
@@ -265,7 +265,7 @@
265
265
  while (_iterator__ex2g4s.q()) {
266
266
  var element = _iterator__ex2g4s.r();
267
267
  // Inline function 'io.ktor.websocket.Companion.byOpcodeArray.<anonymous>' call
268
- if (element.c34_1 === tmp_4) {
268
+ if (element.h2q_1 === tmp_4) {
269
269
  if (found) {
270
270
  tmp$ret$5 = null;
271
271
  break $l$block_2;
@@ -283,7 +283,7 @@
283
283
  tmp_3[tmp_4] = tmp$ret$5;
284
284
  tmp_1 = tmp_1 + 1 | 0;
285
285
  }
286
- tmp_0.e34_1 = tmp_3;
286
+ tmp_0.j2q_1 = tmp_3;
287
287
  }
288
288
  var Companion_instance_0;
289
289
  function Companion_getInstance_0() {
@@ -315,8 +315,8 @@
315
315
  var $ENTRIES_0;
316
316
  function FrameType(name, ordinal, controlFrame, opcode) {
317
317
  Enum.call(this, name, ordinal);
318
- this.b34_1 = controlFrame;
319
- this.c34_1 = opcode;
318
+ this.g2q_1 = controlFrame;
319
+ this.h2q_1 = opcode;
320
320
  }
321
321
  function FrameType_TEXT_getInstance() {
322
322
  FrameType_initEntries();
@@ -360,8 +360,8 @@
360
360
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
361
361
  var builder = new Buffer();
362
362
  // Inline function 'io.ktor.websocket.Close.<init>.<anonymous>' call
363
- builder.b1g(reason.w33_1);
364
- writeText(builder, reason.x33_1);
363
+ builder.w1c(reason.b2q_1);
364
+ writeText(builder, reason.c2q_1);
365
365
  Close_init_$Init$_0(builder, $this);
366
366
  return $this;
367
367
  }
@@ -373,7 +373,7 @@
373
373
  return $this;
374
374
  }
375
375
  function Close_init_$Init$_1($this) {
376
- Close.call($this, Companion_getInstance_1().f34_1);
376
+ Close.call($this, Companion_getInstance_1().k2q_1);
377
377
  return $this;
378
378
  }
379
379
  function Close_init_$Create$_0() {
@@ -396,7 +396,7 @@
396
396
  }
397
397
  function Companion_1() {
398
398
  Companion_instance_1 = this;
399
- this.f34_1 = new Int8Array(0);
399
+ this.k2q_1 = new Int8Array(0);
400
400
  }
401
401
  var Companion_instance_1;
402
402
  function Companion_getInstance_1() {
@@ -410,16 +410,16 @@
410
410
  rsv1 = rsv1 === VOID ? false : rsv1;
411
411
  rsv2 = rsv2 === VOID ? false : rsv2;
412
412
  rsv3 = rsv3 === VOID ? false : rsv3;
413
- this.g34_1 = fin;
414
- this.h34_1 = frameType;
415
- this.i34_1 = data;
416
- this.j34_1 = disposableHandle;
417
- this.k34_1 = rsv1;
418
- this.l34_1 = rsv2;
419
- this.m34_1 = rsv3;
413
+ this.l2q_1 = fin;
414
+ this.m2q_1 = frameType;
415
+ this.n2q_1 = data;
416
+ this.o2q_1 = disposableHandle;
417
+ this.p2q_1 = rsv1;
418
+ this.q2q_1 = rsv2;
419
+ this.r2q_1 = rsv3;
420
420
  }
421
421
  protoOf(Frame).toString = function () {
422
- return 'Frame ' + this.h34_1.toString() + ' (fin=' + this.g34_1 + ', buffer len = ' + this.i34_1.length + ')';
422
+ return 'Frame ' + this.m2q_1.toString() + ' (fin=' + this.l2q_1 + ', buffer len = ' + this.n2q_1.length + ')';
423
423
  };
424
424
  //region block: init
425
425
  NonDisposableHandle_instance = new NonDisposableHandle();