@doordeck/doordeck-headless-sdk 0.154.0 → 0.156.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 +5 -5
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +1 -1
- package/kotlin/doordeck-sdk.js +3768 -3768
- package/kotlin/kotlin-kotlin-stdlib.js +7 -7
- package/kotlin/kotlinx-coroutines-core.js +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1671 -1671
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +306 -306
- package/kotlin/ktor-ktor-client-auth.js +52 -52
- package/kotlin/ktor-ktor-client-content-negotiation.js +43 -43
- package/kotlin/ktor-ktor-client-core.js +1568 -1578
- package/kotlin/ktor-ktor-client-logging.js +200 -200
- package/kotlin/ktor-ktor-events.js +5 -5
- package/kotlin/ktor-ktor-http-cio.js +314 -314
- package/kotlin/ktor-ktor-http.js +685 -683
- package/kotlin/ktor-ktor-io.js +468 -463
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx.js +17 -17
- package/kotlin/ktor-ktor-serialization.js +6 -6
- package/kotlin/ktor-ktor-utils.js +635 -635
- package/kotlin/ktor-ktor-websockets.js +36 -36
- package/package.json +2 -2
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
var _iterator__ex2g4s = this_0.r();
|
|
63
63
|
while (_iterator__ex2g4s.s()) {
|
|
64
64
|
var element = _iterator__ex2g4s.t();
|
|
65
|
-
var tmp$ret$0 = element.
|
|
65
|
+
var tmp$ret$0 = element.f3a_1;
|
|
66
66
|
destination.g2(tmp$ret$0, element);
|
|
67
67
|
}
|
|
68
|
-
tmp.
|
|
69
|
-
this.
|
|
68
|
+
tmp.g3a_1 = destination;
|
|
69
|
+
this.h3a_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
70
70
|
}
|
|
71
|
-
protoOf(Companion).
|
|
72
|
-
return this.
|
|
71
|
+
protoOf(Companion).i3a = function (code) {
|
|
72
|
+
return this.g3a_1.o2(code);
|
|
73
73
|
};
|
|
74
74
|
var Companion_instance;
|
|
75
75
|
function Companion_getInstance() {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
var $ENTRIES;
|
|
109
109
|
function Codes(name, ordinal, code) {
|
|
110
110
|
Enum.call(this, name, ordinal);
|
|
111
|
-
this.
|
|
111
|
+
this.f3a_1 = code;
|
|
112
112
|
}
|
|
113
113
|
function Codes_NORMAL_getInstance() {
|
|
114
114
|
Codes_initEntries();
|
|
@@ -159,19 +159,19 @@
|
|
|
159
159
|
return Codes_TRY_AGAIN_LATER_instance;
|
|
160
160
|
}
|
|
161
161
|
function CloseReason(code, message) {
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
162
|
+
this.j3a_1 = code;
|
|
163
|
+
this.k3a_1 = message;
|
|
164
164
|
}
|
|
165
|
-
protoOf(CloseReason).
|
|
166
|
-
return Companion_getInstance().
|
|
165
|
+
protoOf(CloseReason).l3a = function () {
|
|
166
|
+
return Companion_getInstance().i3a(this.j3a_1);
|
|
167
167
|
};
|
|
168
168
|
protoOf(CloseReason).toString = function () {
|
|
169
|
-
var tmp0_elvis_lhs = this.
|
|
170
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
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 + ')';
|
|
171
171
|
};
|
|
172
172
|
protoOf(CloseReason).hashCode = function () {
|
|
173
|
-
var result = this.
|
|
174
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
173
|
+
var result = this.j3a_1;
|
|
174
|
+
result = imul(result, 31) + getStringHashCode(this.k3a_1) | 0;
|
|
175
175
|
return result;
|
|
176
176
|
};
|
|
177
177
|
protoOf(CloseReason).equals = function (other) {
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
if (!(other instanceof CloseReason))
|
|
181
181
|
return false;
|
|
182
182
|
var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
|
|
183
|
-
if (!(this.
|
|
183
|
+
if (!(this.j3a_1 === tmp0_other_with_cast.j3a_1))
|
|
184
184
|
return false;
|
|
185
|
-
if (!(this.
|
|
185
|
+
if (!(this.k3a_1 === tmp0_other_with_cast.k3a_1))
|
|
186
186
|
return false;
|
|
187
187
|
return true;
|
|
188
188
|
};
|
|
@@ -231,10 +231,10 @@
|
|
|
231
231
|
tmp$ret$0 = maxElem;
|
|
232
232
|
break $l$block_0;
|
|
233
233
|
}
|
|
234
|
-
var maxValue = maxElem.
|
|
234
|
+
var maxValue = maxElem.p3a_1;
|
|
235
235
|
do {
|
|
236
236
|
var e = iterator.t();
|
|
237
|
-
var v = e.
|
|
237
|
+
var v = e.p3a_1;
|
|
238
238
|
if (compareTo(maxValue, v) < 0) {
|
|
239
239
|
maxElem = e;
|
|
240
240
|
maxValue = v;
|
|
@@ -243,10 +243,10 @@
|
|
|
243
243
|
while (iterator.s());
|
|
244
244
|
tmp$ret$0 = maxElem;
|
|
245
245
|
}
|
|
246
|
-
tmp.
|
|
246
|
+
tmp.q3a_1 = ensureNotNull(tmp$ret$0).p3a_1;
|
|
247
247
|
var tmp_0 = this;
|
|
248
248
|
var tmp_1 = 0;
|
|
249
|
-
var tmp_2 = this.
|
|
249
|
+
var tmp_2 = this.q3a_1 + 1 | 0;
|
|
250
250
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
251
251
|
var tmp_3 = Array(tmp_2);
|
|
252
252
|
while (tmp_1 < tmp_2) {
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
var _iterator__ex2g4s = tmp0_0.r();
|
|
261
261
|
while (_iterator__ex2g4s.s()) {
|
|
262
262
|
var element = _iterator__ex2g4s.t();
|
|
263
|
-
if (element.
|
|
263
|
+
if (element.p3a_1 === tmp_4) {
|
|
264
264
|
if (found) {
|
|
265
265
|
tmp$ret$5 = null;
|
|
266
266
|
break $l$block_2;
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
tmp_3[tmp_4] = tmp$ret$5;
|
|
279
279
|
tmp_1 = tmp_1 + 1 | 0;
|
|
280
280
|
}
|
|
281
|
-
tmp_0.
|
|
281
|
+
tmp_0.r3a_1 = tmp_3;
|
|
282
282
|
}
|
|
283
283
|
var Companion_instance_0;
|
|
284
284
|
function Companion_getInstance_0() {
|
|
@@ -310,8 +310,8 @@
|
|
|
310
310
|
var $ENTRIES_0;
|
|
311
311
|
function FrameType(name, ordinal, controlFrame, opcode) {
|
|
312
312
|
Enum.call(this, name, ordinal);
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
313
|
+
this.o3a_1 = controlFrame;
|
|
314
|
+
this.p3a_1 = opcode;
|
|
315
315
|
}
|
|
316
316
|
function FrameType_TEXT_getInstance() {
|
|
317
317
|
FrameType_initEntries();
|
|
@@ -354,8 +354,8 @@
|
|
|
354
354
|
function Close_init_$Init$(reason, $this) {
|
|
355
355
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
356
356
|
var builder = new Buffer();
|
|
357
|
-
builder.gr(reason.
|
|
358
|
-
writeText(builder, reason.
|
|
357
|
+
builder.gr(reason.j3a_1);
|
|
358
|
+
writeText(builder, reason.k3a_1);
|
|
359
359
|
Close_init_$Init$_0(builder, $this);
|
|
360
360
|
return $this;
|
|
361
361
|
}
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
return $this;
|
|
368
368
|
}
|
|
369
369
|
function Close_init_$Init$_1($this) {
|
|
370
|
-
Close.call($this, Companion_getInstance_1().
|
|
370
|
+
Close.call($this, Companion_getInstance_1().s3a_1);
|
|
371
371
|
return $this;
|
|
372
372
|
}
|
|
373
373
|
function Close_init_$Create$_0() {
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
}
|
|
391
391
|
function Companion_1() {
|
|
392
392
|
Companion_instance_1 = this;
|
|
393
|
-
this.
|
|
393
|
+
this.s3a_1 = new Int8Array(0);
|
|
394
394
|
}
|
|
395
395
|
var Companion_instance_1;
|
|
396
396
|
function Companion_getInstance_1() {
|
|
@@ -404,16 +404,16 @@
|
|
|
404
404
|
rsv1 = rsv1 === VOID ? false : rsv1;
|
|
405
405
|
rsv2 = rsv2 === VOID ? false : rsv2;
|
|
406
406
|
rsv3 = rsv3 === VOID ? false : rsv3;
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
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;
|
|
414
414
|
}
|
|
415
415
|
protoOf(Frame).toString = function () {
|
|
416
|
-
return 'Frame ' + this.
|
|
416
|
+
return 'Frame ' + this.u3a_1.toString() + ' (fin=' + this.t3a_1 + ', buffer len = ' + this.v3a_1.length + ')';
|
|
417
417
|
};
|
|
418
418
|
//region block: init
|
|
419
419
|
NonDisposableHandle_instance = new NonDisposableHandle();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doordeck/doordeck-headless-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.156.0",
|
|
4
4
|
"main": "kotlin/doordeck-sdk.js",
|
|
5
5
|
"types": "kotlin/doordeck-sdk.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"asn1js": "3.0.6",
|
|
17
17
|
"pkijs": "3.2.5",
|
|
18
|
-
"ws": "8.18.
|
|
18
|
+
"ws": "8.18.3",
|
|
19
19
|
"@js-joda/core": "3.2.0",
|
|
20
20
|
"libsodium-wrappers-sumo": "0.7.13",
|
|
21
21
|
"format-util": "^1.0.5"
|