@solibo/solibo-sdk 1.1.10 → 1.1.11

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 (34) hide show
  1. package/KmLogging-logging.mjs +77 -77
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
  3. package/KotlinBigInteger-bignum.mjs +1099 -1099
  4. package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
  5. package/Stately-stately-concurrency.mjs +4 -4
  6. package/cryptography-kotlin-cryptography-bigint.mjs +26 -26
  7. package/cryptography-kotlin-cryptography-core.mjs +47 -47
  8. package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
  9. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
  10. package/cryptography-kotlin-cryptography-random.mjs +15 -15
  11. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
  12. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +252 -252
  13. package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
  14. package/kotlin-kotlin-stdlib.mjs +61 -43
  15. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  16. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1063 -1063
  17. package/ktor-ktor-client-auth.mjs +244 -244
  18. package/ktor-ktor-client-content-negotiation.mjs +121 -121
  19. package/ktor-ktor-client-core.mjs +2427 -2427
  20. package/ktor-ktor-client-logging.mjs +593 -593
  21. package/ktor-ktor-client-mock.mjs +46 -46
  22. package/ktor-ktor-http-cio.mjs +289 -289
  23. package/ktor-ktor-http.mjs +305 -309
  24. package/ktor-ktor-http.mjs.map +1 -1
  25. package/ktor-ktor-serialization-kotlinx-json.mjs +5 -5
  26. package/ktor-ktor-serialization-kotlinx.mjs +110 -110
  27. package/ktor-ktor-serialization.mjs +50 -50
  28. package/ktor-ktor-websockets.mjs +317 -317
  29. package/package.json +1 -1
  30. package/solibo-sdk-sdk-home-api.mjs +21081 -21071
  31. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  32. package/solibo-sdk-sdk.d.mts +32 -9
  33. package/solibo-sdk-sdk.mjs +7990 -5465
  34. package/solibo-sdk-sdk.mjs.map +1 -1
@@ -26,14 +26,14 @@ initMetadataForClass(PemContent, 'PemContent');
26
26
  initMetadataForCompanion(Companion);
27
27
  //endregion
28
28
  function Pem() {
29
- this.mox_1 = '-----BEGIN ';
30
- this.nox_1 = '-----END ';
31
- this.oox_1 = '-----';
29
+ this.lox_1 = '-----BEGIN ';
30
+ this.mox_1 = '-----END ';
31
+ this.nox_1 = '-----';
32
32
  }
33
- protoOf(Pem).pox = function (bytes) {
34
- return this.qox(decodeToString(bytes));
33
+ protoOf(Pem).oox = function (bytes) {
34
+ return this.pox(decodeToString(bytes));
35
35
  };
36
- protoOf(Pem).qox = function (string) {
36
+ protoOf(Pem).pox = function (string) {
37
37
  var lines = split(string, ['\n']);
38
38
  var tmp$ret$1;
39
39
  $l$block: {
@@ -108,13 +108,13 @@ function Pem_getInstance() {
108
108
  return Pem_instance;
109
109
  }
110
110
  function PemContent(label, bytes) {
111
- this.rox_1 = label;
112
- this.sox_1 = bytes;
111
+ this.qox_1 = label;
112
+ this.rox_1 = bytes;
113
113
  }
114
114
  function ensurePemLabel(_this__u8e3s4, label) {
115
115
  // Inline function 'kotlin.check' call
116
- if (!(_this__u8e3s4.rox_1 === label)) {
117
- var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.rox_1);
116
+ if (!(_this__u8e3s4.qox_1 === label)) {
117
+ var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.qox_1);
118
118
  throw IllegalStateException_init_$Create$(toString(message));
119
119
  }
120
120
  return _this__u8e3s4;
@@ -124,11 +124,11 @@ function _PemLabel___init__impl__xifhtx(representation) {
124
124
  }
125
125
  function Companion() {
126
126
  Companion_instance = this;
127
- this.tox_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
128
- this.uox_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
129
- this.vox_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
130
- this.wox_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
131
- this.xox_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
127
+ this.sox_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
128
+ this.tox_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
129
+ this.uox_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
130
+ this.vox_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
131
+ this.wox_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
132
132
  }
133
133
  var Companion_instance;
134
134
  function Companion_getInstance() {
@@ -128,8 +128,8 @@ initMetadataForInterface(MutableIterable, 'MutableIterable');
128
128
  function asJsArrayView() {
129
129
  return createJsArrayViewFrom(this);
130
130
  }
131
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
132
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
131
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
132
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
133
133
  initMetadataForCompanion(Companion_4);
134
134
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
135
135
  initMetadataForCompanion(Companion_5);
@@ -153,7 +153,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [AbstractList, RandomAc
153
153
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
154
154
  initMetadataForInterface(Comparator, 'Comparator');
155
155
  initMetadataForObject(Unit, 'Unit');
156
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
156
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
157
157
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
158
158
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
159
159
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -165,7 +165,7 @@ initMetadataForCompanion(Companion_6);
165
165
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
166
166
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
167
167
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
168
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
168
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
169
169
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
170
170
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
171
171
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -1301,17 +1301,17 @@ function toBooleanArray(_this__u8e3s4) {
1301
1301
  }
1302
1302
  return result;
1303
1303
  }
1304
- function firstOrNull_1(_this__u8e3s4) {
1305
- if (isInterface(_this__u8e3s4, KtList)) {
1306
- if (_this__u8e3s4.r())
1307
- return null;
1308
- else
1309
- return _this__u8e3s4.h1(0);
1310
- } else {
1304
+ function lastOrNull_0(_this__u8e3s4) {
1305
+ if (isInterface(_this__u8e3s4, KtList))
1306
+ return _this__u8e3s4.r() ? null : _this__u8e3s4.h1(_this__u8e3s4.g1() - 1 | 0);
1307
+ else {
1311
1308
  var iterator = _this__u8e3s4.t();
1312
1309
  if (!iterator.u())
1313
1310
  return null;
1314
- return iterator.v();
1311
+ var last = iterator.v();
1312
+ while (iterator.u())
1313
+ last = iterator.v();
1314
+ return last;
1315
1315
  }
1316
1316
  }
1317
1317
  function toMutableList_1(_this__u8e3s4) {
@@ -8103,21 +8103,41 @@ function Regex_init_$Init$(pattern, $this) {
8103
8103
  function Regex_init_$Create$(pattern) {
8104
8104
  return Regex_init_$Init$(pattern, objectCreate(protoOf(Regex)));
8105
8105
  }
8106
+ function initMatchesEntirePattern($this) {
8107
+ var tmp0_elvis_lhs = $this.md_1;
8108
+ var tmp;
8109
+ if (tmp0_elvis_lhs == null) {
8110
+ // Inline function 'kotlin.run' call
8111
+ var tmp_0;
8112
+ if (startsWith_3($this.id_1, _Char___init__impl__6a9atx(94)) && endsWith_1($this.id_1, _Char___init__impl__6a9atx(36))) {
8113
+ tmp_0 = $this.kd_1;
8114
+ } else {
8115
+ return new RegExp('^' + trimEnd(trimStart($this.id_1, charArrayOf([_Char___init__impl__6a9atx(94)])), charArrayOf([_Char___init__impl__6a9atx(36)])) + '$', toFlags($this.jd_1, 'gu'));
8116
+ }
8117
+ // Inline function 'kotlin.also' call
8118
+ var this_0 = tmp_0;
8119
+ $this.md_1 = this_0;
8120
+ tmp = this_0;
8121
+ } else {
8122
+ tmp = tmp0_elvis_lhs;
8123
+ }
8124
+ return tmp;
8125
+ }
8106
8126
  function Companion_8() {
8107
8127
  Companion_instance_8 = this;
8108
- this.id_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
8109
- this.jd_1 = new RegExp('[\\\\$]', 'g');
8110
- this.kd_1 = new RegExp('\\$', 'g');
8128
+ this.nd_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
8129
+ this.od_1 = new RegExp('[\\\\$]', 'g');
8130
+ this.pd_1 = new RegExp('\\$', 'g');
8111
8131
  }
8112
- protoOf(Companion_8).ld = function (literal) {
8132
+ protoOf(Companion_8).qd = function (literal) {
8113
8133
  // Inline function 'kotlin.text.nativeReplace' call
8114
- var pattern = this.id_1;
8134
+ var pattern = this.nd_1;
8115
8135
  // Inline function 'kotlin.js.asDynamic' call
8116
8136
  return literal.replace(pattern, '\\$&');
8117
8137
  };
8118
- protoOf(Companion_8).md = function (literal) {
8138
+ protoOf(Companion_8).rd = function (literal) {
8119
8139
  // Inline function 'kotlin.text.nativeReplace' call
8120
- var pattern = this.kd_1;
8140
+ var pattern = this.pd_1;
8121
8141
  // Inline function 'kotlin.js.asDynamic' call
8122
8142
  return literal.replace(pattern, '$$$$');
8123
8143
  };
@@ -8137,44 +8157,43 @@ function Regex$findAll$lambda_0(match) {
8137
8157
  }
8138
8158
  function Regex(pattern, options) {
8139
8159
  Companion_getInstance_8();
8140
- this.nd_1 = pattern;
8141
- this.od_1 = toSet_0(options);
8142
- this.pd_1 = new RegExp(pattern, toFlags(options, 'gu'));
8143
- this.qd_1 = null;
8144
- this.rd_1 = null;
8160
+ this.id_1 = pattern;
8161
+ this.jd_1 = toSet_0(options);
8162
+ this.kd_1 = new RegExp(pattern, toFlags(options, 'gu'));
8163
+ this.ld_1 = null;
8164
+ this.md_1 = null;
8145
8165
  }
8146
8166
  protoOf(Regex).td = function (input) {
8147
- reset(this.pd_1);
8148
- var match = this.pd_1.exec(toString_1(input));
8149
- return !(match == null) && match.index === 0 && this.pd_1.lastIndex === charSequenceLength(input);
8150
- };
8151
- protoOf(Regex).ud = function (input) {
8152
- reset(this.pd_1);
8153
- return this.pd_1.test(toString_1(input));
8167
+ reset(this.kd_1);
8168
+ var match = this.kd_1.exec(toString_1(input));
8169
+ return !(match == null) && match.index === 0 && this.kd_1.lastIndex === charSequenceLength(input);
8154
8170
  };
8155
8171
  protoOf(Regex).sd = function (input, startIndex) {
8156
8172
  if (startIndex < 0 || startIndex > charSequenceLength(input)) {
8157
8173
  throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
8158
8174
  }
8159
- return findNext(this.pd_1, toString_1(input), startIndex, this.pd_1);
8175
+ return findNext(this.kd_1, toString_1(input), startIndex, this.kd_1);
8160
8176
  };
8161
- protoOf(Regex).vd = function (input, startIndex, $super) {
8177
+ protoOf(Regex).ud = function (input, startIndex, $super) {
8162
8178
  startIndex = startIndex === VOID ? 0 : startIndex;
8163
8179
  return $super === VOID ? this.sd(input, startIndex) : $super.sd.call(this, input, startIndex);
8164
8180
  };
8165
- protoOf(Regex).wd = function (input, startIndex) {
8181
+ protoOf(Regex).vd = function (input, startIndex) {
8166
8182
  if (startIndex < 0 || startIndex > charSequenceLength(input)) {
8167
8183
  throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
8168
8184
  }
8169
8185
  var tmp = Regex$findAll$lambda(this, input, startIndex);
8170
8186
  return generateSequence(tmp, Regex$findAll$lambda_0);
8171
8187
  };
8172
- protoOf(Regex).xd = function (input, startIndex, $super) {
8188
+ protoOf(Regex).wd = function (input, startIndex, $super) {
8173
8189
  startIndex = startIndex === VOID ? 0 : startIndex;
8174
- return $super === VOID ? this.wd(input, startIndex) : $super.wd.call(this, input, startIndex);
8190
+ return $super === VOID ? this.vd(input, startIndex) : $super.vd.call(this, input, startIndex);
8191
+ };
8192
+ protoOf(Regex).xd = function (input) {
8193
+ return findNext(initMatchesEntirePattern(this), toString_1(input), 0, this.kd_1);
8175
8194
  };
8176
8195
  protoOf(Regex).yd = function (input, transform) {
8177
- var match = this.vd(input);
8196
+ var match = this.ud(input);
8178
8197
  if (match == null)
8179
8198
  return toString_1(input);
8180
8199
  var lastStart = 0;
@@ -8194,7 +8213,7 @@ protoOf(Regex).yd = function (input, transform) {
8194
8213
  return sb.toString();
8195
8214
  };
8196
8215
  protoOf(Regex).toString = function () {
8197
- return this.pd_1.toString();
8216
+ return this.kd_1.toString();
8198
8217
  };
8199
8218
  function MatchGroup(value) {
8200
8219
  this.ae_1 = value;
@@ -8505,9 +8524,9 @@ function _init_properties_stringJs_kt__bg7zye() {
8505
8524
  }
8506
8525
  function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
8507
8526
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
8508
- var tmp2 = new RegExp(Companion_getInstance_8().ld(oldValue), ignoreCase ? 'gui' : 'gu');
8527
+ var tmp2 = new RegExp(Companion_getInstance_8().qd(oldValue), ignoreCase ? 'gui' : 'gu');
8509
8528
  // Inline function 'kotlin.text.nativeReplace' call
8510
- var replacement = Companion_getInstance_8().md(newValue);
8529
+ var replacement = Companion_getInstance_8().rd(newValue);
8511
8530
  // Inline function 'kotlin.js.asDynamic' call
8512
8531
  return _this__u8e3s4.replace(tmp2, replacement);
8513
8532
  }
@@ -8556,7 +8575,7 @@ function startsWith(_this__u8e3s4, prefix, ignoreCase) {
8556
8575
  }
8557
8576
  function replace_0(_this__u8e3s4, oldChar, newChar, ignoreCase) {
8558
8577
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
8559
- var tmp2 = new RegExp(Companion_getInstance_8().ld(toString(oldChar)), ignoreCase ? 'gui' : 'gu');
8578
+ var tmp2 = new RegExp(Companion_getInstance_8().qd(toString(oldChar)), ignoreCase ? 'gui' : 'gu');
8560
8579
  // Inline function 'kotlin.text.nativeReplace' call
8561
8580
  var replacement = toString(newChar);
8562
8581
  // Inline function 'kotlin.js.asDynamic' call
@@ -19450,7 +19469,6 @@ export {
19450
19469
  fill as fill2542d4m9l93pn,
19451
19470
  filterNotNull as filterNotNull3qfgcwmxhwfxe,
19452
19471
  firstOrNull_0 as firstOrNull1982767dljvdy,
19453
- firstOrNull_1 as firstOrNullf6vlo6vdgu1e,
19454
19472
  firstOrNull as firstOrNull1gk7vzkf4h3nq,
19455
19473
  first_0 as first58ocm7j58k3q,
19456
19474
  first as first28gmhyvs4kf06,
@@ -19465,13 +19483,13 @@ export {
19465
19483
  joinTo_1 as joinTo3lkanfaxbzac2,
19466
19484
  get_lastIndex as get_lastIndex1y2f6o9u8hnf7,
19467
19485
  get_lastIndex_3 as get_lastIndex1yw0x4k50k51w,
19486
+ lastOrNull_0 as lastOrNulllcnpzslswkag,
19468
19487
  lastOrNull as lastOrNull1aq5oz189qoe1,
19469
19488
  last_0 as last1vo29oleiqj36,
19470
19489
  last as last1x5hqf11b8kkw,
19471
19490
  listOf as listOfvhqybd2zx248,
19472
19491
  listOf_0 as listOf1jh22dvmctj1r,
19473
19492
  mapCapacity as mapCapacity1h45rc3eh9p2l,
19474
- mapOf as mapOf2zpbbmyqk8xpf,
19475
19493
  mapOf_0 as mapOf1xd03cq9cnmy8,
19476
19494
  mutableListOf as mutableListOf6oorvk2mtdmp,
19477
19495
  plus_3 as plus1ogy4liedzq5j,