@solibo/home-api 1.1.72 → 1.1.74
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/kotlin-kotlin-stdlib.mjs +11 -11
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.mts +9 -6
- package/solibo-sdk-sdk-home-api.mjs +419 -344
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,17 +37,6 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
37
37
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
if (typeof Math.clz32 === 'undefined') {
|
|
41
|
-
Math.clz32 = function (log, LN2) {
|
|
42
|
-
return function (x) {
|
|
43
|
-
var asUint = x >>> 0;
|
|
44
|
-
if (asUint === 0) {
|
|
45
|
-
return 32;
|
|
46
|
-
}
|
|
47
|
-
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
48
|
-
};
|
|
49
|
-
}(Math.log, Math.LN2);
|
|
50
|
-
}
|
|
51
40
|
if (typeof Math.trunc === 'undefined') {
|
|
52
41
|
Math.trunc = function (x) {
|
|
53
42
|
if (isNaN(x)) {
|
|
@@ -59,6 +48,17 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
59
48
|
return Math.ceil(x);
|
|
60
49
|
};
|
|
61
50
|
}
|
|
51
|
+
if (typeof Math.clz32 === 'undefined') {
|
|
52
|
+
Math.clz32 = function (log, LN2) {
|
|
53
|
+
return function (x) {
|
|
54
|
+
var asUint = x >>> 0;
|
|
55
|
+
if (asUint === 0) {
|
|
56
|
+
return 32;
|
|
57
|
+
}
|
|
58
|
+
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
59
|
+
};
|
|
60
|
+
}(Math.log, Math.LN2);
|
|
61
|
+
}
|
|
62
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
63
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
64
64
|
var subjectString = this.toString();
|
|
@@ -216,6 +216,11 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
|
216
216
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
217
217
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
218
218
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
219
|
+
function close$default(cause, $super) {
|
|
220
|
+
cause = cause === VOID ? null : cause;
|
|
221
|
+
return $super === VOID ? this.g19(cause) : $super.g19.call(this, cause);
|
|
222
|
+
}
|
|
223
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
219
224
|
function cancel$default_0(cause, $super) {
|
|
220
225
|
cause = cause === VOID ? null : cause;
|
|
221
226
|
var tmp;
|
|
@@ -228,12 +233,7 @@ function cancel$default_0(cause, $super) {
|
|
|
228
233
|
return tmp;
|
|
229
234
|
}
|
|
230
235
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
231
|
-
|
|
232
|
-
cause = cause === VOID ? null : cause;
|
|
233
|
-
return $super === VOID ? this.g19(cause) : $super.g19.call(this, cause);
|
|
234
|
-
}
|
|
235
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
236
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
236
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
237
237
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
238
238
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
239
239
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -243,7 +243,7 @@ initMetadataForCompanion(Companion);
|
|
|
243
243
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
244
244
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
245
245
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
246
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine,
|
|
246
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
|
|
247
247
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
248
248
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
249
249
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
|