@solibo/home-api 1.0.29 → 1.0.30
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.js +2112 -563
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +5406 -2806
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +2057 -2057
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +69 -69
- package/kotlinx-io-kotlinx-io-core.js +534 -534
- package/kotlinx-serialization-kotlinx-serialization-core.js +4592 -609
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +5065 -5
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +304 -253
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +3179 -3179
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +13 -13
- package/ktor-ktor-http-cio.js +612 -612
- package/ktor-ktor-http-cio.js.map +1 -1
- package/ktor-ktor-http.js +1020 -953
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1159 -1153
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +57 -5
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +855 -5
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +159 -126
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +824 -672
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +826 -826
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.ts +7748 -8553
- package/solibo-sdk-sdk-home-api.js +173899 -109918
- package/solibo-sdk-sdk-home-api.js.map +1 -1
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var VOID = kotlin_kotlin.$_$.
|
|
17
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
18
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
19
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
20
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
21
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
22
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
24
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
25
|
-
var contentEquals = kotlin_kotlin.$_$.
|
|
26
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
27
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
28
|
-
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.
|
|
29
|
-
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.
|
|
30
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
31
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
32
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
33
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
34
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
35
|
-
var decodeToString = kotlin_kotlin.$_$.
|
|
36
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
16
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
17
|
+
var copyOfRange = kotlin_kotlin.$_$.x5;
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
19
|
+
var objectCreate = kotlin_kotlin.$_$.sb;
|
|
20
|
+
var toCharArray = kotlin_kotlin.$_$.fe;
|
|
21
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.xa;
|
|
22
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.kc;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.sf;
|
|
24
|
+
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
25
|
+
var contentEquals = kotlin_kotlin.$_$.t5;
|
|
26
|
+
var contentHashCode = kotlin_kotlin.$_$.u5;
|
|
27
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
28
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.s2;
|
|
29
|
+
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.t2;
|
|
30
|
+
var compareTo = kotlin_kotlin.$_$.la;
|
|
31
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
32
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g2;
|
|
33
|
+
var Comparable = kotlin_kotlin.$_$.ff;
|
|
34
|
+
var initMetadataForClass = kotlin_kotlin.$_$.wa;
|
|
35
|
+
var decodeToString = kotlin_kotlin.$_$.yc;
|
|
36
|
+
var initMetadataForObject = kotlin_kotlin.$_$.cb;
|
|
37
37
|
//endregion
|
|
38
38
|
//region block: pre-declaration
|
|
39
39
|
initMetadataForCompanion(Companion);
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
}
|
|
52
52
|
function Companion() {
|
|
53
53
|
Companion_instance = this;
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
54
|
+
this.vm_1 = new ByteString(new Int8Array(0), null);
|
|
55
|
+
this.wm_1 = toCharArray('0123456789abcdef');
|
|
56
56
|
}
|
|
57
|
-
protoOf(Companion).
|
|
57
|
+
protoOf(Companion).xm = function (byteArray) {
|
|
58
58
|
return new ByteString(byteArray, null);
|
|
59
59
|
};
|
|
60
60
|
var Companion_instance;
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
}
|
|
66
66
|
function ByteString(data, dummy) {
|
|
67
67
|
Companion_getInstance();
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
68
|
+
this.ym_1 = data;
|
|
69
|
+
this.zm_1 = 0;
|
|
70
70
|
}
|
|
71
|
-
protoOf(ByteString).
|
|
72
|
-
return this.
|
|
71
|
+
protoOf(ByteString).g1 = function () {
|
|
72
|
+
return this.ym_1.length;
|
|
73
73
|
};
|
|
74
74
|
protoOf(ByteString).equals = function (other) {
|
|
75
75
|
if (this === other)
|
|
@@ -78,47 +78,47 @@
|
|
|
78
78
|
return false;
|
|
79
79
|
if (!(other instanceof ByteString))
|
|
80
80
|
THROW_CCE();
|
|
81
|
-
if (!(other.
|
|
81
|
+
if (!(other.ym_1.length === this.ym_1.length))
|
|
82
82
|
return false;
|
|
83
|
-
if (!(other.
|
|
83
|
+
if (!(other.zm_1 === 0) && !(this.zm_1 === 0) && !(other.zm_1 === this.zm_1))
|
|
84
84
|
return false;
|
|
85
|
-
return contentEquals(this.
|
|
85
|
+
return contentEquals(this.ym_1, other.ym_1);
|
|
86
86
|
};
|
|
87
87
|
protoOf(ByteString).hashCode = function () {
|
|
88
|
-
var hc = this.
|
|
88
|
+
var hc = this.zm_1;
|
|
89
89
|
if (hc === 0) {
|
|
90
|
-
hc = contentHashCode(this.
|
|
91
|
-
this.
|
|
90
|
+
hc = contentHashCode(this.ym_1);
|
|
91
|
+
this.zm_1 = hc;
|
|
92
92
|
}
|
|
93
93
|
return hc;
|
|
94
94
|
};
|
|
95
|
-
protoOf(ByteString).
|
|
96
|
-
if (index < 0 || index >= this.
|
|
97
|
-
throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.
|
|
98
|
-
return this.
|
|
95
|
+
protoOf(ByteString).h1 = function (index) {
|
|
96
|
+
if (index < 0 || index >= this.g1())
|
|
97
|
+
throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.g1() + ')');
|
|
98
|
+
return this.ym_1[index];
|
|
99
99
|
};
|
|
100
|
-
protoOf(ByteString).
|
|
100
|
+
protoOf(ByteString).an = function (startIndex, endIndex) {
|
|
101
101
|
var tmp;
|
|
102
102
|
if (startIndex === endIndex) {
|
|
103
|
-
tmp = Companion_getInstance().
|
|
103
|
+
tmp = Companion_getInstance().vm_1;
|
|
104
104
|
} else {
|
|
105
|
-
tmp = ByteString_init_$Create$(this.
|
|
105
|
+
tmp = ByteString_init_$Create$(this.ym_1, startIndex, endIndex);
|
|
106
106
|
}
|
|
107
107
|
return tmp;
|
|
108
108
|
};
|
|
109
|
-
protoOf(ByteString).
|
|
110
|
-
endIndex = endIndex === VOID ? this.
|
|
111
|
-
return $super === VOID ? this.
|
|
109
|
+
protoOf(ByteString).bn = function (startIndex, endIndex, $super) {
|
|
110
|
+
endIndex = endIndex === VOID ? this.g1() : endIndex;
|
|
111
|
+
return $super === VOID ? this.an(startIndex, endIndex) : $super.an.call(this, startIndex, endIndex);
|
|
112
112
|
};
|
|
113
|
-
protoOf(ByteString).
|
|
113
|
+
protoOf(ByteString).cn = function (other) {
|
|
114
114
|
if (other === this)
|
|
115
115
|
return 0;
|
|
116
|
-
var localData = this.
|
|
117
|
-
var otherData = other.
|
|
116
|
+
var localData = this.ym_1;
|
|
117
|
+
var otherData = other.ym_1;
|
|
118
118
|
var inductionVariable = 0;
|
|
119
|
-
var tmp0 = this.
|
|
119
|
+
var tmp0 = this.g1();
|
|
120
120
|
// Inline function 'kotlin.math.min' call
|
|
121
|
-
var b = other.
|
|
121
|
+
var b = other.g1();
|
|
122
122
|
var last = Math.min(tmp0, b);
|
|
123
123
|
if (inductionVariable < last)
|
|
124
124
|
do {
|
|
@@ -140,59 +140,59 @@
|
|
|
140
140
|
return cmp;
|
|
141
141
|
}
|
|
142
142
|
while (inductionVariable < last);
|
|
143
|
-
return compareTo(this.
|
|
143
|
+
return compareTo(this.g1(), other.g1());
|
|
144
144
|
};
|
|
145
145
|
protoOf(ByteString).d = function (other) {
|
|
146
|
-
return this.
|
|
146
|
+
return this.cn(other instanceof ByteString ? other : THROW_CCE());
|
|
147
147
|
};
|
|
148
148
|
protoOf(ByteString).toString = function () {
|
|
149
149
|
if (isEmpty(this)) {
|
|
150
150
|
return 'ByteString(size=0)';
|
|
151
151
|
}
|
|
152
|
-
var sizeStr = this.
|
|
153
|
-
var len = (22 + sizeStr.length | 0) + imul(this.
|
|
152
|
+
var sizeStr = this.g1().toString();
|
|
153
|
+
var len = (22 + sizeStr.length | 0) + imul(this.g1(), 2) | 0;
|
|
154
154
|
// Inline function 'kotlin.with' call
|
|
155
155
|
var $this$with = StringBuilder_init_$Create$(len);
|
|
156
|
-
$this$with.
|
|
157
|
-
$this$with.
|
|
158
|
-
$this$with.
|
|
159
|
-
var localData = this.
|
|
156
|
+
$this$with.q('ByteString(size=');
|
|
157
|
+
$this$with.q(sizeStr);
|
|
158
|
+
$this$with.q(' hex=');
|
|
159
|
+
var localData = this.ym_1;
|
|
160
160
|
var inductionVariable = 0;
|
|
161
|
-
var last = this.
|
|
161
|
+
var last = this.g1();
|
|
162
162
|
if (inductionVariable < last)
|
|
163
163
|
do {
|
|
164
164
|
var i = inductionVariable;
|
|
165
165
|
inductionVariable = inductionVariable + 1 | 0;
|
|
166
166
|
var b = localData[i];
|
|
167
|
-
$this$with.
|
|
168
|
-
$this$with.
|
|
167
|
+
$this$with.s(Companion_getInstance().wm_1[(b >>> 4 | 0) & 15]);
|
|
168
|
+
$this$with.s(Companion_getInstance().wm_1[b & 15]);
|
|
169
169
|
}
|
|
170
170
|
while (inductionVariable < last);
|
|
171
|
-
return $this$with.
|
|
171
|
+
return $this$with.s(_Char___init__impl__6a9atx(41)).toString();
|
|
172
172
|
};
|
|
173
|
-
protoOf(ByteString).
|
|
174
|
-
return this.
|
|
173
|
+
protoOf(ByteString).dn = function () {
|
|
174
|
+
return this.ym_1;
|
|
175
175
|
};
|
|
176
176
|
function ByteString_0(bytes) {
|
|
177
177
|
var tmp;
|
|
178
178
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
179
179
|
if (bytes.length === 0) {
|
|
180
|
-
tmp = Companion_getInstance().
|
|
180
|
+
tmp = Companion_getInstance().vm_1;
|
|
181
181
|
} else {
|
|
182
|
-
tmp = Companion_getInstance().
|
|
182
|
+
tmp = Companion_getInstance().xm(bytes);
|
|
183
183
|
}
|
|
184
184
|
return tmp;
|
|
185
185
|
}
|
|
186
186
|
function decodeToString_0(_this__u8e3s4) {
|
|
187
|
-
return decodeToString(_this__u8e3s4.
|
|
187
|
+
return decodeToString(_this__u8e3s4.dn());
|
|
188
188
|
}
|
|
189
189
|
function isEmpty(_this__u8e3s4) {
|
|
190
|
-
return _this__u8e3s4.
|
|
190
|
+
return _this__u8e3s4.g1() === 0;
|
|
191
191
|
}
|
|
192
192
|
function UnsafeByteStringOperations() {
|
|
193
193
|
}
|
|
194
|
-
protoOf(UnsafeByteStringOperations).
|
|
195
|
-
return Companion_getInstance().
|
|
194
|
+
protoOf(UnsafeByteStringOperations).en = function (array) {
|
|
195
|
+
return Companion_getInstance().xm(array);
|
|
196
196
|
};
|
|
197
197
|
var UnsafeByteStringOperations_instance;
|
|
198
198
|
function UnsafeByteStringOperations_getInstance() {
|