@doordeck/doordeck-headless-sdk 0.197.0 → 0.198.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 +56 -56
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.js +9308 -9308
- package/kotlin/kotlin-kotlin-stdlib.js +309 -308
- package/kotlin/kotlinx-atomicfu.js +8 -8
- package/kotlin/kotlinx-coroutines-core.js +65 -65
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +11 -11
- package/kotlin/kotlinx-io-kotlinx-io-core.js +23 -23
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1566 -1559
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1919 -1588
- package/kotlin/ktor-ktor-client-auth.js +255 -255
- package/kotlin/ktor-ktor-client-content-negotiation.js +146 -146
- package/kotlin/ktor-ktor-client-core.js +2021 -2021
- package/kotlin/ktor-ktor-client-logging.js +636 -636
- package/kotlin/ktor-ktor-events.js +10 -10
- package/kotlin/ktor-ktor-http-cio.js +339 -339
- package/kotlin/ktor-ktor-http.js +751 -751
- package/kotlin/ktor-ktor-io.js +46 -46
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-serialization-kotlinx.js +132 -132
- package/kotlin/ktor-ktor-serialization.js +64 -64
- package/kotlin/ktor-ktor-utils.js +832 -832
- package/kotlin/ktor-ktor-websockets.js +357 -357
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Exception = kotlin_kotlin.$_$.
|
|
4
|
+
var Exception = kotlin_kotlin.$_$.wf;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.b;
|
|
6
6
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.j2;
|
|
7
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
8
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
7
|
+
var captureStack = kotlin_kotlin.$_$.pa;
|
|
8
|
+
var protoOf = kotlin_kotlin.$_$.dc;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.gb;
|
|
10
10
|
var Unit_instance = kotlin_kotlin.$_$.z;
|
|
11
11
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.a;
|
|
12
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.kb;
|
|
13
13
|
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.u1;
|
|
14
14
|
var forName = kotlin_io_ktor_ktor_io.$_$.u;
|
|
15
15
|
var isSupported = kotlin_io_ktor_ktor_io.$_$.v;
|
|
16
|
-
var equals = kotlin_kotlin.$_$.
|
|
17
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
18
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
16
|
+
var equals = kotlin_kotlin.$_$.ya;
|
|
17
|
+
var FunctionAdapter = kotlin_kotlin.$_$.la;
|
|
18
|
+
var isInterface = kotlin_kotlin.$_$.vb;
|
|
19
19
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
20
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
21
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
22
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
20
|
+
var hashCode = kotlin_kotlin.$_$.fb;
|
|
21
|
+
var CoroutineImpl = kotlin_kotlin.$_$.p9;
|
|
22
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.z8;
|
|
23
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.lb;
|
|
24
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ib;
|
|
25
25
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
26
26
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
27
27
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
configuration = tmp;
|
|
40
40
|
var tmp_0;
|
|
41
41
|
if ($super === VOID) {
|
|
42
|
-
this.
|
|
42
|
+
this.t3l(contentType, converter, configuration);
|
|
43
43
|
tmp_0 = Unit_instance;
|
|
44
44
|
} else {
|
|
45
|
-
tmp_0 = $super.
|
|
45
|
+
tmp_0 = $super.t3l.call(this, contentType, converter, configuration);
|
|
46
46
|
}
|
|
47
47
|
return tmp_0;
|
|
48
48
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
84
84
|
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t1x_1 : defaultCharset;
|
|
85
|
-
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.
|
|
85
|
+
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.n2n('Accept-Charset')).t();
|
|
86
86
|
while (_iterator__ex2g4s.u()) {
|
|
87
87
|
var charset = _iterator__ex2g4s.v().bg();
|
|
88
88
|
if (charset === '*')
|
|
@@ -93,13 +93,13 @@
|
|
|
93
93
|
return null;
|
|
94
94
|
}
|
|
95
95
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
96
|
-
this.
|
|
96
|
+
this.v3l_1 = function_0;
|
|
97
97
|
}
|
|
98
98
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t1d = function (value, $completion) {
|
|
99
|
-
return this.
|
|
99
|
+
return this.v3l_1(value, $completion);
|
|
100
100
|
};
|
|
101
101
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
102
|
-
return this.
|
|
102
|
+
return this.v3l_1;
|
|
103
103
|
};
|
|
104
104
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
105
105
|
var tmp;
|
|
@@ -120,20 +120,20 @@
|
|
|
120
120
|
return hashCode(this.q3());
|
|
121
121
|
};
|
|
122
122
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
123
|
+
this.e3m_1 = $$this$unsafeFlow;
|
|
124
|
+
this.f3m_1 = $charset;
|
|
125
|
+
this.g3m_1 = $typeInfo;
|
|
126
|
+
this.h3m_1 = $body;
|
|
127
127
|
CoroutineImpl.call(this, resultContinuation);
|
|
128
128
|
}
|
|
129
|
-
protoOf(deserialize$o$collect$slambda).
|
|
130
|
-
var tmp = this.
|
|
129
|
+
protoOf(deserialize$o$collect$slambda).k3m = function (value, $completion) {
|
|
130
|
+
var tmp = this.l3m(value, $completion);
|
|
131
131
|
tmp.c9_1 = Unit_instance;
|
|
132
132
|
tmp.d9_1 = null;
|
|
133
133
|
return tmp.i9();
|
|
134
134
|
};
|
|
135
135
|
protoOf(deserialize$o$collect$slambda).u9 = function (p1, $completion) {
|
|
136
|
-
return this.
|
|
136
|
+
return this.k3m(p1, $completion);
|
|
137
137
|
};
|
|
138
138
|
protoOf(deserialize$o$collect$slambda).i9 = function () {
|
|
139
139
|
var suspendResult = this.c9_1;
|
|
@@ -143,11 +143,11 @@
|
|
|
143
143
|
switch (tmp) {
|
|
144
144
|
case 0:
|
|
145
145
|
this.b9_1 = 3;
|
|
146
|
-
var tmp0 = this.
|
|
147
|
-
var tmp2 = this.
|
|
148
|
-
this.
|
|
146
|
+
var tmp0 = this.e3m_1;
|
|
147
|
+
var tmp2 = this.i3m_1;
|
|
148
|
+
this.j3m_1 = tmp0;
|
|
149
149
|
this.a9_1 = 1;
|
|
150
|
-
suspendResult = tmp2.
|
|
150
|
+
suspendResult = tmp2.m3m(this.f3m_1, this.g3m_1, this.h3m_1, this);
|
|
151
151
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
152
152
|
return suspendResult;
|
|
153
153
|
}
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
case 1:
|
|
157
157
|
var ARGUMENT = suspendResult;
|
|
158
158
|
this.a9_1 = 2;
|
|
159
|
-
suspendResult = this.
|
|
159
|
+
suspendResult = this.j3m_1.t1d(ARGUMENT, this);
|
|
160
160
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
161
161
|
return suspendResult;
|
|
162
162
|
}
|
|
@@ -178,23 +178,23 @@
|
|
|
178
178
|
}
|
|
179
179
|
while (true);
|
|
180
180
|
};
|
|
181
|
-
protoOf(deserialize$o$collect$slambda).
|
|
182
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
183
|
-
i.
|
|
181
|
+
protoOf(deserialize$o$collect$slambda).l3m = function (value, completion) {
|
|
182
|
+
var i = new deserialize$o$collect$slambda(this.e3m_1, this.f3m_1, this.g3m_1, this.h3m_1, completion);
|
|
183
|
+
i.i3m_1 = value;
|
|
184
184
|
return i;
|
|
185
185
|
};
|
|
186
186
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
187
187
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
188
188
|
var l = function (value, $completion) {
|
|
189
|
-
return i.
|
|
189
|
+
return i.k3m(value, $completion);
|
|
190
190
|
};
|
|
191
191
|
l.$arity = 1;
|
|
192
192
|
return l;
|
|
193
193
|
}
|
|
194
194
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
195
195
|
CoroutineImpl.call(this, resultContinuation);
|
|
196
|
-
this.
|
|
197
|
-
this.
|
|
196
|
+
this.v3m_1 = _this__u8e3s4;
|
|
197
|
+
this.w3m_1 = collector;
|
|
198
198
|
}
|
|
199
199
|
protoOf($collectCOROUTINE$).i9 = function () {
|
|
200
200
|
var suspendResult = this.c9_1;
|
|
@@ -204,10 +204,10 @@
|
|
|
204
204
|
switch (tmp) {
|
|
205
205
|
case 0:
|
|
206
206
|
this.b9_1 = 2;
|
|
207
|
-
var $this$unsafeFlow = this.
|
|
207
|
+
var $this$unsafeFlow = this.w3m_1;
|
|
208
208
|
this.a9_1 = 1;
|
|
209
|
-
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
210
|
-
suspendResult = this.
|
|
209
|
+
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.v3m_1.y3m_1, this.v3m_1.z3m_1, this.v3m_1.a3n_1, null);
|
|
210
|
+
suspendResult = this.v3m_1.x3m_1.v1d(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
211
211
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
212
212
|
return suspendResult;
|
|
213
213
|
}
|
|
@@ -230,10 +230,10 @@
|
|
|
230
230
|
while (true);
|
|
231
231
|
};
|
|
232
232
|
function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
233
|
+
this.x3m_1 = $this;
|
|
234
|
+
this.y3m_1 = $charset;
|
|
235
|
+
this.z3m_1 = $typeInfo;
|
|
236
|
+
this.a3n_1 = $body;
|
|
237
237
|
}
|
|
238
238
|
protoOf(deserialize$$inlined$map$1).u1d = function (collector, $completion) {
|
|
239
239
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -245,17 +245,17 @@
|
|
|
245
245
|
return this.u1d(collector, $completion);
|
|
246
246
|
};
|
|
247
247
|
function deserialize$slambda($body, resultContinuation) {
|
|
248
|
-
this.
|
|
248
|
+
this.j3n_1 = $body;
|
|
249
249
|
CoroutineImpl.call(this, resultContinuation);
|
|
250
250
|
}
|
|
251
|
-
protoOf(deserialize$slambda).
|
|
252
|
-
var tmp = this.
|
|
251
|
+
protoOf(deserialize$slambda).l3n = function (it, $completion) {
|
|
252
|
+
var tmp = this.l3m(it, $completion);
|
|
253
253
|
tmp.c9_1 = Unit_instance;
|
|
254
254
|
tmp.d9_1 = null;
|
|
255
255
|
return tmp.i9();
|
|
256
256
|
};
|
|
257
257
|
protoOf(deserialize$slambda).u9 = function (p1, $completion) {
|
|
258
|
-
return this.
|
|
258
|
+
return this.l3n(p1, $completion);
|
|
259
259
|
};
|
|
260
260
|
protoOf(deserialize$slambda).i9 = function () {
|
|
261
261
|
var suspendResult = this.c9_1;
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
var tmp = this.a9_1;
|
|
265
265
|
if (tmp === 0) {
|
|
266
266
|
this.b9_1 = 1;
|
|
267
|
-
return !(this.
|
|
267
|
+
return !(this.k3n_1 == null) || this.j3n_1.w1n();
|
|
268
268
|
} else if (tmp === 1) {
|
|
269
269
|
throw this.d9_1;
|
|
270
270
|
}
|
|
@@ -274,25 +274,25 @@
|
|
|
274
274
|
}
|
|
275
275
|
while (true);
|
|
276
276
|
};
|
|
277
|
-
protoOf(deserialize$slambda).
|
|
278
|
-
var i = new deserialize$slambda(this.
|
|
279
|
-
i.
|
|
277
|
+
protoOf(deserialize$slambda).l3m = function (it, completion) {
|
|
278
|
+
var i = new deserialize$slambda(this.j3n_1, completion);
|
|
279
|
+
i.k3n_1 = it;
|
|
280
280
|
return i;
|
|
281
281
|
};
|
|
282
282
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
283
283
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
284
284
|
var l = function (it, $completion) {
|
|
285
|
-
return i.
|
|
285
|
+
return i.l3n(it, $completion);
|
|
286
286
|
};
|
|
287
287
|
l.$arity = 1;
|
|
288
288
|
return l;
|
|
289
289
|
}
|
|
290
290
|
function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
291
291
|
CoroutineImpl.call(this, resultContinuation);
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
292
|
+
this.p3l_1 = _this__u8e3s4;
|
|
293
|
+
this.q3l_1 = body;
|
|
294
|
+
this.r3l_1 = typeInfo;
|
|
295
|
+
this.s3l_1 = charset;
|
|
296
296
|
}
|
|
297
297
|
protoOf($deserializeCOROUTINE$).i9 = function () {
|
|
298
298
|
var suspendResult = this.c9_1;
|
|
@@ -303,9 +303,9 @@
|
|
|
303
303
|
case 0:
|
|
304
304
|
this.b9_1 = 2;
|
|
305
305
|
this.a9_1 = 1;
|
|
306
|
-
var this_0 = asFlow(this.
|
|
307
|
-
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.
|
|
308
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
306
|
+
var this_0 = asFlow(this.p3l_1);
|
|
307
|
+
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.s3l_1, this.r3l_1, this.q3l_1);
|
|
308
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.q3l_1, null), this);
|
|
309
309
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
310
310
|
return suspendResult;
|
|
311
311
|
}
|
|
@@ -317,14 +317,14 @@
|
|
|
317
317
|
if (!(result == null)) {
|
|
318
318
|
tmp_1 = result;
|
|
319
319
|
} else {
|
|
320
|
-
if (!this.
|
|
321
|
-
tmp_1 = this.
|
|
320
|
+
if (!this.q3l_1.w1n()) {
|
|
321
|
+
tmp_1 = this.q3l_1;
|
|
322
322
|
} else {
|
|
323
|
-
var tmp0_safe_receiver = this.
|
|
323
|
+
var tmp0_safe_receiver = this.r3l_1.n2s_1;
|
|
324
324
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
325
325
|
tmp_1 = NullBody_instance;
|
|
326
326
|
} else {
|
|
327
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
327
|
+
throw new ContentConvertException('No suitable converter found for ' + this.r3l_1.toString());
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
}
|