@solibo/solibo-sdk 1.7.0 → 1.7.2
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.
- package/KmLogging-logging.mjs +98 -98
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +33 -33
- package/bitops-library-endian.mjs +3 -3
- package/core-library-digest.mjs +29 -29
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +237 -237
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/hash-library-md.mjs +30 -30
- package/index.mjs +4 -0
- package/kotlin-kotlin-stdlib.mjs +5 -5
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +8 -8
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-encoding.mjs +75 -75
- package/ktor-ktor-client-logging.mjs +520 -520
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-http.mjs +8 -3
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +43257 -39056
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +377 -6
- package/solibo-sdk-sdk.mjs +4076 -3958
- 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.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
29
|
+
this.at6_1 = '-----BEGIN ';
|
|
30
|
+
this.bt6_1 = '-----END ';
|
|
31
|
+
this.ct6_1 = '-----';
|
|
32
32
|
}
|
|
33
|
-
protoOf(Pem).
|
|
34
|
-
return this.
|
|
33
|
+
protoOf(Pem).dt6 = function (bytes) {
|
|
34
|
+
return this.et6(decodeToString(bytes));
|
|
35
35
|
};
|
|
36
|
-
protoOf(Pem).
|
|
36
|
+
protoOf(Pem).et6 = 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.
|
|
112
|
-
this.
|
|
111
|
+
this.ft6_1 = label;
|
|
112
|
+
this.gt6_1 = bytes;
|
|
113
113
|
}
|
|
114
114
|
function ensurePemLabel(_this__u8e3s4, label) {
|
|
115
115
|
// Inline function 'kotlin.check' call
|
|
116
|
-
if (!(_this__u8e3s4.
|
|
117
|
-
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.
|
|
116
|
+
if (!(_this__u8e3s4.ft6_1 === label)) {
|
|
117
|
+
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.ft6_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.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
127
|
+
this.ht6_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
|
|
128
|
+
this.it6_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
|
|
129
|
+
this.jt6_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
|
|
130
|
+
this.kt6_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
|
|
131
|
+
this.lt6_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
|
|
132
132
|
}
|
|
133
133
|
var Companion_instance;
|
|
134
134
|
function Companion_getInstance() {
|
package/hash-library-md.mjs
CHANGED
|
@@ -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.
|
|
28
|
+
$this.jtc_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.
|
|
33
|
-
$this.
|
|
32
|
+
tmp.ktc_1 = Companion_getInstance().ntc_1.slice();
|
|
33
|
+
$this.ltc_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.
|
|
41
|
+
this.mtc_1 = 64;
|
|
42
42
|
var tmp = this;
|
|
43
43
|
// Inline function 'kotlin.intArrayOf' call
|
|
44
|
-
tmp.
|
|
44
|
+
tmp.ntc_1 = new Int32Array([1732584193, -271733879, -1732584194, 271733878]);
|
|
45
45
|
var tmp_0 = this;
|
|
46
46
|
// Inline function 'kotlin.intArrayOf' call
|
|
47
|
-
tmp_0.
|
|
47
|
+
tmp_0.otc_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.
|
|
50
|
+
tmp_1.ptc_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).
|
|
59
|
-
var k = Companion_getInstance().
|
|
60
|
-
var s = Companion_getInstance().
|
|
61
|
-
var x = this.
|
|
62
|
-
var state = this.
|
|
58
|
+
protoOf(MD5).ftb = function (input, offset) {
|
|
59
|
+
var k = Companion_getInstance().ptc_1;
|
|
60
|
+
var s = Companion_getInstance().otc_1;
|
|
61
|
+
var x = this.jtc_1;
|
|
62
|
+
var state = this.ktc_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).nt1 = 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().
|
|
75
|
+
var xi = Little_getInstance().ctc(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).nt1 = 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.
|
|
127
|
+
this.ltc_1.rtb();
|
|
128
128
|
};
|
|
129
|
-
protoOf(MD5).
|
|
130
|
-
var digest = new Int8Array(this.
|
|
131
|
-
this.
|
|
129
|
+
protoOf(MD5).gtb = function (buf, bufPos) {
|
|
130
|
+
var digest = new Int8Array(this.yta());
|
|
131
|
+
this.dtb(digest, 0, buf, bufPos);
|
|
132
132
|
return digest;
|
|
133
133
|
};
|
|
134
|
-
protoOf(MD5).
|
|
135
|
-
var tmp0_container = this.
|
|
134
|
+
protoOf(MD5).dtb = function (dest, destOffset, buf, bufPos) {
|
|
135
|
+
var tmp0_container = this.ltc_1.stb(bufPos).ptb();
|
|
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.
|
|
140
|
+
this.ftb(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().
|
|
145
|
+
Little_getInstance().dtc(bitsLo, buf, 56);
|
|
146
146
|
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
147
147
|
Little_getInstance();
|
|
148
|
-
Little_getInstance().
|
|
149
|
-
this.
|
|
148
|
+
Little_getInstance().dtc(bitsHi, buf, 60);
|
|
149
|
+
this.ftb(buf, 0);
|
|
150
150
|
Little_getInstance();
|
|
151
151
|
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
152
|
-
var this_0 = this.
|
|
152
|
+
var this_0 = this.ktc_1;
|
|
153
153
|
var sourceIndexEnd = this_0.length;
|
|
154
|
-
Little_getInstance().
|
|
154
|
+
Little_getInstance().etc(this_0, dest, destOffset, 0, sourceIndexEnd);
|
|
155
155
|
};
|
|
156
|
-
protoOf(MD5).
|
|
157
|
-
fill_0(this.
|
|
158
|
-
var tmp0 = Companion_getInstance().
|
|
156
|
+
protoOf(MD5).etb = function () {
|
|
157
|
+
fill_0(this.jtc_1, 0);
|
|
158
|
+
var tmp0 = Companion_getInstance().ntc_1;
|
|
159
159
|
// Inline function 'kotlin.collections.copyInto' call
|
|
160
|
-
var destination = this.
|
|
160
|
+
var destination = this.ktc_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).mt1 = 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.
|
|
168
|
+
this.ltc_1.ttb();
|
|
169
169
|
};
|
|
170
170
|
function MD5() {
|
|
171
171
|
Companion_getInstance();
|
package/index.mjs
CHANGED
|
@@ -130,6 +130,7 @@ import {
|
|
|
130
130
|
NotificationGroupType as _Enum_NotificationGroupType,
|
|
131
131
|
OrderType as _Enum_OrderType,
|
|
132
132
|
OverdueNoticeOrder as _Enum_OverdueNoticeOrder,
|
|
133
|
+
ParkingSpaceOwnerType as _Enum_ParkingSpaceOwnerType,
|
|
133
134
|
ParkingSpaceType as _Enum_ParkingSpaceType,
|
|
134
135
|
ParticipantType as _Enum_ParticipantType,
|
|
135
136
|
PayeeType as _Enum_PayeeType,
|
|
@@ -154,6 +155,7 @@ import {
|
|
|
154
155
|
SectionType as _Enum_SectionType,
|
|
155
156
|
SettlementProvider as _Enum_SettlementProvider,
|
|
156
157
|
SettlementType as _Enum_SettlementType,
|
|
158
|
+
StorageRoomOwnerType as _Enum_StorageRoomOwnerType,
|
|
157
159
|
SupplierInvoiceProcessingResult as _Enum_SupplierInvoiceProcessingResult,
|
|
158
160
|
SupplierInvoiceStatus as _Enum_SupplierInvoiceStatus,
|
|
159
161
|
TaskEventType as _Enum_TaskEventType,
|
|
@@ -210,6 +212,7 @@ _addPascalEnumAliases(_Enum_MfaType);
|
|
|
210
212
|
_addPascalEnumAliases(_Enum_NotificationGroupType);
|
|
211
213
|
_addPascalEnumAliases(_Enum_OrderType);
|
|
212
214
|
_addPascalEnumAliases(_Enum_OverdueNoticeOrder);
|
|
215
|
+
_addPascalEnumAliases(_Enum_ParkingSpaceOwnerType);
|
|
213
216
|
_addPascalEnumAliases(_Enum_ParkingSpaceType);
|
|
214
217
|
_addPascalEnumAliases(_Enum_ParticipantType);
|
|
215
218
|
_addPascalEnumAliases(_Enum_PayeeType);
|
|
@@ -234,6 +237,7 @@ _addPascalEnumAliases(_Enum_SectionStatusOperation);
|
|
|
234
237
|
_addPascalEnumAliases(_Enum_SectionType);
|
|
235
238
|
_addPascalEnumAliases(_Enum_SettlementProvider);
|
|
236
239
|
_addPascalEnumAliases(_Enum_SettlementType);
|
|
240
|
+
_addPascalEnumAliases(_Enum_StorageRoomOwnerType);
|
|
237
241
|
_addPascalEnumAliases(_Enum_SupplierInvoiceProcessingResult);
|
|
238
242
|
_addPascalEnumAliases(_Enum_SupplierInvoiceStatus);
|
|
239
243
|
_addPascalEnumAliases(_Enum_TaskEventType);
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,11 +37,6 @@ 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.log10 === 'undefined') {
|
|
41
|
-
Math.log10 = function (x) {
|
|
42
|
-
return Math.log(x) * Math.LOG10E;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
40
|
if (typeof Math.trunc === 'undefined') {
|
|
46
41
|
Math.trunc = function (x) {
|
|
47
42
|
if (isNaN(x)) {
|
|
@@ -53,6 +48,11 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
53
48
|
return Math.ceil(x);
|
|
54
49
|
};
|
|
55
50
|
}
|
|
51
|
+
if (typeof Math.log10 === 'undefined') {
|
|
52
|
+
Math.log10 = function (x) {
|
|
53
|
+
return Math.log(x) * Math.LOG10E;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
56
|
if (typeof Math.clz32 === 'undefined') {
|
|
57
57
|
Math.clz32 = function (log, LN2) {
|
|
58
58
|
return function (x) {
|