@doordeck/doordeck-headless-sdk 0.132.0 → 0.134.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 +44 -44
- package/kotlin/Kermit-kermit.js +4 -4
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1411 -1411
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +74 -22
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +18 -18
- package/kotlin/doordeck-sdk.d.ts +13 -91
- package/kotlin/doordeck-sdk.js +9739 -10202
- package/kotlin/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin/kotlinx-atomicfu.js +13 -13
- package/kotlin/kotlinx-coroutines-core.js +1906 -1906
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +32 -32
- package/kotlin/kotlinx-io-kotlinx-io-core.js +443 -443
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1710 -1710
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1347 -1347
- package/kotlin/ktor-ktor-client-auth.js +241 -241
- package/kotlin/ktor-ktor-client-content-negotiation.js +135 -135
- package/kotlin/ktor-ktor-client-core.js +1882 -1882
- package/kotlin/ktor-ktor-client-logging.js +668 -668
- package/kotlin/ktor-ktor-events.js +6 -6
- package/kotlin/ktor-ktor-http-cio.js +330 -330
- package/kotlin/ktor-ktor-http.js +682 -682
- package/kotlin/ktor-ktor-io.js +628 -628
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +140 -140
- package/kotlin/ktor-ktor-serialization.js +62 -62
- package/kotlin/ktor-ktor-utils.js +660 -660
- package/kotlin/ktor-ktor-websockets.js +37 -37
- package/package.json +1 -1
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
configuration = tmp;
|
|
42
42
|
var tmp_0;
|
|
43
43
|
if ($super === VOID) {
|
|
44
|
-
this.
|
|
44
|
+
this.u3d(contentType, converter, configuration);
|
|
45
45
|
tmp_0 = Unit_instance;
|
|
46
46
|
} else {
|
|
47
|
-
tmp_0 = $super.
|
|
47
|
+
tmp_0 = $super.u3d.call(this, contentType, converter, configuration);
|
|
48
48
|
}
|
|
49
49
|
return tmp_0;
|
|
50
50
|
}
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
return tmp.o9();
|
|
74
74
|
}
|
|
75
75
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
76
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
76
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e1y_1 : defaultCharset;
|
|
77
77
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
78
78
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
79
79
|
}
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
function Configuration() {
|
|
84
84
|
}
|
|
85
85
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
86
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
87
|
-
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.
|
|
86
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e1y_1 : defaultCharset;
|
|
87
|
+
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.v2m(HttpHeaders_getInstance().m2v_1)).p();
|
|
88
88
|
while (_iterator__ex2g4s.q()) {
|
|
89
89
|
var charset = _iterator__ex2g4s.r().tg();
|
|
90
90
|
if (charset === '*')
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
return null;
|
|
96
96
|
}
|
|
97
97
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
98
|
-
this.
|
|
98
|
+
this.w3d_1 = function_0;
|
|
99
99
|
}
|
|
100
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
101
|
-
return this.
|
|
100
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).h19 = function (value, $completion) {
|
|
101
|
+
return this.w3d_1(value, $completion);
|
|
102
102
|
};
|
|
103
103
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
104
|
-
return this.
|
|
104
|
+
return this.w3d_1;
|
|
105
105
|
};
|
|
106
106
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
107
107
|
var tmp;
|
|
@@ -122,20 +122,20 @@
|
|
|
122
122
|
return hashCode(this.s3());
|
|
123
123
|
};
|
|
124
124
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
125
|
+
this.f3e_1 = $$this$unsafeFlow;
|
|
126
|
+
this.g3e_1 = $charset;
|
|
127
|
+
this.h3e_1 = $typeInfo;
|
|
128
|
+
this.i3e_1 = $body;
|
|
129
129
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
130
|
}
|
|
131
|
-
protoOf(deserialize$o$collect$slambda).
|
|
132
|
-
var tmp = this.
|
|
131
|
+
protoOf(deserialize$o$collect$slambda).r3e = function (value, $completion) {
|
|
132
|
+
var tmp = this.s3e(value, $completion);
|
|
133
133
|
tmp.i9_1 = Unit_instance;
|
|
134
134
|
tmp.j9_1 = null;
|
|
135
135
|
return tmp.o9();
|
|
136
136
|
};
|
|
137
137
|
protoOf(deserialize$o$collect$slambda).ca = function (p1, $completion) {
|
|
138
|
-
return this.
|
|
138
|
+
return this.r3e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
139
139
|
};
|
|
140
140
|
protoOf(deserialize$o$collect$slambda).o9 = function () {
|
|
141
141
|
var suspendResult = this.i9_1;
|
|
@@ -146,25 +146,25 @@
|
|
|
146
146
|
case 0:
|
|
147
147
|
this.h9_1 = 3;
|
|
148
148
|
var tmp_0 = this;
|
|
149
|
-
tmp_0.
|
|
149
|
+
tmp_0.k3e_1 = this.f3e_1;
|
|
150
150
|
var tmp_1 = this;
|
|
151
|
-
tmp_1.
|
|
152
|
-
this.
|
|
153
|
-
this.
|
|
151
|
+
tmp_1.l3e_1 = this.j3e_1;
|
|
152
|
+
this.m3e_1 = this.k3e_1;
|
|
153
|
+
this.n3e_1 = this.l3e_1;
|
|
154
154
|
var tmp_2 = this;
|
|
155
|
-
tmp_2.
|
|
156
|
-
this.
|
|
155
|
+
tmp_2.o3e_1 = this.n3e_1;
|
|
156
|
+
this.p3e_1 = this.o3e_1;
|
|
157
157
|
this.g9_1 = 1;
|
|
158
|
-
suspendResult = this.
|
|
158
|
+
suspendResult = this.p3e_1.t3e(this.g3e_1, this.h3e_1, this.i3e_1, this);
|
|
159
159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
160
160
|
return suspendResult;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
continue $sm;
|
|
164
164
|
case 1:
|
|
165
|
-
this.
|
|
165
|
+
this.q3e_1 = suspendResult;
|
|
166
166
|
this.g9_1 = 2;
|
|
167
|
-
suspendResult = this.
|
|
167
|
+
suspendResult = this.m3e_1.h19(this.q3e_1, this);
|
|
168
168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
169
169
|
return suspendResult;
|
|
170
170
|
}
|
|
@@ -186,23 +186,23 @@
|
|
|
186
186
|
}
|
|
187
187
|
while (true);
|
|
188
188
|
};
|
|
189
|
-
protoOf(deserialize$o$collect$slambda).
|
|
190
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
191
|
-
i.
|
|
189
|
+
protoOf(deserialize$o$collect$slambda).s3e = function (value, completion) {
|
|
190
|
+
var i = new deserialize$o$collect$slambda(this.f3e_1, this.g3e_1, this.h3e_1, this.i3e_1, completion);
|
|
191
|
+
i.j3e_1 = value;
|
|
192
192
|
return i;
|
|
193
193
|
};
|
|
194
194
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
195
195
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
196
196
|
var l = function (value, $completion) {
|
|
197
|
-
return i.
|
|
197
|
+
return i.r3e(value, $completion);
|
|
198
198
|
};
|
|
199
199
|
l.$arity = 1;
|
|
200
200
|
return l;
|
|
201
201
|
}
|
|
202
202
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
203
203
|
CoroutineImpl.call(this, resultContinuation);
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
204
|
+
this.c3f_1 = _this__u8e3s4;
|
|
205
|
+
this.d3f_1 = collector;
|
|
206
206
|
}
|
|
207
207
|
protoOf($collectCOROUTINE$).o9 = function () {
|
|
208
208
|
var suspendResult = this.i9_1;
|
|
@@ -213,11 +213,11 @@
|
|
|
213
213
|
case 0:
|
|
214
214
|
this.h9_1 = 2;
|
|
215
215
|
var tmp_0 = this;
|
|
216
|
-
tmp_0.
|
|
217
|
-
this.
|
|
216
|
+
tmp_0.e3f_1 = this.d3f_1;
|
|
217
|
+
this.f3f_1 = this.e3f_1;
|
|
218
218
|
this.g9_1 = 1;
|
|
219
|
-
var tmp_1 = deserialize$o$collect$slambda_0(this.
|
|
220
|
-
suspendResult = this.
|
|
219
|
+
var tmp_1 = deserialize$o$collect$slambda_0(this.f3f_1, this.c3f_1.h3f_1, this.c3f_1.i3f_1, this.c3f_1.j3f_1, null);
|
|
220
|
+
suspendResult = this.c3f_1.g3f_1.j19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
221
221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
222
222
|
return suspendResult;
|
|
223
223
|
}
|
|
@@ -240,32 +240,32 @@
|
|
|
240
240
|
while (true);
|
|
241
241
|
};
|
|
242
242
|
function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
243
|
+
this.g3f_1 = $this;
|
|
244
|
+
this.h3f_1 = $charset;
|
|
245
|
+
this.i3f_1 = $typeInfo;
|
|
246
|
+
this.j3f_1 = $body;
|
|
247
247
|
}
|
|
248
|
-
protoOf(deserialize$$inlined$map$1).
|
|
248
|
+
protoOf(deserialize$$inlined$map$1).i19 = function (collector, $completion) {
|
|
249
249
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
250
250
|
tmp.i9_1 = Unit_instance;
|
|
251
251
|
tmp.j9_1 = null;
|
|
252
252
|
return tmp.o9();
|
|
253
253
|
};
|
|
254
|
-
protoOf(deserialize$$inlined$map$1).
|
|
255
|
-
return this.
|
|
254
|
+
protoOf(deserialize$$inlined$map$1).j19 = function (collector, $completion) {
|
|
255
|
+
return this.i19(collector, $completion);
|
|
256
256
|
};
|
|
257
257
|
function deserialize$slambda($body, resultContinuation) {
|
|
258
|
-
this.
|
|
258
|
+
this.s3f_1 = $body;
|
|
259
259
|
CoroutineImpl.call(this, resultContinuation);
|
|
260
260
|
}
|
|
261
|
-
protoOf(deserialize$slambda).
|
|
262
|
-
var tmp = this.
|
|
261
|
+
protoOf(deserialize$slambda).u3f = function (it, $completion) {
|
|
262
|
+
var tmp = this.s3e(it, $completion);
|
|
263
263
|
tmp.i9_1 = Unit_instance;
|
|
264
264
|
tmp.j9_1 = null;
|
|
265
265
|
return tmp.o9();
|
|
266
266
|
};
|
|
267
267
|
protoOf(deserialize$slambda).ca = function (p1, $completion) {
|
|
268
|
-
return this.
|
|
268
|
+
return this.u3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
269
269
|
};
|
|
270
270
|
protoOf(deserialize$slambda).o9 = function () {
|
|
271
271
|
var suspendResult = this.i9_1;
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
var tmp = this.g9_1;
|
|
275
275
|
if (tmp === 0) {
|
|
276
276
|
this.h9_1 = 1;
|
|
277
|
-
return !(this.
|
|
277
|
+
return !(this.t3f_1 == null) || this.s3f_1.k1n();
|
|
278
278
|
} else if (tmp === 1) {
|
|
279
279
|
throw this.j9_1;
|
|
280
280
|
}
|
|
@@ -284,25 +284,25 @@
|
|
|
284
284
|
}
|
|
285
285
|
while (true);
|
|
286
286
|
};
|
|
287
|
-
protoOf(deserialize$slambda).
|
|
288
|
-
var i = new deserialize$slambda(this.
|
|
289
|
-
i.
|
|
287
|
+
protoOf(deserialize$slambda).s3e = function (it, completion) {
|
|
288
|
+
var i = new deserialize$slambda(this.s3f_1, completion);
|
|
289
|
+
i.t3f_1 = it;
|
|
290
290
|
return i;
|
|
291
291
|
};
|
|
292
292
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
293
293
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
294
294
|
var l = function (it, $completion) {
|
|
295
|
-
return i.
|
|
295
|
+
return i.u3f(it, $completion);
|
|
296
296
|
};
|
|
297
297
|
l.$arity = 1;
|
|
298
298
|
return l;
|
|
299
299
|
}
|
|
300
300
|
function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
301
301
|
CoroutineImpl.call(this, resultContinuation);
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
302
|
+
this.q3d_1 = _this__u8e3s4;
|
|
303
|
+
this.r3d_1 = body;
|
|
304
|
+
this.s3d_1 = typeInfo;
|
|
305
|
+
this.t3d_1 = charset;
|
|
306
306
|
}
|
|
307
307
|
protoOf($deserializeCOROUTINE$).o9 = function () {
|
|
308
308
|
var suspendResult = this.i9_1;
|
|
@@ -313,9 +313,9 @@
|
|
|
313
313
|
case 0:
|
|
314
314
|
this.h9_1 = 2;
|
|
315
315
|
this.g9_1 = 1;
|
|
316
|
-
var this_0 = asFlow(this.
|
|
317
|
-
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.
|
|
318
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
316
|
+
var this_0 = asFlow(this.q3d_1);
|
|
317
|
+
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.t3d_1, this.s3d_1, this.r3d_1);
|
|
318
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.r3d_1, null), this);
|
|
319
319
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
320
320
|
return suspendResult;
|
|
321
321
|
}
|
|
@@ -327,14 +327,14 @@
|
|
|
327
327
|
if (!(result == null)) {
|
|
328
328
|
tmp_1 = result;
|
|
329
329
|
} else {
|
|
330
|
-
if (!this.
|
|
331
|
-
tmp_1 = this.
|
|
330
|
+
if (!this.r3d_1.k1n()) {
|
|
331
|
+
tmp_1 = this.r3d_1;
|
|
332
332
|
} else {
|
|
333
|
-
var tmp0_safe_receiver = this.
|
|
333
|
+
var tmp0_safe_receiver = this.s3d_1.h2s_1;
|
|
334
334
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bc()) === true) {
|
|
335
335
|
tmp_1 = NullBody_instance;
|
|
336
336
|
} else {
|
|
337
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
337
|
+
throw new ContentConvertException('No suitable converter found for ' + this.s3d_1.toString());
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|