@doordeck/doordeck-headless-sdk 0.162.0 → 0.164.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.
@@ -4,23 +4,22 @@
4
4
  var imul = Math.imul;
5
5
  var collectionSizeOrDefault = kotlin_kotlin.$_$.u5;
6
6
  var mapCapacity = kotlin_kotlin.$_$.l7;
7
- var coerceAtLeast = kotlin_kotlin.$_$.gc;
7
+ var coerceAtLeast = kotlin_kotlin.$_$.fc;
8
8
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
9
9
  var Unit_instance = kotlin_kotlin.$_$.z4;
10
- var protoOf = kotlin_kotlin.$_$.zb;
10
+ var protoOf = kotlin_kotlin.$_$.yb;
11
11
  var initMetadataForCompanion = kotlin_kotlin.$_$.ab;
12
12
  var enumEntries = kotlin_kotlin.$_$.j9;
13
- var Enum = kotlin_kotlin.$_$.of;
13
+ var Enum = kotlin_kotlin.$_$.nf;
14
14
  var initMetadataForClass = kotlin_kotlin.$_$.za;
15
15
  var VOID = kotlin_kotlin.$_$.b;
16
- var toString = kotlin_kotlin.$_$.cc;
16
+ var toString = kotlin_kotlin.$_$.bc;
17
17
  var getStringHashCode = kotlin_kotlin.$_$.xa;
18
- var THROW_CCE = kotlin_kotlin.$_$.yf;
19
18
  var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
20
19
  var initMetadataForObject = kotlin_kotlin.$_$.fb;
21
20
  var compareTo = kotlin_kotlin.$_$.qa;
22
- var ensureNotNull = kotlin_kotlin.$_$.qg;
23
- var objectCreate = kotlin_kotlin.$_$.yb;
21
+ var ensureNotNull = kotlin_kotlin.$_$.pg;
22
+ var objectCreate = kotlin_kotlin.$_$.xb;
24
23
  var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
25
24
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
26
25
  var writeText = kotlin_io_ktor_ktor_io.$_$.f1;
@@ -62,14 +61,14 @@
62
61
  var _iterator__ex2g4s = this_0.r();
63
62
  while (_iterator__ex2g4s.s()) {
64
63
  var element = _iterator__ex2g4s.t();
65
- var tmp$ret$0 = element.f3a_1;
64
+ var tmp$ret$0 = element.s39_1;
66
65
  destination.g2(tmp$ret$0, element);
67
66
  }
68
- tmp.g3a_1 = destination;
69
- this.h3a_1 = Codes_INTERNAL_ERROR_getInstance();
67
+ tmp.t39_1 = destination;
68
+ this.u39_1 = Codes_INTERNAL_ERROR_getInstance();
70
69
  }
71
- protoOf(Companion).i3a = function (code) {
72
- return this.g3a_1.o2(code);
70
+ protoOf(Companion).v39 = function (code) {
71
+ return this.t39_1.o2(code);
73
72
  };
74
73
  var Companion_instance;
75
74
  function Companion_getInstance() {
@@ -108,7 +107,7 @@
108
107
  var $ENTRIES;
109
108
  function Codes(name, ordinal, code) {
110
109
  Enum.call(this, name, ordinal);
111
- this.f3a_1 = code;
110
+ this.s39_1 = code;
112
111
  }
113
112
  function Codes_NORMAL_getInstance() {
114
113
  Codes_initEntries();
@@ -159,19 +158,19 @@
159
158
  return Codes_TRY_AGAIN_LATER_instance;
160
159
  }
161
160
  function CloseReason(code, message) {
162
- this.j3a_1 = code;
163
- this.k3a_1 = message;
161
+ this.w39_1 = code;
162
+ this.x39_1 = message;
164
163
  }
165
- protoOf(CloseReason).l3a = function () {
166
- return Companion_getInstance().i3a(this.j3a_1);
164
+ protoOf(CloseReason).y39 = function () {
165
+ return Companion_getInstance().v39(this.w39_1);
167
166
  };
168
167
  protoOf(CloseReason).toString = function () {
169
- var tmp0_elvis_lhs = this.l3a();
170
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.j3a_1 : tmp0_elvis_lhs) + ', message=' + this.k3a_1 + ')';
168
+ var tmp0_elvis_lhs = this.y39();
169
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.w39_1 : tmp0_elvis_lhs) + ', message=' + this.x39_1 + ')';
171
170
  };
172
171
  protoOf(CloseReason).hashCode = function () {
173
- var result = this.j3a_1;
174
- result = imul(result, 31) + getStringHashCode(this.k3a_1) | 0;
172
+ var result = this.w39_1;
173
+ result = imul(result, 31) + getStringHashCode(this.x39_1) | 0;
175
174
  return result;
176
175
  };
177
176
  protoOf(CloseReason).equals = function (other) {
@@ -179,16 +178,15 @@
179
178
  return true;
180
179
  if (!(other instanceof CloseReason))
181
180
  return false;
182
- var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
183
- if (!(this.j3a_1 === tmp0_other_with_cast.j3a_1))
181
+ if (!(this.w39_1 === other.w39_1))
184
182
  return false;
185
- if (!(this.k3a_1 === tmp0_other_with_cast.k3a_1))
183
+ if (!(this.x39_1 === other.x39_1))
186
184
  return false;
187
185
  return true;
188
186
  };
189
187
  function NonDisposableHandle() {
190
188
  }
191
- protoOf(NonDisposableHandle).uv = function () {
189
+ protoOf(NonDisposableHandle).hv = function () {
192
190
  return Unit_instance;
193
191
  };
194
192
  protoOf(NonDisposableHandle).toString = function () {
@@ -202,7 +200,6 @@
202
200
  return true;
203
201
  if (!(other instanceof NonDisposableHandle))
204
202
  return false;
205
- other instanceof NonDisposableHandle || THROW_CCE();
206
203
  return true;
207
204
  };
208
205
  var NonDisposableHandle_instance;
@@ -231,10 +228,10 @@
231
228
  tmp$ret$0 = maxElem;
232
229
  break $l$block_0;
233
230
  }
234
- var maxValue = maxElem.p3a_1;
231
+ var maxValue = maxElem.c3a_1;
235
232
  do {
236
233
  var e = iterator.t();
237
- var v = e.p3a_1;
234
+ var v = e.c3a_1;
238
235
  if (compareTo(maxValue, v) < 0) {
239
236
  maxElem = e;
240
237
  maxValue = v;
@@ -243,10 +240,10 @@
243
240
  while (iterator.s());
244
241
  tmp$ret$0 = maxElem;
245
242
  }
246
- tmp.q3a_1 = ensureNotNull(tmp$ret$0).p3a_1;
243
+ tmp.d3a_1 = ensureNotNull(tmp$ret$0).c3a_1;
247
244
  var tmp_0 = this;
248
245
  var tmp_1 = 0;
249
- var tmp_2 = this.q3a_1 + 1 | 0;
246
+ var tmp_2 = this.d3a_1 + 1 | 0;
250
247
  // Inline function 'kotlin.arrayOfNulls' call
251
248
  var tmp_3 = Array(tmp_2);
252
249
  while (tmp_1 < tmp_2) {
@@ -260,7 +257,7 @@
260
257
  var _iterator__ex2g4s = tmp0_0.r();
261
258
  while (_iterator__ex2g4s.s()) {
262
259
  var element = _iterator__ex2g4s.t();
263
- if (element.p3a_1 === tmp_4) {
260
+ if (element.c3a_1 === tmp_4) {
264
261
  if (found) {
265
262
  tmp$ret$5 = null;
266
263
  break $l$block_2;
@@ -278,7 +275,7 @@
278
275
  tmp_3[tmp_4] = tmp$ret$5;
279
276
  tmp_1 = tmp_1 + 1 | 0;
280
277
  }
281
- tmp_0.r3a_1 = tmp_3;
278
+ tmp_0.e3a_1 = tmp_3;
282
279
  }
283
280
  var Companion_instance_0;
284
281
  function Companion_getInstance_0() {
@@ -310,8 +307,8 @@
310
307
  var $ENTRIES_0;
311
308
  function FrameType(name, ordinal, controlFrame, opcode) {
312
309
  Enum.call(this, name, ordinal);
313
- this.o3a_1 = controlFrame;
314
- this.p3a_1 = opcode;
310
+ this.b3a_1 = controlFrame;
311
+ this.c3a_1 = opcode;
315
312
  }
316
313
  function FrameType_TEXT_getInstance() {
317
314
  FrameType_initEntries();
@@ -354,8 +351,8 @@
354
351
  function Close_init_$Init$(reason, $this) {
355
352
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
356
353
  var builder = new Buffer();
357
- builder.gr(reason.j3a_1);
358
- writeText(builder, reason.k3a_1);
354
+ builder.tq(reason.w39_1);
355
+ writeText(builder, reason.x39_1);
359
356
  Close_init_$Init$_0(builder, $this);
360
357
  return $this;
361
358
  }
@@ -367,7 +364,7 @@
367
364
  return $this;
368
365
  }
369
366
  function Close_init_$Init$_1($this) {
370
- Close.call($this, Companion_getInstance_1().s3a_1);
367
+ Close.call($this, Companion_getInstance_1().f3a_1);
371
368
  return $this;
372
369
  }
373
370
  function Close_init_$Create$_0() {
@@ -390,7 +387,7 @@
390
387
  }
391
388
  function Companion_1() {
392
389
  Companion_instance_1 = this;
393
- this.s3a_1 = new Int8Array(0);
390
+ this.f3a_1 = new Int8Array(0);
394
391
  }
395
392
  var Companion_instance_1;
396
393
  function Companion_getInstance_1() {
@@ -404,16 +401,16 @@
404
401
  rsv1 = rsv1 === VOID ? false : rsv1;
405
402
  rsv2 = rsv2 === VOID ? false : rsv2;
406
403
  rsv3 = rsv3 === VOID ? false : rsv3;
407
- this.t3a_1 = fin;
408
- this.u3a_1 = frameType;
409
- this.v3a_1 = data;
410
- this.w3a_1 = disposableHandle;
411
- this.x3a_1 = rsv1;
412
- this.y3a_1 = rsv2;
413
- this.z3a_1 = rsv3;
404
+ this.g3a_1 = fin;
405
+ this.h3a_1 = frameType;
406
+ this.i3a_1 = data;
407
+ this.j3a_1 = disposableHandle;
408
+ this.k3a_1 = rsv1;
409
+ this.l3a_1 = rsv2;
410
+ this.m3a_1 = rsv3;
414
411
  }
415
412
  protoOf(Frame).toString = function () {
416
- return 'Frame ' + this.u3a_1.toString() + ' (fin=' + this.t3a_1 + ', buffer len = ' + this.v3a_1.length + ')';
413
+ return 'Frame ' + this.h3a_1.toString() + ' (fin=' + this.g3a_1 + ', buffer len = ' + this.i3a_1.length + ')';
417
414
  };
418
415
  //region block: init
419
416
  NonDisposableHandle_instance = new NonDisposableHandle();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doordeck/doordeck-headless-sdk",
3
- "version": "0.162.0",
3
+ "version": "0.164.0",
4
4
  "main": "kotlin/doordeck-sdk.js",
5
5
  "types": "kotlin/doordeck-sdk.d.ts",
6
6
  "devDependencies": {