@solibo/solibo-sdk 1.5.18 → 1.6.1

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.
Files changed (51) hide show
  1. package/KmLogging-logging.mjs +110 -110
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1545 -1545
  3. package/KotlinBigInteger-bignum.mjs +1198 -1198
  4. package/MultiplatformSettings-multiplatform-settings-test.mjs +19 -19
  5. package/MultiplatformSettings-multiplatform-settings.mjs +17 -17
  6. package/Stately-stately-concurrency.mjs +5 -5
  7. package/cryptography-kotlin-cryptography-bigint.mjs +33 -33
  8. package/cryptography-kotlin-cryptography-core.mjs +49 -49
  9. package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
  10. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +175 -175
  11. package/cryptography-kotlin-cryptography-random.mjs +26 -26
  12. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +204 -204
  13. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +332 -332
  14. package/cryptography-kotlin-cryptography-serialization-pem.mjs +16 -16
  15. package/index.mjs +6 -0
  16. package/kotlin-kotlin-stdlib.mjs +2141 -2051
  17. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  18. package/kotlinx-atomicfu.mjs +13 -13
  19. package/kotlinx-coroutines-core.mjs +2488 -2461
  20. package/kotlinx-coroutines-core.mjs.map +1 -1
  21. package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
  22. package/kotlinx-io-kotlinx-io-core.mjs +451 -451
  23. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1832 -1832
  24. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  25. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1383 -1383
  26. package/ktor-ktor-client-auth.mjs +463 -463
  27. package/ktor-ktor-client-content-negotiation.mjs +184 -184
  28. package/ktor-ktor-client-core.mjs +4457 -4456
  29. package/ktor-ktor-client-core.mjs.map +1 -1
  30. package/ktor-ktor-client-encoding.mjs +785 -0
  31. package/ktor-ktor-client-encoding.mjs.map +1 -0
  32. package/ktor-ktor-client-logging.mjs +1080 -1080
  33. package/ktor-ktor-client-mock.mjs +79 -79
  34. package/ktor-ktor-events.mjs +6 -6
  35. package/ktor-ktor-http-cio.mjs +480 -480
  36. package/ktor-ktor-http.mjs +1296 -997
  37. package/ktor-ktor-http.mjs.map +1 -1
  38. package/ktor-ktor-io.mjs +1120 -1097
  39. package/ktor-ktor-io.mjs.map +1 -1
  40. package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
  41. package/ktor-ktor-serialization-kotlinx.mjs +228 -228
  42. package/ktor-ktor-serialization.mjs +105 -105
  43. package/ktor-ktor-utils.mjs +1152 -1041
  44. package/ktor-ktor-utils.mjs.map +1 -1
  45. package/ktor-ktor-websockets.mjs +741 -741
  46. package/package.json +1 -1
  47. package/solibo-sdk-sdk-home-api.mjs +77103 -73805
  48. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  49. package/solibo-sdk-sdk.d.mts +318 -3
  50. package/solibo-sdk-sdk.mjs +6928 -6854
  51. 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).jr3 = function (block) {
65
+ protoOf(Companion).ard = 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
- protoOf(Companion).h4i = function (block) {
72
- return this.jr3(block);
71
+ protoOf(Companion).q4j = function (block) {
72
+ return this.ard(block);
73
73
  };
74
- protoOf(Companion).kr3 = function (handler) {
74
+ protoOf(Companion).brd = function (handler) {
75
75
  // Inline function 'kotlin.apply' call
76
76
  var this_0 = new MockEngineConfig();
77
- this_0.pr3_1.e1(handler);
77
+ this_0.grd_1.e1(handler);
78
78
  return MockEngine_init_$Create$(this_0);
79
79
  };
80
80
  var Companion_instance;
@@ -82,30 +82,30 @@ function Companion_getInstance_1() {
82
82
  return Companion_instance;
83
83
  }
84
84
  function MockEngine$execute$slambda($handler, $callContext, $data, resultContinuation) {
85
- this.zr3_1 = $handler;
86
- this.ar4_1 = $callContext;
87
- this.br4_1 = $data;
85
+ this.qrd_1 = $handler;
86
+ this.rrd_1 = $callContext;
87
+ this.srd_1 = $data;
88
88
  CoroutineImpl.call(this, resultContinuation);
89
89
  }
90
- protoOf(MockEngine$execute$slambda).v4n = function ($this$withContext, $completion) {
91
- var tmp = this.d2j($this$withContext, $completion);
92
- tmp.n9_1 = Unit_instance;
93
- tmp.o9_1 = null;
94
- return tmp.t9();
90
+ protoOf(MockEngine$execute$slambda).e4p = function ($this$withContext, $completion) {
91
+ var tmp = this.h2j($this$withContext, $completion);
92
+ tmp.o9_1 = Unit_instance;
93
+ tmp.p9_1 = null;
94
+ return tmp.u9();
95
95
  };
96
- protoOf(MockEngine$execute$slambda).fa = function (p1, $completion) {
97
- return this.v4n((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
96
+ protoOf(MockEngine$execute$slambda).ga = function (p1, $completion) {
97
+ return this.e4p((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
98
98
  };
99
- protoOf(MockEngine$execute$slambda).t9 = function () {
100
- var suspendResult = this.n9_1;
99
+ protoOf(MockEngine$execute$slambda).u9 = function () {
100
+ var suspendResult = this.o9_1;
101
101
  $sm: do
102
102
  try {
103
- var tmp = this.l9_1;
103
+ var tmp = this.m9_1;
104
104
  switch (tmp) {
105
105
  case 0:
106
- this.m9_1 = 2;
107
- this.l9_1 = 1;
108
- suspendResult = this.zr3_1(new MockRequestHandleScope(this.ar4_1), this.br4_1, this);
106
+ this.n9_1 = 2;
107
+ this.m9_1 = 1;
108
+ suspendResult = this.qrd_1(new MockRequestHandleScope(this.rrd_1), this.srd_1, this);
109
109
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
110
110
  return suspendResult;
111
111
  }
@@ -114,52 +114,52 @@ protoOf(MockEngine$execute$slambda).t9 = function () {
114
114
  case 1:
115
115
  return suspendResult;
116
116
  case 2:
117
- throw this.o9_1;
117
+ throw this.p9_1;
118
118
  }
119
119
  } catch ($p) {
120
120
  var e = $p;
121
- if (this.m9_1 === 2) {
121
+ if (this.n9_1 === 2) {
122
122
  throw e;
123
123
  } else {
124
- this.l9_1 = this.m9_1;
125
- this.o9_1 = e;
124
+ this.m9_1 = this.n9_1;
125
+ this.p9_1 = e;
126
126
  }
127
127
  }
128
128
  while (true);
129
129
  };
130
- protoOf(MockEngine$execute$slambda).d2j = function ($this$withContext, completion) {
131
- var i = new MockEngine$execute$slambda(this.zr3_1, this.ar4_1, this.br4_1, completion);
132
- i.cr4_1 = $this$withContext;
130
+ protoOf(MockEngine$execute$slambda).h2j = function ($this$withContext, completion) {
131
+ var i = new MockEngine$execute$slambda(this.qrd_1, this.rrd_1, this.srd_1, completion);
132
+ i.trd_1 = $this$withContext;
133
133
  return i;
134
134
  };
135
135
  function MockEngine$execute$slambda_0($handler, $callContext, $data, resultContinuation) {
136
136
  var i = new MockEngine$execute$slambda($handler, $callContext, $data, resultContinuation);
137
137
  var l = function ($this$withContext, $completion) {
138
- return i.v4n($this$withContext, $completion);
138
+ return i.e4p($this$withContext, $completion);
139
139
  };
140
140
  l.$arity = 1;
141
141
  return l;
142
142
  }
143
143
  function MockEngine$close$lambda(this$0) {
144
144
  return function (it) {
145
- this$0.lr4_1.a24();
145
+ this$0.cre_1.e24();
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.xr4_1 = _this__u8e3s4;
152
- this.yr4_1 = data;
151
+ this.ore_1 = _this__u8e3s4;
152
+ this.pre_1 = data;
153
153
  }
154
- protoOf($executeCOROUTINE$).t9 = function () {
155
- var suspendResult = this.n9_1;
154
+ protoOf($executeCOROUTINE$).u9 = function () {
155
+ var suspendResult = this.o9_1;
156
156
  $sm: do
157
157
  try {
158
- var tmp = this.l9_1;
158
+ var tmp = this.m9_1;
159
159
  switch (tmp) {
160
160
  case 0:
161
- this.m9_1 = 3;
162
- this.l9_1 = 1;
161
+ this.n9_1 = 3;
162
+ this.m9_1 = 1;
163
163
  suspendResult = callContext(this);
164
164
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
165
165
  return suspendResult;
@@ -168,22 +168,22 @@ protoOf($executeCOROUTINE$).t9 = function () {
168
168
  continue $sm;
169
169
  case 1:
170
170
  var callContext_0 = suspendResult;
171
- this.xr4_1.kr4_1;
172
- if (this.xr4_1.or4_1 >= this.xr4_1.j4h().pr3_1.g1()) {
173
- var message = 'Unhandled ' + this.yr4_1.n4m_1.toString();
171
+ this.ore_1.bre_1;
172
+ if (this.ore_1.fre_1 >= this.ore_1.s4i().grd_1.g1()) {
173
+ var message = 'Unhandled ' + this.pre_1.w4n_1.toString();
174
174
  throw IllegalStateException_init_$Create$(toString(message));
175
175
  }
176
176
 
177
- var handler = this.xr4_1.j4h().pr3_1.h1(this.xr4_1.or4_1);
178
- this.xr4_1.or4_1 = this.xr4_1.or4_1 + 1 | 0;
179
- if (this.xr4_1.j4h().qr3_1) {
180
- this.xr4_1.or4_1 = this.xr4_1.or4_1 % this.xr4_1.j4h().pr3_1.g1() | 0;
177
+ var handler = this.ore_1.s4i().grd_1.h1(this.ore_1.fre_1);
178
+ this.ore_1.fre_1 = this.ore_1.fre_1 + 1 | 0;
179
+ if (this.ore_1.s4i().hrd_1) {
180
+ this.ore_1.fre_1 = this.ore_1.fre_1 % this.ore_1.s4i().grd_1.g1() | 0;
181
181
  }
182
182
 
183
183
  var handler_0 = handler;
184
- this.l9_1 = 2;
185
- var tmp_0 = this.xr4_1.b4o().uj(callContext_0);
186
- suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.yr4_1, null), this);
184
+ this.m9_1 = 2;
185
+ var tmp_0 = this.ore_1.k4p().yj(callContext_0);
186
+ suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.pre_1, null), this);
187
187
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
188
188
  return suspendResult;
189
189
  }
@@ -191,85 +191,85 @@ protoOf($executeCOROUTINE$).t9 = function () {
191
191
  continue $sm;
192
192
  case 2:
193
193
  var response = suspendResult;
194
- this.xr4_1.kr4_1;
195
- this.xr4_1.mr4_1.e1(this.yr4_1);
196
- this.xr4_1.nr4_1.e1(response);
194
+ this.ore_1.bre_1;
195
+ this.ore_1.dre_1.e1(this.pre_1);
196
+ this.ore_1.ere_1.e1(response);
197
197
  return response;
198
198
  case 3:
199
- throw this.o9_1;
199
+ throw this.p9_1;
200
200
  }
201
201
  } catch ($p) {
202
202
  var e = $p;
203
- if (this.m9_1 === 3) {
203
+ if (this.n9_1 === 3) {
204
204
  throw e;
205
205
  } else {
206
- this.l9_1 = this.m9_1;
207
- this.o9_1 = e;
206
+ this.m9_1 = this.n9_1;
207
+ this.p9_1 = e;
208
208
  }
209
209
  }
210
210
  while (true);
211
211
  };
212
212
  function MockEngine(config, throwIfEmptyConfig) {
213
213
  HttpClientEngineBase.call(this, 'ktor-mock');
214
- this.ir4_1 = config;
215
- this.jr4_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance]);
216
- this.kr4_1 = new Object();
217
- this.lr4_1 = Job();
214
+ this.zrd_1 = config;
215
+ this.are_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance]);
216
+ this.bre_1 = new Object();
217
+ this.cre_1 = Job();
218
218
  var tmp = this;
219
219
  // Inline function 'kotlin.collections.mutableListOf' call
220
- tmp.mr4_1 = ArrayList_init_$Create$();
220
+ tmp.dre_1 = ArrayList_init_$Create$();
221
221
  var tmp_0 = this;
222
222
  // Inline function 'kotlin.collections.mutableListOf' call
223
- tmp_0.nr4_1 = ArrayList_init_$Create$();
224
- this.or4_1 = 0;
223
+ tmp_0.ere_1 = ArrayList_init_$Create$();
224
+ this.fre_1 = 0;
225
225
  if (throwIfEmptyConfig) {
226
226
  // Inline function 'kotlin.collections.isNotEmpty' call
227
227
  // Inline function 'kotlin.check' call
228
- if (!!this.j4h().pr3_1.r()) {
228
+ if (!!this.s4i().grd_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
- protoOf(MockEngine).j4h = function () {
235
- return this.ir4_1;
234
+ protoOf(MockEngine).s4i = function () {
235
+ return this.zrd_1;
236
236
  };
237
- protoOf(MockEngine).u4m = function () {
238
- return this.jr4_1;
237
+ protoOf(MockEngine).d4o = function () {
238
+ return this.are_1;
239
239
  };
240
- protoOf(MockEngine).w4n = function (data, $completion) {
240
+ protoOf(MockEngine).f4p = function (data, $completion) {
241
241
  var tmp = new $executeCOROUTINE$(this, data, $completion);
242
- tmp.n9_1 = Unit_instance;
243
- tmp.o9_1 = null;
244
- return tmp.t9();
242
+ tmp.o9_1 = Unit_instance;
243
+ tmp.p9_1 = null;
244
+ return tmp.u9();
245
245
  };
246
246
  protoOf(MockEngine).c5 = function () {
247
247
  protoOf(HttpClientEngineBase).c5.call(this);
248
- var tmp = ensureNotNull(this.s1v().y9(Key_instance));
249
- tmp.u1w(MockEngine$close$lambda(this));
248
+ var tmp = ensureNotNull(this.w1v().z9(Key_instance));
249
+ tmp.y1w(MockEngine$close$lambda(this));
250
250
  };
251
251
  function MockRequestHandleScope(callContext) {
252
- this.zr4_1 = callContext;
252
+ this.qre_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.pr3_1 = ArrayList_init_$Create$();
259
- this.qr3_1 = true;
258
+ tmp.grd_1 = ArrayList_init_$Create$();
259
+ this.hrd_1 = true;
260
260
  }
261
261
  var EmptyArray;
262
262
  function respond(_this__u8e3s4, content, status, headers) {
263
- status = status === VOID ? Companion_getInstance().m3r_1 : status;
263
+ status = status === VOID ? Companion_getInstance().y3r_1 : status;
264
264
  headers = headers === VOID ? headersOf() : headers;
265
265
  _init_properties_MockUtils_kt__e2fup7();
266
- return respond_0(_this__u8e3s4, ByteReadChannel(toByteArray(content, Charsets_getInstance().f37_1)), status, headers);
266
+ return respond_0(_this__u8e3s4, ByteReadChannel(toByteArray(content, Charsets_getInstance().k37_1)), status, headers);
267
267
  }
268
268
  function respond_0(_this__u8e3s4, content, status, headers) {
269
- status = status === VOID ? Companion_getInstance().m3r_1 : status;
269
+ status = status === VOID ? Companion_getInstance().y3r_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().c3r_1, content, _this__u8e3s4.zr4_1);
272
+ return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().o3r_1, content, _this__u8e3s4.qre_1);
273
273
  }
274
274
  var properties_initialized_MockUtils_kt_4monrr;
275
275
  function _init_properties_MockUtils_kt__e2fup7() {
@@ -22,22 +22,22 @@ initMetadataForClass(EventDefinition, 'EventDefinition', EventDefinition);
22
22
  function HandlerRegistration() {
23
23
  }
24
24
  function Events() {
25
- this.t3i_1 = new CopyOnWriteHashMap();
25
+ this.f3j_1 = new CopyOnWriteHashMap();
26
26
  }
27
- protoOf(Events).u3i = function (definition, value) {
27
+ protoOf(Events).g3j = function (definition, value) {
28
28
  var exception = null;
29
- var tmp0_safe_receiver = this.t3i_1.i3e(definition);
29
+ var tmp0_safe_receiver = this.f3j_1.s3e(definition);
30
30
  if (tmp0_safe_receiver == null)
31
31
  null;
32
32
  else {
33
33
  // Inline function 'io.ktor.util.internal.LockFreeLinkedListHead.forEach' call
34
- var tmp = tmp0_safe_receiver.u2a();
34
+ var tmp = tmp0_safe_receiver.y2a();
35
35
  var cur = tmp instanceof LockFreeLinkedListNode ? tmp : THROW_CCE();
36
36
  while (!equals(cur, tmp0_safe_receiver)) {
37
37
  if (cur instanceof HandlerRegistration) {
38
38
  var registration = cur;
39
39
  try {
40
- var tmp_0 = registration.w3i_1;
40
+ var tmp_0 = registration.i3j_1;
41
41
  (typeof tmp_0 === 'function' ? tmp_0 : THROW_CCE())(value);
42
42
  } catch ($p) {
43
43
  if ($p instanceof Error) {
@@ -59,7 +59,7 @@ protoOf(Events).u3i = function (definition, value) {
59
59
  }
60
60
  }
61
61
  }
62
- cur = cur.w3f();
62
+ cur = cur.g3g();
63
63
  }
64
64
  }
65
65
  var tmp1_safe_receiver = exception;