@doordeck/doordeck-headless-sdk 0.169.0 → 0.170.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.
- package/kotlin/Kermit-kermit-core.js +58 -58
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +22 -22
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.js +10765 -10652
- package/kotlin/kotlin-kotlin-stdlib.js +382 -376
- package/kotlin/kotlinx-atomicfu.js +9 -9
- package/kotlin/kotlinx-coroutines-core.js +1022 -1010
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +17 -17
- package/kotlin/kotlinx-io-kotlinx-io-core.js +28 -28
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1899 -1899
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1457 -1457
- package/kotlin/ktor-ktor-client-auth.js +261 -261
- package/kotlin/ktor-ktor-client-content-negotiation.js +158 -158
- package/kotlin/ktor-ktor-client-core.js +1822 -1822
- package/kotlin/ktor-ktor-client-logging.js +654 -654
- package/kotlin/ktor-ktor-events.js +13 -13
- package/kotlin/ktor-ktor-http-cio.js +374 -374
- package/kotlin/ktor-ktor-http.js +779 -779
- package/kotlin/ktor-ktor-io.js +632 -632
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +155 -155
- package/kotlin/ktor-ktor-serialization.js +74 -74
- package/kotlin/ktor-ktor-utils.js +739 -739
- package/kotlin/ktor-ktor-websockets.js +52 -52
- package/package.json +1 -1
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
6
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
7
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
5
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.v5;
|
|
6
|
+
var mapCapacity = kotlin_kotlin.$_$.m7;
|
|
7
|
+
var coerceAtLeast = kotlin_kotlin.$_$.gc;
|
|
8
8
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
9
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
10
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
11
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
12
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
13
|
-
var Enum = kotlin_kotlin.$_$.
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
9
|
+
var Unit_instance = kotlin_kotlin.$_$.a5;
|
|
10
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
11
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
|
|
12
|
+
var enumEntries = kotlin_kotlin.$_$.k9;
|
|
13
|
+
var Enum = kotlin_kotlin.$_$.of;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ab;
|
|
15
15
|
var VOID = kotlin_kotlin.$_$.b;
|
|
16
|
-
var toString = kotlin_kotlin.$_$.
|
|
17
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
18
|
-
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
19
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
21
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
22
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
16
|
+
var toString = kotlin_kotlin.$_$.cc;
|
|
17
|
+
var getStringHashCode = kotlin_kotlin.$_$.ya;
|
|
18
|
+
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
19
|
+
var initMetadataForObject = kotlin_kotlin.$_$.gb;
|
|
20
|
+
var compareTo = kotlin_kotlin.$_$.ra;
|
|
21
|
+
var ensureNotNull = kotlin_kotlin.$_$.qg;
|
|
22
|
+
var objectCreate = kotlin_kotlin.$_$.yb;
|
|
23
23
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
24
24
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
25
25
|
var writeText = kotlin_io_ktor_ktor_io.$_$.f1;
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
var _iterator__ex2g4s = this_0.r();
|
|
62
62
|
while (_iterator__ex2g4s.s()) {
|
|
63
63
|
var element = _iterator__ex2g4s.t();
|
|
64
|
-
var tmp$ret$0 = element.
|
|
64
|
+
var tmp$ret$0 = element.w39_1;
|
|
65
65
|
destination.g2(tmp$ret$0, element);
|
|
66
66
|
}
|
|
67
|
-
tmp.
|
|
68
|
-
this.
|
|
67
|
+
tmp.x39_1 = destination;
|
|
68
|
+
this.y39_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
69
69
|
}
|
|
70
|
-
protoOf(Companion).
|
|
71
|
-
return this.
|
|
70
|
+
protoOf(Companion).z39 = function (code) {
|
|
71
|
+
return this.x39_1.o2(code);
|
|
72
72
|
};
|
|
73
73
|
var Companion_instance;
|
|
74
74
|
function Companion_getInstance() {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
var $ENTRIES;
|
|
108
108
|
function Codes(name, ordinal, code) {
|
|
109
109
|
Enum.call(this, name, ordinal);
|
|
110
|
-
this.
|
|
110
|
+
this.w39_1 = code;
|
|
111
111
|
}
|
|
112
112
|
function Codes_NORMAL_getInstance() {
|
|
113
113
|
Codes_initEntries();
|
|
@@ -158,19 +158,19 @@
|
|
|
158
158
|
return Codes_TRY_AGAIN_LATER_instance;
|
|
159
159
|
}
|
|
160
160
|
function CloseReason(code, message) {
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
161
|
+
this.a3a_1 = code;
|
|
162
|
+
this.b3a_1 = message;
|
|
163
163
|
}
|
|
164
|
-
protoOf(CloseReason).
|
|
165
|
-
return Companion_getInstance().
|
|
164
|
+
protoOf(CloseReason).c3a = function () {
|
|
165
|
+
return Companion_getInstance().z39(this.a3a_1);
|
|
166
166
|
};
|
|
167
167
|
protoOf(CloseReason).toString = function () {
|
|
168
|
-
var tmp0_elvis_lhs = this.
|
|
169
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
168
|
+
var tmp0_elvis_lhs = this.c3a();
|
|
169
|
+
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.a3a_1 : tmp0_elvis_lhs) + ', message=' + this.b3a_1 + ')';
|
|
170
170
|
};
|
|
171
171
|
protoOf(CloseReason).hashCode = function () {
|
|
172
|
-
var result = this.
|
|
173
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
172
|
+
var result = this.a3a_1;
|
|
173
|
+
result = imul(result, 31) + getStringHashCode(this.b3a_1) | 0;
|
|
174
174
|
return result;
|
|
175
175
|
};
|
|
176
176
|
protoOf(CloseReason).equals = function (other) {
|
|
@@ -178,9 +178,9 @@
|
|
|
178
178
|
return true;
|
|
179
179
|
if (!(other instanceof CloseReason))
|
|
180
180
|
return false;
|
|
181
|
-
if (!(this.
|
|
181
|
+
if (!(this.a3a_1 === other.a3a_1))
|
|
182
182
|
return false;
|
|
183
|
-
if (!(this.
|
|
183
|
+
if (!(this.b3a_1 === other.b3a_1))
|
|
184
184
|
return false;
|
|
185
185
|
return true;
|
|
186
186
|
};
|
|
@@ -228,10 +228,10 @@
|
|
|
228
228
|
tmp$ret$0 = maxElem;
|
|
229
229
|
break $l$block_0;
|
|
230
230
|
}
|
|
231
|
-
var maxValue = maxElem.
|
|
231
|
+
var maxValue = maxElem.g3a_1;
|
|
232
232
|
do {
|
|
233
233
|
var e = iterator.t();
|
|
234
|
-
var v = e.
|
|
234
|
+
var v = e.g3a_1;
|
|
235
235
|
if (compareTo(maxValue, v) < 0) {
|
|
236
236
|
maxElem = e;
|
|
237
237
|
maxValue = v;
|
|
@@ -240,10 +240,10 @@
|
|
|
240
240
|
while (iterator.s());
|
|
241
241
|
tmp$ret$0 = maxElem;
|
|
242
242
|
}
|
|
243
|
-
tmp.
|
|
243
|
+
tmp.h3a_1 = ensureNotNull(tmp$ret$0).g3a_1;
|
|
244
244
|
var tmp_0 = this;
|
|
245
245
|
var tmp_1 = 0;
|
|
246
|
-
var tmp_2 = this.
|
|
246
|
+
var tmp_2 = this.h3a_1 + 1 | 0;
|
|
247
247
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
248
248
|
var tmp_3 = Array(tmp_2);
|
|
249
249
|
while (tmp_1 < tmp_2) {
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
var _iterator__ex2g4s = tmp0_0.r();
|
|
258
258
|
while (_iterator__ex2g4s.s()) {
|
|
259
259
|
var element = _iterator__ex2g4s.t();
|
|
260
|
-
if (element.
|
|
260
|
+
if (element.g3a_1 === tmp_4) {
|
|
261
261
|
if (found) {
|
|
262
262
|
tmp$ret$5 = null;
|
|
263
263
|
break $l$block_2;
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
tmp_3[tmp_4] = tmp$ret$5;
|
|
276
276
|
tmp_1 = tmp_1 + 1 | 0;
|
|
277
277
|
}
|
|
278
|
-
tmp_0.
|
|
278
|
+
tmp_0.i3a_1 = tmp_3;
|
|
279
279
|
}
|
|
280
280
|
var Companion_instance_0;
|
|
281
281
|
function Companion_getInstance_0() {
|
|
@@ -307,8 +307,8 @@
|
|
|
307
307
|
var $ENTRIES_0;
|
|
308
308
|
function FrameType(name, ordinal, controlFrame, opcode) {
|
|
309
309
|
Enum.call(this, name, ordinal);
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
310
|
+
this.f3a_1 = controlFrame;
|
|
311
|
+
this.g3a_1 = opcode;
|
|
312
312
|
}
|
|
313
313
|
function FrameType_TEXT_getInstance() {
|
|
314
314
|
FrameType_initEntries();
|
|
@@ -351,8 +351,8 @@
|
|
|
351
351
|
function Close_init_$Init$(reason, $this) {
|
|
352
352
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
353
353
|
var builder = new Buffer();
|
|
354
|
-
builder.tq(reason.
|
|
355
|
-
writeText(builder, reason.
|
|
354
|
+
builder.tq(reason.a3a_1);
|
|
355
|
+
writeText(builder, reason.b3a_1);
|
|
356
356
|
Close_init_$Init$_0(builder, $this);
|
|
357
357
|
return $this;
|
|
358
358
|
}
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
return $this;
|
|
365
365
|
}
|
|
366
366
|
function Close_init_$Init$_1($this) {
|
|
367
|
-
Close.call($this, Companion_getInstance_1().
|
|
367
|
+
Close.call($this, Companion_getInstance_1().j3a_1);
|
|
368
368
|
return $this;
|
|
369
369
|
}
|
|
370
370
|
function Close_init_$Create$_0() {
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
}
|
|
388
388
|
function Companion_1() {
|
|
389
389
|
Companion_instance_1 = this;
|
|
390
|
-
this.
|
|
390
|
+
this.j3a_1 = new Int8Array(0);
|
|
391
391
|
}
|
|
392
392
|
var Companion_instance_1;
|
|
393
393
|
function Companion_getInstance_1() {
|
|
@@ -401,16 +401,16 @@
|
|
|
401
401
|
rsv1 = rsv1 === VOID ? false : rsv1;
|
|
402
402
|
rsv2 = rsv2 === VOID ? false : rsv2;
|
|
403
403
|
rsv3 = rsv3 === VOID ? false : rsv3;
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
404
|
+
this.k3a_1 = fin;
|
|
405
|
+
this.l3a_1 = frameType;
|
|
406
|
+
this.m3a_1 = data;
|
|
407
|
+
this.n3a_1 = disposableHandle;
|
|
408
|
+
this.o3a_1 = rsv1;
|
|
409
|
+
this.p3a_1 = rsv2;
|
|
410
|
+
this.q3a_1 = rsv3;
|
|
411
411
|
}
|
|
412
412
|
protoOf(Frame).toString = function () {
|
|
413
|
-
return 'Frame ' + this.
|
|
413
|
+
return 'Frame ' + this.l3a_1.toString() + ' (fin=' + this.k3a_1 + ', buffer len = ' + this.m3a_1.length + ')';
|
|
414
414
|
};
|
|
415
415
|
//region block: init
|
|
416
416
|
NonDisposableHandle_instance = new NonDisposableHandle();
|