@solibo/solibo-sdk 1.16.9 → 1.16.10

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 (33) hide show
  1. package/KmLogging-logging.mjs +98 -98
  2. package/KotlinBigInteger-bignum.mjs +1114 -1114
  3. package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
  4. package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
  5. package/Stately-stately-concurrency.mjs +3 -3
  6. package/bitops-library-bits.mjs +33 -33
  7. package/bitops-library-endian.mjs +3 -3
  8. package/client.d.mts +4 -0
  9. package/client.mjs +23 -0
  10. package/core-library-digest.mjs +29 -29
  11. package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
  12. package/cryptography-kotlin-cryptography-core.mjs +47 -47
  13. package/cryptography-kotlin-cryptography-provider-base.mjs +7 -7
  14. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +190 -190
  15. package/cryptography-kotlin-cryptography-random.mjs +15 -15
  16. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +177 -177
  17. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +238 -238
  18. package/cryptography-kotlin-cryptography-serialization-pem.mjs +20 -20
  19. package/hash-library-md.mjs +30 -30
  20. package/kotlin-kotlin-stdlib.mjs +4 -4
  21. package/kotlinx-coroutines-core.mjs +8 -8
  22. package/kotlinx-coroutines-core.mjs.map +1 -1
  23. package/ktor-ktor-client-auth.mjs +220 -220
  24. package/ktor-ktor-client-encoding.mjs +75 -75
  25. package/ktor-ktor-client-logging.mjs +520 -520
  26. package/ktor-ktor-client-mock.mjs +39 -39
  27. package/ktor-ktor-websockets.mjs +2 -2
  28. package/package.json +1 -1
  29. package/solibo-sdk-sdk-home-api.mjs +25972 -25586
  30. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  31. package/solibo-sdk-sdk.d.mts +22 -3
  32. package/solibo-sdk-sdk.mjs +4639 -4639
  33. package/solibo-sdk-sdk.mjs.map +1 -1
@@ -113,21 +113,21 @@ initMetadataForObject(DER_6, 'DER', VOID, Format_8);
113
113
  initMetadataForObject(PEM_6, 'PEM', VOID, Format_8);
114
114
  initMetadataForCompanion(Companion_13, CryptographyAlgorithmId);
115
115
  function decodeFromByteArray(format, bytes, $completion) {
116
- return this.xyj(format, bytes);
116
+ return this.zyk(format, bytes);
117
117
  }
118
118
  initMetadataForInterface(Decoder, 'Decoder', VOID, VOID, VOID, [2]);
119
119
  function hash(data, $completion) {
120
- return this.ayk(data);
120
+ return this.cyl(data);
121
121
  }
122
122
  function hashBlocking(data) {
123
- var tmp0 = this.yyj();
123
+ var tmp0 = this.ayl();
124
124
  var tmp$ret$0;
125
125
  $l$block: {
126
126
  // Inline function 'kotlin.use' call
127
127
  var exception = null;
128
128
  try {
129
- tmp0.byk(data);
130
- tmp$ret$0 = tmp0.cyk();
129
+ tmp0.dyl(data);
130
+ tmp$ret$0 = tmp0.eyl();
131
131
  break $l$block;
132
132
  } catch ($p) {
133
133
  if ($p instanceof Error) {
@@ -146,17 +146,17 @@ function hashBlocking(data) {
146
146
  }
147
147
  initMetadataForInterface(Hasher, 'Hasher', VOID, VOID, VOID, [1]);
148
148
  function generateSignature(data, $completion) {
149
- return this.fyk(data);
149
+ return this.hyl(data);
150
150
  }
151
151
  function generateSignatureBlocking(data) {
152
- var tmp0 = this.dyk();
152
+ var tmp0 = this.fyl();
153
153
  var tmp$ret$0;
154
154
  $l$block: {
155
155
  // Inline function 'kotlin.use' call
156
156
  var exception = null;
157
157
  try {
158
- tmp0.byk(data);
159
- tmp$ret$0 = tmp0.gyk();
158
+ tmp0.dyl(data);
159
+ tmp$ret$0 = tmp0.iyl();
160
160
  break $l$block;
161
161
  } catch ($p) {
162
162
  if ($p instanceof Error) {
@@ -179,10 +179,10 @@ function update$default(source, startIndex, endIndex, $super) {
179
179
  endIndex = endIndex === VOID ? source.length : endIndex;
180
180
  var tmp;
181
181
  if ($super === VOID) {
182
- this.hyk(source, startIndex, endIndex);
182
+ this.jyl(source, startIndex, endIndex);
183
183
  tmp = Unit_instance;
184
184
  } else {
185
- tmp = $super.hyk.call(this, source, startIndex, endIndex);
185
+ tmp = $super.jyl.call(this, source, startIndex, endIndex);
186
186
  }
187
187
  return tmp;
188
188
  }
@@ -191,12 +191,12 @@ initMetadataForInterface(UpdateFunction, 'UpdateFunction', VOID, VOID, [AutoClos
191
191
  function CryptographyAlgorithm() {
192
192
  }
193
193
  function CryptographyAlgorithmId(name) {
194
- this.eyj_1 = name;
194
+ this.gyk_1 = name;
195
195
  }
196
196
  function Companion() {
197
197
  }
198
- protoOf(Companion).fyj = function () {
199
- return CryptographySystem_getInstance().hyj();
198
+ protoOf(Companion).hyk = function () {
199
+ return CryptographySystem_getInstance().jyk();
200
200
  };
201
201
  var Companion_instance;
202
202
  function Companion_getInstance() {
@@ -204,8 +204,8 @@ function Companion_getInstance() {
204
204
  }
205
205
  function CryptographyProvider() {
206
206
  }
207
- protoOf(CryptographyProvider).jyj = function (identifier) {
208
- var tmp0_elvis_lhs = this.iyj(identifier);
207
+ protoOf(CryptographyProvider).lyk = function (identifier) {
208
+ var tmp0_elvis_lhs = this.kyk(identifier);
209
209
  var tmp;
210
210
  if (tmp0_elvis_lhs == null) {
211
211
  throw IllegalStateException_init_$Create$('Algorithm not found: ' + toString(identifier));
@@ -216,14 +216,14 @@ protoOf(CryptographyProvider).jyj = function (identifier) {
216
216
  };
217
217
  function CryptographySystem() {
218
218
  CryptographySystem_instance = this;
219
- this.gyj_1 = new CryptographySystemImpl();
219
+ this.iyk_1 = new CryptographySystemImpl();
220
220
  loadProviders(this);
221
221
  }
222
- protoOf(CryptographySystem).hyj = function () {
223
- return this.gyj_1.hyj();
222
+ protoOf(CryptographySystem).jyk = function () {
223
+ return this.iyk_1.jyk();
224
224
  };
225
- protoOf(CryptographySystem).qyj = function (provider, priority) {
226
- return this.gyj_1.qyj(provider, priority);
225
+ protoOf(CryptographySystem).syk = function (provider, priority) {
226
+ return this.iyk_1.syk(provider, priority);
227
227
  };
228
228
  var CryptographySystem_instance;
229
229
  function CryptographySystem_getInstance() {
@@ -233,17 +233,17 @@ function CryptographySystem_getInstance() {
233
233
  }
234
234
  function CompositeProvider(providers) {
235
235
  CryptographyProvider.call(this);
236
- this.ryj_1 = providers;
236
+ this.tyk_1 = providers;
237
237
  }
238
- protoOf(CompositeProvider).iyj = function (identifier) {
239
- var tmp0 = this.ryj_1;
238
+ protoOf(CompositeProvider).kyk = function (identifier) {
239
+ var tmp0 = this.tyk_1;
240
240
  var tmp$ret$0;
241
241
  $l$block: {
242
242
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
243
243
  var _iterator__ex2g4s = tmp0.t();
244
244
  while (_iterator__ex2g4s.u()) {
245
245
  var element = _iterator__ex2g4s.v();
246
- var result = element.iyj(identifier);
246
+ var result = element.kyk(identifier);
247
247
  if (!(result == null)) {
248
248
  tmp$ret$0 = result;
249
249
  break $l$block;
@@ -254,16 +254,16 @@ protoOf(CompositeProvider).iyj = function (identifier) {
254
254
  return tmp$ret$0;
255
255
  };
256
256
  function sam$kotlin_Comparator$0(function_0) {
257
- this.syj_1 = function_0;
257
+ this.uyk_1 = function_0;
258
258
  }
259
259
  protoOf(sam$kotlin_Comparator$0).ye = function (a, b) {
260
- return this.syj_1(a, b);
260
+ return this.uyk_1(a, b);
261
261
  };
262
262
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
263
263
  return this.ye(a, b);
264
264
  };
265
265
  protoOf(sam$kotlin_Comparator$0).u3 = function () {
266
- return this.syj_1;
266
+ return this.uyk_1;
267
267
  };
268
268
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
269
269
  var tmp;
@@ -292,7 +292,7 @@ function CryptographySystemImpl$lazyRegisteredProviders$lambda$lambda(a, b) {
292
292
  function CryptographySystemImpl$lazyRegisteredProviders$lambda(this$0) {
293
293
  return function () {
294
294
  // Inline function 'kotlin.collections.sortedBy' call
295
- var this_0 = this$0.kyj_1.l1();
295
+ var this_0 = this$0.myk_1.l1();
296
296
  // Inline function 'kotlin.comparisons.compareBy' call
297
297
  var tmp = CryptographySystemImpl$lazyRegisteredProviders$lambda$lambda;
298
298
  var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
@@ -311,11 +311,11 @@ function CryptographySystemImpl$lazyRegisteredProviders$lambda(this$0) {
311
311
  }
312
312
  function CryptographySystemImpl$lazyDefaultProvider$lambda(this$0) {
313
313
  return function () {
314
- var tmp0_elvis_lhs = this$0.myj_1;
314
+ var tmp0_elvis_lhs = this$0.oyk_1;
315
315
  var tmp;
316
316
  if (tmp0_elvis_lhs == null) {
317
317
  // Inline function 'kotlin.let' call
318
- var it = this$0.lyj_1.n1();
318
+ var it = this$0.nyk_1.n1();
319
319
  var tmp_0;
320
320
  switch (it.g1()) {
321
321
  case 0:
@@ -339,27 +339,27 @@ function CryptographySystemImpl$lazyDefaultProvider$lambda(this$0) {
339
339
  }
340
340
  function CryptographySystemImpl$lazyDefaultRandom$lambda(this$0) {
341
341
  return function () {
342
- var tmp0_elvis_lhs = this$0.oyj_1;
342
+ var tmp0_elvis_lhs = this$0.qyk_1;
343
343
  return tmp0_elvis_lhs == null ? Default_getInstance() : tmp0_elvis_lhs;
344
344
  };
345
345
  }
346
346
  function CryptographySystemImpl() {
347
347
  var tmp = this;
348
348
  // Inline function 'kotlin.collections.mutableMapOf' call
349
- tmp.kyj_1 = LinkedHashMap_init_$Create$();
349
+ tmp.myk_1 = LinkedHashMap_init_$Create$();
350
350
  var tmp_0 = this;
351
- tmp_0.lyj_1 = lazy(CryptographySystemImpl$lazyRegisteredProviders$lambda(this));
352
- this.myj_1 = null;
351
+ tmp_0.nyk_1 = lazy(CryptographySystemImpl$lazyRegisteredProviders$lambda(this));
352
+ this.oyk_1 = null;
353
353
  var tmp_1 = this;
354
- tmp_1.nyj_1 = lazy(CryptographySystemImpl$lazyDefaultProvider$lambda(this));
355
- this.oyj_1 = null;
354
+ tmp_1.pyk_1 = lazy(CryptographySystemImpl$lazyDefaultProvider$lambda(this));
355
+ this.qyk_1 = null;
356
356
  var tmp_2 = this;
357
- tmp_2.pyj_1 = lazy(CryptographySystemImpl$lazyDefaultRandom$lambda(this));
357
+ tmp_2.ryk_1 = lazy(CryptographySystemImpl$lazyDefaultRandom$lambda(this));
358
358
  }
359
- protoOf(CryptographySystemImpl).hyj = function () {
360
- return this.nyj_1.n1();
359
+ protoOf(CryptographySystemImpl).jyk = function () {
360
+ return this.pyk_1.n1();
361
361
  };
362
- protoOf(CryptographySystemImpl).qyj = function (provider, priority) {
362
+ protoOf(CryptographySystemImpl).syk = function (provider, priority) {
363
363
  // Inline function 'kotlin.require' call
364
364
  if (!(priority >= 0)) {
365
365
  var message = 'Priority must be greater or equal to 0';
@@ -367,19 +367,19 @@ protoOf(CryptographySystemImpl).qyj = function (provider, priority) {
367
367
  }
368
368
  // Inline function 'kotlin.collections.contains' call
369
369
  // Inline function 'kotlin.collections.containsKey' call
370
- var this_0 = this.kyj_1;
370
+ var this_0 = this.myk_1;
371
371
  // Inline function 'kotlin.require' call
372
372
  if (!!(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).y2(priority)) {
373
373
  var message_0 = 'Provider with priority ' + priority + ' already registered. Every registered provider should have unique priority.';
374
374
  throw IllegalArgumentException_init_$Create$(toString(message_0));
375
375
  }
376
376
  // Inline function 'kotlin.check' call
377
- if (!!this.lyj_1.wq()) {
377
+ if (!!this.nyk_1.wq()) {
378
378
  var message_1 = 'Cannot register provider after `getRegisteredProviders` was called';
379
379
  throw IllegalStateException_init_$Create$(toString(message_1));
380
380
  }
381
381
  // Inline function 'kotlin.collections.set' call
382
- this.kyj_1.d3(priority, provider);
382
+ this.myk_1.d3(priority, provider);
383
383
  };
384
384
  function Format() {
385
385
  }
@@ -461,13 +461,13 @@ function _Curve___get_name__impl__klrusc($this) {
461
461
  }
462
462
  function Companion_3() {
463
463
  }
464
- protoOf(Companion_3).tyj = function () {
464
+ protoOf(Companion_3).vyk = function () {
465
465
  return _Curve___init__impl__ygix12('P-256');
466
466
  };
467
- protoOf(Companion_3).uyj = function () {
467
+ protoOf(Companion_3).wyk = function () {
468
468
  return _Curve___init__impl__ygix12('P-384');
469
469
  };
470
- protoOf(Companion_3).vyj = function () {
470
+ protoOf(Companion_3).xyk = function () {
471
471
  return _Curve___init__impl__ygix12('P-521');
472
472
  };
473
473
  var Companion_instance_3;
@@ -27,14 +27,14 @@ import {
27
27
  //region block: pre-declaration
28
28
  //endregion
29
29
  function unwrapPem(label, key) {
30
- var document = Companion_instance.cyo(key);
30
+ var document = Companion_instance.eyp(key);
31
31
  // Inline function 'kotlin.check' call
32
- if (!(document.eyo_1 === label)) {
33
- var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(document.eyo_1);
32
+ if (!(document.gyp_1 === label)) {
33
+ var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(document.gyp_1);
34
34
  throw IllegalStateException_init_$Create$(toString(message));
35
35
  }
36
36
  // Inline function 'kotlinx.io.bytestring.unsafe.UnsafeByteStringOperations.withByteArrayUnsafe' call
37
- return document.fyo_1.q2u();
37
+ return document.hyp_1.q2u();
38
38
  }
39
39
  function wrapCurvePrivateKeyInfo(version, identifier, key) {
40
40
  var curvePrivateKey = Default_getInstance().qu(ByteArraySerializer(), key);
@@ -45,7 +45,7 @@ function wrapPrivateKeyInfo(version, identifier, key) {
45
45
  }
46
46
  function convertEcPrivateKeyFromSec1ToPkcs8(input) {
47
47
  var ecPrivateKey = Default_getInstance().ru(Companion_instance_0.o6k(), input);
48
- var tmp = ecPrivateKey.oyn_1;
48
+ var tmp = ecPrivateKey.qyo_1;
49
49
  var tmp0 = tmp == null ? null : new EcParameters(tmp);
50
50
  $l$block: {
51
51
  // Inline function 'kotlin.checkNotNull' call
@@ -53,11 +53,11 @@ function convertEcPrivateKeyFromSec1ToPkcs8(input) {
53
53
  var message = 'EC Parameters are not present in the key';
54
54
  throw IllegalStateException_init_$Create$(toString(message));
55
55
  } else {
56
- tmp0.iym_1;
56
+ tmp0.kyn_1;
57
57
  break $l$block;
58
58
  }
59
59
  }
60
- var privateKeyInfo = new PrivateKeyInfo(0, new EcAlgorithmIdentifier(ecPrivateKey.oyn_1), input);
60
+ var privateKeyInfo = new PrivateKeyInfo(0, new EcAlgorithmIdentifier(ecPrivateKey.qyo_1), input);
61
61
  return Default_getInstance().qu(Companion_getInstance().o6k(), privateKeyInfo);
62
62
  }
63
63
  function wrapSubjectPublicKeyInfo(identifier, key) {