@solibo/solibo-sdk 1.0.31 → 1.0.32-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 +119 -119
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1526 -1526
- package/KotlinBigInteger-bignum.js +1210 -1210
- package/MultiplatformSettings-multiplatform-settings.js +19 -19
- package/Stately-stately-concurrency.js +7 -7
- package/cryptography-kotlin-cryptography-bigint.js +46 -46
- package/cryptography-kotlin-cryptography-core.js +67 -67
- package/cryptography-kotlin-cryptography-provider-base.js +9 -9
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +153 -153
- package/cryptography-kotlin-cryptography-random.js +19 -19
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +130 -130
- package/cryptography-kotlin-cryptography-serialization-asn1.js +279 -279
- package/cryptography-kotlin-cryptography-serialization-pem.js +30 -30
- package/kotlin-kotlin-stdlib.js +363 -359
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +21 -21
- package/kotlinx-coroutines-core.js +1890 -1890
- package/kotlinx-io-kotlinx-io-bytestring.js +46 -46
- package/kotlinx-io-kotlinx-io-core.js +474 -474
- package/kotlinx-serialization-kotlinx-serialization-core.js +388 -152
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1209 -1208
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-auth.js +286 -286
- package/ktor-ktor-client-content-negotiation.js +154 -154
- package/ktor-ktor-client-core.js +2787 -2787
- package/ktor-ktor-client-logging.js +663 -663
- package/ktor-ktor-events.js +11 -11
- package/ktor-ktor-http-cio.js +368 -368
- package/ktor-ktor-http.js +1010 -1010
- package/ktor-ktor-io.js +680 -680
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +147 -147
- package/ktor-ktor-serialization.js +71 -71
- package/ktor-ktor-utils.js +743 -743
- package/ktor-ktor-websockets.js +421 -421
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +20372 -20554
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +25 -30
- package/solibo-sdk-sdk.js +1663 -1615
- package/solibo-sdk-sdk.js.map +1 -1
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.jd;
|
|
17
17
|
var Unit_instance = kotlin_kotlin.$_$.p5;
|
|
18
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
18
|
+
var initMetadataForClass = kotlin_kotlin.$_$.jc;
|
|
19
19
|
var VOID = kotlin_kotlin.$_$.c;
|
|
20
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
21
|
-
var Random = kotlin_kotlin.$_$.
|
|
20
|
+
var initMetadataForObject = kotlin_kotlin.$_$.pc;
|
|
21
|
+
var Random = kotlin_kotlin.$_$.rd;
|
|
22
22
|
//endregion
|
|
23
23
|
//region block: pre-declaration
|
|
24
24
|
initMetadataForClass(CryptographyRandom, 'CryptographyRandom', VOID, Random);
|
|
@@ -47,38 +47,38 @@
|
|
|
47
47
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
48
48
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
49
49
|
if (!(array.length === 0)) {
|
|
50
|
-
this.
|
|
50
|
+
this.mns(array);
|
|
51
51
|
}
|
|
52
52
|
return array;
|
|
53
53
|
};
|
|
54
54
|
function Default() {
|
|
55
55
|
Default_instance = this;
|
|
56
56
|
CryptographyRandom.call(this);
|
|
57
|
-
this.
|
|
57
|
+
this.nns_1 = defaultCryptographyRandom();
|
|
58
58
|
}
|
|
59
59
|
protoOf(Default).il = function (bitCount) {
|
|
60
|
-
return this.
|
|
60
|
+
return this.nns_1.il(bitCount);
|
|
61
61
|
};
|
|
62
62
|
protoOf(Default).zg = function () {
|
|
63
|
-
return this.
|
|
63
|
+
return this.nns_1.zg();
|
|
64
64
|
};
|
|
65
65
|
protoOf(Default).jl = function () {
|
|
66
|
-
return this.
|
|
66
|
+
return this.nns_1.jl();
|
|
67
67
|
};
|
|
68
68
|
protoOf(Default).kl = function (until) {
|
|
69
|
-
return this.
|
|
69
|
+
return this.nns_1.kl(until);
|
|
70
70
|
};
|
|
71
71
|
protoOf(Default).ll = function (from, until) {
|
|
72
|
-
return this.
|
|
72
|
+
return this.nns_1.ll(from, until);
|
|
73
73
|
};
|
|
74
74
|
protoOf(Default).ml = function (array) {
|
|
75
|
-
return this.
|
|
75
|
+
return this.nns_1.ml(array);
|
|
76
76
|
};
|
|
77
77
|
protoOf(Default).ol = function (size) {
|
|
78
|
-
return this.
|
|
78
|
+
return this.nns_1.ol(size);
|
|
79
79
|
};
|
|
80
80
|
protoOf(Default).nl = function (array, fromIndex, toIndex) {
|
|
81
|
-
return this.
|
|
81
|
+
return this.nns_1.nl(array, fromIndex, toIndex);
|
|
82
82
|
};
|
|
83
83
|
var Default_instance;
|
|
84
84
|
function Default_getInstance() {
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
function fillBytes($this, jsArray) {
|
|
97
97
|
var size = jsArray.length;
|
|
98
98
|
if (size <= 65536) {
|
|
99
|
-
$this.
|
|
99
|
+
$this.pns_1.getRandomValues(jsArray);
|
|
100
100
|
} else {
|
|
101
101
|
var filled = 0;
|
|
102
102
|
do {
|
|
103
103
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
104
104
|
var b = size - filled | 0;
|
|
105
105
|
var chunkSize = Math.min(65536, b);
|
|
106
|
-
$this.
|
|
106
|
+
$this.pns_1.getRandomValues(jsArray.subarray(filled, filled + chunkSize | 0));
|
|
107
107
|
filled = filled + chunkSize | 0;
|
|
108
108
|
}
|
|
109
109
|
while (filled < size);
|
|
@@ -112,10 +112,10 @@
|
|
|
112
112
|
function WebCryptoCryptographyRandom() {
|
|
113
113
|
WebCryptoCryptographyRandom_instance = this;
|
|
114
114
|
AbstractRandom.call(this);
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
115
|
+
this.ons_1 = 65536;
|
|
116
|
+
this.pns_1 = getCrypto();
|
|
117
117
|
}
|
|
118
|
-
protoOf(WebCryptoCryptographyRandom).
|
|
118
|
+
protoOf(WebCryptoCryptographyRandom).mns = function (array) {
|
|
119
119
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
120
120
|
// Inline function 'kotlin.js.asDynamic' call
|
|
121
121
|
fillBytes(this, array);
|