@solibo/solibo-sdk 1.5.18 → 1.6.1
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 +110 -110
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1545 -1545
- package/KotlinBigInteger-bignum.mjs +1198 -1198
- package/MultiplatformSettings-multiplatform-settings-test.mjs +19 -19
- package/MultiplatformSettings-multiplatform-settings.mjs +17 -17
- package/Stately-stately-concurrency.mjs +5 -5
- package/cryptography-kotlin-cryptography-bigint.mjs +33 -33
- package/cryptography-kotlin-cryptography-core.mjs +49 -49
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +175 -175
- package/cryptography-kotlin-cryptography-random.mjs +26 -26
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +204 -204
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +332 -332
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +16 -16
- package/index.mjs +6 -0
- package/kotlin-kotlin-stdlib.mjs +2141 -2051
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2488 -2461
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
- package/kotlinx-io-kotlinx-io-core.mjs +451 -451
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1832 -1832
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1383 -1383
- package/ktor-ktor-client-auth.mjs +463 -463
- package/ktor-ktor-client-content-negotiation.mjs +184 -184
- package/ktor-ktor-client-core.mjs +4457 -4456
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +785 -0
- package/ktor-ktor-client-encoding.mjs.map +1 -0
- package/ktor-ktor-client-logging.mjs +1080 -1080
- package/ktor-ktor-client-mock.mjs +79 -79
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +480 -480
- package/ktor-ktor-http.mjs +1296 -997
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +1120 -1097
- package/ktor-ktor-io.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +228 -228
- package/ktor-ktor-serialization.mjs +105 -105
- package/ktor-ktor-utils.mjs +1152 -1041
- package/ktor-ktor-utils.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +741 -741
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +77103 -73805
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +318 -3
- package/solibo-sdk-sdk.mjs +6928 -6854
- 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.nsk_1 = '-----BEGIN ';
|
|
30
|
+
this.osk_1 = '-----END ';
|
|
31
|
+
this.psk_1 = '-----';
|
|
32
32
|
}
|
|
33
|
-
protoOf(Pem).
|
|
34
|
-
return this.
|
|
33
|
+
protoOf(Pem).qsk = function (bytes) {
|
|
34
|
+
return this.rsk(decodeToString(bytes));
|
|
35
35
|
};
|
|
36
|
-
protoOf(Pem).
|
|
36
|
+
protoOf(Pem).rsk = function (string) {
|
|
37
37
|
var lines = split(string, ['\n']);
|
|
38
38
|
var tmp$ret$0;
|
|
39
39
|
$l$block: {
|
|
@@ -101,20 +101,20 @@ protoOf(Pem).es8 = function (string) {
|
|
|
101
101
|
throw IllegalStateException_init_$Create$(toString(message_3));
|
|
102
102
|
}
|
|
103
103
|
var contentText = joinToString(lines.v2(beginLine + 1 | 0, endLine), '');
|
|
104
|
-
return new PemContent(_PemLabel___init__impl__xifhtx(beginLabel), Default_getInstance().
|
|
104
|
+
return new PemContent(_PemLabel___init__impl__xifhtx(beginLabel), Default_getInstance().il(contentText));
|
|
105
105
|
};
|
|
106
106
|
var Pem_instance;
|
|
107
107
|
function Pem_getInstance() {
|
|
108
108
|
return Pem_instance;
|
|
109
109
|
}
|
|
110
110
|
function PemContent(label, bytes) {
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
111
|
+
this.ssk_1 = label;
|
|
112
|
+
this.tsk_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.ssk_1 === label)) {
|
|
117
|
+
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.ssk_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.usk_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
|
|
128
|
+
this.vsk_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
|
|
129
|
+
this.wsk_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
|
|
130
|
+
this.xsk_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
|
|
131
|
+
this.ysk_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
|
|
132
132
|
}
|
|
133
133
|
var Companion_instance;
|
|
134
134
|
function Companion_getInstance() {
|
package/index.mjs
CHANGED
|
@@ -87,11 +87,13 @@ function _addPascalEnumAliases(EnumClass) {
|
|
|
87
87
|
import {
|
|
88
88
|
AuthChallengeType as _Enum_AuthChallengeType,
|
|
89
89
|
CategoryColor as _Enum_CategoryColor,
|
|
90
|
+
ChannelType as _Enum_ChannelType,
|
|
90
91
|
CommunicationMessageType as _Enum_CommunicationMessageType,
|
|
91
92
|
CommunicationRecipientType as _Enum_CommunicationRecipientType,
|
|
92
93
|
CommunicationState as _Enum_CommunicationState,
|
|
93
94
|
CompanyStatus as _Enum_CompanyStatus,
|
|
94
95
|
CompanySubType as _Enum_CompanySubType,
|
|
96
|
+
ContactSource as _Enum_ContactSource,
|
|
95
97
|
ConversationEventType as _Enum_ConversationEventType,
|
|
96
98
|
ConversationStatus as _Enum_ConversationStatus,
|
|
97
99
|
CustomerClassification as _Enum_CustomerClassification,
|
|
@@ -135,6 +137,7 @@ import {
|
|
|
135
137
|
PeriodicTaskIntervalMethod as _Enum_PeriodicTaskIntervalMethod,
|
|
136
138
|
PeriodicTaskIntervalType as _Enum_PeriodicTaskIntervalType,
|
|
137
139
|
PersonStatus as _Enum_PersonStatus,
|
|
140
|
+
PolicyEffect as _Enum_PolicyEffect,
|
|
138
141
|
PreferredAdvertisement as _Enum_PreferredAdvertisement,
|
|
139
142
|
RelationType as _Enum_RelationType,
|
|
140
143
|
ResidentType as _Enum_ResidentType,
|
|
@@ -161,11 +164,13 @@ import {
|
|
|
161
164
|
} from './solibo-sdk-sdk.mjs';
|
|
162
165
|
_addPascalEnumAliases(_Enum_AuthChallengeType);
|
|
163
166
|
_addPascalEnumAliases(_Enum_CategoryColor);
|
|
167
|
+
_addPascalEnumAliases(_Enum_ChannelType);
|
|
164
168
|
_addPascalEnumAliases(_Enum_CommunicationMessageType);
|
|
165
169
|
_addPascalEnumAliases(_Enum_CommunicationRecipientType);
|
|
166
170
|
_addPascalEnumAliases(_Enum_CommunicationState);
|
|
167
171
|
_addPascalEnumAliases(_Enum_CompanyStatus);
|
|
168
172
|
_addPascalEnumAliases(_Enum_CompanySubType);
|
|
173
|
+
_addPascalEnumAliases(_Enum_ContactSource);
|
|
169
174
|
_addPascalEnumAliases(_Enum_ConversationEventType);
|
|
170
175
|
_addPascalEnumAliases(_Enum_ConversationStatus);
|
|
171
176
|
_addPascalEnumAliases(_Enum_CustomerClassification);
|
|
@@ -209,6 +214,7 @@ _addPascalEnumAliases(_Enum_PaymentHandlingStatus);
|
|
|
209
214
|
_addPascalEnumAliases(_Enum_PeriodicTaskIntervalMethod);
|
|
210
215
|
_addPascalEnumAliases(_Enum_PeriodicTaskIntervalType);
|
|
211
216
|
_addPascalEnumAliases(_Enum_PersonStatus);
|
|
217
|
+
_addPascalEnumAliases(_Enum_PolicyEffect);
|
|
212
218
|
_addPascalEnumAliases(_Enum_PreferredAdvertisement);
|
|
213
219
|
_addPascalEnumAliases(_Enum_RelationType);
|
|
214
220
|
_addPascalEnumAliases(_Enum_ResidentType);
|