@solibo/solibo-sdk 1.45.0 → 1.46.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/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/package.json +1 -1
- package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +4 -4
- package/solibo-cycles/kotlinx-coroutines-core-17.mjs +1 -1
- package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +177 -139
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
|
@@ -5,8 +5,8 @@ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../kotlin-kotlin-stdli
|
|
|
5
5
|
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
6
6
|
import {
|
|
7
7
|
close$default2suggcywjwe8g as close$default,
|
|
8
|
-
SendChannel38sllbxw662ws as SendChannel,
|
|
9
8
|
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
9
|
+
SendChannel38sllbxw662ws as SendChannel,
|
|
10
10
|
} from './Channel.mjs';
|
|
11
11
|
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
12
12
|
import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
@@ -17,7 +17,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotl
|
|
|
17
17
|
var ChannelCoroutineClass;
|
|
18
18
|
function ChannelCoroutine() {
|
|
19
19
|
if (ChannelCoroutineClass === VOID) {
|
|
20
|
-
initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [
|
|
20
|
+
initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [ReceiveChannel(), SendChannel()], [1, 0]);
|
|
21
21
|
function $(parentContext, _channel, initParentJob, active) {
|
|
22
22
|
AbstractCoroutine().call(this, parentContext, initParentJob, active);
|
|
23
23
|
this._channel_1 = _channel;
|
|
@@ -85,7 +85,7 @@ function PhaseContent() {
|
|
|
85
85
|
}
|
|
86
86
|
this.interceptors_1.add_utx5q5_k$(interceptor);
|
|
87
87
|
};
|
|
88
|
-
protoOf($).
|
|
88
|
+
protoOf($).addTo_219g88_k$ = function (destination) {
|
|
89
89
|
var interceptors = this.interceptors_1;
|
|
90
90
|
if (destination instanceof ArrayList()) {
|
|
91
91
|
destination.ensureCapacity_wr7980_k$(destination.get_size_woubt6_k$() + interceptors.get_size_woubt6_k$() | 0);
|
|
@@ -192,7 +192,7 @@ function cacheInterceptors($this) {
|
|
|
192
192
|
tmp_2 = tmp1_elvis_lhs;
|
|
193
193
|
}
|
|
194
194
|
var phase = tmp_2;
|
|
195
|
-
phase.
|
|
195
|
+
phase.addTo_219g88_k$(destination);
|
|
196
196
|
}
|
|
197
197
|
while (!(phaseIndex_0 === last_0));
|
|
198
198
|
notSharedInterceptorsList($this, destination);
|
|
@@ -24,8 +24,8 @@ import {
|
|
|
24
24
|
_ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
|
|
25
25
|
close$default2suggcywjwe8g as close$default,
|
|
26
26
|
cancel$default3v09jht7i082i as cancel$default,
|
|
27
|
-
SendChannel38sllbxw662ws as SendChannel,
|
|
28
27
|
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
28
|
+
SendChannel38sllbxw662ws as SendChannel,
|
|
29
29
|
} from '../../../../kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs';
|
|
30
30
|
import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
|
|
31
31
|
import { throwUninitializedPropertyAccessException14fok093f3k3t as throwUninitializedPropertyAccessException } from '../../../../kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs';
|
|
@@ -190,7 +190,7 @@ function Companion_getInstance_1() {
|
|
|
190
190
|
var BoundedChannelClass;
|
|
191
191
|
function BoundedChannel() {
|
|
192
192
|
if (BoundedChannelClass === VOID) {
|
|
193
|
-
initMetadataForClass($, 'BoundedChannel', VOID, VOID, [
|
|
193
|
+
initMetadataForClass($, 'BoundedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 0]);
|
|
194
194
|
function $(capacity, delegate) {
|
|
195
195
|
delegate = delegate === VOID ? Companion_instance_1.createDelegate_n5r3h5_k$(capacity) : delegate;
|
|
196
196
|
this.delegate_1 = delegate;
|
package/package.json
CHANGED
|
@@ -2670,7 +2670,7 @@ function AbstractMutableCollection() {
|
|
|
2670
2670
|
let $ = function() {
|
|
2671
2671
|
AbstractCollection().call(this);
|
|
2672
2672
|
};
|
|
2673
|
-
initMetadataForClass($, "AbstractMutableCollection", VOID25, AbstractCollection(), [
|
|
2673
|
+
initMetadataForClass($, "AbstractMutableCollection", VOID25, AbstractCollection(), [MutableIterable(), Collection()]);
|
|
2674
2674
|
protoOf($).remove_cedx0m_k$ = function(element) {
|
|
2675
2675
|
this.checkIsMutable_jn1ih0_k$();
|
|
2676
2676
|
var iterator2 = this.iterator_jk1svi_k$();
|
|
@@ -6357,7 +6357,7 @@ function HashMapValues() {
|
|
|
6357
6357
|
AbstractMutableCollection().call(this);
|
|
6358
6358
|
this.backing_1 = backing;
|
|
6359
6359
|
};
|
|
6360
|
-
initMetadataForClass($, "HashMapValues", VOID55, AbstractMutableCollection(), [
|
|
6360
|
+
initMetadataForClass($, "HashMapValues", VOID55, AbstractMutableCollection(), [MutableIterable(), Collection()]);
|
|
6361
6361
|
protoOf($).get_size_woubt6_k$ = function() {
|
|
6362
6362
|
return this.backing_1.get_size_woubt6_k$();
|
|
6363
6363
|
};
|
|
@@ -7823,7 +7823,7 @@ function KtMutableSet() {
|
|
|
7823
7823
|
if (KtMutableSetClass === VOID63) {
|
|
7824
7824
|
let $ = function() {
|
|
7825
7825
|
};
|
|
7826
|
-
initMetadataForInterface($, "MutableSet", VOID63, VOID63, [KtSet(),
|
|
7826
|
+
initMetadataForInterface($, "MutableSet", VOID63, VOID63, [KtSet(), MutableIterable(), Collection()]);
|
|
7827
7827
|
KtMutableSetClass = $;
|
|
7828
7828
|
}
|
|
7829
7829
|
return KtMutableSetClass;
|
|
@@ -7856,7 +7856,7 @@ function KtMutableList() {
|
|
|
7856
7856
|
if (KtMutableListClass === VOID63) {
|
|
7857
7857
|
let $ = function() {
|
|
7858
7858
|
};
|
|
7859
|
-
initMetadataForInterface($, "MutableList", VOID63, VOID63, [KtList(),
|
|
7859
|
+
initMetadataForInterface($, "MutableList", VOID63, VOID63, [KtList(), MutableIterable(), Collection()]);
|
|
7860
7860
|
KtMutableListClass = $;
|
|
7861
7861
|
}
|
|
7862
7862
|
return KtMutableListClass;
|
|
@@ -2474,7 +2474,7 @@ function BufferedChannel() {
|
|
|
2474
2474
|
this._closeCause_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
|
|
2475
2475
|
this.closeHandler_1 = atomic$ref$1(null);
|
|
2476
2476
|
};
|
|
2477
|
-
initMetadataForClass($, "BufferedChannel", VOID, VOID, [
|
|
2477
|
+
initMetadataForClass($, "BufferedChannel", VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
|
|
2478
2478
|
protoOf($).get_sendersCounter_mvbt0m_k$ = function() {
|
|
2479
2479
|
return this.sendersAndCloseStatus_1.kotlinx$atomicfu$value & 1152921504606846975n;
|
|
2480
2480
|
};
|
|
@@ -4,7 +4,17 @@ import {
|
|
|
4
4
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
5
5
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException
|
|
6
6
|
} from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
7
|
+
import {
|
|
8
|
+
Companion_instancejy2056q2ma5w as Companion_instance,
|
|
9
|
+
_Result___init__impl__xyqfz832zdzqrocazzs as _Result___init__impl__xyqfz8,
|
|
10
|
+
createFailure8paxfkfa5dc7 as createFailure,
|
|
11
|
+
Result__exceptionOrNull_impl_p6xea93txwfmg154xda as Result__exceptionOrNull_impl_p6xea9,
|
|
12
|
+
_Result___get_value__impl__bjfvqg9vwgdwmhxc4m as _Result___get_value__impl__bjfvqg
|
|
13
|
+
} from "../kotlin-kotlin-stdlib/kotlin/Result.mjs";
|
|
7
14
|
import { Settings38wajzwlc2ybp as Settings } from "../MultiplatformSettings-multiplatform-settings-no-arg/com/russhwolf/settings/NoArg.mjs";
|
|
15
|
+
import { Default_getInstancee1f46otjvolq as Default_getInstance } from "../kotlin-kotlin-stdlib/kotlin/random/Random.mjs";
|
|
16
|
+
import { IllegalStateException_init_$Create$38ax6c90susjc as IllegalStateException_init_$Create$ } from "../kotlin-kotlin-stdlib/kotlin/exceptions.mjs";
|
|
17
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
8
18
|
import { MapSettings843lmfrlmls0 as MapSettings } from "../MultiplatformSettings-multiplatform-settings-test/com/russhwolf/settings/MapSettings.mjs";
|
|
9
19
|
import { protoOf180f3jzyo7rfj as protoOf } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
10
20
|
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
@@ -39,7 +49,35 @@ function Platform() {
|
|
|
39
49
|
if (isNode(this)) {
|
|
40
50
|
tmp = new (MapSettings())();
|
|
41
51
|
} else {
|
|
42
|
-
|
|
52
|
+
var tmp_0;
|
|
53
|
+
try {
|
|
54
|
+
var this_0 = Settings();
|
|
55
|
+
var key = "solibo-storage-probe-" + Default_getInstance().nextLong_njwv0v_k$().toString();
|
|
56
|
+
this_0.putString_q7x3bk_k$(key, key);
|
|
57
|
+
if (!(this_0.getStringOrNull_w9a5ex_k$(key) === key)) {
|
|
58
|
+
throw IllegalStateException_init_$Create$("Check failed.");
|
|
59
|
+
}
|
|
60
|
+
this_0.remove_6241ba_k$(key);
|
|
61
|
+
tmp_0 = _Result___init__impl__xyqfz8(this_0);
|
|
62
|
+
} catch ($p) {
|
|
63
|
+
var tmp_1;
|
|
64
|
+
if ($p instanceof Error) {
|
|
65
|
+
var e = $p;
|
|
66
|
+
tmp_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
67
|
+
} else {
|
|
68
|
+
throw $p;
|
|
69
|
+
}
|
|
70
|
+
tmp_0 = tmp_1;
|
|
71
|
+
}
|
|
72
|
+
var this_1 = tmp_0;
|
|
73
|
+
var exception = Result__exceptionOrNull_impl_p6xea9(this_1);
|
|
74
|
+
var tmp_2;
|
|
75
|
+
if (exception == null) {
|
|
76
|
+
tmp_2 = _Result___get_value__impl__bjfvqg(this_1);
|
|
77
|
+
} else {
|
|
78
|
+
tmp_2 = new (MapSettings())();
|
|
79
|
+
}
|
|
80
|
+
tmp = tmp_2;
|
|
43
81
|
}
|
|
44
82
|
return tmp;
|
|
45
83
|
};
|
|
@@ -49,7 +87,7 @@ function Platform() {
|
|
|
49
87
|
}
|
|
50
88
|
|
|
51
89
|
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/HomeApiBase.mjs
|
|
52
|
-
import { Unit_instance3kz1zqli6gr1r as
|
|
90
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance2 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
53
91
|
import {
|
|
54
92
|
THROW_IAE23kobfj9wdoxr as THROW_IAE,
|
|
55
93
|
THROW_CCE2g6jy02ryeudk as THROW_CCE2,
|
|
@@ -74,7 +112,7 @@ import { VOID3gxj6tk5isa35 as VOID2 } from "../kotlin-kotlin-stdlib/kotlin/js/vo
|
|
|
74
112
|
import {
|
|
75
113
|
Exceptiondt2hlxn7j7vw as Exception,
|
|
76
114
|
Exception_init_$Init$aq0gqtvnezdz as Exception_init_$Init$,
|
|
77
|
-
IllegalStateException_init_$Create$38ax6c90susjc as IllegalStateException_init_$Create
|
|
115
|
+
IllegalStateException_init_$Create$38ax6c90susjc as IllegalStateException_init_$Create$2,
|
|
78
116
|
Exception_init_$Create$1oj5if0wqsosr as Exception_init_$Create$,
|
|
79
117
|
IllegalArgumentException_init_$Create$1gox8sdqs91jy as IllegalArgumentException_init_$Create$,
|
|
80
118
|
Exception_init_$Init$2wjev6i7b48jh as Exception_init_$Init$_0
|
|
@@ -104,12 +142,12 @@ import {
|
|
|
104
142
|
bodyAsText193cd91fn5h1t as bodyAsText
|
|
105
143
|
} from "../ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs";
|
|
106
144
|
import {
|
|
107
|
-
Companion_instancejy2056q2ma5w as
|
|
108
|
-
_Result___init__impl__xyqfz832zdzqrocazzs as
|
|
109
|
-
createFailure8paxfkfa5dc7 as
|
|
110
|
-
_Result___get_value__impl__bjfvqg9vwgdwmhxc4m as
|
|
145
|
+
Companion_instancejy2056q2ma5w as Companion_instance2,
|
|
146
|
+
_Result___init__impl__xyqfz832zdzqrocazzs as _Result___init__impl__xyqfz82,
|
|
147
|
+
createFailure8paxfkfa5dc7 as createFailure2,
|
|
148
|
+
_Result___get_value__impl__bjfvqg9vwgdwmhxc4m as _Result___get_value__impl__bjfvqg2,
|
|
111
149
|
_Result___get_isSuccess__impl__sndoy8mo1btlyt1vs as _Result___get_isSuccess__impl__sndoy8,
|
|
112
|
-
Result__exceptionOrNull_impl_p6xea93txwfmg154xda as
|
|
150
|
+
Result__exceptionOrNull_impl_p6xea93txwfmg154xda as Result__exceptionOrNull_impl_p6xea92,
|
|
113
151
|
_Result___get_isFailure__impl__jpiriv2yxkms7bg2hpm as _Result___get_isFailure__impl__jpiriv,
|
|
114
152
|
Result3t1vadv16kmzk as Result,
|
|
115
153
|
throwOnFailure24snjmtlqgzo8 as throwOnFailure
|
|
@@ -196,7 +234,7 @@ import { isCacheIssue1gjd9j9vgkhdx as isCacheIssue } from "../solibo-sdk-sdk-cor
|
|
|
196
234
|
import { Companion_getInstanceu2wrlss616lb as Companion_getInstance_0 } from "../ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs";
|
|
197
235
|
import { Application_getInstance3vhi2qmce4cj0 as Application_getInstance } from "../ktor-ktor-http/io/ktor/http/ContentTypes.mjs";
|
|
198
236
|
import { TextContent1rb6ftlpvl1d2 as TextContent } from "../ktor-ktor-http/io/ktor/http/content/TextContent.mjs";
|
|
199
|
-
import { Default_getInstancevb13yk0g3h3e as
|
|
237
|
+
import { Default_getInstancevb13yk0g3h3e as Default_getInstance2 } from "../kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs";
|
|
200
238
|
import {
|
|
201
239
|
JsonElementf07o4p6p57al as JsonElement,
|
|
202
240
|
get_jsonObject2u4z2ch1uuca9 as get_jsonObject,
|
|
@@ -311,7 +349,7 @@ var signInSteps;
|
|
|
311
349
|
var static_init_called;
|
|
312
350
|
function static_init() {
|
|
313
351
|
if (static_init_called)
|
|
314
|
-
return
|
|
352
|
+
return Unit_instance2;
|
|
315
353
|
static_init_called = true;
|
|
316
354
|
AuthMode_TOKEN_instance = new (AuthMode())("TOKEN", 0);
|
|
317
355
|
AuthMode_COOKIE_instance = new (AuthMode())("COOKIE", 1);
|
|
@@ -583,7 +621,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda$lambda($request, $
|
|
|
583
621
|
$this$startSpan.setStringAttribute_3st4vt_k$("http.request.method", $request.method_1.value_1);
|
|
584
622
|
$this$startSpan.setStringAttribute_3st4vt_k$("url.template", $route);
|
|
585
623
|
$this$startSpan.setStringAttribute_3st4vt_k$("url.path", $path);
|
|
586
|
-
return
|
|
624
|
+
return Unit_instance2;
|
|
587
625
|
};
|
|
588
626
|
}
|
|
589
627
|
function _get_m2mClient__yfdrfi($this) {
|
|
@@ -632,17 +670,17 @@ function recordFailureOnSpan($this, response, cause) {
|
|
|
632
670
|
tmp_1 = null;
|
|
633
671
|
} else {
|
|
634
672
|
tmp0_safe_receiver_0.addEvent$default_42vaa8_k$("exception", VOID2, HomeApiBase$recordFailureOnSpan$lambda(cause));
|
|
635
|
-
tmp_1 =
|
|
673
|
+
tmp_1 = Unit_instance2;
|
|
636
674
|
}
|
|
637
675
|
tmp_0 = tmp_1;
|
|
638
676
|
}
|
|
639
677
|
var value = tmp_0;
|
|
640
|
-
tmp =
|
|
678
|
+
tmp = _Result___init__impl__xyqfz82(value);
|
|
641
679
|
} catch ($p) {
|
|
642
680
|
var tmp_2;
|
|
643
681
|
if ($p instanceof Error) {
|
|
644
682
|
var e = $p;
|
|
645
|
-
tmp_2 =
|
|
683
|
+
tmp_2 = _Result___init__impl__xyqfz82(createFailure2(e));
|
|
646
684
|
} else {
|
|
647
685
|
throw $p;
|
|
648
686
|
}
|
|
@@ -679,12 +717,12 @@ function invalidateBearerTokens($this, $receiver) {
|
|
|
679
717
|
closeFinally(tmp0, exception);
|
|
680
718
|
}
|
|
681
719
|
}
|
|
682
|
-
tmp =
|
|
720
|
+
tmp = _Result___init__impl__xyqfz82(Unit_instance2);
|
|
683
721
|
} catch ($p_0) {
|
|
684
722
|
var tmp_0;
|
|
685
723
|
if ($p_0 instanceof Error) {
|
|
686
724
|
var e_0 = $p_0;
|
|
687
|
-
tmp_0 =
|
|
725
|
+
tmp_0 = _Result___init__impl__xyqfz82(createFailure2(e_0));
|
|
688
726
|
} else {
|
|
689
727
|
throw $p_0;
|
|
690
728
|
}
|
|
@@ -693,16 +731,16 @@ function invalidateBearerTokens($this, $receiver) {
|
|
|
693
731
|
var this_0 = tmp;
|
|
694
732
|
var tmp_1;
|
|
695
733
|
if (_Result___get_isSuccess__impl__sndoy8(this_0)) {
|
|
696
|
-
|
|
697
|
-
tmp_1 =
|
|
734
|
+
_Result___get_value__impl__bjfvqg2(this_0);
|
|
735
|
+
tmp_1 = _Result___init__impl__xyqfz82(true);
|
|
698
736
|
} else {
|
|
699
|
-
tmp_1 =
|
|
737
|
+
tmp_1 = _Result___init__impl__xyqfz82(_Result___get_value__impl__bjfvqg2(this_0));
|
|
700
738
|
}
|
|
701
739
|
var this_1 = tmp_1;
|
|
702
|
-
var exception_0 =
|
|
740
|
+
var exception_0 = Result__exceptionOrNull_impl_p6xea92(this_1);
|
|
703
741
|
var tmp_2;
|
|
704
742
|
if (exception_0 == null) {
|
|
705
|
-
tmp_2 =
|
|
743
|
+
tmp_2 = _Result___get_value__impl__bjfvqg2(this_1);
|
|
706
744
|
} else {
|
|
707
745
|
tmp_2 = false;
|
|
708
746
|
}
|
|
@@ -714,19 +752,19 @@ function sanitizeBaseUrl($this, url) {
|
|
|
714
752
|
}
|
|
715
753
|
function renewCookieSessionAfter($this, generation, $completion) {
|
|
716
754
|
var tmp = new ($renewCookieSessionAfterCOROUTINE$())($this, generation, $completion);
|
|
717
|
-
tmp.result_1 =
|
|
755
|
+
tmp.result_1 = Unit_instance2;
|
|
718
756
|
tmp.exception_1 = null;
|
|
719
757
|
return tmp.doResume_5yljmg_k$();
|
|
720
758
|
}
|
|
721
759
|
function renewCookieSession($this, $completion) {
|
|
722
760
|
var tmp = new ($renewCookieSessionCOROUTINE$())($this, $completion);
|
|
723
|
-
tmp.result_1 =
|
|
761
|
+
tmp.result_1 = Unit_instance2;
|
|
724
762
|
tmp.exception_1 = null;
|
|
725
763
|
return tmp.doResume_5yljmg_k$();
|
|
726
764
|
}
|
|
727
765
|
function refreshSession($this, oldTokens, $completion) {
|
|
728
766
|
var tmp = new ($refreshSessionCOROUTINE$())($this, oldTokens, $completion);
|
|
729
|
-
tmp.result_1 =
|
|
767
|
+
tmp.result_1 = Unit_instance2;
|
|
730
768
|
tmp.exception_1 = null;
|
|
731
769
|
return tmp.doResume_5yljmg_k$();
|
|
732
770
|
}
|
|
@@ -742,7 +780,7 @@ function _get_sessionAuth__fjt4oj($this) {
|
|
|
742
780
|
return tmp0.get_value_j01efc_k$();
|
|
743
781
|
}
|
|
744
782
|
function HomeApiBase$_init_$lambda_wkbwpr(_this__u8e3s4) {
|
|
745
|
-
return
|
|
783
|
+
return Unit_instance2;
|
|
746
784
|
}
|
|
747
785
|
var HomeApiBase$_init_$slambda_lo2tswClass;
|
|
748
786
|
function HomeApiBase$_init_$slambda_lo2tsw() {
|
|
@@ -753,7 +791,7 @@ function HomeApiBase$_init_$slambda_lo2tsw() {
|
|
|
753
791
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [0]);
|
|
754
792
|
protoOf2($).invoke_h7udsx_k$ = function($completion) {
|
|
755
793
|
var tmp = this.create_d196fn_k$($completion);
|
|
756
|
-
tmp.result_1 =
|
|
794
|
+
tmp.result_1 = Unit_instance2;
|
|
757
795
|
tmp.exception_1 = null;
|
|
758
796
|
return tmp.doResume_5yljmg_k$();
|
|
759
797
|
};
|
|
@@ -767,7 +805,7 @@ function HomeApiBase$_init_$slambda_lo2tsw() {
|
|
|
767
805
|
var tmp = this.state_1;
|
|
768
806
|
if (tmp === 0) {
|
|
769
807
|
this.exceptionState_1 = 1;
|
|
770
|
-
return
|
|
808
|
+
return Unit_instance2;
|
|
771
809
|
} else if (tmp === 1) {
|
|
772
810
|
throw this.exception_1;
|
|
773
811
|
}
|
|
@@ -793,20 +831,20 @@ function HomeApiBase$_init_$slambda_lo2tsw_0(resultContinuation) {
|
|
|
793
831
|
function HomeApiBase$m2mClient$delegate$lambda$lambda($this$HttpClient) {
|
|
794
832
|
var tmp = get_ContentNegotiation();
|
|
795
833
|
$this$HttpClient.install_6m4asv_k$(tmp, HomeApiBase$m2mClient$delegate$lambda$lambda$lambda);
|
|
796
|
-
return
|
|
834
|
+
return Unit_instance2;
|
|
797
835
|
}
|
|
798
836
|
function HomeApiBase$m2mClient$delegate$lambda$lambda$lambda($this$install) {
|
|
799
837
|
streamingJson($this$install, get_sdkJson());
|
|
800
|
-
return
|
|
838
|
+
return Unit_instance2;
|
|
801
839
|
}
|
|
802
840
|
function HomeApiBase$m2mClient$delegate$lambda$lambda_0($this$HttpClient) {
|
|
803
841
|
var tmp = get_ContentNegotiation();
|
|
804
842
|
$this$HttpClient.install_6m4asv_k$(tmp, HomeApiBase$m2mClient$delegate$lambda$lambda$lambda_0);
|
|
805
|
-
return
|
|
843
|
+
return Unit_instance2;
|
|
806
844
|
}
|
|
807
845
|
function HomeApiBase$m2mClient$delegate$lambda$lambda$lambda_0($this$install) {
|
|
808
846
|
streamingJson($this$install, get_sdkJson());
|
|
809
|
-
return
|
|
847
|
+
return Unit_instance2;
|
|
810
848
|
}
|
|
811
849
|
function HomeApiBase$m2mClient$delegate$lambda(this$0) {
|
|
812
850
|
return function() {
|
|
@@ -829,7 +867,7 @@ function HomeApiBase$authM2M$delegate$lambda(this$0) {
|
|
|
829
867
|
var tmp0_elvis_lhs = this$0.baseUrl_1;
|
|
830
868
|
var tmp;
|
|
831
869
|
if (tmp0_elvis_lhs == null) {
|
|
832
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
870
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
833
871
|
} else {
|
|
834
872
|
tmp = tmp0_elvis_lhs;
|
|
835
873
|
}
|
|
@@ -843,25 +881,25 @@ function HomeApiBase$_get_authM2M_$ref_69s5d4() {
|
|
|
843
881
|
}
|
|
844
882
|
function HomeApiBase$clientConfigurator$lambda$lambda($this$install) {
|
|
845
883
|
streamingJson($this$install, get_sdkJson());
|
|
846
|
-
return
|
|
884
|
+
return Unit_instance2;
|
|
847
885
|
}
|
|
848
886
|
function HomeApiBase$clientConfigurator$lambda$lambda_0(this$0) {
|
|
849
887
|
return function($this$install) {
|
|
850
888
|
$this$install.publicStorage_gtmqh9_k$(this$0.publicCacheStorage_1);
|
|
851
889
|
$this$install.privateStorage_dcznfd_k$(this$0.privateCacheStorage_1);
|
|
852
|
-
return
|
|
890
|
+
return Unit_instance2;
|
|
853
891
|
};
|
|
854
892
|
}
|
|
855
893
|
function HomeApiBase$clientConfigurator$lambda$lambda_1($this$install) {
|
|
856
894
|
$this$install.gzip$default_2n8zsi_k$();
|
|
857
895
|
$this$install.deflate$default_llu6kj_k$();
|
|
858
896
|
$this$install.identity$default_3sck2e_k$();
|
|
859
|
-
return
|
|
897
|
+
return Unit_instance2;
|
|
860
898
|
}
|
|
861
899
|
function HomeApiBase$clientConfigurator$lambda$lambda_2($this$createClientPlugin) {
|
|
862
900
|
var tmp = Send_instance;
|
|
863
901
|
$this$createClientPlugin.on_z1oiz_k$(tmp, HomeApiBase$clientConfigurator$lambda$lambda$slambda_0(null));
|
|
864
|
-
return
|
|
902
|
+
return Unit_instance2;
|
|
865
903
|
}
|
|
866
904
|
var HomeApiBase$clientConfigurator$lambda$lambda$slambdaClass;
|
|
867
905
|
function HomeApiBase$clientConfigurator$lambda$lambda$slambda() {
|
|
@@ -872,7 +910,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda() {
|
|
|
872
910
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [2]);
|
|
873
911
|
protoOf2($).invoke_nc6r0k_k$ = function($this$on, request, $completion) {
|
|
874
912
|
var tmp = this.create_v0j3o4_k$($this$on, request, $completion);
|
|
875
|
-
tmp.result_1 =
|
|
913
|
+
tmp.result_1 = Unit_instance2;
|
|
876
914
|
tmp.exception_1 = null;
|
|
877
915
|
return tmp.doResume_5yljmg_k$();
|
|
878
916
|
};
|
|
@@ -1069,9 +1107,9 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda_0(this$0) {
|
|
|
1069
1107
|
this$0.privateCacheStorage_1.markInvalid_4ptkpz_k$(url);
|
|
1070
1108
|
request.headers_1.remove_6241ba_k$("If-None-Match");
|
|
1071
1109
|
request.headers_1.remove_6241ba_k$("If-Modified-Since");
|
|
1072
|
-
tmp_3 =
|
|
1110
|
+
tmp_3 = Unit_instance2;
|
|
1073
1111
|
}
|
|
1074
|
-
return
|
|
1112
|
+
return Unit_instance2;
|
|
1075
1113
|
};
|
|
1076
1114
|
}
|
|
1077
1115
|
function HomeApiBase$clientConfigurator$lambda$lambda$lambda_1($this$retryIf, request, response) {
|
|
@@ -1097,13 +1135,13 @@ function HomeApiBase$clientConfigurator$lambda$lambda_3(this$0) {
|
|
|
1097
1135
|
$this$install.modifyRequest_6qlpaw_k$(HomeApiBase$clientConfigurator$lambda$lambda$lambda_0(this$0));
|
|
1098
1136
|
$this$install.retryIf_sig7v0_k$(5, HomeApiBase$clientConfigurator$lambda$lambda$lambda_1);
|
|
1099
1137
|
$this$install.exponentialDelay$default_gkwfsg_k$();
|
|
1100
|
-
return
|
|
1138
|
+
return Unit_instance2;
|
|
1101
1139
|
};
|
|
1102
1140
|
}
|
|
1103
1141
|
function HomeApiBase$clientConfigurator$lambda$lambda_4($this$createClientPlugin) {
|
|
1104
1142
|
var tmp = Send_instance;
|
|
1105
1143
|
$this$createClientPlugin.on_z1oiz_k$(tmp, HomeApiBase$clientConfigurator$lambda$lambda$slambda_2(null));
|
|
1106
|
-
return
|
|
1144
|
+
return Unit_instance2;
|
|
1107
1145
|
}
|
|
1108
1146
|
var HomeApiBase$clientConfigurator$lambda$lambda$slambdaClass_0;
|
|
1109
1147
|
function HomeApiBase$clientConfigurator$lambda$lambda$slambda_1() {
|
|
@@ -1114,7 +1152,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_1() {
|
|
|
1114
1152
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [2]);
|
|
1115
1153
|
protoOf2($).invoke_nc6r0k_k$ = function($this$on, attempt, $completion) {
|
|
1116
1154
|
var tmp = this.create_v0j3o4_k$($this$on, attempt, $completion);
|
|
1117
|
-
tmp.result_1 =
|
|
1155
|
+
tmp.result_1 = Unit_instance2;
|
|
1118
1156
|
tmp.exception_1 = null;
|
|
1119
1157
|
return tmp.doResume_5yljmg_k$();
|
|
1120
1158
|
};
|
|
@@ -1190,12 +1228,12 @@ function HomeApiBase$clientConfigurator$lambda$lambda_5($this$install) {
|
|
|
1190
1228
|
$this$install.set_requestTimeoutMillis_9cb75s_k$(500000n);
|
|
1191
1229
|
$this$install.set_connectTimeoutMillis_48d5dx_k$(5000n);
|
|
1192
1230
|
$this$install.set_socketTimeoutMillis_faj43m_k$(500000n);
|
|
1193
|
-
return
|
|
1231
|
+
return Unit_instance2;
|
|
1194
1232
|
}
|
|
1195
1233
|
function HomeApiBase$clientConfigurator$lambda$lambda_6($this$createClientPlugin) {
|
|
1196
1234
|
var tmp = Send_instance;
|
|
1197
1235
|
$this$createClientPlugin.on_z1oiz_k$(tmp, HomeApiBase$clientConfigurator$lambda$lambda$slambda_4(null));
|
|
1198
|
-
return
|
|
1236
|
+
return Unit_instance2;
|
|
1199
1237
|
}
|
|
1200
1238
|
var HomeApiBase$clientConfigurator$lambda$lambda$slambdaClass_1;
|
|
1201
1239
|
function HomeApiBase$clientConfigurator$lambda$lambda$slambda_3() {
|
|
@@ -1206,7 +1244,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_3() {
|
|
|
1206
1244
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [2]);
|
|
1207
1245
|
protoOf2($).invoke_nc6r0k_k$ = function($this$on, request, $completion) {
|
|
1208
1246
|
var tmp = this.create_v0j3o4_k$($this$on, request, $completion);
|
|
1209
|
-
tmp.result_1 =
|
|
1247
|
+
tmp.result_1 = Unit_instance2;
|
|
1210
1248
|
tmp.exception_1 = null;
|
|
1211
1249
|
return tmp.doResume_5yljmg_k$();
|
|
1212
1250
|
};
|
|
@@ -1230,11 +1268,11 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_3() {
|
|
|
1230
1268
|
tmp_0 = false;
|
|
1231
1269
|
}
|
|
1232
1270
|
if (tmp_0) {
|
|
1233
|
-
var jsonElement =
|
|
1271
|
+
var jsonElement = Default_getInstance2().parseToJsonElement_rqvr2k_k$(body.text_1);
|
|
1234
1272
|
var cleaned = removeEmptyStringsAndNulls(jsonElement);
|
|
1235
1273
|
if (!equals(cleaned, jsonElement)) {
|
|
1236
1274
|
var tmp0 = this.request_1;
|
|
1237
|
-
var this_0 =
|
|
1275
|
+
var this_0 = Default_getInstance2();
|
|
1238
1276
|
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
1239
1277
|
var this_2 = serializer(this_1, createKType(getKClass(JsonElement()), arrayOf([]), false));
|
|
1240
1278
|
var body_0 = new (TextContent())(this_0.encodeToString_k0apqx_k$(isInterface(this_2, KSerializer()) ? this_2 : THROW_CCE2(), cleaned), body.contentType_1);
|
|
@@ -1323,7 +1361,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_4(resultContinuati
|
|
|
1323
1361
|
function HomeApiBase$clientConfigurator$lambda$lambda_7($this$install) {
|
|
1324
1362
|
$this$install.level_1 = LogLevel_NONE_getInstance();
|
|
1325
1363
|
$this$install.sanitizeHeader$default_8x7pzj_k$(VOID2, HomeApiBase$clientConfigurator$lambda$lambda$lambda_2);
|
|
1326
|
-
return
|
|
1364
|
+
return Unit_instance2;
|
|
1327
1365
|
}
|
|
1328
1366
|
function HomeApiBase$clientConfigurator$lambda$lambda$lambda_2(header2) {
|
|
1329
1367
|
return header2 === "Authorization";
|
|
@@ -1339,7 +1377,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_5() {
|
|
|
1339
1377
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [1]);
|
|
1340
1378
|
protoOf2($).invoke_g2i713_k$ = function(response, $completion) {
|
|
1341
1379
|
var tmp = this.create_e75tx1_k$(response, $completion);
|
|
1342
|
-
tmp.result_1 =
|
|
1380
|
+
tmp.result_1 = Unit_instance2;
|
|
1343
1381
|
tmp.exception_1 = null;
|
|
1344
1382
|
return tmp.doResume_5yljmg_k$();
|
|
1345
1383
|
};
|
|
@@ -1371,22 +1409,22 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_5() {
|
|
|
1371
1409
|
this.$this_HttpResponseValidator_1;
|
|
1372
1410
|
var tmp_0;
|
|
1373
1411
|
try {
|
|
1374
|
-
var tmp0_safe_receiver = get_jsonObject(
|
|
1412
|
+
var tmp0_safe_receiver = get_jsonObject(Default_getInstance2().parseToJsonElement_rqvr2k_k$(body)).get_6bo4tg_k$("url");
|
|
1375
1413
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1376
1414
|
var value = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.get_content_h02jrk_k$();
|
|
1377
|
-
tmp_0 =
|
|
1415
|
+
tmp_0 = _Result___init__impl__xyqfz82(value);
|
|
1378
1416
|
} catch ($p) {
|
|
1379
1417
|
var tmp_1;
|
|
1380
1418
|
if ($p instanceof Error) {
|
|
1381
1419
|
var e = $p;
|
|
1382
|
-
tmp_1 =
|
|
1420
|
+
tmp_1 = _Result___init__impl__xyqfz82(createFailure2(e));
|
|
1383
1421
|
} else {
|
|
1384
1422
|
throw $p;
|
|
1385
1423
|
}
|
|
1386
1424
|
tmp_0 = tmp_1;
|
|
1387
1425
|
}
|
|
1388
1426
|
var this_0 = tmp_0;
|
|
1389
|
-
var tmp0_elvis_lhs = _Result___get_isFailure__impl__jpiriv(this_0) ? null :
|
|
1427
|
+
var tmp0_elvis_lhs = _Result___get_isFailure__impl__jpiriv(this_0) ? null : _Result___get_value__impl__bjfvqg2(this_0);
|
|
1390
1428
|
var redirectUrl = tmp0_elvis_lhs == null ? this.response_1.get_headers_ef25jx_k$().get_6bo4tg_k$("Location") : tmp0_elvis_lhs;
|
|
1391
1429
|
if (!(redirectUrl == null || charSequenceLength(redirectUrl) === 0)) {
|
|
1392
1430
|
throw new (RedirectException())(redirectUrl);
|
|
@@ -1448,7 +1486,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_5() {
|
|
|
1448
1486
|
this.state_1 = 6;
|
|
1449
1487
|
continue $sm;
|
|
1450
1488
|
case 6:
|
|
1451
|
-
return
|
|
1489
|
+
return Unit_instance2;
|
|
1452
1490
|
case 7:
|
|
1453
1491
|
throw this.exception_1;
|
|
1454
1492
|
}
|
|
@@ -1481,7 +1519,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_6($this_HttpRespon
|
|
|
1481
1519
|
function HomeApiBase$clientConfigurator$lambda$lambda_8(this$0) {
|
|
1482
1520
|
return function($this$HttpResponseValidator) {
|
|
1483
1521
|
$this$HttpResponseValidator.validateResponse_cfyktb_k$(HomeApiBase$clientConfigurator$lambda$lambda$slambda_6($this$HttpResponseValidator, this$0, null));
|
|
1484
|
-
return
|
|
1522
|
+
return Unit_instance2;
|
|
1485
1523
|
};
|
|
1486
1524
|
}
|
|
1487
1525
|
var HomeApiBase$clientConfigurator$lambda$lambda$slambdaClass_3;
|
|
@@ -1494,7 +1532,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_7() {
|
|
|
1494
1532
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [2]);
|
|
1495
1533
|
protoOf2($).invoke_nc6r0k_k$ = function($this$on, request, $completion) {
|
|
1496
1534
|
var tmp = this.create_v0j3o4_k$($this$on, request, $completion);
|
|
1497
|
-
tmp.result_1 =
|
|
1535
|
+
tmp.result_1 = Unit_instance2;
|
|
1498
1536
|
tmp.exception_1 = null;
|
|
1499
1537
|
return tmp.doResume_5yljmg_k$();
|
|
1500
1538
|
};
|
|
@@ -1571,7 +1609,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda_9(this$0) {
|
|
|
1571
1609
|
return function($this$createClientPlugin) {
|
|
1572
1610
|
var tmp = Send_instance;
|
|
1573
1611
|
$this$createClientPlugin.on_z1oiz_k$(tmp, HomeApiBase$clientConfigurator$lambda$lambda$slambda_8(this$0, null));
|
|
1574
|
-
return
|
|
1612
|
+
return Unit_instance2;
|
|
1575
1613
|
};
|
|
1576
1614
|
}
|
|
1577
1615
|
var HomeApiBase$clientConfigurator$lambda$lambda$slambdaClass_4;
|
|
@@ -1584,7 +1622,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_9() {
|
|
|
1584
1622
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [2]);
|
|
1585
1623
|
protoOf2($).invoke_nc6r0k_k$ = function($this$on, request, $completion) {
|
|
1586
1624
|
var tmp = this.create_v0j3o4_k$($this$on, request, $completion);
|
|
1587
|
-
tmp.result_1 =
|
|
1625
|
+
tmp.result_1 = Unit_instance2;
|
|
1588
1626
|
tmp.exception_1 = null;
|
|
1589
1627
|
return tmp.doResume_5yljmg_k$();
|
|
1590
1628
|
};
|
|
@@ -1676,7 +1714,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda_10(this$0) {
|
|
|
1676
1714
|
return function($this$createClientPlugin) {
|
|
1677
1715
|
var tmp = Send_instance;
|
|
1678
1716
|
$this$createClientPlugin.on_z1oiz_k$(tmp, HomeApiBase$clientConfigurator$lambda$lambda$slambda_10(this$0, null));
|
|
1679
|
-
return
|
|
1717
|
+
return Unit_instance2;
|
|
1680
1718
|
};
|
|
1681
1719
|
}
|
|
1682
1720
|
var HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambdaClass;
|
|
@@ -1689,7 +1727,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambda() {
|
|
|
1689
1727
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [0]);
|
|
1690
1728
|
protoOf2($).invoke_llb9nu_k$ = function($completion) {
|
|
1691
1729
|
var tmp = this.create_d196fn_k$($completion);
|
|
1692
|
-
tmp.result_1 =
|
|
1730
|
+
tmp.result_1 = Unit_instance2;
|
|
1693
1731
|
tmp.exception_1 = null;
|
|
1694
1732
|
return tmp.doResume_5yljmg_k$();
|
|
1695
1733
|
};
|
|
@@ -1740,7 +1778,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambda_1() {
|
|
|
1740
1778
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [1]);
|
|
1741
1779
|
protoOf2($).invoke_5ffmyk_k$ = function($this$refreshTokens, $completion) {
|
|
1742
1780
|
var tmp = this.create_ig4e4p_k$($this$refreshTokens, $completion);
|
|
1743
|
-
tmp.result_1 =
|
|
1781
|
+
tmp.result_1 = Unit_instance2;
|
|
1744
1782
|
tmp.exception_1 = null;
|
|
1745
1783
|
return tmp.doResume_5yljmg_k$();
|
|
1746
1784
|
};
|
|
@@ -1810,13 +1848,13 @@ function HomeApiBase$clientConfigurator$lambda$lambda$lambda_3(this$0) {
|
|
|
1810
1848
|
return function($this$bearer) {
|
|
1811
1849
|
$this$bearer.loadTokens_z0xglj_k$(HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambda_0(this$0, null));
|
|
1812
1850
|
$this$bearer.refreshTokens_l9342v_k$(HomeApiBase$clientConfigurator$lambda$lambda$lambda$slambda_2(this$0, null));
|
|
1813
|
-
return
|
|
1851
|
+
return Unit_instance2;
|
|
1814
1852
|
};
|
|
1815
1853
|
}
|
|
1816
1854
|
function HomeApiBase$clientConfigurator$lambda$lambda_11(this$0) {
|
|
1817
1855
|
return function($this$install) {
|
|
1818
1856
|
bearer($this$install, HomeApiBase$clientConfigurator$lambda$lambda$lambda_3(this$0));
|
|
1819
|
-
return
|
|
1857
|
+
return Unit_instance2;
|
|
1820
1858
|
};
|
|
1821
1859
|
}
|
|
1822
1860
|
var HomeApiBase$clientConfigurator$lambda$lambda$slambdaClass_5;
|
|
@@ -1829,7 +1867,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda$slambda_11() {
|
|
|
1829
1867
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [2]);
|
|
1830
1868
|
protoOf2($).invoke_nc6r0k_k$ = function($this$on, request, $completion) {
|
|
1831
1869
|
var tmp = this.create_v0j3o4_k$($this$on, request, $completion);
|
|
1832
|
-
tmp.result_1 =
|
|
1870
|
+
tmp.result_1 = Unit_instance2;
|
|
1833
1871
|
tmp.exception_1 = null;
|
|
1834
1872
|
return tmp.doResume_5yljmg_k$();
|
|
1835
1873
|
};
|
|
@@ -1921,7 +1959,7 @@ function HomeApiBase$clientConfigurator$lambda$lambda_12(this$0) {
|
|
|
1921
1959
|
return function($this$createClientPlugin) {
|
|
1922
1960
|
var tmp = Send_instance;
|
|
1923
1961
|
$this$createClientPlugin.on_z1oiz_k$(tmp, HomeApiBase$clientConfigurator$lambda$lambda$slambda_12(this$0, null));
|
|
1924
|
-
return
|
|
1962
|
+
return Unit_instance2;
|
|
1925
1963
|
};
|
|
1926
1964
|
}
|
|
1927
1965
|
function HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, $platformName) {
|
|
@@ -1931,9 +1969,9 @@ function HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, $platformName)
|
|
|
1931
1969
|
}
|
|
1932
1970
|
accept($this$defaultRequest, Application_getInstance().Json_1);
|
|
1933
1971
|
header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
|
|
1934
|
-
header($this$defaultRequest, "User-Agent", "SoliboSDK/1.
|
|
1935
|
-
header($this$defaultRequest, "X-Solibo-SDK-Version", "1.
|
|
1936
|
-
return
|
|
1972
|
+
header($this$defaultRequest, "User-Agent", "SoliboSDK/1.46.0 (" + $platformName + ")");
|
|
1973
|
+
header($this$defaultRequest, "X-Solibo-SDK-Version", "1.46.0");
|
|
1974
|
+
return Unit_instance2;
|
|
1937
1975
|
};
|
|
1938
1976
|
}
|
|
1939
1977
|
function HomeApiBase$clientConfigurator$lambda(this$0) {
|
|
@@ -1961,22 +1999,22 @@ function HomeApiBase$clientConfigurator$lambda(this$0) {
|
|
|
1961
1999
|
case 0:
|
|
1962
2000
|
var tmp_6 = get_Auth();
|
|
1963
2001
|
_this__u8e3s4.install_6m4asv_k$(tmp_6, HomeApiBase$clientConfigurator$lambda$lambda_11(this$0));
|
|
1964
|
-
tmp_5 =
|
|
2002
|
+
tmp_5 = Unit_instance2;
|
|
1965
2003
|
break;
|
|
1966
2004
|
case 2:
|
|
1967
|
-
tmp_5 =
|
|
2005
|
+
tmp_5 = Unit_instance2;
|
|
1968
2006
|
break;
|
|
1969
2007
|
default:
|
|
1970
2008
|
_this__u8e3s4.install$default_lc5jjj_k$(Companion_getInstance_2());
|
|
1971
2009
|
_this__u8e3s4.install$default_lc5jjj_k$(createClientPlugin("CookieSessionRefresh", HomeApiBase$clientConfigurator$lambda$lambda_12(this$0)));
|
|
1972
|
-
tmp_5 =
|
|
2010
|
+
tmp_5 = Unit_instance2;
|
|
1973
2011
|
break;
|
|
1974
2012
|
}
|
|
1975
2013
|
var platformName = new (Platform())().name_1;
|
|
1976
2014
|
defaultRequest(_this__u8e3s4, HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, platformName));
|
|
1977
2015
|
applyPlatformSpecificHttpClientConfig(_this__u8e3s4);
|
|
1978
2016
|
this$0.configurator_1(_this__u8e3s4);
|
|
1979
|
-
return
|
|
2017
|
+
return Unit_instance2;
|
|
1980
2018
|
};
|
|
1981
2019
|
}
|
|
1982
2020
|
function HomeApiBase$recordFailureOnSpan$lambda($it) {
|
|
@@ -1989,7 +2027,7 @@ function HomeApiBase$recordFailureOnSpan$lambda($it) {
|
|
|
1989
2027
|
else {
|
|
1990
2028
|
$this$addEvent.setStringAttribute_3st4vt_k$("exception.message", tmp1_safe_receiver);
|
|
1991
2029
|
}
|
|
1992
|
-
return
|
|
2030
|
+
return Unit_instance2;
|
|
1993
2031
|
};
|
|
1994
2032
|
}
|
|
1995
2033
|
function HomeApiBase$auth$delegate$lambda(this$0) {
|
|
@@ -1997,7 +2035,7 @@ function HomeApiBase$auth$delegate$lambda(this$0) {
|
|
|
1997
2035
|
var tmp0_elvis_lhs = this$0.baseUrl_1;
|
|
1998
2036
|
var tmp;
|
|
1999
2037
|
if (tmp0_elvis_lhs == null) {
|
|
2000
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
2038
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
2001
2039
|
} else {
|
|
2002
2040
|
tmp = tmp0_elvis_lhs;
|
|
2003
2041
|
}
|
|
@@ -2014,7 +2052,7 @@ function HomeApiBase$sessionAuth$delegate$lambda(this$0) {
|
|
|
2014
2052
|
var tmp0_elvis_lhs = this$0.baseUrl_1;
|
|
2015
2053
|
var tmp;
|
|
2016
2054
|
if (tmp0_elvis_lhs == null) {
|
|
2017
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
2055
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
2018
2056
|
} else {
|
|
2019
2057
|
tmp = tmp0_elvis_lhs;
|
|
2020
2058
|
}
|
|
@@ -2031,7 +2069,7 @@ function HomeApiBase$language$delegate$lambda(this$0) {
|
|
|
2031
2069
|
var tmp0_elvis_lhs = this$0.baseUrl_1;
|
|
2032
2070
|
var tmp;
|
|
2033
2071
|
if (tmp0_elvis_lhs == null) {
|
|
2034
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
2072
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
2035
2073
|
} else {
|
|
2036
2074
|
tmp = tmp0_elvis_lhs;
|
|
2037
2075
|
}
|
|
@@ -2048,7 +2086,7 @@ function HomeApiBase$devices$delegate$lambda(this$0) {
|
|
|
2048
2086
|
var tmp0_elvis_lhs = this$0.baseUrl_1;
|
|
2049
2087
|
var tmp;
|
|
2050
2088
|
if (tmp0_elvis_lhs == null) {
|
|
2051
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
2089
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
2052
2090
|
} else {
|
|
2053
2091
|
tmp = tmp0_elvis_lhs;
|
|
2054
2092
|
}
|
|
@@ -2070,7 +2108,7 @@ function HomeApiBase$eventBusConnection$slambda() {
|
|
|
2070
2108
|
initMetadataForLambda($, CoroutineImpl(), VOID2, [0]);
|
|
2071
2109
|
protoOf2($).invoke_se6999_k$ = function($completion) {
|
|
2072
2110
|
var tmp = this.create_d196fn_k$($completion);
|
|
2073
|
-
tmp.result_1 =
|
|
2111
|
+
tmp.result_1 = Unit_instance2;
|
|
2074
2112
|
tmp.exception_1 = null;
|
|
2075
2113
|
return tmp.doResume_5yljmg_k$();
|
|
2076
2114
|
};
|
|
@@ -2133,7 +2171,7 @@ function HomeApiBase$appStores$delegate$lambda(this$0) {
|
|
|
2133
2171
|
var tmp0_elvis_lhs = this$0.baseUrl_1;
|
|
2134
2172
|
var tmp;
|
|
2135
2173
|
if (tmp0_elvis_lhs == null) {
|
|
2136
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
2174
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
2137
2175
|
} else {
|
|
2138
2176
|
tmp = tmp0_elvis_lhs;
|
|
2139
2177
|
}
|
|
@@ -2150,7 +2188,7 @@ function HomeApiBase$unsubscribe$delegate$lambda(this$0) {
|
|
|
2150
2188
|
var tmp0_elvis_lhs = this$0.baseUrl_1;
|
|
2151
2189
|
var tmp;
|
|
2152
2190
|
if (tmp0_elvis_lhs == null) {
|
|
2153
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
2191
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
2154
2192
|
} else {
|
|
2155
2193
|
tmp = tmp0_elvis_lhs;
|
|
2156
2194
|
}
|
|
@@ -2369,12 +2407,12 @@ function $renewCookieSessionAfterCOROUTINE$() {
|
|
|
2369
2407
|
}
|
|
2370
2408
|
continue $sm;
|
|
2371
2409
|
case 1:
|
|
2372
|
-
this.tmp$ret$22__1 =
|
|
2410
|
+
this.tmp$ret$22__1 = Unit_instance2;
|
|
2373
2411
|
this.state_1 = 2;
|
|
2374
2412
|
continue $sm;
|
|
2375
2413
|
case 2:
|
|
2376
2414
|
this.exceptionState_1 = 10;
|
|
2377
|
-
this.tmp$ret$03__1 =
|
|
2415
|
+
this.tmp$ret$03__1 = Unit_instance2;
|
|
2378
2416
|
this.state_1 = 3;
|
|
2379
2417
|
continue $sm;
|
|
2380
2418
|
case 3:
|
|
@@ -2482,7 +2520,7 @@ function $renewCookieSessionCOROUTINE$() {
|
|
|
2482
2520
|
var tmp0_elvis_lhs = this._this__u8e3s4__1.clientId;
|
|
2483
2521
|
var tmp_1;
|
|
2484
2522
|
if (tmp0_elvis_lhs == null) {
|
|
2485
|
-
throw IllegalStateException_init_$Create$("No ClientId set!");
|
|
2523
|
+
throw IllegalStateException_init_$Create$2("No ClientId set!");
|
|
2486
2524
|
} else {
|
|
2487
2525
|
tmp_1 = tmp0_elvis_lhs;
|
|
2488
2526
|
}
|
|
@@ -2568,7 +2606,7 @@ function $renewCookieSessionCOROUTINE$() {
|
|
|
2568
2606
|
this.state_1 = 8;
|
|
2569
2607
|
continue $sm;
|
|
2570
2608
|
case 8:
|
|
2571
|
-
return
|
|
2609
|
+
return Unit_instance2;
|
|
2572
2610
|
case 9:
|
|
2573
2611
|
throw this.exception_1;
|
|
2574
2612
|
}
|
|
@@ -2613,12 +2651,12 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2613
2651
|
}
|
|
2614
2652
|
continue $sm;
|
|
2615
2653
|
case 1:
|
|
2616
|
-
this.tmp$ret$22__1 =
|
|
2654
|
+
this.tmp$ret$22__1 = Unit_instance2;
|
|
2617
2655
|
this.state_1 = 2;
|
|
2618
2656
|
continue $sm;
|
|
2619
2657
|
case 2:
|
|
2620
2658
|
this.exceptionState_1 = 25;
|
|
2621
|
-
this.tmp$ret$03__1 =
|
|
2659
|
+
this.tmp$ret$03__1 = Unit_instance2;
|
|
2622
2660
|
this.state_1 = 3;
|
|
2623
2661
|
continue $sm;
|
|
2624
2662
|
case 3:
|
|
@@ -2723,7 +2761,7 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2723
2761
|
} else {
|
|
2724
2762
|
var this_3 = this._this__u8e3s4__1;
|
|
2725
2763
|
this.exceptionState_1 = 16;
|
|
2726
|
-
this.tmp07__1 =
|
|
2764
|
+
this.tmp07__1 = Companion_instance2;
|
|
2727
2765
|
this.$this$runCatching11__1 = this_3;
|
|
2728
2766
|
var deviceKey = this.$this$runCatching11__1.device_1.key(ensureNotNull(this.$this$runCatching11__1.userId));
|
|
2729
2767
|
var this_4 = logging();
|
|
@@ -2817,7 +2855,7 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2817
2855
|
var tmp2 = this.WHEN_RESULT8__1;
|
|
2818
2856
|
var tmp_16 = this;
|
|
2819
2857
|
this.tmp07__1;
|
|
2820
|
-
tmp_16.TRY_RESULT6__1 =
|
|
2858
|
+
tmp_16.TRY_RESULT6__1 = _Result___init__impl__xyqfz82(tmp2);
|
|
2821
2859
|
this.exceptionState_1 = 25;
|
|
2822
2860
|
this.state_1 = 17;
|
|
2823
2861
|
continue $sm;
|
|
@@ -2827,7 +2865,7 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2827
2865
|
if (tmp_17 instanceof Error) {
|
|
2828
2866
|
var e = this.exception_1;
|
|
2829
2867
|
var tmp_18 = this;
|
|
2830
|
-
tmp_18.TRY_RESULT6__1 =
|
|
2868
|
+
tmp_18.TRY_RESULT6__1 = _Result___init__impl__xyqfz82(createFailure2(e));
|
|
2831
2869
|
this.state_1 = 17;
|
|
2832
2870
|
continue $sm;
|
|
2833
2871
|
} else {
|
|
@@ -2842,7 +2880,7 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2842
2880
|
var tmp_20;
|
|
2843
2881
|
try {
|
|
2844
2882
|
var $this$runCatching = this_6.value_1;
|
|
2845
|
-
var authResult =
|
|
2883
|
+
var authResult = _Result___get_value__impl__bjfvqg2($this$runCatching);
|
|
2846
2884
|
var tmp0_elvis_lhs_1 = authResult.tokens;
|
|
2847
2885
|
var tmp_21;
|
|
2848
2886
|
if (tmp0_elvis_lhs_1 == null) {
|
|
@@ -2856,7 +2894,7 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2856
2894
|
builder.put_mrde5n_k$("identity", JsonPrimitive(tokens.identity));
|
|
2857
2895
|
builder.put_mrde5n_k$("data", JsonPrimitive(tokens.data));
|
|
2858
2896
|
var jsonObject = builder.build_bkh6qh_k$();
|
|
2859
|
-
var this_7 =
|
|
2897
|
+
var this_7 = Default_getInstance2();
|
|
2860
2898
|
var this_8 = this_7.get_serializersModule_piitvg_k$();
|
|
2861
2899
|
var this_9 = serializer(this_8, createKType(getKClass(JsonObject()), arrayOf([]), false));
|
|
2862
2900
|
var jsonString = this_7.encodeToString_k0apqx_k$(isInterface(this_9, KSerializer()) ? this_9 : THROW_CCE2(), jsonObject);
|
|
@@ -2887,12 +2925,12 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2887
2925
|
}
|
|
2888
2926
|
var tmp6_elvis_lhs_0 = tmp_23;
|
|
2889
2927
|
var value = new (BearerTokens())(encoded, tmp6_elvis_lhs_0 == null ? this.tokensToUse5__1.refreshToken_1 : tmp6_elvis_lhs_0);
|
|
2890
|
-
tmp_20 =
|
|
2928
|
+
tmp_20 = _Result___init__impl__xyqfz82(value);
|
|
2891
2929
|
} catch ($p) {
|
|
2892
2930
|
var tmp_24;
|
|
2893
2931
|
if ($p instanceof Error) {
|
|
2894
2932
|
var e_0 = $p;
|
|
2895
|
-
tmp_24 =
|
|
2933
|
+
tmp_24 = _Result___init__impl__xyqfz82(createFailure2(e_0));
|
|
2896
2934
|
} else {
|
|
2897
2935
|
throw $p;
|
|
2898
2936
|
}
|
|
@@ -2900,10 +2938,10 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2900
2938
|
}
|
|
2901
2939
|
tmp_19 = tmp_20;
|
|
2902
2940
|
} else {
|
|
2903
|
-
tmp_19 =
|
|
2941
|
+
tmp_19 = _Result___init__impl__xyqfz82(_Result___get_value__impl__bjfvqg2(this_5));
|
|
2904
2942
|
}
|
|
2905
2943
|
var this_10 = tmp_19;
|
|
2906
|
-
var tmp0_safe_receiver =
|
|
2944
|
+
var tmp0_safe_receiver = Result__exceptionOrNull_impl_p6xea92(this_10);
|
|
2907
2945
|
if (tmp0_safe_receiver == null)
|
|
2908
2946
|
null;
|
|
2909
2947
|
else {
|
|
@@ -2916,7 +2954,7 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2916
2954
|
}
|
|
2917
2955
|
var tmp_25 = this;
|
|
2918
2956
|
throwOnFailure(this_10);
|
|
2919
|
-
tmp_25.WHEN_RESULT4__1 =
|
|
2957
|
+
tmp_25.WHEN_RESULT4__1 = _Result___get_value__impl__bjfvqg2(this_10);
|
|
2920
2958
|
this.state_1 = 18;
|
|
2921
2959
|
continue $sm;
|
|
2922
2960
|
case 18:
|
|
@@ -2980,7 +3018,7 @@ function $refreshSessionCOROUTINE$() {
|
|
|
2980
3018
|
builder_0.put_mrde5n_k$("identity", JsonPrimitive(tokens_0.identity));
|
|
2981
3019
|
builder_0.put_mrde5n_k$("data", JsonPrimitive(tokens_0.data));
|
|
2982
3020
|
var jsonObject_0 = builder_0.build_bkh6qh_k$();
|
|
2983
|
-
var this_12 =
|
|
3021
|
+
var this_12 = Default_getInstance2();
|
|
2984
3022
|
var this_13 = this_12.get_serializersModule_piitvg_k$();
|
|
2985
3023
|
var this_14 = serializer(this_13, createKType(getKClass(JsonObject()), arrayOf([]), false));
|
|
2986
3024
|
var jsonString_0 = this_12.encodeToString_k0apqx_k$(isInterface(this_14, KSerializer()) ? this_14 : THROW_CCE2(), jsonObject_0);
|
|
@@ -3249,7 +3287,7 @@ function HomeApiBase() {
|
|
|
3249
3287
|
var tmp1_elvis_lhs = this.baseUrl_1;
|
|
3250
3288
|
var tmp;
|
|
3251
3289
|
if (tmp1_elvis_lhs == null) {
|
|
3252
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
3290
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
3253
3291
|
} else {
|
|
3254
3292
|
tmp = tmp1_elvis_lhs;
|
|
3255
3293
|
}
|
|
@@ -3289,28 +3327,28 @@ function HomeApiBase() {
|
|
|
3289
3327
|
var tmp;
|
|
3290
3328
|
if (value == null) {
|
|
3291
3329
|
this_0.remove_6241ba_k$("userId");
|
|
3292
|
-
tmp =
|
|
3330
|
+
tmp = Unit_instance2;
|
|
3293
3331
|
} else {
|
|
3294
3332
|
var tmp0_subject = PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$();
|
|
3295
3333
|
var tmp_0;
|
|
3296
3334
|
if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_intClass_mw4y9a_k$())) {
|
|
3297
3335
|
this_0.putInt_yr2eaa_k$("userId", (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3298
|
-
tmp_0 =
|
|
3336
|
+
tmp_0 = Unit_instance2;
|
|
3299
3337
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_longClass_a79cj7_k$())) {
|
|
3300
3338
|
this_0.putLong_2n8au3_k$("userId", (!(value == null) ? typeof value === "bigint" : false) ? value : THROW_CCE2());
|
|
3301
|
-
tmp_0 =
|
|
3339
|
+
tmp_0 = Unit_instance2;
|
|
3302
3340
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$())) {
|
|
3303
3341
|
this_0.putString_q7x3bk_k$("userId", (!(value == null) ? typeof value === "string" : false) ? value : THROW_CCE2());
|
|
3304
|
-
tmp_0 =
|
|
3342
|
+
tmp_0 = Unit_instance2;
|
|
3305
3343
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_floatClass_xlwq2t_k$())) {
|
|
3306
3344
|
this_0.putFloat_g52tvf_k$("userId", (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3307
|
-
tmp_0 =
|
|
3345
|
+
tmp_0 = Unit_instance2;
|
|
3308
3346
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_doubleClass_dahzcy_k$())) {
|
|
3309
3347
|
this_0.putDouble_go8clg_k$("userId", (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3310
|
-
tmp_0 =
|
|
3348
|
+
tmp_0 = Unit_instance2;
|
|
3311
3349
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_booleanClass_d285fr_k$())) {
|
|
3312
3350
|
this_0.putBoolean_wwpo7g_k$("userId", (!(value == null) ? typeof value === "boolean" : false) ? value : THROW_CCE2());
|
|
3313
|
-
tmp_0 =
|
|
3351
|
+
tmp_0 = Unit_instance2;
|
|
3314
3352
|
} else {
|
|
3315
3353
|
throw IllegalArgumentException_init_$Create$("Invalid type!");
|
|
3316
3354
|
}
|
|
@@ -3343,28 +3381,28 @@ function HomeApiBase() {
|
|
|
3343
3381
|
var tmp;
|
|
3344
3382
|
if (value == null) {
|
|
3345
3383
|
tmp0.remove_6241ba_k$(tmp2);
|
|
3346
|
-
tmp =
|
|
3384
|
+
tmp = Unit_instance2;
|
|
3347
3385
|
} else {
|
|
3348
3386
|
var tmp0_subject = PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$();
|
|
3349
3387
|
var tmp_0;
|
|
3350
3388
|
if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_intClass_mw4y9a_k$())) {
|
|
3351
3389
|
tmp0.putInt_yr2eaa_k$(tmp2, (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3352
|
-
tmp_0 =
|
|
3390
|
+
tmp_0 = Unit_instance2;
|
|
3353
3391
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_longClass_a79cj7_k$())) {
|
|
3354
3392
|
tmp0.putLong_2n8au3_k$(tmp2, (!(value == null) ? typeof value === "bigint" : false) ? value : THROW_CCE2());
|
|
3355
|
-
tmp_0 =
|
|
3393
|
+
tmp_0 = Unit_instance2;
|
|
3356
3394
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$())) {
|
|
3357
3395
|
tmp0.putString_q7x3bk_k$(tmp2, (!(value == null) ? typeof value === "string" : false) ? value : THROW_CCE2());
|
|
3358
|
-
tmp_0 =
|
|
3396
|
+
tmp_0 = Unit_instance2;
|
|
3359
3397
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_floatClass_xlwq2t_k$())) {
|
|
3360
3398
|
tmp0.putFloat_g52tvf_k$(tmp2, (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3361
|
-
tmp_0 =
|
|
3399
|
+
tmp_0 = Unit_instance2;
|
|
3362
3400
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_doubleClass_dahzcy_k$())) {
|
|
3363
3401
|
tmp0.putDouble_go8clg_k$(tmp2, (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3364
|
-
tmp_0 =
|
|
3402
|
+
tmp_0 = Unit_instance2;
|
|
3365
3403
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_booleanClass_d285fr_k$())) {
|
|
3366
3404
|
tmp0.putBoolean_wwpo7g_k$(tmp2, (!(value == null) ? typeof value === "boolean" : false) ? value : THROW_CCE2());
|
|
3367
|
-
tmp_0 =
|
|
3405
|
+
tmp_0 = Unit_instance2;
|
|
3368
3406
|
} else {
|
|
3369
3407
|
throw IllegalArgumentException_init_$Create$("Invalid type!");
|
|
3370
3408
|
}
|
|
@@ -3380,7 +3418,7 @@ function HomeApiBase() {
|
|
|
3380
3418
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3381
3419
|
}
|
|
3382
3420
|
var payload = decodeToString(Default_getInstance_0().UrlSafe_1.decode$default_mne14l_k$(parts.get_c1px32_k$(1)));
|
|
3383
|
-
var json =
|
|
3421
|
+
var json = Default_getInstance2().parseToJsonElement_rqvr2k_k$(payload);
|
|
3384
3422
|
var tmp0_safe_receiver = get_jsonObject(json).get_6bo4tg_k$("sub");
|
|
3385
3423
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3386
3424
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.get_content_h02jrk_k$();
|
|
@@ -3401,7 +3439,7 @@ function HomeApiBase() {
|
|
|
3401
3439
|
builder.put_mrde5n_k$("data", JsonPrimitive(accessToken));
|
|
3402
3440
|
var envelope = builder.build_bkh6qh_k$();
|
|
3403
3441
|
var tmp_1 = Default_getInstance_0().UrlSafe_1;
|
|
3404
|
-
var this_0 =
|
|
3442
|
+
var this_0 = Default_getInstance2();
|
|
3405
3443
|
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
3406
3444
|
var this_2 = serializer(this_1, createKType(getKClass(JsonObject()), arrayOf([]), false));
|
|
3407
3445
|
var tmp$ret$7 = isInterface(this_2, KSerializer()) ? this_2 : THROW_CCE2();
|
|
@@ -3415,7 +3453,7 @@ function HomeApiBase() {
|
|
|
3415
3453
|
var tmp;
|
|
3416
3454
|
if ($super === VOID2) {
|
|
3417
3455
|
this.setDelegatedToken_ikzdax_k$(accessToken, identity);
|
|
3418
|
-
tmp =
|
|
3456
|
+
tmp = Unit_instance2;
|
|
3419
3457
|
} else {
|
|
3420
3458
|
tmp = $super.setDelegatedToken_ikzdax_k$.call(this, accessToken, identity);
|
|
3421
3459
|
}
|
|
@@ -3429,28 +3467,28 @@ function HomeApiBase() {
|
|
|
3429
3467
|
var tmp;
|
|
3430
3468
|
if (value == null) {
|
|
3431
3469
|
tmp0.remove_6241ba_k$(tmp2);
|
|
3432
|
-
tmp =
|
|
3470
|
+
tmp = Unit_instance2;
|
|
3433
3471
|
} else {
|
|
3434
3472
|
var tmp0_subject = PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$();
|
|
3435
3473
|
var tmp_0;
|
|
3436
3474
|
if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_intClass_mw4y9a_k$())) {
|
|
3437
3475
|
tmp0.putInt_yr2eaa_k$(tmp2, (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3438
|
-
tmp_0 =
|
|
3476
|
+
tmp_0 = Unit_instance2;
|
|
3439
3477
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_longClass_a79cj7_k$())) {
|
|
3440
3478
|
tmp0.putLong_2n8au3_k$(tmp2, (!(value == null) ? typeof value === "bigint" : false) ? value : THROW_CCE2());
|
|
3441
|
-
tmp_0 =
|
|
3479
|
+
tmp_0 = Unit_instance2;
|
|
3442
3480
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$())) {
|
|
3443
3481
|
tmp0.putString_q7x3bk_k$(tmp2, (!(value == null) ? typeof value === "string" : false) ? value : THROW_CCE2());
|
|
3444
|
-
tmp_0 =
|
|
3482
|
+
tmp_0 = Unit_instance2;
|
|
3445
3483
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_floatClass_xlwq2t_k$())) {
|
|
3446
3484
|
tmp0.putFloat_g52tvf_k$(tmp2, (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3447
|
-
tmp_0 =
|
|
3485
|
+
tmp_0 = Unit_instance2;
|
|
3448
3486
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_doubleClass_dahzcy_k$())) {
|
|
3449
3487
|
tmp0.putDouble_go8clg_k$(tmp2, (!(value == null) ? typeof value === "number" : false) ? value : THROW_CCE2());
|
|
3450
|
-
tmp_0 =
|
|
3488
|
+
tmp_0 = Unit_instance2;
|
|
3451
3489
|
} else if (tmp0_subject.equals(PrimitiveClasses_getInstance().get_booleanClass_d285fr_k$())) {
|
|
3452
3490
|
tmp0.putBoolean_wwpo7g_k$(tmp2, (!(value == null) ? typeof value === "boolean" : false) ? value : THROW_CCE2());
|
|
3453
|
-
tmp_0 =
|
|
3491
|
+
tmp_0 = Unit_instance2;
|
|
3454
3492
|
} else {
|
|
3455
3493
|
throw IllegalArgumentException_init_$Create$("Invalid type!");
|
|
3456
3494
|
}
|
|
@@ -3459,7 +3497,7 @@ function HomeApiBase() {
|
|
|
3459
3497
|
};
|
|
3460
3498
|
protoOf2($).refresh_gpuu8g_k$ = function(oldTokens, $completion) {
|
|
3461
3499
|
var tmp = new ($refreshCOROUTINE$())(this, oldTokens, $completion);
|
|
3462
|
-
tmp.result_1 =
|
|
3500
|
+
tmp.result_1 = Unit_instance2;
|
|
3463
3501
|
tmp.exception_1 = null;
|
|
3464
3502
|
return tmp.doResume_5yljmg_k$();
|
|
3465
3503
|
};
|
|
@@ -3475,13 +3513,13 @@ function HomeApiBase() {
|
|
|
3475
3513
|
};
|
|
3476
3514
|
protoOf2($).refresh$suspendBridge_w6b0dt_k$ = function(oldTokens, $completion) {
|
|
3477
3515
|
var tmp = new ($refresh$suspendBridgeCOROUTINE$())(this, oldTokens, $completion);
|
|
3478
|
-
tmp.result_1 =
|
|
3516
|
+
tmp.result_1 = Unit_instance2;
|
|
3479
3517
|
tmp.exception_1 = null;
|
|
3480
3518
|
return tmp.doResume_5yljmg_k$();
|
|
3481
3519
|
};
|
|
3482
3520
|
protoOf2($).refreshOrFail_pa247y_k$ = function($completion) {
|
|
3483
3521
|
var tmp = new ($refreshOrFailCOROUTINE$())(this, $completion);
|
|
3484
|
-
tmp.result_1 =
|
|
3522
|
+
tmp.result_1 = Unit_instance2;
|
|
3485
3523
|
tmp.exception_1 = null;
|
|
3486
3524
|
return tmp.doResume_5yljmg_k$();
|
|
3487
3525
|
};
|
|
@@ -3533,7 +3571,7 @@ function HomeApiBase() {
|
|
|
3533
3571
|
var tmp0_elvis_lhs = this.baseUrl_1;
|
|
3534
3572
|
var tmp;
|
|
3535
3573
|
if (tmp0_elvis_lhs == null) {
|
|
3536
|
-
throw IllegalStateException_init_$Create$("No Baseurl set!");
|
|
3574
|
+
throw IllegalStateException_init_$Create$2("No Baseurl set!");
|
|
3537
3575
|
} else {
|
|
3538
3576
|
tmp = tmp0_elvis_lhs;
|
|
3539
3577
|
}
|
|
@@ -3558,7 +3596,7 @@ function HomeApiBase() {
|
|
|
3558
3596
|
};
|
|
3559
3597
|
protoOf2($).revoke_t9u0zc_k$ = function(deviceKey, deviceKeyGroup, $completion) {
|
|
3560
3598
|
var tmp = new ($revokeCOROUTINE$())(this, deviceKey, deviceKeyGroup, $completion);
|
|
3561
|
-
tmp.result_1 =
|
|
3599
|
+
tmp.result_1 = Unit_instance2;
|
|
3562
3600
|
tmp.exception_1 = null;
|
|
3563
3601
|
return tmp.doResume_5yljmg_k$();
|
|
3564
3602
|
};
|
|
@@ -3570,7 +3608,7 @@ function HomeApiBase() {
|
|
|
3570
3608
|
};
|
|
3571
3609
|
protoOf2($).revoke$suspendBridge_8r007b_k$ = function(deviceKey, deviceKeyGroup, $completion) {
|
|
3572
3610
|
var tmp = new ($revoke$suspendBridgeCOROUTINE$())(this, deviceKey, deviceKeyGroup, $completion);
|
|
3573
|
-
tmp.result_1 =
|
|
3611
|
+
tmp.result_1 = Unit_instance2;
|
|
3574
3612
|
tmp.exception_1 = null;
|
|
3575
3613
|
return tmp.doResume_5yljmg_k$();
|
|
3576
3614
|
};
|
|
@@ -3649,7 +3687,7 @@ function parseApiErrors(body) {
|
|
|
3649
3687
|
_init_properties_HomeApiBase_kt__lck77e();
|
|
3650
3688
|
var tmp;
|
|
3651
3689
|
try {
|
|
3652
|
-
var element =
|
|
3690
|
+
var element = Default_getInstance2().parseToJsonElement_rqvr2k_k$(body);
|
|
3653
3691
|
var tmp_0;
|
|
3654
3692
|
if (element instanceof JsonArray()) {
|
|
3655
3693
|
var destination = ArrayList_init_$Create$();
|
|
@@ -3659,19 +3697,19 @@ function parseApiErrors(body) {
|
|
|
3659
3697
|
var tmp_1;
|
|
3660
3698
|
try {
|
|
3661
3699
|
var value = get_jsonObject(element_0);
|
|
3662
|
-
tmp_1 =
|
|
3700
|
+
tmp_1 = _Result___init__impl__xyqfz82(value);
|
|
3663
3701
|
} catch ($p) {
|
|
3664
3702
|
var tmp_2;
|
|
3665
3703
|
if ($p instanceof Error) {
|
|
3666
3704
|
var e = $p;
|
|
3667
|
-
tmp_2 =
|
|
3705
|
+
tmp_2 = _Result___init__impl__xyqfz82(createFailure2(e));
|
|
3668
3706
|
} else {
|
|
3669
3707
|
throw $p;
|
|
3670
3708
|
}
|
|
3671
3709
|
tmp_1 = tmp_2;
|
|
3672
3710
|
}
|
|
3673
3711
|
var this_0 = tmp_1;
|
|
3674
|
-
var tmp0_safe_receiver = _Result___get_isFailure__impl__jpiriv(this_0) ? null :
|
|
3712
|
+
var tmp0_safe_receiver = _Result___get_isFailure__impl__jpiriv(this_0) ? null : _Result___get_value__impl__bjfvqg2(this_0);
|
|
3675
3713
|
if (tmp0_safe_receiver == null)
|
|
3676
3714
|
null;
|
|
3677
3715
|
else {
|
|
@@ -3683,19 +3721,19 @@ function parseApiErrors(body) {
|
|
|
3683
3721
|
var tmp_3;
|
|
3684
3722
|
try {
|
|
3685
3723
|
var value_0 = get_jsonObject(element);
|
|
3686
|
-
tmp_3 =
|
|
3724
|
+
tmp_3 = _Result___init__impl__xyqfz82(value_0);
|
|
3687
3725
|
} catch ($p_0) {
|
|
3688
3726
|
var tmp_4;
|
|
3689
3727
|
if ($p_0 instanceof Error) {
|
|
3690
3728
|
var e_0 = $p_0;
|
|
3691
|
-
tmp_4 =
|
|
3729
|
+
tmp_4 = _Result___init__impl__xyqfz82(createFailure2(e_0));
|
|
3692
3730
|
} else {
|
|
3693
3731
|
throw $p_0;
|
|
3694
3732
|
}
|
|
3695
3733
|
tmp_3 = tmp_4;
|
|
3696
3734
|
}
|
|
3697
3735
|
var this_1 = tmp_3;
|
|
3698
|
-
var tmp$ret$18 = _Result___get_isFailure__impl__jpiriv(this_1) ? null :
|
|
3736
|
+
var tmp$ret$18 = _Result___get_isFailure__impl__jpiriv(this_1) ? null : _Result___get_value__impl__bjfvqg2(this_1);
|
|
3699
3737
|
tmp_0 = listOfNotNull(tmp$ret$18);
|
|
3700
3738
|
}
|
|
3701
3739
|
var objects = tmp_0;
|
|
@@ -3727,22 +3765,22 @@ function parseApiErrors(body) {
|
|
|
3727
3765
|
destination_0.add_utx5q5_k$(tmp$ret$21);
|
|
3728
3766
|
}
|
|
3729
3767
|
var value_1 = copyToArray(destination_0);
|
|
3730
|
-
tmp =
|
|
3768
|
+
tmp = _Result___init__impl__xyqfz82(value_1);
|
|
3731
3769
|
} catch ($p_1) {
|
|
3732
3770
|
var tmp_11;
|
|
3733
3771
|
if ($p_1 instanceof Error) {
|
|
3734
3772
|
var e_1 = $p_1;
|
|
3735
|
-
tmp_11 =
|
|
3773
|
+
tmp_11 = _Result___init__impl__xyqfz82(createFailure2(e_1));
|
|
3736
3774
|
} else {
|
|
3737
3775
|
throw $p_1;
|
|
3738
3776
|
}
|
|
3739
3777
|
tmp = tmp_11;
|
|
3740
3778
|
}
|
|
3741
3779
|
var this_2 = tmp;
|
|
3742
|
-
var exception =
|
|
3780
|
+
var exception = Result__exceptionOrNull_impl_p6xea92(this_2);
|
|
3743
3781
|
var tmp_12;
|
|
3744
3782
|
if (exception == null) {
|
|
3745
|
-
tmp_12 =
|
|
3783
|
+
tmp_12 = _Result___get_value__impl__bjfvqg2(this_2);
|
|
3746
3784
|
} else {
|
|
3747
3785
|
tmp_12 = [];
|
|
3748
3786
|
}
|
|
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
|
|
|
28
28
|
}
|
|
29
29
|
protoOf($).tracer_4zr7of_k$ = function () {
|
|
30
30
|
var tmp0_elvis_lhs = this.installed_1;
|
|
31
|
-
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.
|
|
31
|
+
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.46.0');
|
|
32
32
|
};
|
|
33
33
|
SoliboOpenTelemetryClass = $;
|
|
34
34
|
}
|