@doordeck/doordeck-headless-sdk 0.144.0 → 0.146.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.
|
@@ -99,13 +99,13 @@
|
|
|
99
99
|
var URLBuilder = kotlin_io_ktor_ktor_http.$_$.c1;
|
|
100
100
|
var ParametersBuilder = kotlin_io_ktor_ktor_http.$_$.b1;
|
|
101
101
|
var appendAll = kotlin_io_ktor_ktor_utils.$_$.z;
|
|
102
|
-
var takeFrom = kotlin_io_ktor_ktor_http.$_$.
|
|
102
|
+
var takeFrom = kotlin_io_ktor_ktor_http.$_$.w1;
|
|
103
103
|
var first = kotlin_kotlin.$_$.b7;
|
|
104
104
|
var checkBuilderCapacity = kotlin_kotlin.$_$.z5;
|
|
105
105
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
106
106
|
var HeadersBuilder = kotlin_io_ktor_ktor_http.$_$.z;
|
|
107
107
|
var URLBuilder_0 = kotlin_io_ktor_ktor_http.$_$.d1;
|
|
108
|
-
var takeFrom_0 = kotlin_io_ktor_ktor_http.$_$.
|
|
108
|
+
var takeFrom_0 = kotlin_io_ktor_ktor_http.$_$.x1;
|
|
109
109
|
var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
|
|
110
110
|
var MalformedInputException = kotlin_io_ktor_ktor_io.$_$.r;
|
|
111
111
|
var Unit = kotlin_kotlin.$_$.qf;
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
var Comparator = kotlin_kotlin.$_$.se;
|
|
144
144
|
var hashCode = kotlin_kotlin.$_$.ka;
|
|
145
145
|
var charset = kotlin_io_ktor_ktor_http.$_$.k1;
|
|
146
|
-
var withCharset = kotlin_io_ktor_ktor_http.$_$.
|
|
146
|
+
var withCharset = kotlin_io_ktor_ktor_http.$_$.z1;
|
|
147
147
|
var charset_0 = kotlin_io_ktor_ktor_http.$_$.j1;
|
|
148
148
|
var readText_0 = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
149
149
|
var compareValues = kotlin_kotlin.$_$.v8;
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
var intercepted = kotlin_kotlin.$_$.a9;
|
|
200
200
|
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
201
201
|
var toTypedArray = kotlin_kotlin.$_$.s8;
|
|
202
|
-
var get_supportsRequestBody = kotlin_io_ktor_ktor_http.$_$.
|
|
202
|
+
var get_supportsRequestBody = kotlin_io_ktor_ktor_http.$_$.v1;
|
|
203
203
|
var isEmpty = kotlin_io_ktor_ktor_http.$_$.x;
|
|
204
204
|
var SafeContinuation_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
205
205
|
var Error_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
var WriteChannelContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
78
78
|
var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.k1;
|
|
79
79
|
var URLBuilder = kotlin_io_ktor_ktor_http.$_$.d1;
|
|
80
|
-
var takeFrom = kotlin_io_ktor_ktor_http.$_$.
|
|
80
|
+
var takeFrom = kotlin_io_ktor_ktor_http.$_$.w1;
|
|
81
81
|
var HeadersBuilder = kotlin_io_ktor_ktor_http.$_$.z;
|
|
82
82
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.h;
|
|
83
83
|
var EmptyContent = kotlin_io_ktor_ktor_client_core.$_$.j1;
|
package/kotlin/ktor-ktor-http.js
CHANGED
|
@@ -2553,6 +2553,33 @@
|
|
|
2553
2553
|
function Url(builder) {
|
|
2554
2554
|
return takeFrom_0(new URLBuilder(), builder).v2w();
|
|
2555
2555
|
}
|
|
2556
|
+
function parseUrl(urlString) {
|
|
2557
|
+
var tmp;
|
|
2558
|
+
try {
|
|
2559
|
+
// Inline function 'kotlin.takeIf' call
|
|
2560
|
+
var this_0 = URLBuilder_0(urlString);
|
|
2561
|
+
var tmp_0;
|
|
2562
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2563
|
+
var this_1 = this_0.a34_1;
|
|
2564
|
+
if (charSequenceLength(this_1) > 0) {
|
|
2565
|
+
tmp_0 = this_0;
|
|
2566
|
+
} else {
|
|
2567
|
+
tmp_0 = null;
|
|
2568
|
+
}
|
|
2569
|
+
var tmp0_safe_receiver = tmp_0;
|
|
2570
|
+
tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v2w();
|
|
2571
|
+
} catch ($p) {
|
|
2572
|
+
var tmp_1;
|
|
2573
|
+
if ($p instanceof URLParserException) {
|
|
2574
|
+
var cause = $p;
|
|
2575
|
+
tmp_1 = null;
|
|
2576
|
+
} else {
|
|
2577
|
+
throw $p;
|
|
2578
|
+
}
|
|
2579
|
+
tmp = tmp_1;
|
|
2580
|
+
}
|
|
2581
|
+
return tmp;
|
|
2582
|
+
}
|
|
2556
2583
|
function get_hostWithPortIfSpecified(_this__u8e3s4) {
|
|
2557
2584
|
var tmp0_subject = _this__u8e3s4.o34_1;
|
|
2558
2585
|
return tmp0_subject === 0 || tmp0_subject === _this__u8e3s4.z34_1.l34_1 ? _this__u8e3s4.n34_1 : get_hostWithPort(_this__u8e3s4);
|
|
@@ -2618,12 +2645,12 @@
|
|
|
2618
2645
|
var tmp_1 = destination;
|
|
2619
2646
|
joinTo(tmp_1, _this__u8e3s4, '&', VOID, VOID, VOID, VOID, appendUrlFullPath$lambda);
|
|
2620
2647
|
}
|
|
2621
|
-
function get_hostWithPort(_this__u8e3s4) {
|
|
2622
|
-
return _this__u8e3s4.n34_1 + ':' + _this__u8e3s4.y35();
|
|
2623
|
-
}
|
|
2624
2648
|
function URLBuilder_0(urlString) {
|
|
2625
2649
|
return takeFrom(new URLBuilder(), urlString);
|
|
2626
2650
|
}
|
|
2651
|
+
function get_hostWithPort(_this__u8e3s4) {
|
|
2652
|
+
return _this__u8e3s4.n34_1 + ':' + _this__u8e3s4.y35();
|
|
2653
|
+
}
|
|
2627
2654
|
function URLBuilder_1(url) {
|
|
2628
2655
|
return takeFrom_1(new URLBuilder(), url);
|
|
2629
2656
|
}
|
|
@@ -3638,12 +3665,13 @@
|
|
|
3638
3665
|
_.$_$.q1 = isSecure;
|
|
3639
3666
|
_.$_$.r1 = isWebsocket;
|
|
3640
3667
|
_.$_$.s1 = parseAndSortHeader;
|
|
3641
|
-
_.$_$.t1 =
|
|
3642
|
-
_.$_$.u1 =
|
|
3643
|
-
_.$_$.v1 =
|
|
3644
|
-
_.$_$.w1 =
|
|
3645
|
-
_.$_$.x1 =
|
|
3646
|
-
_.$_$.y1 =
|
|
3668
|
+
_.$_$.t1 = parseUrl;
|
|
3669
|
+
_.$_$.u1 = path;
|
|
3670
|
+
_.$_$.v1 = get_supportsRequestBody;
|
|
3671
|
+
_.$_$.w1 = takeFrom_0;
|
|
3672
|
+
_.$_$.x1 = takeFrom;
|
|
3673
|
+
_.$_$.y1 = withCharsetIfNeeded;
|
|
3674
|
+
_.$_$.z1 = withCharset;
|
|
3647
3675
|
//endregion
|
|
3648
3676
|
return _;
|
|
3649
3677
|
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./ktor-ktor-io.js'), require('./ktor-ktor-utils.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js')));
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
var isInterface = kotlin_kotlin.$_$.ab;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
19
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
19
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.y1;
|
|
20
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.w;
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
22
22
|
var equals = kotlin_kotlin.$_$.ea;
|