@solibo/solibo-sdk 1.7.0 → 1.7.2
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/KmLogging-logging.mjs +98 -98
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +33 -33
- package/bitops-library-endian.mjs +3 -3
- package/core-library-digest.mjs +29 -29
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +237 -237
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/hash-library-md.mjs +30 -30
- package/index.mjs +4 -0
- package/kotlin-kotlin-stdlib.mjs +5 -5
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +8 -8
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-encoding.mjs +75 -75
- package/ktor-ktor-client-logging.mjs +520 -520
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-http.mjs +8 -3
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +43257 -39056
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +377 -6
- package/solibo-sdk-sdk.mjs +4076 -3958
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -62,19 +62,19 @@ function MockEngine_init_$Create$(config) {
|
|
|
62
62
|
}
|
|
63
63
|
function Companion() {
|
|
64
64
|
}
|
|
65
|
-
protoOf(Companion).
|
|
65
|
+
protoOf(Companion).nry = function (block) {
|
|
66
66
|
// Inline function 'kotlin.apply' call
|
|
67
67
|
var this_0 = new MockEngineConfig();
|
|
68
68
|
block(this_0);
|
|
69
69
|
return MockEngine_init_$Create$(this_0);
|
|
70
70
|
};
|
|
71
71
|
protoOf(Companion).p4n = function (block) {
|
|
72
|
-
return this.
|
|
72
|
+
return this.nry(block);
|
|
73
73
|
};
|
|
74
|
-
protoOf(Companion).
|
|
74
|
+
protoOf(Companion).ory = function (handler) {
|
|
75
75
|
// Inline function 'kotlin.apply' call
|
|
76
76
|
var this_0 = new MockEngineConfig();
|
|
77
|
-
this_0.
|
|
77
|
+
this_0.try_1.e1(handler);
|
|
78
78
|
return MockEngine_init_$Create$(this_0);
|
|
79
79
|
};
|
|
80
80
|
var Companion_instance;
|
|
@@ -82,9 +82,9 @@ function Companion_getInstance_1() {
|
|
|
82
82
|
return Companion_instance;
|
|
83
83
|
}
|
|
84
84
|
function MockEngine$execute$slambda($handler, $callContext, $data, resultContinuation) {
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
85
|
+
this.drz_1 = $handler;
|
|
86
|
+
this.erz_1 = $callContext;
|
|
87
|
+
this.frz_1 = $data;
|
|
88
88
|
CoroutineImpl.call(this, resultContinuation);
|
|
89
89
|
}
|
|
90
90
|
protoOf(MockEngine$execute$slambda).d4t = function ($this$withContext, $completion) {
|
|
@@ -105,7 +105,7 @@ protoOf(MockEngine$execute$slambda).u9 = function () {
|
|
|
105
105
|
case 0:
|
|
106
106
|
this.n9_1 = 2;
|
|
107
107
|
this.m9_1 = 1;
|
|
108
|
-
suspendResult = this.
|
|
108
|
+
suspendResult = this.drz_1(new MockRequestHandleScope(this.erz_1), this.frz_1, this);
|
|
109
109
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
110
110
|
return suspendResult;
|
|
111
111
|
}
|
|
@@ -128,8 +128,8 @@ protoOf(MockEngine$execute$slambda).u9 = function () {
|
|
|
128
128
|
while (true);
|
|
129
129
|
};
|
|
130
130
|
protoOf(MockEngine$execute$slambda).c2m = function ($this$withContext, completion) {
|
|
131
|
-
var i = new MockEngine$execute$slambda(this.
|
|
132
|
-
i.
|
|
131
|
+
var i = new MockEngine$execute$slambda(this.drz_1, this.erz_1, this.frz_1, completion);
|
|
132
|
+
i.grz_1 = $this$withContext;
|
|
133
133
|
return i;
|
|
134
134
|
};
|
|
135
135
|
function MockEngine$execute$slambda_0($handler, $callContext, $data, resultContinuation) {
|
|
@@ -142,14 +142,14 @@ function MockEngine$execute$slambda_0($handler, $callContext, $data, resultConti
|
|
|
142
142
|
}
|
|
143
143
|
function MockEngine$close$lambda(this$0) {
|
|
144
144
|
return function (it) {
|
|
145
|
-
this$0.
|
|
145
|
+
this$0.prz_1.f24();
|
|
146
146
|
return Unit_instance;
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
149
|
function $executeCOROUTINE$(_this__u8e3s4, data, resultContinuation) {
|
|
150
150
|
CoroutineImpl.call(this, resultContinuation);
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
151
|
+
this.bs0_1 = _this__u8e3s4;
|
|
152
|
+
this.cs0_1 = data;
|
|
153
153
|
}
|
|
154
154
|
protoOf($executeCOROUTINE$).u9 = function () {
|
|
155
155
|
var suspendResult = this.o9_1;
|
|
@@ -168,22 +168,22 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
168
168
|
continue $sm;
|
|
169
169
|
case 1:
|
|
170
170
|
var callContext_0 = suspendResult;
|
|
171
|
-
this.
|
|
172
|
-
if (this.
|
|
173
|
-
var message = 'Unhandled ' + this.
|
|
171
|
+
this.bs0_1.orz_1;
|
|
172
|
+
if (this.bs0_1.srz_1 >= this.bs0_1.r4m().try_1.g1()) {
|
|
173
|
+
var message = 'Unhandled ' + this.cs0_1.v4r_1.toString();
|
|
174
174
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
var handler = this.
|
|
178
|
-
this.
|
|
179
|
-
if (this.
|
|
180
|
-
this.
|
|
177
|
+
var handler = this.bs0_1.r4m().try_1.h1(this.bs0_1.srz_1);
|
|
178
|
+
this.bs0_1.srz_1 = this.bs0_1.srz_1 + 1 | 0;
|
|
179
|
+
if (this.bs0_1.r4m().ury_1) {
|
|
180
|
+
this.bs0_1.srz_1 = this.bs0_1.srz_1 % this.bs0_1.r4m().try_1.g1() | 0;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
var handler_0 = handler;
|
|
184
184
|
this.m9_1 = 2;
|
|
185
|
-
var tmp_0 = this.
|
|
186
|
-
suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.
|
|
185
|
+
var tmp_0 = this.bs0_1.j4t().yj(callContext_0);
|
|
186
|
+
suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.cs0_1, null), this);
|
|
187
187
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
188
188
|
return suspendResult;
|
|
189
189
|
}
|
|
@@ -191,9 +191,9 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
191
191
|
continue $sm;
|
|
192
192
|
case 2:
|
|
193
193
|
var response = suspendResult;
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
196
|
-
this.
|
|
194
|
+
this.bs0_1.orz_1;
|
|
195
|
+
this.bs0_1.qrz_1.e1(this.cs0_1);
|
|
196
|
+
this.bs0_1.rrz_1.e1(response);
|
|
197
197
|
return response;
|
|
198
198
|
case 3:
|
|
199
199
|
throw this.p9_1;
|
|
@@ -211,31 +211,31 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
211
211
|
};
|
|
212
212
|
function MockEngine(config, throwIfEmptyConfig) {
|
|
213
213
|
HttpClientEngineBase.call(this, 'ktor-mock');
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
214
|
+
this.mrz_1 = config;
|
|
215
|
+
this.nrz_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance]);
|
|
216
|
+
this.orz_1 = new Object();
|
|
217
|
+
this.prz_1 = Job();
|
|
218
218
|
var tmp = this;
|
|
219
219
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
220
|
-
tmp.
|
|
220
|
+
tmp.qrz_1 = ArrayList_init_$Create$();
|
|
221
221
|
var tmp_0 = this;
|
|
222
222
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
223
|
-
tmp_0.
|
|
224
|
-
this.
|
|
223
|
+
tmp_0.rrz_1 = ArrayList_init_$Create$();
|
|
224
|
+
this.srz_1 = 0;
|
|
225
225
|
if (throwIfEmptyConfig) {
|
|
226
226
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
227
227
|
// Inline function 'kotlin.check' call
|
|
228
|
-
if (!!this.r4m().
|
|
228
|
+
if (!!this.r4m().try_1.r()) {
|
|
229
229
|
var message = 'No request handler provided in [MockEngineConfig], please provide at least one.';
|
|
230
230
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
protoOf(MockEngine).r4m = function () {
|
|
235
|
-
return this.
|
|
235
|
+
return this.mrz_1;
|
|
236
236
|
};
|
|
237
237
|
protoOf(MockEngine).c4s = function () {
|
|
238
|
-
return this.
|
|
238
|
+
return this.nrz_1;
|
|
239
239
|
};
|
|
240
240
|
protoOf(MockEngine).e4t = function (data, $completion) {
|
|
241
241
|
var tmp = new $executeCOROUTINE$(this, data, $completion);
|
|
@@ -249,14 +249,14 @@ protoOf(MockEngine).d5 = function () {
|
|
|
249
249
|
tmp.z1w(MockEngine$close$lambda(this));
|
|
250
250
|
};
|
|
251
251
|
function MockRequestHandleScope(callContext) {
|
|
252
|
-
this.
|
|
252
|
+
this.ds0_1 = callContext;
|
|
253
253
|
}
|
|
254
254
|
function MockEngineConfig() {
|
|
255
255
|
HttpClientEngineConfig.call(this);
|
|
256
256
|
var tmp = this;
|
|
257
257
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
258
|
-
tmp.
|
|
259
|
-
this.
|
|
258
|
+
tmp.try_1 = ArrayList_init_$Create$();
|
|
259
|
+
this.ury_1 = true;
|
|
260
260
|
}
|
|
261
261
|
var EmptyArray;
|
|
262
262
|
function respond(_this__u8e3s4, content, status, headers) {
|
|
@@ -269,7 +269,7 @@ function respond_0(_this__u8e3s4, content, status, headers) {
|
|
|
269
269
|
status = status === VOID ? Companion_getInstance().x3v_1 : status;
|
|
270
270
|
headers = headers === VOID ? headersOf() : headers;
|
|
271
271
|
_init_properties_MockUtils_kt__e2fup7();
|
|
272
|
-
return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().n3v_1, content, _this__u8e3s4.
|
|
272
|
+
return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().n3v_1, content, _this__u8e3s4.ds0_1);
|
|
273
273
|
}
|
|
274
274
|
var properties_initialized_MockUtils_kt_4monrr;
|
|
275
275
|
function _init_properties_MockUtils_kt__e2fup7() {
|
package/ktor-ktor-http.mjs
CHANGED
|
@@ -106,6 +106,8 @@ import {
|
|
|
106
106
|
get_lastIndexld83bqhfgcdd as get_lastIndex_0,
|
|
107
107
|
listOfvhqybd2zx248 as listOf_0,
|
|
108
108
|
emptySetcxexqki71qfa as emptySet,
|
|
109
|
+
asList2ho2pewtsfvv as asList,
|
|
110
|
+
toMap1vec9topfei08 as toMap_0,
|
|
109
111
|
toDoubleOrNullkxwozihadygj as toDoubleOrNull,
|
|
110
112
|
sortedWith2csnbbb21k0lg as sortedWith,
|
|
111
113
|
LazyThreadSafetyMode_NONE_getInstance3htehjw93gc3e as LazyThreadSafetyMode_NONE_getInstance,
|
|
@@ -113,7 +115,6 @@ import {
|
|
|
113
115
|
Comparator2b3maoeh98xtg as Comparator,
|
|
114
116
|
compareValues1n2ayl87ihzfk as compareValues,
|
|
115
117
|
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
|
|
116
|
-
asList2ho2pewtsfvv as asList,
|
|
117
118
|
IllegalArgumentException_init_$Init$2amn5b4061oz5 as IllegalArgumentException_init_$Init$,
|
|
118
119
|
toLongOrNullutqivezb0wx1 as toLongOrNull,
|
|
119
120
|
addAll1k27qatfgp3k5 as addAll,
|
|
@@ -2186,7 +2187,10 @@ function HeadersSingleImpl(name, values) {
|
|
|
2186
2187
|
protoOf(HeadersSingleImpl).toString = function () {
|
|
2187
2188
|
return 'Headers ' + toString(this.r3g());
|
|
2188
2189
|
};
|
|
2189
|
-
function headersOf_0() {
|
|
2190
|
+
function headersOf_0(pairs) {
|
|
2191
|
+
return new HeadersImpl(toMap_0(asList(pairs)));
|
|
2192
|
+
}
|
|
2193
|
+
function headersOf_1() {
|
|
2190
2194
|
return Companion_getInstance_3().s3q_1;
|
|
2191
2195
|
}
|
|
2192
2196
|
function HeaderValue(value, params) {
|
|
@@ -5512,7 +5516,8 @@ export {
|
|
|
5512
5516
|
set_encodedPath as set_encodedPath3q0i8nsv3a7qy,
|
|
5513
5517
|
formUrlEncode as formUrlEncode1cs6tvna5e1qw,
|
|
5514
5518
|
fromHttpToGmtDate as fromHttpToGmtDate33lhlvsspfa5v,
|
|
5515
|
-
|
|
5519
|
+
headersOf_1 as headersOfwc8x1q5njdyv,
|
|
5520
|
+
headersOf_0 as headersOf3fopjsnknb1x4,
|
|
5516
5521
|
headersOf as headersOf2tgdoojg8tifn,
|
|
5517
5522
|
headers as headers1dh5cg56ach6i,
|
|
5518
5523
|
hostIsIp as hostIsIp3bb88hkcut0h0,
|