@solibo/solibo-sdk 1.0.25 → 1.0.27-SNAPSHOT
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.js +88 -88
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1539 -1539
- package/KotlinBigInteger-bignum.js +1164 -1164
- package/MultiplatformSettings-multiplatform-settings.js +17 -17
- package/Stately-stately-concurrency.js +5 -5
- package/cryptography-kotlin-cryptography-bigint.js +31 -31
- package/cryptography-kotlin-cryptography-core.js +52 -52
- package/cryptography-kotlin-cryptography-provider-base.js +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +175 -175
- package/cryptography-kotlin-cryptography-random.js +26 -26
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +204 -204
- package/cryptography-kotlin-cryptography-serialization-asn1.js +331 -331
- package/cryptography-kotlin-cryptography-serialization-pem.js +16 -16
- package/kotlin-kotlin-stdlib.js +2014 -2008
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2085 -2085
- package/kotlinx-io-kotlinx-io-bytestring.js +32 -32
- package/kotlinx-io-kotlinx-io-core.js +446 -446
- package/kotlinx-serialization-kotlinx-serialization-core.js +1707 -1707
- package/kotlinx-serialization-kotlinx-serialization-json.js +1351 -1351
- package/ktor-ktor-client-auth.js +465 -465
- package/ktor-ktor-client-auth.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +184 -184
- package/ktor-ktor-client-core.js +4088 -4088
- package/ktor-ktor-client-logging.js +1078 -1078
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http-cio.js +473 -473
- package/ktor-ktor-http.js +963 -963
- package/ktor-ktor-io.js +1043 -1043
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +234 -234
- package/ktor-ktor-serialization.js +108 -108
- package/ktor-ktor-utils.js +850 -850
- package/ktor-ktor-websockets.js +740 -740
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +1483 -1483
- package/solibo-sdk-sdk.d.ts +221 -6
- package/solibo-sdk-sdk.js +3279 -2541
- package/solibo-sdk-sdk.js.map +1 -1
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
initMetadataForCompanion(Companion);
|
|
38
38
|
//endregion
|
|
39
39
|
function Pem() {
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
40
|
+
this.r7w_1 = '-----BEGIN ';
|
|
41
|
+
this.s7w_1 = '-----END ';
|
|
42
|
+
this.t7w_1 = '-----';
|
|
43
43
|
}
|
|
44
|
-
protoOf(Pem).
|
|
45
|
-
return this.
|
|
44
|
+
protoOf(Pem).u7w = function (bytes) {
|
|
45
|
+
return this.v7w(decodeToString(bytes));
|
|
46
46
|
};
|
|
47
|
-
protoOf(Pem).
|
|
47
|
+
protoOf(Pem).v7w = function (string) {
|
|
48
48
|
var lines = split(string, ['\n']);
|
|
49
49
|
var tmp$ret$1;
|
|
50
50
|
$l$block: {
|
|
@@ -112,20 +112,20 @@
|
|
|
112
112
|
throw IllegalStateException_init_$Create$(toString(message_3));
|
|
113
113
|
}
|
|
114
114
|
var contentText = joinToString(lines.r2(beginLine + 1 | 0, endLine), '');
|
|
115
|
-
return new PemContent(_PemLabel___init__impl__xifhtx(beginLabel), Default_getInstance().
|
|
115
|
+
return new PemContent(_PemLabel___init__impl__xifhtx(beginLabel), Default_getInstance().lk(contentText));
|
|
116
116
|
};
|
|
117
117
|
var Pem_instance;
|
|
118
118
|
function Pem_getInstance() {
|
|
119
119
|
return Pem_instance;
|
|
120
120
|
}
|
|
121
121
|
function PemContent(label, bytes) {
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
122
|
+
this.w7w_1 = label;
|
|
123
|
+
this.x7w_1 = bytes;
|
|
124
124
|
}
|
|
125
125
|
function ensurePemLabel(_this__u8e3s4, label) {
|
|
126
126
|
// Inline function 'kotlin.check' call
|
|
127
|
-
if (!(_this__u8e3s4.
|
|
128
|
-
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.
|
|
127
|
+
if (!(_this__u8e3s4.w7w_1 === label)) {
|
|
128
|
+
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.w7w_1);
|
|
129
129
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
130
130
|
}
|
|
131
131
|
return _this__u8e3s4;
|
|
@@ -135,11 +135,11 @@
|
|
|
135
135
|
}
|
|
136
136
|
function Companion() {
|
|
137
137
|
Companion_instance = this;
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
141
|
-
this.
|
|
142
|
-
this.
|
|
138
|
+
this.y7w_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
|
|
139
|
+
this.z7w_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
|
|
140
|
+
this.a7x_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
|
|
141
|
+
this.b7x_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
|
|
142
|
+
this.c7x_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
|
|
143
143
|
}
|
|
144
144
|
var Companion_instance;
|
|
145
145
|
function Companion_getInstance() {
|