@doordeck/doordeck-headless-sdk 0.184.0 → 0.186.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 +60 -60
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +43 -43
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/Signum-internals.js +6 -0
- package/kotlin/doordeck-sdk.d.ts +798 -674
- package/kotlin/doordeck-sdk.js +12518 -12528
- package/kotlin/kotlin-kotlin-stdlib.js +3968 -3525
- package/kotlin/kotlinx-atomicfu.js +22 -22
- package/kotlin/kotlinx-coroutines-core.js +2334 -2339
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +59 -59
- package/kotlin/kotlinx-io-kotlinx-io-core.js +532 -532
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1980 -1979
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1589 -1589
- package/kotlin/ktor-ktor-client-auth.js +471 -473
- package/kotlin/ktor-ktor-client-content-negotiation.js +244 -245
- package/kotlin/ktor-ktor-client-core.js +3207 -3212
- package/kotlin/ktor-ktor-client-logging.js +1319 -1319
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +575 -575
- package/kotlin/ktor-ktor-http.js +950 -950
- package/kotlin/ktor-ktor-io.js +1120 -1124
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-serialization-kotlinx.js +272 -272
- package/kotlin/ktor-ktor-serialization.js +122 -122
- package/kotlin/ktor-ktor-utils.js +977 -977
- package/kotlin/ktor-ktor-websockets.js +61 -61
- package/package.json +4 -4
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w5;
|
|
6
6
|
var mapCapacity = kotlin_kotlin.$_$.n7;
|
|
7
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
7
|
+
var coerceAtLeast = kotlin_kotlin.$_$.jc;
|
|
8
8
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
9
9
|
var Unit_instance = kotlin_kotlin.$_$.b5;
|
|
10
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
11
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
10
|
+
var protoOf = kotlin_kotlin.$_$.cc;
|
|
11
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.fb;
|
|
12
12
|
var enumEntries = kotlin_kotlin.$_$.l9;
|
|
13
|
-
var Enum = kotlin_kotlin.$_$.
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
13
|
+
var Enum = kotlin_kotlin.$_$.rf;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.eb;
|
|
15
15
|
var VOID = kotlin_kotlin.$_$.b;
|
|
16
|
-
var toString = kotlin_kotlin.$_$.
|
|
17
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
16
|
+
var toString = kotlin_kotlin.$_$.fc;
|
|
17
|
+
var getStringHashCode = kotlin_kotlin.$_$.cb;
|
|
18
18
|
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
19
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
21
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
22
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
19
|
+
var initMetadataForObject = kotlin_kotlin.$_$.kb;
|
|
20
|
+
var compareTo = kotlin_kotlin.$_$.va;
|
|
21
|
+
var ensureNotNull = kotlin_kotlin.$_$.tg;
|
|
22
|
+
var objectCreate = kotlin_kotlin.$_$.bc;
|
|
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;
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
59
59
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
60
60
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
61
|
-
var _iterator__ex2g4s = this_0.
|
|
62
|
-
while (_iterator__ex2g4s.
|
|
63
|
-
var element = _iterator__ex2g4s.
|
|
64
|
-
var tmp$ret$0 = element.
|
|
65
|
-
destination.
|
|
61
|
+
var _iterator__ex2g4s = this_0.t();
|
|
62
|
+
while (_iterator__ex2g4s.u()) {
|
|
63
|
+
var element = _iterator__ex2g4s.v();
|
|
64
|
+
var tmp$ret$0 = element.u39_1;
|
|
65
|
+
destination.y2(tmp$ret$0, element);
|
|
66
66
|
}
|
|
67
|
-
tmp.
|
|
68
|
-
this.
|
|
67
|
+
tmp.v39_1 = destination;
|
|
68
|
+
this.w39_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
69
69
|
}
|
|
70
|
-
protoOf(Companion).
|
|
71
|
-
return this.
|
|
70
|
+
protoOf(Companion).x39 = function (code) {
|
|
71
|
+
return this.v39_1.g3(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.u39_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.y39_1 = code;
|
|
162
|
+
this.z39_1 = message;
|
|
163
163
|
}
|
|
164
|
-
protoOf(CloseReason).
|
|
165
|
-
return Companion_getInstance().
|
|
164
|
+
protoOf(CloseReason).a3a = function () {
|
|
165
|
+
return Companion_getInstance().x39(this.y39_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.a3a();
|
|
169
|
+
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.y39_1 : tmp0_elvis_lhs) + ', message=' + this.z39_1 + ')';
|
|
170
170
|
};
|
|
171
171
|
protoOf(CloseReason).hashCode = function () {
|
|
172
|
-
var result = this.
|
|
173
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
172
|
+
var result = this.y39_1;
|
|
173
|
+
result = imul(result, 31) + getStringHashCode(this.z39_1) | 0;
|
|
174
174
|
return result;
|
|
175
175
|
};
|
|
176
176
|
protoOf(CloseReason).equals = function (other) {
|
|
@@ -178,15 +178,15 @@
|
|
|
178
178
|
return true;
|
|
179
179
|
if (!(other instanceof CloseReason))
|
|
180
180
|
return false;
|
|
181
|
-
if (!(this.
|
|
181
|
+
if (!(this.y39_1 === other.y39_1))
|
|
182
182
|
return false;
|
|
183
|
-
if (!(this.
|
|
183
|
+
if (!(this.z39_1 === other.z39_1))
|
|
184
184
|
return false;
|
|
185
185
|
return true;
|
|
186
186
|
};
|
|
187
187
|
function NonDisposableHandle() {
|
|
188
188
|
}
|
|
189
|
-
protoOf(NonDisposableHandle).
|
|
189
|
+
protoOf(NonDisposableHandle).fv = function () {
|
|
190
190
|
return Unit_instance;
|
|
191
191
|
};
|
|
192
192
|
protoOf(NonDisposableHandle).toString = function () {
|
|
@@ -218,32 +218,32 @@
|
|
|
218
218
|
var tmp$ret$0;
|
|
219
219
|
$l$block_0: {
|
|
220
220
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
221
|
-
var iterator = tmp0.
|
|
222
|
-
if (!iterator.
|
|
221
|
+
var iterator = tmp0.t();
|
|
222
|
+
if (!iterator.u()) {
|
|
223
223
|
tmp$ret$0 = null;
|
|
224
224
|
break $l$block_0;
|
|
225
225
|
}
|
|
226
|
-
var maxElem = iterator.
|
|
227
|
-
if (!iterator.
|
|
226
|
+
var maxElem = iterator.v();
|
|
227
|
+
if (!iterator.u()) {
|
|
228
228
|
tmp$ret$0 = maxElem;
|
|
229
229
|
break $l$block_0;
|
|
230
230
|
}
|
|
231
|
-
var maxValue = maxElem.
|
|
231
|
+
var maxValue = maxElem.e3a_1;
|
|
232
232
|
do {
|
|
233
|
-
var e = iterator.
|
|
234
|
-
var v = e.
|
|
233
|
+
var e = iterator.v();
|
|
234
|
+
var v = e.e3a_1;
|
|
235
235
|
if (compareTo(maxValue, v) < 0) {
|
|
236
236
|
maxElem = e;
|
|
237
237
|
maxValue = v;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
while (iterator.
|
|
240
|
+
while (iterator.u());
|
|
241
241
|
tmp$ret$0 = maxElem;
|
|
242
242
|
}
|
|
243
|
-
tmp.
|
|
243
|
+
tmp.f3a_1 = ensureNotNull(tmp$ret$0).e3a_1;
|
|
244
244
|
var tmp_0 = this;
|
|
245
245
|
var tmp_1 = 0;
|
|
246
|
-
var tmp_2 = this.
|
|
246
|
+
var tmp_2 = this.f3a_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) {
|
|
@@ -254,10 +254,10 @@
|
|
|
254
254
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
255
255
|
var single = null;
|
|
256
256
|
var found = false;
|
|
257
|
-
var _iterator__ex2g4s = tmp0_0.
|
|
258
|
-
while (_iterator__ex2g4s.
|
|
259
|
-
var element = _iterator__ex2g4s.
|
|
260
|
-
if (element.
|
|
257
|
+
var _iterator__ex2g4s = tmp0_0.t();
|
|
258
|
+
while (_iterator__ex2g4s.u()) {
|
|
259
|
+
var element = _iterator__ex2g4s.v();
|
|
260
|
+
if (element.e3a_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.g3a_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.d3a_1 = controlFrame;
|
|
311
|
+
this.e3a_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.
|
|
355
|
-
writeText(builder, reason.
|
|
354
|
+
builder.rq(reason.y39_1);
|
|
355
|
+
writeText(builder, reason.z39_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().h3a_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.h3a_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.i3a_1 = fin;
|
|
405
|
+
this.j3a_1 = frameType;
|
|
406
|
+
this.k3a_1 = data;
|
|
407
|
+
this.l3a_1 = disposableHandle;
|
|
408
|
+
this.m3a_1 = rsv1;
|
|
409
|
+
this.n3a_1 = rsv2;
|
|
410
|
+
this.o3a_1 = rsv3;
|
|
411
411
|
}
|
|
412
412
|
protoOf(Frame).toString = function () {
|
|
413
|
-
return 'Frame ' + this.
|
|
413
|
+
return 'Frame ' + this.j3a_1.toString() + ' (fin=' + this.i3a_1 + ', buffer len = ' + this.k3a_1.length + ')';
|
|
414
414
|
};
|
|
415
415
|
//region block: init
|
|
416
416
|
NonDisposableHandle_instance = new NonDisposableHandle();
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doordeck/doordeck-headless-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.186.0",
|
|
4
4
|
"main": "kotlin/doordeck-sdk.js",
|
|
5
5
|
"types": "kotlin/doordeck-sdk.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"webpack": "5.
|
|
7
|
+
"webpack": "5.101.3",
|
|
8
8
|
"webpack-cli": "6.0.1",
|
|
9
|
-
"kotlin-web-helpers": "
|
|
9
|
+
"kotlin-web-helpers": "3.0.0",
|
|
10
10
|
"source-map-loader": "5.0.0",
|
|
11
11
|
"webpack-dev-server": "5.2.2",
|
|
12
12
|
"source-map-support": "0.5.21",
|
|
13
|
-
"typescript": "5.
|
|
13
|
+
"typescript": "5.9.2"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"asn1js": "3.0.6",
|