@solibo/home-api 1.1.30 → 1.1.31
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
|
@@ -59,12 +59,6 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
59
59
|
return Math.ceil(x);
|
|
60
60
|
};
|
|
61
61
|
}
|
|
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
|
-
}});
|
|
67
|
-
}
|
|
68
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
69
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
70
64
|
var subjectString = this.toString();
|
|
@@ -76,6 +70,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
76
70
|
return lastIndex !== -1 && lastIndex === position;
|
|
77
71
|
}});
|
|
78
72
|
}
|
|
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;
|
|
@@ -262,7 +262,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
262
262
|
initMetadataForClass(Symbol, 'Symbol');
|
|
263
263
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
264
264
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
265
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
265
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
266
266
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
267
267
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [CoroutineDispatcher, Delay], [1]);
|
|
268
268
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
package/package.json
CHANGED
|
@@ -13593,6 +13593,9 @@ export declare class ApiClient {
|
|
|
13593
13593
|
constructor(baseUrl: string);
|
|
13594
13594
|
get client(): any/* HttpClient */;
|
|
13595
13595
|
set client(value: any/* HttpClient */);
|
|
13596
|
+
get extraHeaders(): Nullable<KtMap<string, string>>;
|
|
13597
|
+
set extraHeaders(value: Nullable<KtMap<string, string>>);
|
|
13598
|
+
setNextRequestHeaders(headers: KtMap<string, string>): void;
|
|
13596
13599
|
static createWithEngine(baseUrl: string, httpClientEngine: Nullable<any>/* Nullable<HttpClientEngine> */, httpClientConfig: Nullable<(p0: any/* HttpClientConfig<UnknownType *> */) => void> | undefined, jsonBlock: any/* Json */): ApiClient;
|
|
13597
13600
|
static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): ApiClient;
|
|
13598
13601
|
setUsername(username: string): void;
|