@solibo/home-api 1.7.72 → 1.7.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
CHANGED
|
@@ -37,6 +37,17 @@ 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
|
+
}
|
|
40
51
|
if (typeof Math.trunc === 'undefined') {
|
|
41
52
|
Math.trunc = function (x) {
|
|
42
53
|
if (isNaN(x)) {
|
|
@@ -48,16 +59,11 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
48
59
|
return Math.ceil(x);
|
|
49
60
|
};
|
|
50
61
|
}
|
|
51
|
-
if (typeof
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
return 32;
|
|
57
|
-
}
|
|
58
|
-
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
59
|
-
};
|
|
60
|
-
}(Math.log, Math.LN2);
|
|
62
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
63
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
64
|
+
position = position || 0;
|
|
65
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
66
|
+
}});
|
|
61
67
|
}
|
|
62
68
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
63
69
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
@@ -70,12 +76,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
70
76
|
return lastIndex !== -1 && lastIndex === position;
|
|
71
77
|
}});
|
|
72
78
|
}
|
|
73
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
74
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
75
|
-
position = position || 0;
|
|
76
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
77
|
-
}});
|
|
78
|
-
}
|
|
79
79
|
//endregion
|
|
80
80
|
//region block: imports
|
|
81
81
|
var imul_0 = Math.imul;
|
|
@@ -217,11 +217,6 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
|
217
217
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
218
218
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
219
219
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
220
|
-
function close$default(cause, $super) {
|
|
221
|
-
cause = cause === VOID ? null : cause;
|
|
222
|
-
return $super === VOID ? this.y18(cause) : $super.y18.call(this, cause);
|
|
223
|
-
}
|
|
224
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
225
220
|
function cancel$default_0(cause, $super) {
|
|
226
221
|
cause = cause === VOID ? null : cause;
|
|
227
222
|
var tmp;
|
|
@@ -234,7 +229,12 @@ function cancel$default_0(cause, $super) {
|
|
|
234
229
|
return tmp;
|
|
235
230
|
}
|
|
236
231
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
237
|
-
|
|
232
|
+
function close$default(cause, $super) {
|
|
233
|
+
cause = cause === VOID ? null : cause;
|
|
234
|
+
return $super === VOID ? this.y18(cause) : $super.y18.call(this, cause);
|
|
235
|
+
}
|
|
236
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
237
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
238
238
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
239
239
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
240
240
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -244,7 +244,7 @@ initMetadataForCompanion(Companion);
|
|
|
244
244
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
245
245
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
246
246
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
247
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [
|
|
247
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [1, 0]);
|
|
248
248
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
249
249
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
250
250
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
|
|
@@ -263,7 +263,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
263
263
|
initMetadataForClass(Symbol, 'Symbol');
|
|
264
264
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
265
265
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
266
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
266
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
267
267
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
268
268
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [Delay], [1]);
|
|
269
269
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
package/ktor-ktor-websockets.mjs
CHANGED
|
@@ -72,8 +72,8 @@ import {
|
|
|
72
72
|
_ChannelResult___get_isClosed__impl__mg7kuu1g5u2zmbzbfb4 as _ChannelResult___get_isClosed__impl__mg7kuu,
|
|
73
73
|
close$default1evna6yun3t5h as close$default,
|
|
74
74
|
cancel$default1fq6eekptkf7a as cancel$default,
|
|
75
|
-
SendChannel38sllbxw662ws as SendChannel,
|
|
76
75
|
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
76
|
+
SendChannel38sllbxw662ws as SendChannel,
|
|
77
77
|
} from './kotlinx-coroutines-core.mjs';
|
|
78
78
|
import {
|
|
79
79
|
get_isTraceEnabled82xibuu04nxp as get_isTraceEnabled,
|
|
@@ -138,7 +138,7 @@ initMetadataForCompanion(Companion_3);
|
|
|
138
138
|
initMetadataForClass(ChannelConfig, 'ChannelConfig');
|
|
139
139
|
initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
|
|
140
140
|
initMetadataForCompanion(Companion_4);
|
|
141
|
-
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [
|
|
141
|
+
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 0]);
|
|
142
142
|
initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
|
|
143
143
|
initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
|
|
144
144
|
initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
|