@solibo/solibo-sdk 1.7.5 → 1.7.6

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 (31) 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/core-library-digest.mjs +29 -29
  9. package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
  10. package/cryptography-kotlin-cryptography-core.mjs +47 -47
  11. package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
  12. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
  13. package/cryptography-kotlin-cryptography-random.mjs +15 -15
  14. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
  15. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +237 -237
  16. package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
  17. package/hash-library-md.mjs +30 -30
  18. package/kotlin-kotlin-stdlib.mjs +9 -9
  19. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  20. package/kotlinx-coroutines-core.mjs +7 -7
  21. package/kotlinx-coroutines-core.mjs.map +1 -1
  22. package/ktor-ktor-client-auth.mjs +224 -224
  23. package/ktor-ktor-client-encoding.mjs +75 -75
  24. package/ktor-ktor-client-logging.mjs +520 -520
  25. package/ktor-ktor-client-mock.mjs +39 -39
  26. package/ktor-ktor-websockets.mjs +2 -2
  27. package/package.json +1 -1
  28. package/solibo-sdk-sdk-home-api.mjs +16867 -16518
  29. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  30. package/solibo-sdk-sdk.d.mts +38 -6
  31. package/solibo-sdk-sdk.mjs +3058 -3058
@@ -26,14 +26,14 @@ initMetadataForClass(PemContent, 'PemContent');
26
26
  initMetadataForCompanion(Companion);
27
27
  //endregion
28
28
  function Pem() {
29
- this.ct6_1 = '-----BEGIN ';
30
- this.dt6_1 = '-----END ';
31
- this.et6_1 = '-----';
29
+ this.st6_1 = '-----BEGIN ';
30
+ this.tt6_1 = '-----END ';
31
+ this.ut6_1 = '-----';
32
32
  }
33
- protoOf(Pem).ft6 = function (bytes) {
34
- return this.gt6(decodeToString(bytes));
33
+ protoOf(Pem).vt6 = function (bytes) {
34
+ return this.wt6(decodeToString(bytes));
35
35
  };
36
- protoOf(Pem).gt6 = function (string) {
36
+ protoOf(Pem).wt6 = function (string) {
37
37
  var lines = split(string, ['\n']);
38
38
  var tmp$ret$0;
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.ht6_1 = label;
112
- this.it6_1 = bytes;
111
+ this.xt6_1 = label;
112
+ this.yt6_1 = bytes;
113
113
  }
114
114
  function ensurePemLabel(_this__u8e3s4, label) {
115
115
  // Inline function 'kotlin.check' call
116
- if (!(_this__u8e3s4.ht6_1 === label)) {
117
- var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.ht6_1);
116
+ if (!(_this__u8e3s4.xt6_1 === label)) {
117
+ var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.xt6_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.jt6_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
128
- this.kt6_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
129
- this.lt6_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
130
- this.mt6_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
131
- this.nt6_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
127
+ this.zt6_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
128
+ this.at7_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
129
+ this.bt7_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
130
+ this.ct7_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
131
+ this.dt7_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
132
132
  }
133
133
  var Companion_instance;
134
134
  function Companion_getInstance() {
@@ -25,12 +25,12 @@ initMetadataForClass(MD5, 'MD5', MD5_init_$Create$, Digest);
25
25
  function MD5_init_$Init$($this) {
26
26
  Digest_init_$Init$('MD5', 64, 16, $this);
27
27
  MD5.call($this);
28
- $this.ltc_1 = new Int32Array(16);
28
+ $this.btd_1 = new Int32Array(16);
29
29
  var tmp = $this;
30
30
  // Inline function 'kotlin.collections.copyOf' call
31
31
  // Inline function 'kotlin.js.asDynamic' call
32
- tmp.mtc_1 = Companion_getInstance().ptc_1.slice();
33
- $this.ntc_1 = Bit32_init_$Create$(64);
32
+ tmp.ctd_1 = Companion_getInstance().ftd_1.slice();
33
+ $this.dtd_1 = Bit32_init_$Create$(64);
34
34
  return $this;
35
35
  }
36
36
  function MD5_init_$Create$() {
@@ -38,16 +38,16 @@ function MD5_init_$Create$() {
38
38
  }
39
39
  function Companion() {
40
40
  Companion_instance = this;
41
- this.otc_1 = 64;
41
+ this.etd_1 = 64;
42
42
  var tmp = this;
43
43
  // Inline function 'kotlin.intArrayOf' call
44
- tmp.ptc_1 = new Int32Array([1732584193, -271733879, -1732584194, 271733878]);
44
+ tmp.ftd_1 = new Int32Array([1732584193, -271733879, -1732584194, 271733878]);
45
45
  var tmp_0 = this;
46
46
  // Inline function 'kotlin.intArrayOf' call
47
- tmp_0.qtc_1 = new Int32Array([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]);
47
+ tmp_0.gtd_1 = new Int32Array([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]);
48
48
  var tmp_1 = this;
49
49
  // Inline function 'kotlin.intArrayOf' call
50
- tmp_1.rtc_1 = new Int32Array([-680876936, -389564586, 606105819, -1044525330, -176418897, 1200080426, -1473231341, -45705983, 1770035416, -1958414417, -42063, -1990404162, 1804603682, -40341101, -1502002290, 1236535329, -165796510, -1069501632, 643717713, -373897302, -701558691, 38016083, -660478335, -405537848, 568446438, -1019803690, -187363961, 1163531501, -1444681467, -51403784, 1735328473, -1926607734, -378558, -2022574463, 1839030562, -35309556, -1530992060, 1272893353, -155497632, -1094730640, 681279174, -358537222, -722521979, 76029189, -640364487, -421815835, 530742520, -995338651, -198630844, 1126891415, -1416354905, -57434055, 1700485571, -1894986606, -1051523, -2054922799, 1873313359, -30611744, -1560198380, 1309151649, -145523070, -1120210379, 718787259, -343485551]);
50
+ tmp_1.htd_1 = new Int32Array([-680876936, -389564586, 606105819, -1044525330, -176418897, 1200080426, -1473231341, -45705983, 1770035416, -1958414417, -42063, -1990404162, 1804603682, -40341101, -1502002290, 1236535329, -165796510, -1069501632, 643717713, -373897302, -701558691, 38016083, -660478335, -405537848, 568446438, -1019803690, -187363961, 1163531501, -1444681467, -51403784, 1735328473, -1926607734, -378558, -2022574463, 1839030562, -35309556, -1530992060, 1272893353, -155497632, -1094730640, 681279174, -358537222, -722521979, 76029189, -640364487, -421815835, 530742520, -995338651, -198630844, 1126891415, -1416354905, -57434055, 1700485571, -1894986606, -1051523, -2054922799, 1873313359, -30611744, -1560198380, 1309151649, -145523070, -1120210379, 718787259, -343485551]);
51
51
  }
52
52
  var Companion_instance;
53
53
  function Companion_getInstance() {
@@ -55,11 +55,11 @@ function Companion_getInstance() {
55
55
  new Companion();
56
56
  return Companion_instance;
57
57
  }
58
- protoOf(MD5).htb = function (input, offset) {
59
- var k = Companion_getInstance().rtc_1;
60
- var s = Companion_getInstance().qtc_1;
61
- var x = this.ltc_1;
62
- var state = this.mtc_1;
58
+ protoOf(MD5).xtb = function (input, offset) {
59
+ var k = Companion_getInstance().htd_1;
60
+ var s = Companion_getInstance().gtd_1;
61
+ var x = this.btd_1;
62
+ var state = this.ctd_1;
63
63
  var a = state[0];
64
64
  var b = state[1];
65
65
  var c = state[2];
@@ -72,7 +72,7 @@ protoOf(MD5).htb = function (input, offset) {
72
72
  Little_getInstance();
73
73
  // Inline function 'org.kotlincrypto.bitops.endian.Little.leIntAt' call
74
74
  var offset_0 = imul(i, 4) + offset | 0;
75
- var xi = Little_getInstance().etc(input, offset_0);
75
+ var xi = Little_getInstance().utc(input, offset_0);
76
76
  x[i] = xi;
77
77
  var f = (((b & c | ~b & d) + a | 0) + k[i] | 0) + xi | 0;
78
78
  a = d;
@@ -124,40 +124,40 @@ protoOf(MD5).htb = function (input, offset) {
124
124
  state[1] = state[1] + b | 0;
125
125
  state[2] = state[2] + c | 0;
126
126
  state[3] = state[3] + d | 0;
127
- this.ntc_1.ttb();
127
+ this.dtd_1.jtc();
128
128
  };
129
- protoOf(MD5).itb = function (buf, bufPos) {
130
- var digest = new Int8Array(this.atb());
131
- this.ftb(digest, 0, buf, bufPos);
129
+ protoOf(MD5).ytb = function (buf, bufPos) {
130
+ var digest = new Int8Array(this.qtb());
131
+ this.vtb(digest, 0, buf, bufPos);
132
132
  return digest;
133
133
  };
134
- protoOf(MD5).ftb = function (dest, destOffset, buf, bufPos) {
135
- var tmp0_container = this.ntc_1.utb(bufPos).rtb();
134
+ protoOf(MD5).vtb = function (dest, destOffset, buf, bufPos) {
135
+ var tmp0_container = this.dtd_1.ktc(bufPos).htc();
136
136
  var bitsLo = tmp0_container.ch();
137
137
  var bitsHi = tmp0_container.dh();
138
138
  buf[bufPos] = -128;
139
139
  if ((bufPos + 1 | 0) > 56) {
140
- this.htb(buf, 0);
140
+ this.xtb(buf, 0);
141
141
  fill(buf, 0, 0, 56);
142
142
  }
143
143
  // Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
144
144
  Little_getInstance();
145
- Little_getInstance().ftc(bitsLo, buf, 56);
145
+ Little_getInstance().vtc(bitsLo, buf, 56);
146
146
  // Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
147
147
  Little_getInstance();
148
- Little_getInstance().ftc(bitsHi, buf, 60);
149
- this.htb(buf, 0);
148
+ Little_getInstance().vtc(bitsHi, buf, 60);
149
+ this.xtb(buf, 0);
150
150
  Little_getInstance();
151
151
  // Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
152
- var this_0 = this.mtc_1;
152
+ var this_0 = this.ctd_1;
153
153
  var sourceIndexEnd = this_0.length;
154
- Little_getInstance().gtc(this_0, dest, destOffset, 0, sourceIndexEnd);
154
+ Little_getInstance().wtc(this_0, dest, destOffset, 0, sourceIndexEnd);
155
155
  };
156
- protoOf(MD5).gtb = function () {
157
- fill_0(this.ltc_1, 0);
158
- var tmp0 = Companion_getInstance().ptc_1;
156
+ protoOf(MD5).wtb = function () {
157
+ fill_0(this.btd_1, 0);
158
+ var tmp0 = Companion_getInstance().ftd_1;
159
159
  // Inline function 'kotlin.collections.copyInto' call
160
- var destination = this.mtc_1;
160
+ var destination = this.ctd_1;
161
161
  var endIndex = tmp0.length;
162
162
  // Inline function 'kotlin.js.unsafeCast' call
163
163
  // Inline function 'kotlin.js.asDynamic' call
@@ -165,7 +165,7 @@ protoOf(MD5).gtb = function () {
165
165
  // Inline function 'kotlin.js.unsafeCast' call
166
166
  // Inline function 'kotlin.js.asDynamic' call
167
167
  arrayCopy(tmp, destination, 0, 0, endIndex);
168
- this.ntc_1.vtb();
168
+ this.dtd_1.ltc();
169
169
  };
170
170
  function MD5() {
171
171
  Companion_getInstance();
@@ -48,11 +48,6 @@ if (typeof Math.clz32 === 'undefined') {
48
48
  };
49
49
  }(Math.log, Math.LN2);
50
50
  }
51
- if (typeof Math.log10 === 'undefined') {
52
- Math.log10 = function (x) {
53
- return Math.log(x) * Math.LOG10E;
54
- };
55
- }
56
51
  if (typeof Math.trunc === 'undefined') {
57
52
  Math.trunc = function (x) {
58
53
  if (isNaN(x)) {
@@ -64,6 +59,11 @@ if (typeof Math.trunc === 'undefined') {
64
59
  return Math.ceil(x);
65
60
  };
66
61
  }
62
+ if (typeof Math.log10 === 'undefined') {
63
+ Math.log10 = function (x) {
64
+ return Math.log(x) * Math.LOG10E;
65
+ };
66
+ }
67
67
  if (typeof String.prototype.endsWith === 'undefined') {
68
68
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
69
69
  var subjectString = this.toString();
@@ -127,8 +127,8 @@ initMetadataForInterface(MutableIterable, 'MutableIterable');
127
127
  function asJsArrayView() {
128
128
  return createJsArrayViewFrom(this);
129
129
  }
130
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
131
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
130
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
131
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
132
132
  initMetadataForCompanion(Companion_4);
133
133
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
134
134
  initMetadataForCompanion(Companion_5);
@@ -152,7 +152,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [RandomAccess]);
152
152
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
153
153
  initMetadataForInterface(Comparator, 'Comparator');
154
154
  initMetadataForObject(Unit, 'Unit');
155
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
155
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
156
156
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
157
157
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
158
158
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -164,7 +164,7 @@ initMetadataForCompanion(Companion_6);
164
164
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
165
165
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
166
166
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
167
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
167
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
168
168
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
169
169
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
170
170
  initMetadataForClass(HashMapKeysDefault$iterator$1);