@solibo/solibo-sdk 1.1.32 → 1.1.33
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-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/kotlin-kotlin-stdlib.mjs +21 -21
- package/kotlinx-coroutines-core.mjs +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk.d.mts +4 -0
- package/solibo-sdk-sdk.mjs +2267 -2035
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -361,7 +361,7 @@ function addFormatStructureForDate(structure) {
|
|
|
361
361
|
function addFormatStructureForTime(structure) {
|
|
362
362
|
this.e1u(structure);
|
|
363
363
|
}
|
|
364
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
364
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
365
365
|
initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
|
|
366
366
|
initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
|
|
367
367
|
function set_fractionOfSecond(value) {
|
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.trunc === 'undefined') {
|
|
41
|
-
Math.trunc = function (x) {
|
|
42
|
-
if (isNaN(x)) {
|
|
43
|
-
return NaN;
|
|
44
|
-
}
|
|
45
|
-
if (x > 0) {
|
|
46
|
-
return Math.floor(x);
|
|
47
|
-
}
|
|
48
|
-
return Math.ceil(x);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
40
|
if (typeof Math.log10 === 'undefined') {
|
|
52
41
|
Math.log10 = function (x) {
|
|
53
42
|
return Math.log(x) * Math.LOG10E;
|
|
@@ -64,6 +53,23 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
64
53
|
};
|
|
65
54
|
}(Math.log, Math.LN2);
|
|
66
55
|
}
|
|
56
|
+
if (typeof Math.trunc === 'undefined') {
|
|
57
|
+
Math.trunc = function (x) {
|
|
58
|
+
if (isNaN(x)) {
|
|
59
|
+
return NaN;
|
|
60
|
+
}
|
|
61
|
+
if (x > 0) {
|
|
62
|
+
return Math.floor(x);
|
|
63
|
+
}
|
|
64
|
+
return Math.ceil(x);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
68
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
69
|
+
position = position || 0;
|
|
70
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
71
|
+
}});
|
|
72
|
+
}
|
|
67
73
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
68
74
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
69
75
|
var subjectString = this.toString();
|
|
@@ -75,12 +81,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
75
81
|
return lastIndex !== -1 && lastIndex === position;
|
|
76
82
|
}});
|
|
77
83
|
}
|
|
78
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
79
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
80
|
-
position = position || 0;
|
|
81
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
82
|
-
}});
|
|
83
|
-
}
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: imports
|
|
86
86
|
var imul_0 = Math.imul;
|
|
@@ -128,8 +128,8 @@ initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
|
128
128
|
function asJsArrayView() {
|
|
129
129
|
return createJsArrayViewFrom(this);
|
|
130
130
|
}
|
|
131
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
132
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
131
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
132
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
133
133
|
initMetadataForCompanion(Companion_4);
|
|
134
134
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
135
135
|
initMetadataForCompanion(Companion_5);
|
|
@@ -153,7 +153,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [AbstractList, RandomAc
|
|
|
153
153
|
initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
154
154
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
155
155
|
initMetadataForObject(Unit, 'Unit');
|
|
156
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
156
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
|
|
157
157
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
158
158
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
159
159
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
|
|
@@ -165,7 +165,7 @@ initMetadataForCompanion(Companion_6);
|
|
|
165
165
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
|
|
166
166
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
|
|
167
167
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
168
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
168
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
|
|
169
169
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
170
170
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
171
171
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -270,7 +270,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
270
270
|
initMetadataForClass(Symbol, 'Symbol');
|
|
271
271
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
272
272
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
273
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
273
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
274
274
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
275
275
|
function tryLock$default(owner, $super) {
|
|
276
276
|
owner = owner === VOID ? null : owner;
|
package/package.json
CHANGED
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -16139,6 +16139,7 @@ export declare class SoliboSDK {
|
|
|
16139
16139
|
protected constructor(api: HomeApi, auth: Auth);
|
|
16140
16140
|
get api(): HomeApi;
|
|
16141
16141
|
get auth(): Auth;
|
|
16142
|
+
get eventBus(): EventBus;
|
|
16142
16143
|
}
|
|
16143
16144
|
export declare namespace SoliboSDK {
|
|
16144
16145
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -16227,9 +16228,12 @@ export declare class EventBus {
|
|
|
16227
16228
|
private constructor();
|
|
16228
16229
|
get errors(): any/* Channel<string> */;
|
|
16229
16230
|
get events(): any/* Channel<WsEvent> */;
|
|
16231
|
+
onEvent(callback: (p0: WsEvent) => void): () => void;
|
|
16232
|
+
onError(callback: (p0: string) => void): () => void;
|
|
16230
16233
|
start(): void;
|
|
16231
16234
|
stop(): Promise<void>;
|
|
16232
16235
|
send(payload: WebSocketPayload): Promise<void>;
|
|
16236
|
+
sendJs(payload: WebSocketPayload): void;
|
|
16233
16237
|
}
|
|
16234
16238
|
export declare namespace EventBus {
|
|
16235
16239
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|