@solibo/solibo-sdk 1.1.12 → 1.1.13
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 +99 -99
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- 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 +240 -240
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +11 -11
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +1 -1
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-logging.mjs +516 -516
- package/ktor-ktor-client-mock.mjs +39 -39
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +18823 -18393
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +42 -15
- package/solibo-sdk-sdk.mjs +2163 -2163
|
@@ -62,19 +62,19 @@ function MockEngine_init_$Create$(config) {
|
|
|
62
62
|
}
|
|
63
63
|
function Companion() {
|
|
64
64
|
}
|
|
65
|
-
protoOf(Companion).
|
|
65
|
+
protoOf(Companion).inx = 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).w4b = function (block) {
|
|
72
|
-
return this.
|
|
72
|
+
return this.inx(block);
|
|
73
73
|
};
|
|
74
|
-
protoOf(Companion).
|
|
74
|
+
protoOf(Companion).jnx = function (handler) {
|
|
75
75
|
// Inline function 'kotlin.apply' call
|
|
76
76
|
var this_0 = new MockEngineConfig();
|
|
77
|
-
this_0.
|
|
77
|
+
this_0.onx_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.ynx_1 = $handler;
|
|
86
|
+
this.znx_1 = $callContext;
|
|
87
|
+
this.any_1 = $data;
|
|
88
88
|
CoroutineImpl.call(this, resultContinuation);
|
|
89
89
|
}
|
|
90
90
|
protoOf(MockEngine$execute$slambda).k4h = function ($this$withContext, $completion) {
|
|
@@ -105,7 +105,7 @@ protoOf(MockEngine$execute$slambda).t9 = function () {
|
|
|
105
105
|
case 0:
|
|
106
106
|
this.m9_1 = 2;
|
|
107
107
|
this.l9_1 = 1;
|
|
108
|
-
suspendResult = this.
|
|
108
|
+
suspendResult = this.ynx_1(new MockRequestHandleScope(this.znx_1), this.any_1, this);
|
|
109
109
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
110
110
|
return suspendResult;
|
|
111
111
|
}
|
|
@@ -128,8 +128,8 @@ protoOf(MockEngine$execute$slambda).t9 = function () {
|
|
|
128
128
|
while (true);
|
|
129
129
|
};
|
|
130
130
|
protoOf(MockEngine$execute$slambda).r30 = function ($this$withContext, completion) {
|
|
131
|
-
var i = new MockEngine$execute$slambda(this.
|
|
132
|
-
i.
|
|
131
|
+
var i = new MockEngine$execute$slambda(this.ynx_1, this.znx_1, this.any_1, completion);
|
|
132
|
+
i.bny_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.jny_1.a24();
|
|
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.vny_1 = _this__u8e3s4;
|
|
152
|
+
this.wny_1 = data;
|
|
153
153
|
}
|
|
154
154
|
protoOf($executeCOROUTINE$).t9 = function () {
|
|
155
155
|
var suspendResult = this.n9_1;
|
|
@@ -168,22 +168,22 @@ protoOf($executeCOROUTINE$).t9 = 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.vny_1.iny_1;
|
|
172
|
+
if (this.vny_1.mny_1 >= this.vny_1.y4a().onx_1.g1()) {
|
|
173
|
+
var message = 'Unhandled ' + this.wny_1.c4g_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.vny_1.y4a().onx_1.h1(this.vny_1.mny_1);
|
|
178
|
+
this.vny_1.mny_1 = this.vny_1.mny_1 + 1 | 0;
|
|
179
|
+
if (this.vny_1.y4a().pnx_1) {
|
|
180
|
+
this.vny_1.mny_1 = this.vny_1.mny_1 % this.vny_1.y4a().onx_1.g1() | 0;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
var handler_0 = handler;
|
|
184
184
|
this.l9_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.vny_1.v4h().wj(callContext_0);
|
|
186
|
+
suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.wny_1, null), this);
|
|
187
187
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
188
188
|
return suspendResult;
|
|
189
189
|
}
|
|
@@ -191,9 +191,9 @@ protoOf($executeCOROUTINE$).t9 = function () {
|
|
|
191
191
|
continue $sm;
|
|
192
192
|
case 2:
|
|
193
193
|
var response = suspendResult;
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
196
|
-
this.
|
|
194
|
+
this.vny_1.iny_1;
|
|
195
|
+
this.vny_1.kny_1.e1(this.wny_1);
|
|
196
|
+
this.vny_1.lny_1.e1(response);
|
|
197
197
|
return response;
|
|
198
198
|
case 3:
|
|
199
199
|
throw this.o9_1;
|
|
@@ -211,31 +211,31 @@ protoOf($executeCOROUTINE$).t9 = 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.gny_1 = config;
|
|
215
|
+
this.hny_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance]);
|
|
216
|
+
this.iny_1 = new Object();
|
|
217
|
+
this.jny_1 = Job();
|
|
218
218
|
var tmp = this;
|
|
219
219
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
220
|
-
tmp.
|
|
220
|
+
tmp.kny_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.lny_1 = ArrayList_init_$Create$();
|
|
224
|
+
this.mny_1 = 0;
|
|
225
225
|
if (throwIfEmptyConfig) {
|
|
226
226
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
227
227
|
// Inline function 'kotlin.check' call
|
|
228
|
-
if (!!this.y4a().
|
|
228
|
+
if (!!this.y4a().onx_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).y4a = function () {
|
|
235
|
-
return this.
|
|
235
|
+
return this.gny_1;
|
|
236
236
|
};
|
|
237
237
|
protoOf(MockEngine).j4g = function () {
|
|
238
|
-
return this.
|
|
238
|
+
return this.hny_1;
|
|
239
239
|
};
|
|
240
240
|
protoOf(MockEngine).l4h = function (data, $completion) {
|
|
241
241
|
var tmp = new $executeCOROUTINE$(this, data, $completion);
|
|
@@ -249,14 +249,14 @@ protoOf(MockEngine).c5 = function () {
|
|
|
249
249
|
tmp.v1w(MockEngine$close$lambda(this));
|
|
250
250
|
};
|
|
251
251
|
function MockRequestHandleScope(callContext) {
|
|
252
|
-
this.
|
|
252
|
+
this.xny_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.onx_1 = ArrayList_init_$Create$();
|
|
259
|
+
this.pnx_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().g3l_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().w3k_1, content, _this__u8e3s4.
|
|
272
|
+
return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().w3k_1, content, _this__u8e3s4.xny_1);
|
|
273
273
|
}
|
|
274
274
|
var properties_initialized_MockUtils_kt_4monrr;
|
|
275
275
|
function _init_properties_MockUtils_kt__e2fup7() {
|