@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
|
@@ -18,9 +18,9 @@ initMetadataForObject(WebCryptoCryptographyRandom, 'WebCryptoCryptographyRandom'
|
|
|
18
18
|
function AbstractRandom() {
|
|
19
19
|
CryptographyRandom.call(this);
|
|
20
20
|
}
|
|
21
|
-
protoOf(AbstractRandom).
|
|
21
|
+
protoOf(AbstractRandom).rl = function (bitCount) {
|
|
22
22
|
var numBytes = (bitCount + 7 | 0) / 8 | 0;
|
|
23
|
-
var b = this.
|
|
23
|
+
var b = this.xl(numBytes);
|
|
24
24
|
var next = 0;
|
|
25
25
|
var inductionVariable = 0;
|
|
26
26
|
if (inductionVariable < numBytes)
|
|
@@ -32,42 +32,42 @@ protoOf(AbstractRandom).nl = function (bitCount) {
|
|
|
32
32
|
while (inductionVariable < numBytes);
|
|
33
33
|
return next >>> (imul(numBytes, 8) - bitCount | 0) | 0;
|
|
34
34
|
};
|
|
35
|
-
protoOf(AbstractRandom).
|
|
35
|
+
protoOf(AbstractRandom).vl = function (array) {
|
|
36
36
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
37
37
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
38
38
|
if (!(array.length === 0)) {
|
|
39
|
-
this.
|
|
39
|
+
this.qsf(array);
|
|
40
40
|
}
|
|
41
41
|
return array;
|
|
42
42
|
};
|
|
43
43
|
function Default() {
|
|
44
44
|
Default_instance = this;
|
|
45
45
|
CryptographyRandom.call(this);
|
|
46
|
-
this.
|
|
46
|
+
this.rsf_1 = defaultCryptographyRandom();
|
|
47
47
|
}
|
|
48
|
-
protoOf(Default).
|
|
49
|
-
return this.
|
|
48
|
+
protoOf(Default).rl = function (bitCount) {
|
|
49
|
+
return this.rsf_1.rl(bitCount);
|
|
50
50
|
};
|
|
51
|
-
protoOf(Default).
|
|
52
|
-
return this.
|
|
51
|
+
protoOf(Default).eh = function () {
|
|
52
|
+
return this.rsf_1.eh();
|
|
53
53
|
};
|
|
54
|
-
protoOf(Default).
|
|
55
|
-
return this.
|
|
54
|
+
protoOf(Default).sl = function () {
|
|
55
|
+
return this.rsf_1.sl();
|
|
56
56
|
};
|
|
57
|
-
protoOf(Default).
|
|
58
|
-
return this.
|
|
57
|
+
protoOf(Default).tl = function (until) {
|
|
58
|
+
return this.rsf_1.tl(until);
|
|
59
59
|
};
|
|
60
|
-
protoOf(Default).
|
|
61
|
-
return this.
|
|
60
|
+
protoOf(Default).ul = function (from, until) {
|
|
61
|
+
return this.rsf_1.ul(from, until);
|
|
62
62
|
};
|
|
63
|
-
protoOf(Default).
|
|
64
|
-
return this.
|
|
63
|
+
protoOf(Default).vl = function (array) {
|
|
64
|
+
return this.rsf_1.vl(array);
|
|
65
65
|
};
|
|
66
|
-
protoOf(Default).
|
|
67
|
-
return this.
|
|
66
|
+
protoOf(Default).xl = function (size) {
|
|
67
|
+
return this.rsf_1.xl(size);
|
|
68
68
|
};
|
|
69
|
-
protoOf(Default).
|
|
70
|
-
return this.
|
|
69
|
+
protoOf(Default).wl = function (array, fromIndex, toIndex) {
|
|
70
|
+
return this.rsf_1.wl(array, fromIndex, toIndex);
|
|
71
71
|
};
|
|
72
72
|
var Default_instance;
|
|
73
73
|
function Default_getInstance() {
|
|
@@ -85,14 +85,14 @@ function defaultCryptographyRandom() {
|
|
|
85
85
|
function fillBytes($this, jsArray) {
|
|
86
86
|
var size = jsArray.length;
|
|
87
87
|
if (size <= 65536) {
|
|
88
|
-
$this.
|
|
88
|
+
$this.tsf_1.getRandomValues(jsArray);
|
|
89
89
|
} else {
|
|
90
90
|
var filled = 0;
|
|
91
91
|
do {
|
|
92
92
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
93
93
|
var b = size - filled | 0;
|
|
94
94
|
var chunkSize = Math.min(65536, b);
|
|
95
|
-
$this.
|
|
95
|
+
$this.tsf_1.getRandomValues(jsArray.subarray(filled, filled + chunkSize | 0));
|
|
96
96
|
filled = filled + chunkSize | 0;
|
|
97
97
|
}
|
|
98
98
|
while (filled < size);
|
|
@@ -101,10 +101,10 @@ function fillBytes($this, jsArray) {
|
|
|
101
101
|
function WebCryptoCryptographyRandom() {
|
|
102
102
|
WebCryptoCryptographyRandom_instance = this;
|
|
103
103
|
AbstractRandom.call(this);
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
104
|
+
this.ssf_1 = 65536;
|
|
105
|
+
this.tsf_1 = getCrypto();
|
|
106
106
|
}
|
|
107
|
-
protoOf(WebCryptoCryptographyRandom).
|
|
107
|
+
protoOf(WebCryptoCryptographyRandom).qsf = function (array) {
|
|
108
108
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
109
109
|
// Inline function 'kotlin.js.asDynamic' call
|
|
110
110
|
fillBytes(this, array);
|