@solibo/solibo-sdk 1.16.16 → 1.16.17
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/client.d.mts +4 -0
- 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 +7 -7
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +190 -190
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +177 -177
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +238 -238
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +20 -20
- package/hash-library-md.mjs +30 -30
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/ktor-ktor-client-auth.mjs +220 -220
- 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/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +30205 -29926
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +116 -0
- package/solibo-sdk-sdk.mjs +4608 -4586
|
@@ -63,19 +63,19 @@ function MockEngine_init_$Create$(config) {
|
|
|
63
63
|
}
|
|
64
64
|
function Companion() {
|
|
65
65
|
}
|
|
66
|
-
protoOf(Companion).
|
|
66
|
+
protoOf(Companion).mxh = function (block) {
|
|
67
67
|
// Inline function 'kotlin.apply' call
|
|
68
68
|
var this_0 = new MockEngineConfig();
|
|
69
69
|
block(this_0);
|
|
70
70
|
return MockEngine_init_$Create$(this_0);
|
|
71
71
|
};
|
|
72
72
|
protoOf(Companion).f4p = function (block) {
|
|
73
|
-
return this.
|
|
73
|
+
return this.mxh(block);
|
|
74
74
|
};
|
|
75
|
-
protoOf(Companion).
|
|
75
|
+
protoOf(Companion).nxh = function (handler) {
|
|
76
76
|
// Inline function 'kotlin.apply' call
|
|
77
77
|
var this_0 = new MockEngineConfig();
|
|
78
|
-
this_0.
|
|
78
|
+
this_0.sxh_1.e1(handler);
|
|
79
79
|
return MockEngine_init_$Create$(this_0);
|
|
80
80
|
};
|
|
81
81
|
var Companion_instance;
|
|
@@ -83,9 +83,9 @@ function Companion_getInstance_1() {
|
|
|
83
83
|
return Companion_instance;
|
|
84
84
|
}
|
|
85
85
|
function MockEngine$execute$slambda($handler, $callContext, $data, resultContinuation) {
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
86
|
+
this.cxi_1 = $handler;
|
|
87
|
+
this.dxi_1 = $callContext;
|
|
88
|
+
this.exi_1 = $data;
|
|
89
89
|
CoroutineImpl.call(this, resultContinuation);
|
|
90
90
|
}
|
|
91
91
|
protoOf(MockEngine$execute$slambda).t4u = function ($this$withContext, $completion) {
|
|
@@ -106,7 +106,7 @@ protoOf(MockEngine$execute$slambda).u9 = function () {
|
|
|
106
106
|
case 0:
|
|
107
107
|
this.n9_1 = 2;
|
|
108
108
|
this.m9_1 = 1;
|
|
109
|
-
suspendResult = this.
|
|
109
|
+
suspendResult = this.cxi_1(new MockRequestHandleScope(this.dxi_1), this.exi_1, this);
|
|
110
110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
111
111
|
return suspendResult;
|
|
112
112
|
}
|
|
@@ -129,8 +129,8 @@ protoOf(MockEngine$execute$slambda).u9 = function () {
|
|
|
129
129
|
while (true);
|
|
130
130
|
};
|
|
131
131
|
protoOf(MockEngine$execute$slambda).a2m = function ($this$withContext, completion) {
|
|
132
|
-
var i = new MockEngine$execute$slambda(this.
|
|
133
|
-
i.
|
|
132
|
+
var i = new MockEngine$execute$slambda(this.cxi_1, this.dxi_1, this.exi_1, completion);
|
|
133
|
+
i.fxi_1 = $this$withContext;
|
|
134
134
|
return i;
|
|
135
135
|
};
|
|
136
136
|
function MockEngine$execute$slambda_0($handler, $callContext, $data, resultContinuation) {
|
|
@@ -141,14 +141,14 @@ function MockEngine$execute$slambda_0($handler, $callContext, $data, resultConti
|
|
|
141
141
|
}
|
|
142
142
|
function MockEngine$close$lambda(this$0) {
|
|
143
143
|
return function (it) {
|
|
144
|
-
this$0.
|
|
144
|
+
this$0.oxi_1.a24();
|
|
145
145
|
return Unit_instance;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
function $executeCOROUTINE$(_this__u8e3s4, data, resultContinuation) {
|
|
149
149
|
CoroutineImpl.call(this, resultContinuation);
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
150
|
+
this.axj_1 = _this__u8e3s4;
|
|
151
|
+
this.bxj_1 = data;
|
|
152
152
|
}
|
|
153
153
|
protoOf($executeCOROUTINE$).u9 = function () {
|
|
154
154
|
var suspendResult = this.o9_1;
|
|
@@ -167,22 +167,22 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
167
167
|
continue $sm;
|
|
168
168
|
case 1:
|
|
169
169
|
var callContext_0 = suspendResult;
|
|
170
|
-
this.
|
|
171
|
-
if (this.
|
|
172
|
-
var message = 'Unhandled ' + this.
|
|
170
|
+
this.axj_1.nxi_1;
|
|
171
|
+
if (this.axj_1.rxi_1 >= this.axj_1.g4o().sxh_1.g1()) {
|
|
172
|
+
var message = 'Unhandled ' + this.bxj_1.l4t_1.toString();
|
|
173
173
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
var handler = this.
|
|
177
|
-
this.
|
|
178
|
-
if (this.
|
|
179
|
-
this.
|
|
176
|
+
var handler = this.axj_1.g4o().sxh_1.h1(this.axj_1.rxi_1);
|
|
177
|
+
this.axj_1.rxi_1 = this.axj_1.rxi_1 + 1 | 0;
|
|
178
|
+
if (this.axj_1.g4o().txh_1) {
|
|
179
|
+
this.axj_1.rxi_1 = this.axj_1.rxi_1 % this.axj_1.g4o().sxh_1.g1() | 0;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
var handler_0 = handler;
|
|
183
183
|
this.m9_1 = 2;
|
|
184
|
-
var tmp_0 = this.
|
|
185
|
-
suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.
|
|
184
|
+
var tmp_0 = this.axj_1.z4u().ik(callContext_0);
|
|
185
|
+
suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.bxj_1, null), this);
|
|
186
186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
187
187
|
return suspendResult;
|
|
188
188
|
}
|
|
@@ -190,9 +190,9 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
190
190
|
continue $sm;
|
|
191
191
|
case 2:
|
|
192
192
|
var response = suspendResult;
|
|
193
|
-
this.
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
193
|
+
this.axj_1.nxi_1;
|
|
194
|
+
this.axj_1.pxi_1.e1(this.bxj_1);
|
|
195
|
+
this.axj_1.qxi_1.e1(response);
|
|
196
196
|
return response;
|
|
197
197
|
case 3:
|
|
198
198
|
throw this.p9_1;
|
|
@@ -210,31 +210,31 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
210
210
|
};
|
|
211
211
|
function MockEngine(config, throwIfEmptyConfig) {
|
|
212
212
|
HttpClientEngineBase.call(this, 'ktor-mock');
|
|
213
|
-
this.
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
213
|
+
this.lxi_1 = config;
|
|
214
|
+
this.mxi_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance]);
|
|
215
|
+
this.nxi_1 = new Object();
|
|
216
|
+
this.oxi_1 = Job();
|
|
217
217
|
var tmp = this;
|
|
218
218
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
219
|
-
tmp.
|
|
219
|
+
tmp.pxi_1 = ArrayList_init_$Create$();
|
|
220
220
|
var tmp_0 = this;
|
|
221
221
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
222
|
-
tmp_0.
|
|
223
|
-
this.
|
|
222
|
+
tmp_0.qxi_1 = ArrayList_init_$Create$();
|
|
223
|
+
this.rxi_1 = 0;
|
|
224
224
|
if (throwIfEmptyConfig) {
|
|
225
225
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
226
226
|
// Inline function 'kotlin.check' call
|
|
227
|
-
if (!!this.g4o().
|
|
227
|
+
if (!!this.g4o().sxh_1.r()) {
|
|
228
228
|
var message = 'No request handler provided in [MockEngineConfig], please provide at least one.';
|
|
229
229
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
protoOf(MockEngine).g4o = function () {
|
|
234
|
-
return this.
|
|
234
|
+
return this.lxi_1;
|
|
235
235
|
};
|
|
236
236
|
protoOf(MockEngine).s4t = function () {
|
|
237
|
-
return this.
|
|
237
|
+
return this.mxi_1;
|
|
238
238
|
};
|
|
239
239
|
protoOf(MockEngine).u4u = function (data, $completion) {
|
|
240
240
|
var tmp = new $executeCOROUTINE$(this, data, $completion);
|
|
@@ -248,14 +248,14 @@ protoOf(MockEngine).d5 = function () {
|
|
|
248
248
|
tmp.k1w(MockEngine$close$lambda(this));
|
|
249
249
|
};
|
|
250
250
|
function MockRequestHandleScope(callContext) {
|
|
251
|
-
this.
|
|
251
|
+
this.cxj_1 = callContext;
|
|
252
252
|
}
|
|
253
253
|
function MockEngineConfig() {
|
|
254
254
|
HttpClientEngineConfig.call(this);
|
|
255
255
|
var tmp = this;
|
|
256
256
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
257
|
-
tmp.
|
|
258
|
-
this.
|
|
257
|
+
tmp.sxh_1 = ArrayList_init_$Create$();
|
|
258
|
+
this.txh_1 = true;
|
|
259
259
|
}
|
|
260
260
|
var EmptyArray;
|
|
261
261
|
function respond(_this__u8e3s4, content, status, headers) {
|
|
@@ -268,7 +268,7 @@ function respond_0(_this__u8e3s4, content, status, headers) {
|
|
|
268
268
|
status = status === VOID ? Companion_getInstance().c3x_1 : status;
|
|
269
269
|
headers = headers === VOID ? headersOf() : headers;
|
|
270
270
|
_init_properties_MockUtils_kt__e2fup7();
|
|
271
|
-
return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().s3w_1, content, _this__u8e3s4.
|
|
271
|
+
return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().s3w_1, content, _this__u8e3s4.cxj_1);
|
|
272
272
|
}
|
|
273
273
|
var properties_initialized_MockUtils_kt_4monrr;
|
|
274
274
|
function _init_properties_MockUtils_kt__e2fup7() {
|