@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.
- package/kotlin/Kermit-kermit-core.js +50 -50
- package/kotlin/Kermit-kermit.js +5 -5
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +21 -21
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +21 -21
- package/kotlin/doordeck-sdk.js +10121 -10121
- package/kotlin/kotlin-kotlin-stdlib.js +835 -970
- package/kotlin/kotlinx-atomicfu.js +15 -15
- package/kotlin/kotlinx-coroutines-core.js +1894 -1894
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +39 -39
- package/kotlin/kotlinx-io-kotlinx-io-core.js +462 -462
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1795 -1795
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1395 -1395
- package/kotlin/ktor-ktor-client-auth.js +241 -241
- package/kotlin/ktor-ktor-client-content-negotiation.js +146 -144
- package/kotlin/ktor-ktor-client-core.js +1831 -1819
- package/kotlin/ktor-ktor-client-logging.js +631 -631
- package/kotlin/ktor-ktor-events.js +9 -9
- package/kotlin/ktor-ktor-http-cio.js +339 -339
- package/kotlin/ktor-ktor-http.js +741 -745
- package/kotlin/ktor-ktor-io.js +621 -625
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +136 -136
- package/kotlin/ktor-ktor-serialization.js +60 -60
- package/kotlin/ktor-ktor-utils.js +690 -696
- package/kotlin/ktor-ktor-websockets.js +43 -46
- package/package.json +1 -1
|
@@ -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.$_$.
|
|
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.$_$.
|
|
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.$_$.
|
|
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.$_$.
|
|
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.$_$.
|
|
23
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
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.
|
|
64
|
+
var tmp$ret$0 = element.s39_1;
|
|
66
65
|
destination.g2(tmp$ret$0, element);
|
|
67
66
|
}
|
|
68
|
-
tmp.
|
|
69
|
-
this.
|
|
67
|
+
tmp.t39_1 = destination;
|
|
68
|
+
this.u39_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
70
69
|
}
|
|
71
|
-
protoOf(Companion).
|
|
72
|
-
return this.
|
|
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.
|
|
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.
|
|
163
|
-
this.
|
|
161
|
+
this.w39_1 = code;
|
|
162
|
+
this.x39_1 = message;
|
|
164
163
|
}
|
|
165
|
-
protoOf(CloseReason).
|
|
166
|
-
return Companion_getInstance().
|
|
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.
|
|
170
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
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.
|
|
174
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
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
|
-
|
|
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.
|
|
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).
|
|
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.
|
|
231
|
+
var maxValue = maxElem.c3a_1;
|
|
235
232
|
do {
|
|
236
233
|
var e = iterator.t();
|
|
237
|
-
var v = e.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
314
|
-
this.
|
|
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.
|
|
358
|
-
writeText(builder, reason.
|
|
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().
|
|
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.
|
|
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.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
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.
|
|
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();
|