@doordeck/doordeck-headless-sdk 0.132.0 → 0.134.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/kotlin/Kermit-kermit-core.js +44 -44
  2. package/kotlin/Kermit-kermit.js +4 -4
  3. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1411 -1411
  4. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +74 -22
  5. package/kotlin/MultiplatformSettings-multiplatform-settings.js +18 -18
  6. package/kotlin/doordeck-sdk.d.ts +13 -91
  7. package/kotlin/doordeck-sdk.js +9739 -10202
  8. package/kotlin/kotlin-kotlin-stdlib.js +6 -6
  9. package/kotlin/kotlinx-atomicfu.js +13 -13
  10. package/kotlin/kotlinx-coroutines-core.js +1906 -1906
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +32 -32
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +443 -443
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1710 -1710
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1347 -1347
  15. package/kotlin/ktor-ktor-client-auth.js +241 -241
  16. package/kotlin/ktor-ktor-client-content-negotiation.js +135 -135
  17. package/kotlin/ktor-ktor-client-core.js +1882 -1882
  18. package/kotlin/ktor-ktor-client-logging.js +668 -668
  19. package/kotlin/ktor-ktor-events.js +6 -6
  20. package/kotlin/ktor-ktor-http-cio.js +330 -330
  21. package/kotlin/ktor-ktor-http.js +682 -682
  22. package/kotlin/ktor-ktor-io.js +628 -628
  23. package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
  24. package/kotlin/ktor-ktor-serialization-kotlinx.js +140 -140
  25. package/kotlin/ktor-ktor-serialization.js +62 -62
  26. package/kotlin/ktor-ktor-utils.js +660 -660
  27. package/kotlin/ktor-ktor-websockets.js +37 -37
  28. package/package.json +1 -1
@@ -62,14 +62,14 @@
62
62
  var _iterator__ex2g4s = this_0.p();
63
63
  while (_iterator__ex2g4s.q()) {
64
64
  var element = _iterator__ex2g4s.r();
65
- var tmp$ret$0 = element.e3c_1;
65
+ var tmp$ret$0 = element.n3c_1;
66
66
  destination.n2(tmp$ret$0, element);
67
67
  }
68
- tmp.f3c_1 = destination;
69
- this.g3c_1 = Codes_INTERNAL_ERROR_getInstance();
68
+ tmp.o3c_1 = destination;
69
+ this.p3c_1 = Codes_INTERNAL_ERROR_getInstance();
70
70
  }
71
- protoOf(Companion).h3c = function (code) {
72
- return this.f3c_1.k2(code);
71
+ protoOf(Companion).q3c = function (code) {
72
+ return this.o3c_1.k2(code);
73
73
  };
74
74
  var Companion_instance;
75
75
  function Companion_getInstance() {
@@ -108,7 +108,7 @@
108
108
  var $ENTRIES;
109
109
  function Codes(name, ordinal, code) {
110
110
  Enum.call(this, name, ordinal);
111
- this.e3c_1 = code;
111
+ this.n3c_1 = code;
112
112
  }
113
113
  function Codes_NORMAL_getInstance() {
114
114
  Codes_initEntries();
@@ -159,19 +159,19 @@
159
159
  return Codes_TRY_AGAIN_LATER_instance;
160
160
  }
161
161
  function CloseReason(code, message) {
162
- this.i3c_1 = code;
163
- this.j3c_1 = message;
162
+ this.r3c_1 = code;
163
+ this.s3c_1 = message;
164
164
  }
165
- protoOf(CloseReason).k3c = function () {
166
- return Companion_getInstance().h3c(this.i3c_1);
165
+ protoOf(CloseReason).t3c = function () {
166
+ return Companion_getInstance().q3c(this.r3c_1);
167
167
  };
168
168
  protoOf(CloseReason).toString = function () {
169
- var tmp0_elvis_lhs = this.k3c();
170
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.i3c_1 : tmp0_elvis_lhs) + ', message=' + this.j3c_1 + ')';
169
+ var tmp0_elvis_lhs = this.t3c();
170
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.r3c_1 : tmp0_elvis_lhs) + ', message=' + this.s3c_1 + ')';
171
171
  };
172
172
  protoOf(CloseReason).hashCode = function () {
173
- var result = this.i3c_1;
174
- result = imul(result, 31) + getStringHashCode(this.j3c_1) | 0;
173
+ var result = this.r3c_1;
174
+ result = imul(result, 31) + getStringHashCode(this.s3c_1) | 0;
175
175
  return result;
176
176
  };
177
177
  protoOf(CloseReason).equals = function (other) {
@@ -180,15 +180,15 @@
180
180
  if (!(other instanceof CloseReason))
181
181
  return false;
182
182
  var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
183
- if (!(this.i3c_1 === tmp0_other_with_cast.i3c_1))
183
+ if (!(this.r3c_1 === tmp0_other_with_cast.r3c_1))
184
184
  return false;
185
- if (!(this.j3c_1 === tmp0_other_with_cast.j3c_1))
185
+ if (!(this.s3c_1 === tmp0_other_with_cast.s3c_1))
186
186
  return false;
187
187
  return true;
188
188
  };
189
189
  function NonDisposableHandle() {
190
190
  }
191
- protoOf(NonDisposableHandle).mr = function () {
191
+ protoOf(NonDisposableHandle).vr = function () {
192
192
  return Unit_instance;
193
193
  };
194
194
  protoOf(NonDisposableHandle).toString = function () {
@@ -231,10 +231,10 @@
231
231
  tmp$ret$0 = maxElem;
232
232
  break $l$block_0;
233
233
  }
234
- var maxValue = maxElem.o3c_1;
234
+ var maxValue = maxElem.x3c_1;
235
235
  do {
236
236
  var e = iterator.r();
237
- var v = e.o3c_1;
237
+ var v = e.x3c_1;
238
238
  if (compareTo(maxValue, v) < 0) {
239
239
  maxElem = e;
240
240
  maxValue = v;
@@ -243,10 +243,10 @@
243
243
  while (iterator.q());
244
244
  tmp$ret$0 = maxElem;
245
245
  }
246
- tmp.p3c_1 = ensureNotNull(tmp$ret$0).o3c_1;
246
+ tmp.y3c_1 = ensureNotNull(tmp$ret$0).x3c_1;
247
247
  var tmp_0 = this;
248
248
  var tmp_1 = 0;
249
- var tmp_2 = this.p3c_1 + 1 | 0;
249
+ var tmp_2 = this.y3c_1 + 1 | 0;
250
250
  // Inline function 'kotlin.arrayOfNulls' call
251
251
  var tmp_3 = Array(tmp_2);
252
252
  while (tmp_1 < tmp_2) {
@@ -260,7 +260,7 @@
260
260
  var _iterator__ex2g4s = tmp0_0.p();
261
261
  while (_iterator__ex2g4s.q()) {
262
262
  var element = _iterator__ex2g4s.r();
263
- if (element.o3c_1 === tmp_4) {
263
+ if (element.x3c_1 === tmp_4) {
264
264
  if (found) {
265
265
  tmp$ret$5 = null;
266
266
  break $l$block_2;
@@ -278,7 +278,7 @@
278
278
  tmp_3[tmp_4] = tmp$ret$5;
279
279
  tmp_1 = tmp_1 + 1 | 0;
280
280
  }
281
- tmp_0.q3c_1 = tmp_3;
281
+ tmp_0.z3c_1 = tmp_3;
282
282
  }
283
283
  var Companion_instance_0;
284
284
  function Companion_getInstance_0() {
@@ -310,8 +310,8 @@
310
310
  var $ENTRIES_0;
311
311
  function FrameType(name, ordinal, controlFrame, opcode) {
312
312
  Enum.call(this, name, ordinal);
313
- this.n3c_1 = controlFrame;
314
- this.o3c_1 = opcode;
313
+ this.w3c_1 = controlFrame;
314
+ this.x3c_1 = opcode;
315
315
  }
316
316
  function FrameType_TEXT_getInstance() {
317
317
  FrameType_initEntries();
@@ -354,8 +354,8 @@
354
354
  function Close_init_$Init$(reason, $this) {
355
355
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
356
356
  var builder = new Buffer();
357
- builder.j1j(reason.i3c_1);
358
- writeText(builder, reason.j3c_1);
357
+ builder.s1j(reason.r3c_1);
358
+ writeText(builder, reason.s3c_1);
359
359
  Close_init_$Init$_0(builder, $this);
360
360
  return $this;
361
361
  }
@@ -367,7 +367,7 @@
367
367
  return $this;
368
368
  }
369
369
  function Close_init_$Init$_1($this) {
370
- Close.call($this, Companion_getInstance_1().r3c_1);
370
+ Close.call($this, Companion_getInstance_1().a3d_1);
371
371
  return $this;
372
372
  }
373
373
  function Close_init_$Create$_0() {
@@ -390,7 +390,7 @@
390
390
  }
391
391
  function Companion_1() {
392
392
  Companion_instance_1 = this;
393
- this.r3c_1 = new Int8Array(0);
393
+ this.a3d_1 = new Int8Array(0);
394
394
  }
395
395
  var Companion_instance_1;
396
396
  function Companion_getInstance_1() {
@@ -404,16 +404,16 @@
404
404
  rsv1 = rsv1 === VOID ? false : rsv1;
405
405
  rsv2 = rsv2 === VOID ? false : rsv2;
406
406
  rsv3 = rsv3 === VOID ? false : rsv3;
407
- this.s3c_1 = fin;
408
- this.t3c_1 = frameType;
409
- this.u3c_1 = data;
410
- this.v3c_1 = disposableHandle;
411
- this.w3c_1 = rsv1;
412
- this.x3c_1 = rsv2;
413
- this.y3c_1 = rsv3;
407
+ this.b3d_1 = fin;
408
+ this.c3d_1 = frameType;
409
+ this.d3d_1 = data;
410
+ this.e3d_1 = disposableHandle;
411
+ this.f3d_1 = rsv1;
412
+ this.g3d_1 = rsv2;
413
+ this.h3d_1 = rsv3;
414
414
  }
415
415
  protoOf(Frame).toString = function () {
416
- return 'Frame ' + this.t3c_1.toString() + ' (fin=' + this.s3c_1 + ', buffer len = ' + this.u3c_1.length + ')';
416
+ return 'Frame ' + this.c3d_1.toString() + ' (fin=' + this.b3d_1 + ', buffer len = ' + this.d3d_1.length + ')';
417
417
  };
418
418
  //region block: init
419
419
  NonDisposableHandle_instance = new NonDisposableHandle();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.132.0",
3
+ "version": "0.134.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "devDependencies": {
6
6
  "webpack": "5.94.0",