@solibo/solibo-sdk 1.1.111 → 1.1.112

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 (37) hide show
  1. package/KmLogging-logging.mjs +10 -10
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1425 -1425
  3. package/KotlinBigInteger-bignum.mjs +2 -2
  4. package/MultiplatformSettings-multiplatform-settings-test.mjs +1 -1
  5. package/MultiplatformSettings-multiplatform-settings.mjs +1 -1
  6. package/Stately-stately-concurrency.mjs +1 -1
  7. package/cryptography-kotlin-cryptography-bigint.mjs +1 -1
  8. package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
  9. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +1 -1
  10. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +9 -9
  11. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +14 -14
  12. package/kotlin-kotlin-stdlib.mjs +16 -16
  13. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  14. package/kotlinx-atomicfu.mjs +13 -13
  15. package/kotlinx-coroutines-core.mjs +2039 -2039
  16. package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
  17. package/kotlinx-io-kotlinx-io-core.mjs +451 -451
  18. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1078 -1079
  19. package/ktor-ktor-client-auth.mjs +68 -68
  20. package/ktor-ktor-client-content-negotiation.mjs +45 -45
  21. package/ktor-ktor-client-core.mjs +2753 -2753
  22. package/ktor-ktor-client-logging.mjs +201 -201
  23. package/ktor-ktor-client-mock.mjs +23 -23
  24. package/ktor-ktor-events.mjs +6 -6
  25. package/ktor-ktor-http-cio.mjs +319 -319
  26. package/ktor-ktor-http.mjs +903 -903
  27. package/ktor-ktor-io.mjs +632 -632
  28. package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
  29. package/ktor-ktor-serialization-kotlinx.mjs +36 -36
  30. package/ktor-ktor-serialization.mjs +56 -56
  31. package/ktor-ktor-utils.mjs +830 -830
  32. package/ktor-ktor-websockets.mjs +386 -386
  33. package/package.json +1 -1
  34. package/solibo-sdk-sdk-home-api.mjs +645 -643
  35. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  36. package/solibo-sdk-sdk.d.mts +3 -3
  37. package/solibo-sdk-sdk.mjs +551 -551
@@ -1512,7 +1512,7 @@ protoOf(BigDecimal).lpg = function () {
1512
1512
  var tmp$ret$2 = subtract(this_0, fromInt(1));
1513
1513
  tmp = this.tpe_1.ypc(tmp_1.wpd(tmp$ret$2));
1514
1514
  } else {
1515
- tmp = this.tpe_1.w1p(10);
1515
+ tmp = this.tpe_1.k1e(10);
1516
1516
  }
1517
1517
  return tmp;
1518
1518
  };
@@ -5968,7 +5968,7 @@ protoOf(Companion_1).ppc = tryFromDouble$default;
5968
5968
  protoOf(BigInteger).spc = plus_0;
5969
5969
  protoOf(BigInteger).upc = minus;
5970
5970
  protoOf(BigInteger).wpc = times;
5971
- protoOf(BigInteger).w1p = times_0;
5971
+ protoOf(BigInteger).k1e = times_0;
5972
5972
  protoOf(BigInteger).ypc = div;
5973
5973
  protoOf(BigInteger).epd = div_0;
5974
5974
  protoOf(BigInteger).apd = rem;
@@ -34,7 +34,7 @@ function MapSettings(delegate) {
34
34
  // Inline function 'kotlin.collections.mutableListOf' call
35
35
  tmp_0.ipc_1 = ArrayList_init_$Create$();
36
36
  }
37
- protoOf(MapSettings).t3o = function (key) {
37
+ protoOf(MapSettings).k3d = function (key) {
38
38
  // Inline function 'kotlin.collections.minusAssign' call
39
39
  this.hpc_1.d3(key);
40
40
  invokeListeners(this);
@@ -20,7 +20,7 @@ function StorageSettings(delegate) {
20
20
  delegate = tmp;
21
21
  this.zpb_1 = delegate;
22
22
  }
23
- protoOf(StorageSettings).t3o = function (key) {
23
+ protoOf(StorageSettings).k3d = function (key) {
24
24
  return this.zpb_1.removeItem(key);
25
25
  };
26
26
  protoOf(StorageSettings).apc = function (key, value) {
@@ -10,7 +10,7 @@ initMetadataForClass(AtomicReference, 'AtomicReference');
10
10
  function AtomicReference(initialValue) {
11
11
  this.eom_1 = initialValue;
12
12
  }
13
- protoOf(AtomicReference).n2g = function () {
13
+ protoOf(AtomicReference).b25 = function () {
14
14
  return this.eom_1;
15
15
  };
16
16
  protoOf(AtomicReference).fom = function (value_) {
@@ -79,7 +79,7 @@ function Companion() {
79
79
  Companion_instance = this;
80
80
  this.fpn_1 = new BigInt_0(BigInt(0));
81
81
  }
82
- protoOf(Companion).x1g = function () {
82
+ protoOf(Companion).r6b = function () {
83
83
  return BigIntAsStringSerializer_getInstance();
84
84
  };
85
85
  var Companion_instance;
@@ -25,7 +25,7 @@ import {
25
25
  //region block: pre-declaration
26
26
  //endregion
27
27
  function convertEcPrivateKeyFromSec1ToPkcs8(input) {
28
- var ecPrivateKey = Default_getInstance().hu(Companion_instance.x1g(), input);
28
+ var ecPrivateKey = Default_getInstance().hu(Companion_instance.r6b(), input);
29
29
  var tmp = ecPrivateKey.epr_1;
30
30
  var tmp0 = tmp == null ? null : new EcParameters(tmp);
31
31
  $l$block: {
@@ -39,16 +39,16 @@ function convertEcPrivateKeyFromSec1ToPkcs8(input) {
39
39
  }
40
40
  }
41
41
  var privateKeyInfo = new PrivateKeyInfo(0, new EcKeyAlgorithmIdentifier(ecPrivateKey.epr_1), input);
42
- return Default_getInstance().gu(Companion_getInstance().x1g(), privateKeyInfo);
42
+ return Default_getInstance().gu(Companion_getInstance().r6b(), privateKeyInfo);
43
43
  }
44
44
  function unwrapPem(label, key) {
45
45
  return ensurePemLabel(Pem_instance.ypr(key), label).bps_1;
46
46
  }
47
47
  function wrapPrivateKeyInfo(version, identifier, key) {
48
- return Default_getInstance().gu(Companion_getInstance().x1g(), new PrivateKeyInfo(version, identifier, key));
48
+ return Default_getInstance().gu(Companion_getInstance().r6b(), new PrivateKeyInfo(version, identifier, key));
49
49
  }
50
50
  function wrapSubjectPublicKeyInfo(identifier, key) {
51
- return Default_getInstance().gu(Companion_getInstance_0().x1g(), new SubjectPublicKeyInfo(identifier, new BitArray(0, key)));
51
+ return Default_getInstance().gu(Companion_getInstance_0().r6b(), new SubjectPublicKeyInfo(identifier, new BitArray(0, key)));
52
52
  }
53
53
  //region block: exports
54
54
  export {
@@ -439,7 +439,7 @@ protoOf(EcPrivateKeyProcessor).ppt = function (algorithm, format, key) {
439
439
  throw IllegalStateException_init_$Create$(toString(message));
440
440
  }
441
441
  var curveId = tmp_0;
442
- tmp = wrapPrivateKeyInfo(0, new EcKeyAlgorithmIdentifier(_EcParameters___init__impl__i4ww9z(curveId)), Default_getInstance().gu(Companion_instance_2.x1g(), new EcPrivateKey(1, key)));
442
+ tmp = wrapPrivateKeyInfo(0, new EcKeyAlgorithmIdentifier(_EcParameters___init__impl__i4ww9z(curveId)), Default_getInstance().gu(Companion_instance_2.r6b(), new EcPrivateKey(1, key)));
443
443
  } else if (equals(format, Generic_getInstance())) {
444
444
  tmp = key;
445
445
  } else if (equals(format, Generic_getInstance_0())) {
@@ -68,7 +68,7 @@ initMetadataForObject(RsaKeyAlgorithmIdentifier, 'RsaKeyAlgorithmIdentifier', VO
68
68
  function AlgorithmIdentifier() {
69
69
  }
70
70
  function AlgorithmIdentifierSerializer$descriptor$lambda($this$buildSerialDescriptor) {
71
- $this$buildSerialDescriptor.qt('algorithm', Companion_instance.x1g().xs());
71
+ $this$buildSerialDescriptor.qt('algorithm', Companion_instance.r6b().xs());
72
72
  $this$buildSerialDescriptor.qt('parameters', buildSerialDescriptor('Any', CONTEXTUAL_getInstance(), []));
73
73
  return Unit_instance;
74
74
  }
@@ -90,7 +90,7 @@ protoOf(AlgorithmIdentifierSerializer).upq = function (encoder, value) {
90
90
  // Inline function 'kotlinx.serialization.encoding.encodeStructure' call
91
91
  var descriptor = this.ppq_1;
92
92
  var composite = encoder.mw(descriptor);
93
- composite.dy(this.ppq_1, 0, Companion_instance.x1g(), new ObjectIdentifier(value.opq()));
93
+ composite.dy(this.ppq_1, 0, Companion_instance.r6b(), new ObjectIdentifier(value.opq()));
94
94
  this.qpq(composite, value);
95
95
  composite.nw(descriptor);
96
96
  return Unit_instance;
@@ -106,7 +106,7 @@ protoOf(AlgorithmIdentifierSerializer).lt = function (decoder) {
106
106
  if (!(composite.dx(this.ppq_1) === 0)) {
107
107
  throw IllegalStateException_init_$Create$('Check failed.');
108
108
  }
109
- var algorithm = composite.zw(this.ppq_1, 0, Companion_instance.x1g()).kpp_1;
109
+ var algorithm = composite.zw(this.ppq_1, 0, Companion_instance.r6b()).kpp_1;
110
110
  // Inline function 'kotlin.check' call
111
111
  if (!(composite.dx(this.ppq_1) === 1)) {
112
112
  throw IllegalStateException_init_$Create$('Check failed.');
@@ -143,7 +143,7 @@ function _EcParameters___get_namedCurve__impl__oibidm($this) {
143
143
  }
144
144
  function Companion() {
145
145
  }
146
- protoOf(Companion).x1g = function () {
146
+ protoOf(Companion).r6b = function () {
147
147
  return $serializer_getInstance_1();
148
148
  };
149
149
  var Companion_instance_0;
@@ -215,7 +215,7 @@ protoOf(EcParameters).equals = function (other) {
215
215
  };
216
216
  function Companion_0() {
217
217
  }
218
- protoOf(Companion_0).x1g = function () {
218
+ protoOf(Companion_0).r6b = function () {
219
219
  return $serializer_getInstance_2();
220
220
  };
221
221
  var Companion_instance_1;
@@ -380,7 +380,7 @@ protoOf(KeyAlgorithmIdentifierSerializer).jpr = function (_this__u8e3s4, value)
380
380
  tmp = Unit_instance;
381
381
  } else {
382
382
  if (value instanceof EcKeyAlgorithmIdentifier) {
383
- var tmp_0 = Companion_instance_0.x1g();
383
+ var tmp_0 = Companion_instance_0.r6b();
384
384
  var tmp_1 = value.vpq_1;
385
385
  this.spq(_this__u8e3s4, tmp_0, tmp_1 == null ? null : new EcParameters(tmp_1));
386
386
  tmp = Unit_instance;
@@ -405,7 +405,7 @@ protoOf(KeyAlgorithmIdentifierSerializer).rpq = function (_this__u8e3s4, algorit
405
405
  this.tpq(_this__u8e3s4, NothingSerializer());
406
406
  tmp = RsaKeyAlgorithmIdentifier_instance;
407
407
  } else if (algorithm === get_EC(Companion_instance)) {
408
- var tmp_0 = this.tpq(_this__u8e3s4, Companion_instance_0.x1g());
408
+ var tmp_0 = this.tpq(_this__u8e3s4, Companion_instance_0.r6b());
409
409
  tmp = new EcKeyAlgorithmIdentifier(tmp_0 == null ? null : tmp_0.ypq_1);
410
410
  } else {
411
411
  tmp = new UnknownKeyAlgorithmIdentifier(algorithm);
@@ -436,7 +436,7 @@ function Companion_1() {
436
436
  // Inline function 'kotlin.js.asDynamic' call
437
437
  tmp.kpr_1 = [null, lazy(tmp_0, PrivateKeyInfo$Companion$$childSerializers$_anonymous__z2jngg), null];
438
438
  }
439
- protoOf(Companion_1).x1g = function () {
439
+ protoOf(Companion_1).r6b = function () {
440
440
  return $serializer_getInstance_3();
441
441
  };
442
442
  var Companion_instance_2;
@@ -560,7 +560,7 @@ function Companion_2() {
560
560
  // Inline function 'kotlin.js.asDynamic' call
561
561
  tmp.qpr_1 = [lazy(tmp_0, SubjectPublicKeyInfo$Companion$$childSerializers$_anonymous__ezpjw2), null];
562
562
  }
563
- protoOf(Companion_2).x1g = function () {
563
+ protoOf(Companion_2).r6b = function () {
564
564
  return $serializer_getInstance_4();
565
565
  };
566
566
  var Companion_instance_3;
@@ -121,7 +121,7 @@ protoOf(ContextSpecificTag).toString = function () {
121
121
  };
122
122
  function Companion() {
123
123
  }
124
- protoOf(Companion).x1g = function () {
124
+ protoOf(Companion).r6b = function () {
125
125
  return $serializer_getInstance();
126
126
  };
127
127
  var Companion_instance;
@@ -278,7 +278,7 @@ function _ObjectIdentifier___get_value__impl__wqzjw3($this) {
278
278
  }
279
279
  function Companion_0() {
280
280
  }
281
- protoOf(Companion_0).x1g = function () {
281
+ protoOf(Companion_0).r6b = function () {
282
282
  return $serializer_getInstance_0();
283
283
  };
284
284
  var Companion_instance_0;
@@ -380,7 +380,7 @@ protoOf(ByteArrayInput).qpp = function () {
380
380
  ensureAvailableBytes(this, 1);
381
381
  return this.mpp_1[this.opp_1];
382
382
  };
383
- protoOf(ByteArrayInput).o1k = function () {
383
+ protoOf(ByteArrayInput).i6f = function () {
384
384
  ensureAvailableBytes(this, 1);
385
385
  var _unary__edvuaz = this.opp_1;
386
386
  this.opp_1 = _unary__edvuaz + 1 | 0;
@@ -536,7 +536,7 @@ protoOf(DerDecoder).ew = function () {
536
536
  };
537
537
  protoOf(DerDecoder).mt = function (deserializer) {
538
538
  var tmp0_subject = deserializer.xs();
539
- return equals(tmp0_subject, ByteArraySerializer().xs()) ? this.fpp_1.epq(getAndResetTagOverride(this)) : equals(tmp0_subject, Companion_instance.x1g().xs()) ? this.fpp_1.dpq(getAndResetTagOverride(this)) : equals(tmp0_subject, Companion_instance_0.x1g().xs()) ? new ObjectIdentifier(this.fpp_1.cpq(getAndResetTagOverride(this))) : equals(tmp0_subject, Companion_getInstance().x1g().xs()) ? this.fpp_1.bpq(getAndResetTagOverride(this)) : deserializer.lt(this);
539
+ return equals(tmp0_subject, ByteArraySerializer().xs()) ? this.fpp_1.epq(getAndResetTagOverride(this)) : equals(tmp0_subject, Companion_instance.r6b().xs()) ? this.fpp_1.dpq(getAndResetTagOverride(this)) : equals(tmp0_subject, Companion_instance_0.r6b().xs()) ? new ObjectIdentifier(this.fpp_1.cpq(getAndResetTagOverride(this))) : equals(tmp0_subject, Companion_getInstance().r6b().xs()) ? this.fpp_1.bpq(getAndResetTagOverride(this)) : deserializer.lt(this);
540
540
  };
541
541
  protoOf(DerDecoder).mw = function (descriptor) {
542
542
  var tmp0_subject = descriptor.vu();
@@ -642,15 +642,15 @@ protoOf(DerEncoder).jt = function (serializer, value) {
642
642
  var tmp_0 = getAndResetTagOverride_0(this);
643
643
  this.ypo_1.lpq(tmp_0, (!(value == null) ? isByteArray(value) : false) ? value : THROW_CCE());
644
644
  tmp = Unit_instance;
645
- } else if (equals(tmp0_subject, Companion_instance.x1g().xs())) {
645
+ } else if (equals(tmp0_subject, Companion_instance.r6b().xs())) {
646
646
  var tmp_1 = getAndResetTagOverride_0(this);
647
647
  this.ypo_1.kpq(tmp_1, value instanceof BitArray ? value : THROW_CCE());
648
648
  tmp = Unit_instance;
649
- } else if (equals(tmp0_subject, Companion_instance_0.x1g().xs())) {
649
+ } else if (equals(tmp0_subject, Companion_instance_0.r6b().xs())) {
650
650
  var tmp_2 = getAndResetTagOverride_0(this);
651
651
  this.ypo_1.jpq(tmp_2, value instanceof ObjectIdentifier ? value.kpp_1 : THROW_CCE());
652
652
  tmp = Unit_instance;
653
- } else if (equals(tmp0_subject, Companion_getInstance().x1g().xs())) {
653
+ } else if (equals(tmp0_subject, Companion_getInstance().r6b().xs())) {
654
654
  var tmp_3 = getAndResetTagOverride_0(this);
655
655
  this.ypo_1.ipq(tmp_3, value instanceof BigInt ? value : THROW_CCE());
656
656
  tmp = Unit_instance;
@@ -798,7 +798,7 @@ protoOf(DerInput).dpq = function (tagOverride) {
798
798
  if (tagOverride == null) {
799
799
  readRequestedTag(tmp0, 3);
800
800
  var length = readLength(tmp0);
801
- var unusedBits = tmp0.o1k();
801
+ var unusedBits = tmp0.i6f();
802
802
  var bytes = tmp0.rpp(length - 1 | 0);
803
803
  // Inline function 'kotlin.collections.isEmpty' call
804
804
  if (bytes.length === 0) {
@@ -825,7 +825,7 @@ protoOf(DerInput).dpq = function (tagOverride) {
825
825
  switch (tagOverride.qpo_1.a1_1) {
826
826
  case 0:
827
827
  var length_0 = readLength(tmp0);
828
- var unusedBits_0 = tmp0.o1k();
828
+ var unusedBits_0 = tmp0.i6f();
829
829
  var bytes_0 = tmp0.rpp(length_0 - 1 | 0);
830
830
  // Inline function 'kotlin.collections.isEmpty' call
831
831
 
@@ -853,7 +853,7 @@ protoOf(DerInput).dpq = function (tagOverride) {
853
853
  var explicitInput = tmp0.spp(length_1);
854
854
  readRequestedTag(explicitInput, 3);
855
855
  var length_2 = readLength(explicitInput);
856
- var unusedBits_1 = explicitInput.o1k();
856
+ var unusedBits_1 = explicitInput.i6f();
857
857
  var bytes_1 = explicitInput.rpp(length_2 - 1 | 0);
858
858
  // Inline function 'kotlin.collections.isEmpty' call
859
859
 
@@ -987,7 +987,7 @@ protoOf(DerInput).fpq = function (tagOverride) {
987
987
  return tmp$ret$0;
988
988
  };
989
989
  function readRequestedTag(_this__u8e3s4, tag) {
990
- var currentTag = _this__u8e3s4.o1k();
990
+ var currentTag = _this__u8e3s4.i6f();
991
991
  // Inline function 'kotlin.check' call
992
992
  if (!(currentTag === tag)) {
993
993
  var message = "Requested tag '" + DerTag_name(tag) + "', received: '" + DerTag_name(currentTag) + "'";
@@ -995,7 +995,7 @@ function readRequestedTag(_this__u8e3s4, tag) {
995
995
  }
996
996
  }
997
997
  function readLength(_this__u8e3s4) {
998
- var first = _this__u8e3s4.o1k();
998
+ var first = _this__u8e3s4.i6f();
999
999
  if (first >= 0)
1000
1000
  return first;
1001
1001
  var numberOfLengthBytes = first & 127;
@@ -1011,7 +1011,7 @@ function readLength(_this__u8e3s4) {
1011
1011
  do {
1012
1012
  var index = inductionVariable;
1013
1013
  inductionVariable = inductionVariable + 1 | 0;
1014
- length = (length << 8) + (_this__u8e3s4.o1k() & 255) | 0;
1014
+ length = (length << 8) + (_this__u8e3s4.i6f() & 255) | 0;
1015
1015
  }
1016
1016
  while (inductionVariable < numberOfLengthBytes);
1017
1017
  // Inline function 'kotlin.check' call
@@ -1040,7 +1040,7 @@ function readOidElements(_this__u8e3s4) {
1040
1040
  function readOidElement(_this__u8e3s4) {
1041
1041
  var element = 0;
1042
1042
  do {
1043
- var b = _this__u8e3s4.o1k();
1043
+ var b = _this__u8e3s4.i6f();
1044
1044
  element = (element << 7) + (b & 127) | 0;
1045
1045
  }
1046
1046
  while ((b & 128) === 128);
@@ -37,6 +37,17 @@ if (typeof Array.prototype.fill === 'undefined') {
37
37
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
38
38
  }
39
39
  });
40
+ if (typeof Math.clz32 === 'undefined') {
41
+ Math.clz32 = function (log, LN2) {
42
+ return function (x) {
43
+ var asUint = x >>> 0;
44
+ if (asUint === 0) {
45
+ return 32;
46
+ }
47
+ return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
48
+ };
49
+ }(Math.log, Math.LN2);
50
+ }
40
51
  if (typeof Math.trunc === 'undefined') {
41
52
  Math.trunc = function (x) {
42
53
  if (isNaN(x)) {
@@ -53,16 +64,11 @@ if (typeof Math.log10 === 'undefined') {
53
64
  return Math.log(x) * Math.LOG10E;
54
65
  };
55
66
  }
56
- if (typeof Math.clz32 === 'undefined') {
57
- Math.clz32 = function (log, LN2) {
58
- return function (x) {
59
- var asUint = x >>> 0;
60
- if (asUint === 0) {
61
- return 32;
62
- }
63
- return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
64
- };
65
- }(Math.log, Math.LN2);
67
+ if (typeof String.prototype.startsWith === 'undefined') {
68
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
+ position = position || 0;
70
+ return this.lastIndexOf(searchString, position) === position;
71
+ }});
66
72
  }
67
73
  if (typeof String.prototype.endsWith === 'undefined') {
68
74
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -75,12 +81,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
75
81
  return lastIndex !== -1 && lastIndex === position;
76
82
  }});
77
83
  }
78
- if (typeof String.prototype.startsWith === 'undefined') {
79
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
80
- position = position || 0;
81
- return this.lastIndexOf(searchString, position) === position;
82
- }});
83
- }
84
84
  //endregion
85
85
  //region block: imports
86
86
  var imul_0 = Math.imul;