@solibo/solibo-sdk 1.1.30 → 1.1.31
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 +76 -76
- package/KotlinBigInteger-bignum.mjs +1104 -1104
- 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 +21 -21
- 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 +10103 -10079
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +3 -0
- package/solibo-sdk-sdk.mjs +2297 -2297
|
@@ -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.mp7_1 = '-----BEGIN ';
|
|
30
|
+
this.np7_1 = '-----END ';
|
|
31
|
+
this.op7_1 = '-----';
|
|
32
32
|
}
|
|
33
|
-
protoOf(Pem).
|
|
34
|
-
return this.
|
|
33
|
+
protoOf(Pem).pp7 = function (bytes) {
|
|
34
|
+
return this.qp7(decodeToString(bytes));
|
|
35
35
|
};
|
|
36
|
-
protoOf(Pem).
|
|
36
|
+
protoOf(Pem).qp7 = 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.rp7_1 = label;
|
|
112
|
+
this.sp7_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.rp7_1 === label)) {
|
|
117
|
+
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.rp7_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.tp7_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
|
|
128
|
+
this.up7_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
|
|
129
|
+
this.vp7_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
|
|
130
|
+
this.wp7_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
|
|
131
|
+
this.xp7_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.trunc === 'undefined') {
|
|
41
|
-
Math.trunc = function (x) {
|
|
42
|
-
if (isNaN(x)) {
|
|
43
|
-
return NaN;
|
|
44
|
-
}
|
|
45
|
-
if (x > 0) {
|
|
46
|
-
return Math.floor(x);
|
|
47
|
-
}
|
|
48
|
-
return Math.ceil(x);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
40
|
if (typeof Math.clz32 === 'undefined') {
|
|
52
41
|
Math.clz32 = function (log, LN2) {
|
|
53
42
|
return function (x) {
|
|
@@ -59,17 +48,22 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
59
48
|
};
|
|
60
49
|
}(Math.log, Math.LN2);
|
|
61
50
|
}
|
|
51
|
+
if (typeof Math.trunc === 'undefined') {
|
|
52
|
+
Math.trunc = function (x) {
|
|
53
|
+
if (isNaN(x)) {
|
|
54
|
+
return NaN;
|
|
55
|
+
}
|
|
56
|
+
if (x > 0) {
|
|
57
|
+
return Math.floor(x);
|
|
58
|
+
}
|
|
59
|
+
return Math.ceil(x);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
62
|
if (typeof Math.log10 === 'undefined') {
|
|
63
63
|
Math.log10 = function (x) {
|
|
64
64
|
return Math.log(x) * Math.LOG10E;
|
|
65
65
|
};
|
|
66
66
|
}
|
|
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
|
-
}});
|
|
72
|
-
}
|
|
73
67
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
74
68
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
75
69
|
var subjectString = this.toString();
|
|
@@ -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, 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,
|
|
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, [
|
|
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);
|
|
@@ -224,11 +224,6 @@ 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]);
|
|
232
227
|
function cancel$default_0(cause, $super) {
|
|
233
228
|
cause = cause === VOID ? null : cause;
|
|
234
229
|
var tmp;
|
|
@@ -241,7 +236,12 @@ function cancel$default_0(cause, $super) {
|
|
|
241
236
|
return tmp;
|
|
242
237
|
}
|
|
243
238
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
244
|
-
|
|
239
|
+
function close$default(cause, $super) {
|
|
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]);
|
|
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, ReceiveChannel, SendChannel], [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]);
|