@solibo/solibo-sdk 1.15.11 → 1.15.13
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/client.d.mts +49 -35
- package/client.mjs +20 -18
- 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.d.ts +1 -0
- package/index.mjs +40 -263
- package/kotlin-kotlin-stdlib.mjs +6 -6
- 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-encoding.mjs.map +1 -1
- package/ktor-ktor-client-logging.mjs +520 -520
- 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 +43729 -44495
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +404 -550
- package/solibo-sdk-sdk.mjs +4800 -4730
- package/solibo-sdk-sdk.mjs.map +1 -1
package/client.mjs
CHANGED
|
@@ -1169,7 +1169,7 @@ const DESCRIPTORS = {
|
|
|
1169
1169
|
},
|
|
1170
1170
|
{
|
|
1171
1171
|
"name": "status",
|
|
1172
|
-
"type": "KtList<
|
|
1172
|
+
"type": "KtList<ConversationStatus> | null | undefined"
|
|
1173
1173
|
},
|
|
1174
1174
|
{
|
|
1175
1175
|
"name": "category",
|
|
@@ -1181,7 +1181,7 @@ const DESCRIPTORS = {
|
|
|
1181
1181
|
},
|
|
1182
1182
|
{
|
|
1183
1183
|
"name": "latestPublicMessageSide",
|
|
1184
|
-
"type": "KtList<
|
|
1184
|
+
"type": "KtList<ConversationMessageSide> | null | undefined"
|
|
1185
1185
|
},
|
|
1186
1186
|
{
|
|
1187
1187
|
"name": "hasAttachments",
|
|
@@ -1201,7 +1201,7 @@ const DESCRIPTORS = {
|
|
|
1201
1201
|
},
|
|
1202
1202
|
{
|
|
1203
1203
|
"name": "byParticipantType",
|
|
1204
|
-
"type": "KtList<
|
|
1204
|
+
"type": "KtList<ParticipantType> | null | undefined"
|
|
1205
1205
|
},
|
|
1206
1206
|
{
|
|
1207
1207
|
"name": "createdSince",
|
|
@@ -1795,7 +1795,7 @@ const DESCRIPTORS = {
|
|
|
1795
1795
|
},
|
|
1796
1796
|
{
|
|
1797
1797
|
"name": "status",
|
|
1798
|
-
"type": "KtList<
|
|
1798
|
+
"type": "KtList<ConversationStatus> | null | undefined"
|
|
1799
1799
|
},
|
|
1800
1800
|
{
|
|
1801
1801
|
"name": "category",
|
|
@@ -1807,7 +1807,7 @@ const DESCRIPTORS = {
|
|
|
1807
1807
|
},
|
|
1808
1808
|
{
|
|
1809
1809
|
"name": "latestPublicMessageSide",
|
|
1810
|
-
"type": "KtList<
|
|
1810
|
+
"type": "KtList<ConversationMessageSide> | null | undefined"
|
|
1811
1811
|
},
|
|
1812
1812
|
{
|
|
1813
1813
|
"name": "hasAttachments",
|
|
@@ -1827,7 +1827,7 @@ const DESCRIPTORS = {
|
|
|
1827
1827
|
},
|
|
1828
1828
|
{
|
|
1829
1829
|
"name": "byParticipantType",
|
|
1830
|
-
"type": "KtList<
|
|
1830
|
+
"type": "KtList<ParticipantType> | null | undefined"
|
|
1831
1831
|
},
|
|
1832
1832
|
{
|
|
1833
1833
|
"name": "createdSince",
|
|
@@ -1847,11 +1847,11 @@ const DESCRIPTORS = {
|
|
|
1847
1847
|
},
|
|
1848
1848
|
{
|
|
1849
1849
|
"name": "orderBy",
|
|
1850
|
-
"type": "
|
|
1850
|
+
"type": "ConversationOrderBy | null | undefined"
|
|
1851
1851
|
},
|
|
1852
1852
|
{
|
|
1853
1853
|
"name": "orderDirection",
|
|
1854
|
-
"type": "
|
|
1854
|
+
"type": "ConversationOrderDirection | null | undefined"
|
|
1855
1855
|
},
|
|
1856
1856
|
{
|
|
1857
1857
|
"name": "pageToken",
|
|
@@ -1961,7 +1961,7 @@ const DESCRIPTORS = {
|
|
|
1961
1961
|
},
|
|
1962
1962
|
{
|
|
1963
1963
|
"name": "status",
|
|
1964
|
-
"type": "KtList<
|
|
1964
|
+
"type": "KtList<ConversationStatus> | null | undefined"
|
|
1965
1965
|
},
|
|
1966
1966
|
{
|
|
1967
1967
|
"name": "category",
|
|
@@ -1973,7 +1973,7 @@ const DESCRIPTORS = {
|
|
|
1973
1973
|
},
|
|
1974
1974
|
{
|
|
1975
1975
|
"name": "latestPublicMessageSide",
|
|
1976
|
-
"type": "KtList<
|
|
1976
|
+
"type": "KtList<ConversationMessageSide> | null | undefined"
|
|
1977
1977
|
},
|
|
1978
1978
|
{
|
|
1979
1979
|
"name": "hasAttachments",
|
|
@@ -1993,7 +1993,7 @@ const DESCRIPTORS = {
|
|
|
1993
1993
|
},
|
|
1994
1994
|
{
|
|
1995
1995
|
"name": "byParticipantType",
|
|
1996
|
-
"type": "KtList<
|
|
1996
|
+
"type": "KtList<ParticipantType> | null | undefined"
|
|
1997
1997
|
},
|
|
1998
1998
|
{
|
|
1999
1999
|
"name": "createdSince",
|
|
@@ -2095,7 +2095,7 @@ const DESCRIPTORS = {
|
|
|
2095
2095
|
},
|
|
2096
2096
|
{
|
|
2097
2097
|
"name": "status",
|
|
2098
|
-
"type": "KtList<
|
|
2098
|
+
"type": "KtList<ConversationStatus> | null | undefined"
|
|
2099
2099
|
},
|
|
2100
2100
|
{
|
|
2101
2101
|
"name": "category",
|
|
@@ -2107,7 +2107,7 @@ const DESCRIPTORS = {
|
|
|
2107
2107
|
},
|
|
2108
2108
|
{
|
|
2109
2109
|
"name": "latestPublicMessageSide",
|
|
2110
|
-
"type": "KtList<
|
|
2110
|
+
"type": "KtList<ConversationMessageSide> | null | undefined"
|
|
2111
2111
|
},
|
|
2112
2112
|
{
|
|
2113
2113
|
"name": "hasAttachments",
|
|
@@ -2127,7 +2127,7 @@ const DESCRIPTORS = {
|
|
|
2127
2127
|
},
|
|
2128
2128
|
{
|
|
2129
2129
|
"name": "byParticipantType",
|
|
2130
|
-
"type": "KtList<
|
|
2130
|
+
"type": "KtList<ParticipantType> | null | undefined"
|
|
2131
2131
|
},
|
|
2132
2132
|
{
|
|
2133
2133
|
"name": "createdSince",
|
|
@@ -2151,11 +2151,11 @@ const DESCRIPTORS = {
|
|
|
2151
2151
|
},
|
|
2152
2152
|
{
|
|
2153
2153
|
"name": "orderBy",
|
|
2154
|
-
"type": "
|
|
2154
|
+
"type": "ConversationOrderBy | null | undefined"
|
|
2155
2155
|
},
|
|
2156
2156
|
{
|
|
2157
2157
|
"name": "orderDirection",
|
|
2158
|
-
"type": "
|
|
2158
|
+
"type": "ConversationOrderDirection | null | undefined"
|
|
2159
2159
|
},
|
|
2160
2160
|
{
|
|
2161
2161
|
"name": "pageToken",
|
|
@@ -19464,7 +19464,7 @@ const PROPS = {
|
|
|
19464
19464
|
"OrganizationCustomerProps": {
|
|
19465
19465
|
"active": "boolean",
|
|
19466
19466
|
"area": "string | null | undefined",
|
|
19467
|
-
"classification": "
|
|
19467
|
+
"classification": "CustomerType",
|
|
19468
19468
|
"external": "boolean",
|
|
19469
19469
|
"groupInvoices": "boolean",
|
|
19470
19470
|
"isRecipient": "boolean",
|
|
@@ -20222,7 +20222,7 @@ const PROPS = {
|
|
|
20222
20222
|
"PersonCustomerProps": {
|
|
20223
20223
|
"active": "boolean",
|
|
20224
20224
|
"area": "string | null | undefined",
|
|
20225
|
-
"classification": "
|
|
20225
|
+
"classification": "CustomerType",
|
|
20226
20226
|
"external": "boolean",
|
|
20227
20227
|
"groupInvoices": "boolean",
|
|
20228
20228
|
"isRecipient": "boolean",
|
|
@@ -22719,3 +22719,5 @@ export function createSoliboClient(config) {
|
|
|
22719
22719
|
}
|
|
22720
22720
|
return fromRawSdk(new sdk.SoliboSDKJsBuilder(legacyProps(config ?? {})).build());
|
|
22721
22721
|
}
|
|
22722
|
+
|
|
22723
|
+
export { ResidentDiscriminator } from './solibo-sdk-sdk.mjs';
|
package/core-library-digest.mjs
CHANGED
|
@@ -73,26 +73,26 @@ function Digest_init_$Init$(algorithm, blockSize, digestLength, $this) {
|
|
|
73
73
|
var message_2 = 'digestLength cannot be negative';
|
|
74
74
|
throw InvalidParameterException_init_$Create$(toString(message_2));
|
|
75
75
|
}
|
|
76
|
-
tmp.
|
|
77
|
-
$this.
|
|
78
|
-
$this.
|
|
79
|
-
$this.
|
|
76
|
+
tmp.p119_1 = _Buffer___init__impl__mrnqm7(new Int8Array(blockSize));
|
|
77
|
+
$this.n119_1 = algorithm;
|
|
78
|
+
$this.o119_1 = digestLength;
|
|
79
|
+
$this.q119_1 = 0;
|
|
80
80
|
return $this;
|
|
81
81
|
}
|
|
82
|
-
protoOf(Digest).
|
|
83
|
-
return this.
|
|
82
|
+
protoOf(Digest).r119 = function () {
|
|
83
|
+
return this.o119_1;
|
|
84
84
|
};
|
|
85
|
-
protoOf(Digest).
|
|
86
|
-
return this.
|
|
85
|
+
protoOf(Digest).s119 = function () {
|
|
86
|
+
return this.n119_1;
|
|
87
87
|
};
|
|
88
|
-
protoOf(Digest).
|
|
89
|
-
this.
|
|
88
|
+
protoOf(Digest).t119 = function (input) {
|
|
89
|
+
this.u119(input, 0, input.length);
|
|
90
90
|
};
|
|
91
|
-
protoOf(Digest).
|
|
92
|
-
var tmp0 = this.
|
|
93
|
-
var tmp2 = this.
|
|
91
|
+
protoOf(Digest).v119 = function (dest, destOffset) {
|
|
92
|
+
var tmp0 = this.p119_1;
|
|
93
|
+
var tmp2 = this.q119_1;
|
|
94
94
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonDigestInto' call
|
|
95
|
-
var digestLength = this.
|
|
95
|
+
var digestLength = this.o119_1;
|
|
96
96
|
// Inline function 'kotlin.contracts.contract' call
|
|
97
97
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonCheckArgs' call
|
|
98
98
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -114,16 +114,16 @@ protoOf(Digest).p11a = function (dest, destOffset) {
|
|
|
114
114
|
}
|
|
115
115
|
fill(_Buffer___get_value__impl__xxr8tn(tmp0), 0, tmp2);
|
|
116
116
|
var p2 = _Buffer___get_value__impl__xxr8tn(tmp0);
|
|
117
|
-
this.
|
|
117
|
+
this.w119(dest, destOffset, p2, tmp2);
|
|
118
118
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonReset' call
|
|
119
119
|
// Inline function 'kotlin.contracts.contract' call
|
|
120
120
|
fill(_Buffer___get_value__impl__xxr8tn(tmp0), 0);
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
121
|
+
this.q119_1 = 0;
|
|
122
|
+
this.x119();
|
|
123
123
|
return digestLength;
|
|
124
124
|
};
|
|
125
|
-
protoOf(Digest).
|
|
126
|
-
var result = this.
|
|
125
|
+
protoOf(Digest).w119 = function (dest, destOffset, buf, bufPos) {
|
|
126
|
+
var result = this.z119(buf, bufPos);
|
|
127
127
|
// Inline function 'kotlin.collections.copyInto' call
|
|
128
128
|
var endIndex = result.length;
|
|
129
129
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -134,9 +134,9 @@ protoOf(Digest).q11a = function (dest, destOffset, buf, bufPos) {
|
|
|
134
134
|
arrayCopy(tmp, dest, destOffset, 0, endIndex);
|
|
135
135
|
fill(result, 0);
|
|
136
136
|
};
|
|
137
|
-
protoOf(Digest).
|
|
138
|
-
var tmp0 = this.
|
|
139
|
-
var tmp8 = this.
|
|
137
|
+
protoOf(Digest).u119 = function (input, offset, len) {
|
|
138
|
+
var tmp0 = this.p119_1;
|
|
139
|
+
var tmp8 = this.q119_1;
|
|
140
140
|
$l$block: {
|
|
141
141
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonUpdate' call
|
|
142
142
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -156,7 +156,7 @@ protoOf(Digest).o11a = function (input, offset, len) {
|
|
|
156
156
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
157
157
|
// Inline function 'kotlin.js.asDynamic' call
|
|
158
158
|
arrayCopy(tmp, buf, tmp4, startIndex, limitInput);
|
|
159
|
-
this.
|
|
159
|
+
this.q119_1 = posBuf + len | 0;
|
|
160
160
|
break $l$block;
|
|
161
161
|
}
|
|
162
162
|
var needed = blockSize - posBuf | 0;
|
|
@@ -170,7 +170,7 @@ protoOf(Digest).o11a = function (input, offset, len) {
|
|
|
170
170
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
171
171
|
// Inline function 'kotlin.js.asDynamic' call
|
|
172
172
|
arrayCopy(tmp_0, buf, tmp4_0, tmp6, endIndex);
|
|
173
|
-
this.
|
|
173
|
+
this.y119(buf, 0);
|
|
174
174
|
posBuf = 0;
|
|
175
175
|
posInput = posInput + needed | 0;
|
|
176
176
|
}
|
|
@@ -189,27 +189,27 @@ protoOf(Digest).o11a = function (input, offset, len) {
|
|
|
189
189
|
break $l$loop;
|
|
190
190
|
}
|
|
191
191
|
var p1 = posInput;
|
|
192
|
-
this.
|
|
192
|
+
this.y119(input, p1);
|
|
193
193
|
posInput = posNext;
|
|
194
194
|
}
|
|
195
|
-
this.
|
|
195
|
+
this.q119_1 = posBuf;
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
protoOf(Digest).equals = function (other) {
|
|
199
199
|
var tmp;
|
|
200
200
|
if (other instanceof Digest) {
|
|
201
|
-
tmp = equals(other.
|
|
201
|
+
tmp = equals(other.p119_1, this.p119_1);
|
|
202
202
|
} else {
|
|
203
203
|
tmp = false;
|
|
204
204
|
}
|
|
205
205
|
return tmp;
|
|
206
206
|
};
|
|
207
207
|
protoOf(Digest).hashCode = function () {
|
|
208
|
-
return Buffer__hashCode_impl_3ylui6(this.
|
|
208
|
+
return Buffer__hashCode_impl_3ylui6(this.p119_1);
|
|
209
209
|
};
|
|
210
210
|
protoOf(Digest).toString = function () {
|
|
211
211
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonToString' call
|
|
212
|
-
return 'Digest[' + this.
|
|
212
|
+
return 'Digest[' + this.s119() + ']@' + this.hashCode();
|
|
213
213
|
};
|
|
214
214
|
function Digest() {
|
|
215
215
|
}
|
|
@@ -36,16 +36,16 @@ initMetadataForClass(BigInt_0, 'BigInt', VOID, Number_0, [Comparable], VOID, VOI
|
|
|
36
36
|
//endregion
|
|
37
37
|
function BigIntAsStringSerializer() {
|
|
38
38
|
BigIntAsStringSerializer_instance = this;
|
|
39
|
-
this.
|
|
39
|
+
this.a110_1 = PrimitiveSerialDescriptor('BigInt', STRING_getInstance());
|
|
40
40
|
}
|
|
41
41
|
protoOf(BigIntAsStringSerializer).bt = function () {
|
|
42
|
-
return this.
|
|
42
|
+
return this.a110_1;
|
|
43
43
|
};
|
|
44
|
-
protoOf(BigIntAsStringSerializer).
|
|
44
|
+
protoOf(BigIntAsStringSerializer).b110 = function (encoder, value) {
|
|
45
45
|
encoder.ux(value.toString());
|
|
46
46
|
};
|
|
47
47
|
protoOf(BigIntAsStringSerializer).ot = function (encoder, value) {
|
|
48
|
-
return this.
|
|
48
|
+
return this.b110(encoder, value instanceof BigInt_0 ? value : THROW_CCE());
|
|
49
49
|
};
|
|
50
50
|
protoOf(BigIntAsStringSerializer).pt = function (decoder) {
|
|
51
51
|
return toBigInt_3(decoder.mw());
|
|
@@ -57,8 +57,8 @@ function BigIntAsStringSerializer_getInstance() {
|
|
|
57
57
|
return BigIntAsStringSerializer_instance;
|
|
58
58
|
}
|
|
59
59
|
function encodeToByteArray(_this__u8e3s4) {
|
|
60
|
-
var positive = _this__u8e3s4.
|
|
61
|
-
var bytes = positive ? encodeToByteArray$decodeFromHex(_this__u8e3s4.
|
|
60
|
+
var positive = _this__u8e3s4.d110(0) >= 0;
|
|
61
|
+
var bytes = positive ? encodeToByteArray$decodeFromHex(_this__u8e3s4.c110_1.toString(16)) : invertTwoComplement(encodeToByteArray$decodeFromHex(jsBigIntNegate(_this__u8e3s4.c110_1).toString(16)));
|
|
62
62
|
var firstBytePositive = bytes[0] >= 0;
|
|
63
63
|
if (positive === firstBytePositive)
|
|
64
64
|
return bytes;
|
|
@@ -77,7 +77,7 @@ function encodeToByteArray(_this__u8e3s4) {
|
|
|
77
77
|
}
|
|
78
78
|
function Companion() {
|
|
79
79
|
Companion_instance = this;
|
|
80
|
-
this.
|
|
80
|
+
this.e110_1 = new BigInt_0(BigInt(0));
|
|
81
81
|
}
|
|
82
82
|
protoOf(Companion).m6i = function () {
|
|
83
83
|
return BigIntAsStringSerializer_getInstance();
|
|
@@ -91,39 +91,39 @@ function Companion_getInstance() {
|
|
|
91
91
|
function BigInt_0(jsBigInt) {
|
|
92
92
|
Companion_getInstance();
|
|
93
93
|
Number_0.call(this);
|
|
94
|
-
this.
|
|
94
|
+
this.c110_1 = jsBigInt;
|
|
95
95
|
}
|
|
96
|
-
protoOf(BigInt_0).
|
|
97
|
-
return this.
|
|
96
|
+
protoOf(BigInt_0).d110 = function (other) {
|
|
97
|
+
return this.f110(toBigInt(other));
|
|
98
98
|
};
|
|
99
|
-
protoOf(BigInt_0).
|
|
100
|
-
return jsBigIntCompareTo(this.
|
|
99
|
+
protoOf(BigInt_0).f110 = function (other) {
|
|
100
|
+
return jsBigIntCompareTo(this.c110_1, other.c110_1);
|
|
101
101
|
};
|
|
102
102
|
protoOf(BigInt_0).d = function (other) {
|
|
103
|
-
return this.
|
|
103
|
+
return this.f110(other instanceof BigInt_0 ? other : THROW_CCE());
|
|
104
104
|
};
|
|
105
|
-
protoOf(BigInt_0).
|
|
106
|
-
return toByte(jsBigIntAsInt(this.
|
|
105
|
+
protoOf(BigInt_0).g110 = function () {
|
|
106
|
+
return toByte(jsBigIntAsInt(this.c110_1, 8).toString());
|
|
107
107
|
};
|
|
108
|
-
protoOf(BigInt_0).
|
|
109
|
-
return toShort(jsBigIntAsInt(this.
|
|
108
|
+
protoOf(BigInt_0).h110 = function () {
|
|
109
|
+
return toShort(jsBigIntAsInt(this.c110_1, 16).toString());
|
|
110
110
|
};
|
|
111
|
-
protoOf(BigInt_0).
|
|
112
|
-
return toInt(jsBigIntAsInt(this.
|
|
111
|
+
protoOf(BigInt_0).i110 = function () {
|
|
112
|
+
return toInt(jsBigIntAsInt(this.c110_1, 32).toString());
|
|
113
113
|
};
|
|
114
|
-
protoOf(BigInt_0).
|
|
115
|
-
return toLong(jsBigIntAsInt(this.
|
|
114
|
+
protoOf(BigInt_0).j110 = function () {
|
|
115
|
+
return toLong(jsBigIntAsInt(this.c110_1, 64).toString());
|
|
116
116
|
};
|
|
117
117
|
protoOf(BigInt_0).toString = function () {
|
|
118
|
-
return this.
|
|
118
|
+
return this.c110_1.toString();
|
|
119
119
|
};
|
|
120
120
|
protoOf(BigInt_0).hashCode = function () {
|
|
121
|
-
return getStringHashCode(this.
|
|
121
|
+
return getStringHashCode(this.c110_1.toString(36));
|
|
122
122
|
};
|
|
123
123
|
protoOf(BigInt_0).equals = function (other) {
|
|
124
124
|
if (!(other instanceof BigInt_0))
|
|
125
125
|
return false;
|
|
126
|
-
return jsBigIntEquals(this.
|
|
126
|
+
return jsBigIntEquals(this.c110_1, other.c110_1);
|
|
127
127
|
};
|
|
128
128
|
function decodeToBigInt(_this__u8e3s4) {
|
|
129
129
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -134,7 +134,7 @@ function decodeToBigInt(_this__u8e3s4) {
|
|
|
134
134
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
135
135
|
}
|
|
136
136
|
if (_this__u8e3s4.length === 1 && _this__u8e3s4[0] === 0)
|
|
137
|
-
return Companion_getInstance().
|
|
137
|
+
return Companion_getInstance().e110_1;
|
|
138
138
|
var positive = _this__u8e3s4[0] >= 0;
|
|
139
139
|
var tmp;
|
|
140
140
|
if (positive) {
|
|
@@ -149,7 +149,7 @@ function decodeToBigInt(_this__u8e3s4) {
|
|
|
149
149
|
return new BigInt_0(jsBigInt);
|
|
150
150
|
}
|
|
151
151
|
function toBigInt(_this__u8e3s4) {
|
|
152
|
-
return _this__u8e3s4 === 0 ? Companion_getInstance().
|
|
152
|
+
return _this__u8e3s4 === 0 ? Companion_getInstance().e110_1 : new BigInt_0(BigInt(_this__u8e3s4));
|
|
153
153
|
}
|
|
154
154
|
function toBigInt_0(_this__u8e3s4) {
|
|
155
155
|
return toBigInt(_this__u8e3s4);
|
|
@@ -158,7 +158,7 @@ function toBigInt_1(_this__u8e3s4) {
|
|
|
158
158
|
return toBigInt(_this__u8e3s4);
|
|
159
159
|
}
|
|
160
160
|
function toBigInt_2(_this__u8e3s4) {
|
|
161
|
-
return _this__u8e3s4 === 0n ? Companion_getInstance().
|
|
161
|
+
return _this__u8e3s4 === 0n ? Companion_getInstance().e110_1 : new BigInt_0(BigInt(_this__u8e3s4.toString()));
|
|
162
162
|
}
|
|
163
163
|
function toBigInt_3(_this__u8e3s4) {
|
|
164
164
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
@@ -90,21 +90,21 @@ initMetadataForCompanion(Companion_9, CryptographyAlgorithmId);
|
|
|
90
90
|
initMetadataForCompanion(Companion_10, CryptographyAlgorithmId);
|
|
91
91
|
initMetadataForCompanion(Companion_11, CryptographyAlgorithmId);
|
|
92
92
|
function decodeFromByteArray(format, bytes, $completion) {
|
|
93
|
-
return this.
|
|
93
|
+
return this.d111(format, bytes);
|
|
94
94
|
}
|
|
95
95
|
initMetadataForInterface(KeyDecoder, 'KeyDecoder', VOID, VOID, VOID, [2]);
|
|
96
96
|
function hash(data, $completion) {
|
|
97
|
-
return this.
|
|
97
|
+
return this.g111(data);
|
|
98
98
|
}
|
|
99
99
|
function hashBlocking(data) {
|
|
100
|
-
var tmp0 = this.
|
|
100
|
+
var tmp0 = this.e111();
|
|
101
101
|
var tmp$ret$0;
|
|
102
102
|
$l$block: {
|
|
103
103
|
// Inline function 'kotlin.use' call
|
|
104
104
|
var exception = null;
|
|
105
105
|
try {
|
|
106
|
-
tmp0.
|
|
107
|
-
tmp$ret$0 = tmp0.
|
|
106
|
+
tmp0.h111(data);
|
|
107
|
+
tmp$ret$0 = tmp0.i111();
|
|
108
108
|
break $l$block;
|
|
109
109
|
} catch ($p) {
|
|
110
110
|
if ($p instanceof Error) {
|
|
@@ -123,17 +123,17 @@ function hashBlocking(data) {
|
|
|
123
123
|
}
|
|
124
124
|
initMetadataForInterface(Hasher, 'Hasher', VOID, VOID, VOID, [1]);
|
|
125
125
|
function generateSignature(data, $completion) {
|
|
126
|
-
return this.
|
|
126
|
+
return this.l111(data);
|
|
127
127
|
}
|
|
128
128
|
function generateSignatureBlocking(data) {
|
|
129
|
-
var tmp0 = this.
|
|
129
|
+
var tmp0 = this.j111();
|
|
130
130
|
var tmp$ret$0;
|
|
131
131
|
$l$block: {
|
|
132
132
|
// Inline function 'kotlin.use' call
|
|
133
133
|
var exception = null;
|
|
134
134
|
try {
|
|
135
|
-
tmp0.
|
|
136
|
-
tmp$ret$0 = tmp0.
|
|
135
|
+
tmp0.h111(data);
|
|
136
|
+
tmp$ret$0 = tmp0.m111();
|
|
137
137
|
break $l$block;
|
|
138
138
|
} catch ($p) {
|
|
139
139
|
if ($p instanceof Error) {
|
|
@@ -156,10 +156,10 @@ function update$default(source, startIndex, endIndex, $super) {
|
|
|
156
156
|
endIndex = endIndex === VOID ? source.length : endIndex;
|
|
157
157
|
var tmp;
|
|
158
158
|
if ($super === VOID) {
|
|
159
|
-
this.
|
|
159
|
+
this.n111(source, startIndex, endIndex);
|
|
160
160
|
tmp = Unit_instance;
|
|
161
161
|
} else {
|
|
162
|
-
tmp = $super.
|
|
162
|
+
tmp = $super.n111.call(this, source, startIndex, endIndex);
|
|
163
163
|
}
|
|
164
164
|
return tmp;
|
|
165
165
|
}
|
|
@@ -168,12 +168,12 @@ initMetadataForInterface(UpdateFunction, 'UpdateFunction', VOID, VOID, [AutoClos
|
|
|
168
168
|
function CryptographyAlgorithm() {
|
|
169
169
|
}
|
|
170
170
|
function CryptographyAlgorithmId(name) {
|
|
171
|
-
this.
|
|
171
|
+
this.k110_1 = name;
|
|
172
172
|
}
|
|
173
173
|
function Companion() {
|
|
174
174
|
}
|
|
175
|
-
protoOf(Companion).
|
|
176
|
-
return CryptographySystem_getInstance().
|
|
175
|
+
protoOf(Companion).l110 = function () {
|
|
176
|
+
return CryptographySystem_getInstance().n110();
|
|
177
177
|
};
|
|
178
178
|
var Companion_instance;
|
|
179
179
|
function Companion_getInstance() {
|
|
@@ -181,8 +181,8 @@ function Companion_getInstance() {
|
|
|
181
181
|
}
|
|
182
182
|
function CryptographyProvider() {
|
|
183
183
|
}
|
|
184
|
-
protoOf(CryptographyProvider).
|
|
185
|
-
var tmp0_elvis_lhs = this.
|
|
184
|
+
protoOf(CryptographyProvider).p110 = function (identifier) {
|
|
185
|
+
var tmp0_elvis_lhs = this.o110(identifier);
|
|
186
186
|
var tmp;
|
|
187
187
|
if (tmp0_elvis_lhs == null) {
|
|
188
188
|
throw IllegalStateException_init_$Create$('Algorithm not found: ' + toString(identifier));
|
|
@@ -193,14 +193,14 @@ protoOf(CryptographyProvider).j111 = function (identifier) {
|
|
|
193
193
|
};
|
|
194
194
|
function CryptographySystem() {
|
|
195
195
|
CryptographySystem_instance = this;
|
|
196
|
-
this.
|
|
196
|
+
this.m110_1 = new CryptographySystemImpl();
|
|
197
197
|
loadProviders(this);
|
|
198
198
|
}
|
|
199
|
-
protoOf(CryptographySystem).
|
|
200
|
-
return this.
|
|
199
|
+
protoOf(CryptographySystem).n110 = function () {
|
|
200
|
+
return this.m110_1.n110();
|
|
201
201
|
};
|
|
202
|
-
protoOf(CryptographySystem).
|
|
203
|
-
return this.
|
|
202
|
+
protoOf(CryptographySystem).w110 = function (provider, priority) {
|
|
203
|
+
return this.m110_1.w110(provider, priority);
|
|
204
204
|
};
|
|
205
205
|
var CryptographySystem_instance;
|
|
206
206
|
function CryptographySystem_getInstance() {
|
|
@@ -210,17 +210,17 @@ function CryptographySystem_getInstance() {
|
|
|
210
210
|
}
|
|
211
211
|
function CompositeProvider(providers) {
|
|
212
212
|
CryptographyProvider.call(this);
|
|
213
|
-
this.
|
|
213
|
+
this.x110_1 = providers;
|
|
214
214
|
}
|
|
215
|
-
protoOf(CompositeProvider).
|
|
216
|
-
var tmp0 = this.
|
|
215
|
+
protoOf(CompositeProvider).o110 = function (identifier) {
|
|
216
|
+
var tmp0 = this.x110_1;
|
|
217
217
|
var tmp$ret$0;
|
|
218
218
|
$l$block: {
|
|
219
219
|
// Inline function 'kotlin.collections.firstNotNullOfOrNull' call
|
|
220
220
|
var _iterator__ex2g4s = tmp0.t();
|
|
221
221
|
while (_iterator__ex2g4s.u()) {
|
|
222
222
|
var element = _iterator__ex2g4s.v();
|
|
223
|
-
var result = element.
|
|
223
|
+
var result = element.o110(identifier);
|
|
224
224
|
if (!(result == null)) {
|
|
225
225
|
tmp$ret$0 = result;
|
|
226
226
|
break $l$block;
|
|
@@ -231,16 +231,16 @@ protoOf(CompositeProvider).i111 = function (identifier) {
|
|
|
231
231
|
return tmp$ret$0;
|
|
232
232
|
};
|
|
233
233
|
function sam$kotlin_Comparator$0(function_0) {
|
|
234
|
-
this.
|
|
234
|
+
this.y110_1 = function_0;
|
|
235
235
|
}
|
|
236
236
|
protoOf(sam$kotlin_Comparator$0).ue = function (a, b) {
|
|
237
|
-
return this.
|
|
237
|
+
return this.y110_1(a, b);
|
|
238
238
|
};
|
|
239
239
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
240
240
|
return this.ue(a, b);
|
|
241
241
|
};
|
|
242
242
|
protoOf(sam$kotlin_Comparator$0).u3 = function () {
|
|
243
|
-
return this.
|
|
243
|
+
return this.y110_1;
|
|
244
244
|
};
|
|
245
245
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
246
246
|
var tmp;
|
|
@@ -269,7 +269,7 @@ function CryptographySystemImpl$lazyRegisteredProviders$lambda$lambda(a, b) {
|
|
|
269
269
|
function CryptographySystemImpl$lazyRegisteredProviders$lambda(this$0) {
|
|
270
270
|
return function () {
|
|
271
271
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
272
|
-
var this_0 = this$0.
|
|
272
|
+
var this_0 = this$0.q110_1.l1();
|
|
273
273
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
274
274
|
var tmp = CryptographySystemImpl$lazyRegisteredProviders$lambda$lambda;
|
|
275
275
|
var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
|
|
@@ -288,11 +288,11 @@ function CryptographySystemImpl$lazyRegisteredProviders$lambda(this$0) {
|
|
|
288
288
|
}
|
|
289
289
|
function CryptographySystemImpl$lazyDefaultProvider$lambda(this$0) {
|
|
290
290
|
return function () {
|
|
291
|
-
var tmp0_elvis_lhs = this$0.
|
|
291
|
+
var tmp0_elvis_lhs = this$0.s110_1;
|
|
292
292
|
var tmp;
|
|
293
293
|
if (tmp0_elvis_lhs == null) {
|
|
294
294
|
// Inline function 'kotlin.let' call
|
|
295
|
-
var it = this$0.
|
|
295
|
+
var it = this$0.r110_1.n1();
|
|
296
296
|
var tmp_0;
|
|
297
297
|
switch (it.g1()) {
|
|
298
298
|
case 0:
|
|
@@ -316,27 +316,27 @@ function CryptographySystemImpl$lazyDefaultProvider$lambda(this$0) {
|
|
|
316
316
|
}
|
|
317
317
|
function CryptographySystemImpl$lazyDefaultRandom$lambda(this$0) {
|
|
318
318
|
return function () {
|
|
319
|
-
var tmp0_elvis_lhs = this$0.
|
|
319
|
+
var tmp0_elvis_lhs = this$0.u110_1;
|
|
320
320
|
return tmp0_elvis_lhs == null ? Default_getInstance() : tmp0_elvis_lhs;
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
function CryptographySystemImpl() {
|
|
324
324
|
var tmp = this;
|
|
325
325
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
326
|
-
tmp.
|
|
326
|
+
tmp.q110_1 = LinkedHashMap_init_$Create$();
|
|
327
327
|
var tmp_0 = this;
|
|
328
|
-
tmp_0.
|
|
329
|
-
this.
|
|
328
|
+
tmp_0.r110_1 = lazy(CryptographySystemImpl$lazyRegisteredProviders$lambda(this));
|
|
329
|
+
this.s110_1 = null;
|
|
330
330
|
var tmp_1 = this;
|
|
331
|
-
tmp_1.
|
|
332
|
-
this.
|
|
331
|
+
tmp_1.t110_1 = lazy(CryptographySystemImpl$lazyDefaultProvider$lambda(this));
|
|
332
|
+
this.u110_1 = null;
|
|
333
333
|
var tmp_2 = this;
|
|
334
|
-
tmp_2.
|
|
334
|
+
tmp_2.v110_1 = lazy(CryptographySystemImpl$lazyDefaultRandom$lambda(this));
|
|
335
335
|
}
|
|
336
|
-
protoOf(CryptographySystemImpl).
|
|
337
|
-
return this.
|
|
336
|
+
protoOf(CryptographySystemImpl).n110 = function () {
|
|
337
|
+
return this.t110_1.n1();
|
|
338
338
|
};
|
|
339
|
-
protoOf(CryptographySystemImpl).
|
|
339
|
+
protoOf(CryptographySystemImpl).w110 = function (provider, priority) {
|
|
340
340
|
// Inline function 'kotlin.require' call
|
|
341
341
|
if (!(priority >= 0)) {
|
|
342
342
|
var message = 'Priority must be greater or equal to 0';
|
|
@@ -344,19 +344,19 @@ protoOf(CryptographySystemImpl).q111 = function (provider, priority) {
|
|
|
344
344
|
}
|
|
345
345
|
// Inline function 'kotlin.collections.contains' call
|
|
346
346
|
// Inline function 'kotlin.collections.containsKey' call
|
|
347
|
-
var this_0 = this.
|
|
347
|
+
var this_0 = this.q110_1;
|
|
348
348
|
// Inline function 'kotlin.require' call
|
|
349
349
|
if (!!(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).y2(priority)) {
|
|
350
350
|
var message_0 = 'Provider with priority ' + priority + ' already registered. Every registered provider should have unique priority.';
|
|
351
351
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
352
352
|
}
|
|
353
353
|
// Inline function 'kotlin.check' call
|
|
354
|
-
if (!!this.
|
|
354
|
+
if (!!this.r110_1.mq()) {
|
|
355
355
|
var message_1 = 'Cannot register provider after `getRegisteredProviders` was called';
|
|
356
356
|
throw IllegalStateException_init_$Create$(toString(message_1));
|
|
357
357
|
}
|
|
358
358
|
// Inline function 'kotlin.collections.set' call
|
|
359
|
-
this.
|
|
359
|
+
this.q110_1.d3(priority, provider);
|
|
360
360
|
};
|
|
361
361
|
function Format() {
|
|
362
362
|
}
|
|
@@ -438,13 +438,13 @@ function _Curve___get_name__impl__klrusc($this) {
|
|
|
438
438
|
}
|
|
439
439
|
function Companion_3() {
|
|
440
440
|
}
|
|
441
|
-
protoOf(Companion_3).
|
|
441
|
+
protoOf(Companion_3).z110 = function () {
|
|
442
442
|
return _Curve___init__impl__ygix12('P-256');
|
|
443
443
|
};
|
|
444
|
-
protoOf(Companion_3).
|
|
444
|
+
protoOf(Companion_3).a111 = function () {
|
|
445
445
|
return _Curve___init__impl__ygix12('P-384');
|
|
446
446
|
};
|
|
447
|
-
protoOf(Companion_3).
|
|
447
|
+
protoOf(Companion_3).b111 = function () {
|
|
448
448
|
return _Curve___init__impl__ygix12('P-521');
|
|
449
449
|
};
|
|
450
450
|
var Companion_instance_3;
|