@solibo/home-api 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/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +12 -12
- package/ktor-ktor-utils.mjs +2 -2
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-core.mjs +54 -19
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -120,8 +120,8 @@ function asJsReadonlyMapView() {
|
|
|
120
120
|
}
|
|
121
121
|
initMetadataForInterface(KtMap, 'Map');
|
|
122
122
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
123
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
124
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
123
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
124
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
125
125
|
initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
|
|
126
126
|
initMetadataForCompanion(Companion_2);
|
|
127
127
|
function asJsMapView() {
|
|
@@ -152,7 +152,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [RandomAccess]);
|
|
|
152
152
|
initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
153
153
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
154
154
|
initMetadataForObject(Unit, 'Unit');
|
|
155
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
155
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
|
|
156
156
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
157
157
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
158
158
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -164,7 +164,7 @@ initMetadataForCompanion(Companion_5);
|
|
|
164
164
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
165
165
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
166
166
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
167
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
167
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
|
|
168
168
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
169
169
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
170
170
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -241,6 +241,11 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
|
241
241
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
242
242
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
243
243
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
244
|
+
function close$default(cause, $super) {
|
|
245
|
+
cause = cause === VOID ? null : cause;
|
|
246
|
+
return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
|
|
247
|
+
}
|
|
248
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
244
249
|
function cancel$default_0(cause, $super) {
|
|
245
250
|
cause = cause === VOID ? null : cause;
|
|
246
251
|
var tmp;
|
|
@@ -253,12 +258,7 @@ function cancel$default_0(cause, $super) {
|
|
|
253
258
|
return tmp;
|
|
254
259
|
}
|
|
255
260
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
256
|
-
|
|
257
|
-
cause = cause === VOID ? null : cause;
|
|
258
|
-
return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
|
|
259
|
-
}
|
|
260
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
261
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
261
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
262
262
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
263
263
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
264
264
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -268,7 +268,7 @@ initMetadataForCompanion(Companion);
|
|
|
268
268
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
269
269
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
270
270
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
271
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [
|
|
271
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
|
|
272
272
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
273
273
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
274
274
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
|
|
@@ -308,7 +308,7 @@ initMetadataForCoroutine($doSelectCOROUTINE$, CoroutineImpl);
|
|
|
308
308
|
initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
|
|
309
309
|
initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
|
|
310
310
|
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
|
|
311
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
311
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
312
312
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
313
313
|
function tryLock$default(owner, $super) {
|
|
314
314
|
owner = owner === VOID ? null : owner;
|
|
@@ -9992,7 +9992,7 @@ function ClauseData($outer, clauseObject, regFunc, processResFunc, param, block,
|
|
|
9992
9992
|
this.disposableHandleOrSegment_1 = null;
|
|
9993
9993
|
this.indexInSegment_1 = -1;
|
|
9994
9994
|
}
|
|
9995
|
-
protoOf(ClauseData).
|
|
9995
|
+
protoOf(ClauseData).tryRegisterAsWaiter_wnojok_k$ = function (select) {
|
|
9996
9996
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
9997
9997
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
9998
9998
|
this.regFunc_1(this.clauseObject_1, select, this.param_1);
|
|
@@ -10256,7 +10256,7 @@ protoOf(SelectImplementation).doSelect_om1v0v_k$ = function ($completion) {
|
|
|
10256
10256
|
return tmp.doResume_5yljmg_k$();
|
|
10257
10257
|
};
|
|
10258
10258
|
protoOf(SelectImplementation).invoke_43nm97_k$ = function (_this__u8e3s4, block) {
|
|
10259
|
-
return this.register$
|
|
10259
|
+
return this.register$default_bbb1nn_k$(new ClauseData(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
|
|
10260
10260
|
};
|
|
10261
10261
|
protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, reregister) {
|
|
10262
10262
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
@@ -10266,7 +10266,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
|
|
|
10266
10266
|
if (!reregister) {
|
|
10267
10267
|
checkClauseObject(this, _this__u8e3s4.clauseObject_1);
|
|
10268
10268
|
}
|
|
10269
|
-
if (_this__u8e3s4.
|
|
10269
|
+
if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
|
|
10270
10270
|
if (!reregister) {
|
|
10271
10271
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10272
10272
|
ensureNotNull(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
|
|
@@ -10279,7 +10279,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
|
|
|
10279
10279
|
this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
|
|
10280
10280
|
}
|
|
10281
10281
|
};
|
|
10282
|
-
protoOf(SelectImplementation).register$
|
|
10282
|
+
protoOf(SelectImplementation).register$default_bbb1nn_k$ = function (_this__u8e3s4, reregister, $super) {
|
|
10283
10283
|
reregister = reregister === VOID ? false : reregister;
|
|
10284
10284
|
var tmp;
|
|
10285
10285
|
if ($super === VOID) {
|
package/ktor-ktor-utils.mjs
CHANGED
|
@@ -3256,7 +3256,7 @@ protoOf(PhaseContent).addInterceptor_jvll3j_k$ = function (interceptor) {
|
|
|
3256
3256
|
}
|
|
3257
3257
|
this.interceptors_1.add_utx5q5_k$(interceptor);
|
|
3258
3258
|
};
|
|
3259
|
-
protoOf(PhaseContent).
|
|
3259
|
+
protoOf(PhaseContent).addTo_219g88_k$ = function (destination) {
|
|
3260
3260
|
var interceptors = this.interceptors_1;
|
|
3261
3261
|
if (destination instanceof ArrayList) {
|
|
3262
3262
|
destination.ensureCapacity_wr7980_k$(destination.get_size_woubt6_k$() + interceptors.get_size_woubt6_k$() | 0);
|
|
@@ -3429,7 +3429,7 @@ function cacheInterceptors($this) {
|
|
|
3429
3429
|
tmp_2 = tmp1_elvis_lhs;
|
|
3430
3430
|
}
|
|
3431
3431
|
var phase = tmp_2;
|
|
3432
|
-
phase.
|
|
3432
|
+
phase.addTo_219g88_k$(destination);
|
|
3433
3433
|
}
|
|
3434
3434
|
while (!(phaseIndex_0 === last_0));
|
|
3435
3435
|
notSharedInterceptorsList($this, destination);
|
package/ktor-ktor-websockets.mjs
CHANGED
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
_ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
|
|
81
81
|
close$default2suggcywjwe8g as close$default,
|
|
82
82
|
cancel$default3v09jht7i082i as cancel$default,
|
|
83
|
-
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
84
83
|
SendChannel38sllbxw662ws as SendChannel,
|
|
84
|
+
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
85
85
|
} from './kotlinx-coroutines-core.mjs';
|
|
86
86
|
import {
|
|
87
87
|
get_isTraceEnabled82xibuu04nxp as get_isTraceEnabled,
|
|
@@ -146,7 +146,7 @@ initMetadataForCompanion(Companion_4);
|
|
|
146
146
|
initMetadataForClass(ChannelConfig, 'ChannelConfig');
|
|
147
147
|
initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
|
|
148
148
|
initMetadataForCompanion(Companion_5);
|
|
149
|
-
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [
|
|
149
|
+
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 0]);
|
|
150
150
|
initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
|
|
151
151
|
initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
|
|
152
152
|
initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
|
package/package.json
CHANGED
package/solibo-sdk-sdk-core.mjs
CHANGED
|
@@ -124,6 +124,7 @@ import {
|
|
|
124
124
|
toByteArray3caw0hip00os as toByteArray,
|
|
125
125
|
substringiqarkczpya5m as substring,
|
|
126
126
|
toInt5qdj874w69jh as toInt,
|
|
127
|
+
Default_getInstancee1f46otjvolq as Default_getInstance_0,
|
|
127
128
|
toList383f556t1dixk as toList,
|
|
128
129
|
endsWith3cq61xxngobwh as endsWith,
|
|
129
130
|
equals2v6cggk171b6e as equals_0,
|
|
@@ -227,7 +228,7 @@ import {
|
|
|
227
228
|
} from './ktor-ktor-websockets.mjs';
|
|
228
229
|
import {
|
|
229
230
|
Jsonsmkyu9xjl7fv as Json,
|
|
230
|
-
Default_getInstancevb13yk0g3h3e as
|
|
231
|
+
Default_getInstancevb13yk0g3h3e as Default_getInstance_1,
|
|
231
232
|
JsonElementf07o4p6p57al as JsonElement,
|
|
232
233
|
get_jsonObject2u4z2ch1uuca9 as get_jsonObject,
|
|
233
234
|
get_jsonPrimitivez17tyd5rw1ql as get_jsonPrimitive,
|
|
@@ -315,7 +316,7 @@ import {
|
|
|
315
316
|
Format_RAW_getInstancenxlrq6ix3qhp as Format_RAW_getInstance,
|
|
316
317
|
Companion_instance3n246glqc666k as Companion_instance_1,
|
|
317
318
|
} from './cryptography-kotlin-cryptography-core.mjs';
|
|
318
|
-
import { Default_getInstance1zramwb175hhz as
|
|
319
|
+
import { Default_getInstance1zramwb175hhz as Default_getInstance_2 } from './cryptography-kotlin-cryptography-random.mjs';
|
|
319
320
|
import {
|
|
320
321
|
Companion_getInstance2cvyce34yuyp3 as Companion_getInstance_9,
|
|
321
322
|
Sign_POSITIVE_getInstance3j3193wbkzpdq as Sign_POSITIVE_getInstance,
|
|
@@ -3787,11 +3788,11 @@ protoOf(HomeApiBase$clientConfigurator$lambda$lambda$slambda_3).doResume_5yljmg_
|
|
|
3787
3788
|
}
|
|
3788
3789
|
|
|
3789
3790
|
if (tmp_0) {
|
|
3790
|
-
var jsonElement =
|
|
3791
|
+
var jsonElement = Default_getInstance_1().parseToJsonElement_rqvr2k_k$(body.text_1);
|
|
3791
3792
|
var cleaned = removeEmptyStringsAndNulls(jsonElement);
|
|
3792
3793
|
if (!equals(cleaned, jsonElement)) {
|
|
3793
3794
|
var tmp0 = this.request_1;
|
|
3794
|
-
var this_0 =
|
|
3795
|
+
var this_0 = Default_getInstance_1();
|
|
3795
3796
|
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
3796
3797
|
var this_2 = serializer(this_1, createKType(getKClass(JsonElement), arrayOf([]), false));
|
|
3797
3798
|
var body_0 = new TextContent(this_0.encodeToString_k0apqx_k$(isInterface(this_2, KSerializer) ? this_2 : THROW_CCE(), cleaned), body.contentType_1);
|
|
@@ -3923,7 +3924,7 @@ protoOf(HomeApiBase$clientConfigurator$lambda$lambda$slambda_5).doResume_5yljmg_
|
|
|
3923
3924
|
this.$this_HttpResponseValidator_1;
|
|
3924
3925
|
var tmp_0;
|
|
3925
3926
|
try {
|
|
3926
|
-
var tmp0_safe_receiver = get_jsonObject(
|
|
3927
|
+
var tmp0_safe_receiver = get_jsonObject(Default_getInstance_1().parseToJsonElement_rqvr2k_k$(body)).get_6bo4tg_k$('url');
|
|
3927
3928
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3928
3929
|
var value = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.get_content_h02jrk_k$();
|
|
3929
3930
|
tmp_0 = _Result___init__impl__xyqfz8(value);
|
|
@@ -4456,8 +4457,8 @@ function HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, $platformName)
|
|
|
4456
4457
|
}
|
|
4457
4458
|
accept($this$defaultRequest, Application_getInstance().Json_1);
|
|
4458
4459
|
header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
|
|
4459
|
-
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.
|
|
4460
|
-
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.
|
|
4460
|
+
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.46.0 (' + $platformName + ')');
|
|
4461
|
+
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.46.0');
|
|
4461
4462
|
return Unit_instance;
|
|
4462
4463
|
};
|
|
4463
4464
|
}
|
|
@@ -5359,7 +5360,7 @@ protoOf($refreshSessionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
5359
5360
|
builder.put_mrde5n_k$('identity', JsonPrimitive(tokens.identity));
|
|
5360
5361
|
builder.put_mrde5n_k$('data', JsonPrimitive(tokens.data));
|
|
5361
5362
|
var jsonObject = builder.build_bkh6qh_k$();
|
|
5362
|
-
var this_7 =
|
|
5363
|
+
var this_7 = Default_getInstance_1();
|
|
5363
5364
|
var this_8 = this_7.get_serializersModule_piitvg_k$();
|
|
5364
5365
|
var this_9 = serializer(this_8, createKType(getKClass(JsonObject), arrayOf([]), false));
|
|
5365
5366
|
var jsonString = this_7.encodeToString_k0apqx_k$(isInterface(this_9, KSerializer) ? this_9 : THROW_CCE(), jsonObject);
|
|
@@ -5492,7 +5493,7 @@ protoOf($refreshSessionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
5492
5493
|
builder_0.put_mrde5n_k$('identity', JsonPrimitive(tokens_0.identity));
|
|
5493
5494
|
builder_0.put_mrde5n_k$('data', JsonPrimitive(tokens_0.data));
|
|
5494
5495
|
var jsonObject_0 = builder_0.build_bkh6qh_k$();
|
|
5495
|
-
var this_12 =
|
|
5496
|
+
var this_12 = Default_getInstance_1();
|
|
5496
5497
|
var this_13 = this_12.get_serializersModule_piitvg_k$();
|
|
5497
5498
|
var this_14 = serializer(this_13, createKType(getKClass(JsonObject), arrayOf([]), false));
|
|
5498
5499
|
var jsonString_0 = this_12.encodeToString_k0apqx_k$(isInterface(this_14, KSerializer) ? this_14 : THROW_CCE(), jsonObject_0);
|
|
@@ -5864,7 +5865,7 @@ protoOf(HomeApiBase).setDelegatedToken_ikzdax_k$ = function (accessToken, identi
|
|
|
5864
5865
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5865
5866
|
}
|
|
5866
5867
|
var payload = decodeToString(Default_getInstance().UrlSafe_1.decode$default_mne14l_k$(parts.get_c1px32_k$(1)));
|
|
5867
|
-
var json =
|
|
5868
|
+
var json = Default_getInstance_1().parseToJsonElement_rqvr2k_k$(payload);
|
|
5868
5869
|
var tmp0_safe_receiver = get_jsonObject(json).get_6bo4tg_k$('sub');
|
|
5869
5870
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
5870
5871
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.get_content_h02jrk_k$();
|
|
@@ -5887,7 +5888,7 @@ protoOf(HomeApiBase).setDelegatedToken_ikzdax_k$ = function (accessToken, identi
|
|
|
5887
5888
|
var envelope = builder.build_bkh6qh_k$();
|
|
5888
5889
|
var tmp_1 = Default_getInstance().UrlSafe_1;
|
|
5889
5890
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
5890
|
-
var this_0 =
|
|
5891
|
+
var this_0 = Default_getInstance_1();
|
|
5891
5892
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
5892
5893
|
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
5893
5894
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -6083,7 +6084,7 @@ function parseApiErrors(body) {
|
|
|
6083
6084
|
// Inline function 'kotlin.runCatching' call
|
|
6084
6085
|
var tmp;
|
|
6085
6086
|
try {
|
|
6086
|
-
var element =
|
|
6087
|
+
var element = Default_getInstance_1().parseToJsonElement_rqvr2k_k$(body);
|
|
6087
6088
|
var tmp_0;
|
|
6088
6089
|
if (element instanceof JsonArray) {
|
|
6089
6090
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -7231,7 +7232,7 @@ function Auth$handleCorrectAuthentication$lambda(this$0) {
|
|
|
7231
7232
|
}
|
|
7232
7233
|
var jsonObject = builder.build_bkh6qh_k$();
|
|
7233
7234
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
7234
|
-
var this_0 =
|
|
7235
|
+
var this_0 = Default_getInstance_1();
|
|
7235
7236
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
7236
7237
|
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
7237
7238
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -12602,7 +12603,7 @@ protoOf(Auth).loginByOAuth$suspendBridge_nhwcps_k$ = function (code, state, fcmD
|
|
|
12602
12603
|
protoOf(Auth).importOAuthTokensEncoded = function (encoded) {
|
|
12603
12604
|
var normalized = replace(replace(replace(encoded, '\n', ''), '\r', ''), ' ', '');
|
|
12604
12605
|
var decoded = decodeToString(Default_getInstance().UrlSafe_1.withPadding_845pcm_k$(PaddingOption_PRESENT_OPTIONAL_getInstance()).decode$default_mne14l_k$(normalized));
|
|
12605
|
-
var jsonElement =
|
|
12606
|
+
var jsonElement = Default_getInstance_1().parseToJsonElement_rqvr2k_k$(decoded);
|
|
12606
12607
|
var jsonObject = get_jsonObject(jsonElement);
|
|
12607
12608
|
var tmp0_safe_receiver = jsonObject.get_6bo4tg_k$('accessToken');
|
|
12608
12609
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
@@ -13039,7 +13040,7 @@ function hkdfSha256($this, ikm, salt, info, size, $completion) {
|
|
|
13039
13040
|
}
|
|
13040
13041
|
function randomBigInteger($this, bitLength) {
|
|
13041
13042
|
var byteLen = (bitLength + 7 | 0) / 8 | 0;
|
|
13042
|
-
var bytes =
|
|
13043
|
+
var bytes = Default_getInstance_2().nextBytes_dtk0kg_k$(byteLen);
|
|
13043
13044
|
return Companion_getInstance_9().fromByteArray_kez9nu_k$(bytes, Sign_POSITIVE_getInstance());
|
|
13044
13045
|
}
|
|
13045
13046
|
function Companion_2() {
|
|
@@ -13945,7 +13946,7 @@ protoOf($generateCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
13945
13946
|
var tmp_1;
|
|
13946
13947
|
if (tmp1_elvis_lhs == null) {
|
|
13947
13948
|
this._this__u8e3s4__1;
|
|
13948
|
-
var rb =
|
|
13949
|
+
var rb = Default_getInstance_2().nextBytes_dtk0kg_k$(length);
|
|
13949
13950
|
var excessBits = imul(8, length) - 128 | 0;
|
|
13950
13951
|
if (excessBits > 0) {
|
|
13951
13952
|
var mask = toByte((1 << (8 - excessBits | 0)) - 1 | 0);
|
|
@@ -14347,7 +14348,7 @@ function SoliboOpenTelemetry() {
|
|
|
14347
14348
|
}
|
|
14348
14349
|
protoOf(SoliboOpenTelemetry).tracer_4zr7of_k$ = function () {
|
|
14349
14350
|
var tmp0_elvis_lhs = this.installed_1;
|
|
14350
|
-
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.
|
|
14351
|
+
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');
|
|
14351
14352
|
};
|
|
14352
14353
|
var SoliboOpenTelemetry_instance;
|
|
14353
14354
|
function SoliboOpenTelemetry_getInstance() {
|
|
@@ -14444,7 +14445,41 @@ protoOf(Platform).defaultSettings_e9cygs_k$ = function () {
|
|
|
14444
14445
|
if (isNode(this)) {
|
|
14445
14446
|
tmp = new MapSettings();
|
|
14446
14447
|
} else {
|
|
14447
|
-
|
|
14448
|
+
// Inline function 'kotlin.runCatching' call
|
|
14449
|
+
var tmp_0;
|
|
14450
|
+
try {
|
|
14451
|
+
// Inline function 'kotlin.also' call
|
|
14452
|
+
var this_0 = Settings();
|
|
14453
|
+
var key = 'solibo-storage-probe-' + Default_getInstance_0().nextLong_njwv0v_k$().toString();
|
|
14454
|
+
this_0.putString_q7x3bk_k$(key, key);
|
|
14455
|
+
// Inline function 'kotlin.check' call
|
|
14456
|
+
if (!(this_0.getStringOrNull_w9a5ex_k$(key) === key)) {
|
|
14457
|
+
throw IllegalStateException_init_$Create$('Check failed.');
|
|
14458
|
+
}
|
|
14459
|
+
this_0.remove_6241ba_k$(key);
|
|
14460
|
+
// Inline function 'kotlin.Companion.success' call
|
|
14461
|
+
tmp_0 = _Result___init__impl__xyqfz8(this_0);
|
|
14462
|
+
} catch ($p) {
|
|
14463
|
+
var tmp_1;
|
|
14464
|
+
if ($p instanceof Error) {
|
|
14465
|
+
var e = $p;
|
|
14466
|
+
// Inline function 'kotlin.Companion.failure' call
|
|
14467
|
+
tmp_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
14468
|
+
} else {
|
|
14469
|
+
throw $p;
|
|
14470
|
+
}
|
|
14471
|
+
tmp_0 = tmp_1;
|
|
14472
|
+
}
|
|
14473
|
+
// Inline function 'kotlin.getOrElse' call
|
|
14474
|
+
var this_1 = tmp_0;
|
|
14475
|
+
var exception = Result__exceptionOrNull_impl_p6xea9(this_1);
|
|
14476
|
+
var tmp_2;
|
|
14477
|
+
if (exception == null) {
|
|
14478
|
+
tmp_2 = _Result___get_value__impl__bjfvqg(this_1);
|
|
14479
|
+
} else {
|
|
14480
|
+
tmp_2 = new MapSettings();
|
|
14481
|
+
}
|
|
14482
|
+
tmp = tmp_2;
|
|
14448
14483
|
}
|
|
14449
14484
|
return tmp;
|
|
14450
14485
|
};
|
|
@@ -21490,7 +21525,7 @@ protoOf($fileBodyCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
21490
21525
|
var json = !(contentType == null) && (contentType.match_syvve3_k$(Application_getInstance().Json_1) || endsWith(contentType.contentSubtype_1, '+json'));
|
|
21491
21526
|
if (json) {
|
|
21492
21527
|
try {
|
|
21493
|
-
return
|
|
21528
|
+
return Default_getInstance_1().decodeFromString_jwu9sq_k$(this.serializer_1, decodeToString(bytes));
|
|
21494
21529
|
} catch ($p) {
|
|
21495
21530
|
if ($p instanceof IllegalArgumentException) {
|
|
21496
21531
|
var e = $p;
|