@solibo/solibo-sdk 1.1.36 → 1.1.38
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 +99 -99
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- 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 +240 -240
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +20 -20
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-logging.mjs +516 -516
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +8305 -7504
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +6 -0
- package/solibo-sdk-sdk.mjs +2344 -2344
|
@@ -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.wpc_1 = '-----BEGIN ';
|
|
30
|
+
this.xpc_1 = '-----END ';
|
|
31
|
+
this.ypc_1 = '-----';
|
|
32
32
|
}
|
|
33
|
-
protoOf(Pem).
|
|
34
|
-
return this.
|
|
33
|
+
protoOf(Pem).zpc = function (bytes) {
|
|
34
|
+
return this.apd(decodeToString(bytes));
|
|
35
35
|
};
|
|
36
|
-
protoOf(Pem).
|
|
36
|
+
protoOf(Pem).apd = 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.
|
|
112
|
-
this.
|
|
111
|
+
this.bpd_1 = label;
|
|
112
|
+
this.cpd_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.bpd_1 === label)) {
|
|
117
|
+
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.bpd_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.dpd_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
|
|
128
|
+
this.epd_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
|
|
129
|
+
this.fpd_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
|
|
130
|
+
this.gpd_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
|
|
131
|
+
this.hpd_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
|
|
132
132
|
}
|
|
133
133
|
var Companion_instance;
|
|
134
134
|
function Companion_getInstance() {
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,17 +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.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
|
-
}
|
|
51
40
|
if (typeof Math.trunc === 'undefined') {
|
|
52
41
|
Math.trunc = function (x) {
|
|
53
42
|
if (isNaN(x)) {
|
|
@@ -64,11 +53,16 @@ if (typeof Math.log10 === 'undefined') {
|
|
|
64
53
|
return Math.log(x) * Math.LOG10E;
|
|
65
54
|
};
|
|
66
55
|
}
|
|
67
|
-
if (typeof
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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);
|
|
72
66
|
}
|
|
73
67
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
74
68
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
@@ -81,6 +75,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
81
75
|
return lastIndex !== -1 && lastIndex === position;
|
|
82
76
|
}});
|
|
83
77
|
}
|
|
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;
|
|
@@ -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,
|
|
132
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
131
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
132
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
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,
|
|
156
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
|
|
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, [
|
|
168
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
|
|
169
169
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
170
170
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
171
171
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -224,6 +224,11 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
|
224
224
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
225
225
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
226
226
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
227
|
+
function close$default(cause, $super) {
|
|
228
|
+
cause = cause === VOID ? null : cause;
|
|
229
|
+
return $super === VOID ? this.y2p(cause) : $super.y2p.call(this, cause);
|
|
230
|
+
}
|
|
231
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
227
232
|
function cancel$default_0(cause, $super) {
|
|
228
233
|
cause = cause === VOID ? null : cause;
|
|
229
234
|
var tmp;
|
|
@@ -236,12 +241,7 @@ function cancel$default_0(cause, $super) {
|
|
|
236
241
|
return tmp;
|
|
237
242
|
}
|
|
238
243
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
239
|
-
|
|
240
|
-
cause = cause === VOID ? null : cause;
|
|
241
|
-
return $super === VOID ? this.y2p(cause) : $super.y2p.call(this, cause);
|
|
242
|
-
}
|
|
243
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
244
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
244
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
245
245
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
246
246
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
247
247
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -251,7 +251,7 @@ initMetadataForCompanion(Companion);
|
|
|
251
251
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
252
252
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
253
253
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
254
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine,
|
|
254
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
|
|
255
255
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
256
256
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
257
257
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
|