@doordeck/doordeck-headless-sdk 0.69.0 → 0.71.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/Kotlin-DateTime-library-kotlinx-datetime.js +1344 -1344
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
- package/kotlin/doordeck-sdk.d.ts +4 -0
- package/kotlin/doordeck-sdk.js +11567 -11566
- package/kotlin/kotlin-kotlin-stdlib.js +2612 -2324
- package/kotlin/kotlinx-atomicfu.js +19 -19
- package/kotlin/kotlinx-coroutines-core.js +2800 -2214
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +198 -2
- package/kotlin/kotlinx-io-kotlinx-io-core.js +536 -463
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1939 -1939
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1733 -1684
- package/kotlin/ktor-ktor-client-ktor-client-core.js +3274 -3074
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +529 -427
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +372 -271
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +2009 -0
- package/kotlin/ktor-ktor-http.js +1012 -907
- package/kotlin/ktor-ktor-io.js +1748 -871
- package/kotlin/ktor-ktor-shared-ktor-events.js +13 -13
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +282 -282
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +137 -137
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +57 -57
- package/kotlin/ktor-ktor-utils.js +736 -667
- package/package.json +2 -2
- package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -6
|
@@ -2,29 +2,29 @@
|
|
|
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.$_$.e6;
|
|
6
|
+
var mapCapacity = kotlin_kotlin.$_$.v7;
|
|
7
|
+
var coerceAtLeast = kotlin_kotlin.$_$.zb;
|
|
8
8
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
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.$_$.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;
|
|
15
15
|
var VOID = kotlin_kotlin.$_$.h;
|
|
16
|
-
var toString = kotlin_kotlin.$_$.
|
|
17
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
18
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
19
|
-
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
20
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
21
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
22
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
23
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
24
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
25
|
-
var toByteArray = kotlin_io_ktor_ktor_io.$_$.
|
|
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;
|
|
26
26
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
27
|
-
var writeText = kotlin_io_ktor_ktor_io.$_$.
|
|
27
|
+
var writeText = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
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.
|
|
67
|
+
var tmp$ret$0 = element.s33_1;
|
|
68
68
|
destination.n2(tmp$ret$0, element);
|
|
69
69
|
}
|
|
70
|
-
tmp.
|
|
71
|
-
this.
|
|
70
|
+
tmp.t33_1 = destination;
|
|
71
|
+
this.u33_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
72
72
|
}
|
|
73
|
-
protoOf(Companion).
|
|
74
|
-
return this.
|
|
73
|
+
protoOf(Companion).v33 = function (code) {
|
|
74
|
+
return this.t33_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.
|
|
113
|
+
this.s33_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.
|
|
165
|
-
this.
|
|
164
|
+
this.w33_1 = code;
|
|
165
|
+
this.x33_1 = message;
|
|
166
166
|
}
|
|
167
|
-
protoOf(CloseReason).
|
|
168
|
-
return Companion_getInstance().
|
|
167
|
+
protoOf(CloseReason).y33 = function () {
|
|
168
|
+
return Companion_getInstance().v33(this.w33_1);
|
|
169
169
|
};
|
|
170
170
|
protoOf(CloseReason).toString = function () {
|
|
171
|
-
var tmp0_elvis_lhs = this.
|
|
172
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
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 + ')';
|
|
173
173
|
};
|
|
174
174
|
protoOf(CloseReason).hashCode = function () {
|
|
175
|
-
var result = this.
|
|
176
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
175
|
+
var result = this.w33_1;
|
|
176
|
+
result = imul(result, 31) + getStringHashCode(this.x33_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.
|
|
185
|
+
if (!(this.w33_1 === tmp0_other_with_cast.w33_1))
|
|
186
186
|
return false;
|
|
187
|
-
if (!(this.
|
|
187
|
+
if (!(this.x33_1 === tmp0_other_with_cast.x33_1))
|
|
188
188
|
return false;
|
|
189
189
|
return true;
|
|
190
190
|
};
|
|
191
191
|
function NonDisposableHandle() {
|
|
192
192
|
}
|
|
193
|
-
protoOf(NonDisposableHandle).
|
|
193
|
+
protoOf(NonDisposableHandle).wr = 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.
|
|
237
|
+
var maxValue = maxElem.c34_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.
|
|
241
|
+
var v = e.c34_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.
|
|
250
|
+
tmp.d34_1 = ensureNotNull(tmp$ret$0).c34_1;
|
|
251
251
|
var tmp_0 = this;
|
|
252
252
|
var tmp_1 = 0;
|
|
253
|
-
var tmp_2 = this.
|
|
253
|
+
var tmp_2 = this.d34_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.
|
|
268
|
+
if (element.c34_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.
|
|
286
|
+
tmp_0.e34_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.
|
|
319
|
-
this.
|
|
318
|
+
this.b34_1 = controlFrame;
|
|
319
|
+
this.c34_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.
|
|
364
|
-
writeText(builder, reason.
|
|
363
|
+
builder.b1g(reason.w33_1);
|
|
364
|
+
writeText(builder, reason.x33_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().
|
|
376
|
+
Close.call($this, Companion_getInstance_1().f34_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.
|
|
399
|
+
this.f34_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.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
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;
|
|
420
420
|
}
|
|
421
421
|
protoOf(Frame).toString = function () {
|
|
422
|
-
return 'Frame ' + this.
|
|
422
|
+
return 'Frame ' + this.h34_1.toString() + ' (fin=' + this.g34_1 + ', buffer len = ' + this.i34_1.length + ')';
|
|
423
423
|
};
|
|
424
424
|
//region block: init
|
|
425
425
|
NonDisposableHandle_instance = new NonDisposableHandle();
|