@solibo/home-api 1.1.0 → 1.1.1
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 +742 -742
- package/kotlin-kotlin-stdlib.js +3032 -1782
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +14 -14
- package/kotlinx-coroutines-core.js +1893 -1893
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +35 -35
- package/kotlinx-io-kotlinx-io-core.js +457 -457
- package/kotlinx-serialization-kotlinx-serialization-core.js +1798 -1798
- package/kotlinx-serialization-kotlinx-serialization-json.js +1409 -1409
- package/ktor-ktor-client-content-negotiation.js +190 -190
- package/ktor-ktor-client-core.js +2991 -2991
- package/ktor-ktor-events.js +8 -8
- package/ktor-ktor-http-cio.js +497 -497
- package/ktor-ktor-http.js +675 -675
- package/ktor-ktor-io.js +1099 -1104
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +230 -230
- package/ktor-ktor-serialization.js +107 -107
- package/ktor-ktor-utils.js +553 -553
- package/ktor-ktor-websockets.js +757 -757
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.ts +395 -8
- package/solibo-sdk-sdk-home-api.js +74182 -68237
- package/solibo-sdk-sdk-home-api.js.map +1 -1
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
var copyOfRange = kotlin_kotlin.$_$.y5;
|
|
18
18
|
var protoOf = kotlin_kotlin.$_$.ub;
|
|
19
19
|
var objectCreate = kotlin_kotlin.$_$.tb;
|
|
20
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
20
|
+
var toCharArray = kotlin_kotlin.$_$.he;
|
|
21
21
|
var initMetadataForCompanion = kotlin_kotlin.$_$.ya;
|
|
22
22
|
var getKClassFromExpression = kotlin_kotlin.$_$.lc;
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.vf;
|
|
24
24
|
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
25
25
|
var contentEquals = kotlin_kotlin.$_$.u5;
|
|
26
26
|
var contentHashCode = kotlin_kotlin.$_$.v5;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
var compareTo = kotlin_kotlin.$_$.ma;
|
|
31
31
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
32
32
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g2;
|
|
33
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
33
|
+
var Comparable = kotlin_kotlin.$_$.if;
|
|
34
34
|
var initMetadataForClass = kotlin_kotlin.$_$.xa;
|
|
35
35
|
var decodeToString = kotlin_kotlin.$_$.zc;
|
|
36
36
|
var initMetadataForObject = kotlin_kotlin.$_$.db;
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
}
|
|
52
52
|
function Companion() {
|
|
53
53
|
Companion_instance = this;
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
54
|
+
this.do_1 = new ByteString(new Int8Array(0), null);
|
|
55
|
+
this.eo_1 = toCharArray('0123456789abcdef');
|
|
56
56
|
}
|
|
57
|
-
protoOf(Companion).
|
|
57
|
+
protoOf(Companion).fo = 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.go_1 = data;
|
|
69
|
+
this.ho_1 = 0;
|
|
70
70
|
}
|
|
71
71
|
protoOf(ByteString).g1 = function () {
|
|
72
|
-
return this.
|
|
72
|
+
return this.go_1.length;
|
|
73
73
|
};
|
|
74
74
|
protoOf(ByteString).equals = function (other) {
|
|
75
75
|
if (this === other)
|
|
@@ -78,43 +78,43 @@
|
|
|
78
78
|
return false;
|
|
79
79
|
if (!(other instanceof ByteString))
|
|
80
80
|
THROW_CCE();
|
|
81
|
-
if (!(other.
|
|
81
|
+
if (!(other.go_1.length === this.go_1.length))
|
|
82
82
|
return false;
|
|
83
|
-
if (!(other.
|
|
83
|
+
if (!(other.ho_1 === 0) && !(this.ho_1 === 0) && !(other.ho_1 === this.ho_1))
|
|
84
84
|
return false;
|
|
85
|
-
return contentEquals(this.
|
|
85
|
+
return contentEquals(this.go_1, other.go_1);
|
|
86
86
|
};
|
|
87
87
|
protoOf(ByteString).hashCode = function () {
|
|
88
|
-
var hc = this.
|
|
88
|
+
var hc = this.ho_1;
|
|
89
89
|
if (hc === 0) {
|
|
90
|
-
hc = contentHashCode(this.
|
|
91
|
-
this.
|
|
90
|
+
hc = contentHashCode(this.go_1);
|
|
91
|
+
this.ho_1 = hc;
|
|
92
92
|
}
|
|
93
93
|
return hc;
|
|
94
94
|
};
|
|
95
95
|
protoOf(ByteString).h1 = function (index) {
|
|
96
96
|
if (index < 0 || index >= this.g1())
|
|
97
97
|
throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.g1() + ')');
|
|
98
|
-
return this.
|
|
98
|
+
return this.go_1[index];
|
|
99
99
|
};
|
|
100
|
-
protoOf(ByteString).
|
|
100
|
+
protoOf(ByteString).io = function (startIndex, endIndex) {
|
|
101
101
|
var tmp;
|
|
102
102
|
if (startIndex === endIndex) {
|
|
103
|
-
tmp = Companion_getInstance().
|
|
103
|
+
tmp = Companion_getInstance().do_1;
|
|
104
104
|
} else {
|
|
105
|
-
tmp = ByteString_init_$Create$(this.
|
|
105
|
+
tmp = ByteString_init_$Create$(this.go_1, startIndex, endIndex);
|
|
106
106
|
}
|
|
107
107
|
return tmp;
|
|
108
108
|
};
|
|
109
|
-
protoOf(ByteString).
|
|
109
|
+
protoOf(ByteString).jo = function (startIndex, endIndex, $super) {
|
|
110
110
|
endIndex = endIndex === VOID ? this.g1() : endIndex;
|
|
111
|
-
return $super === VOID ? this.
|
|
111
|
+
return $super === VOID ? this.io(startIndex, endIndex) : $super.io.call(this, startIndex, endIndex);
|
|
112
112
|
};
|
|
113
|
-
protoOf(ByteString).
|
|
113
|
+
protoOf(ByteString).ko = function (other) {
|
|
114
114
|
if (other === this)
|
|
115
115
|
return 0;
|
|
116
|
-
var localData = this.
|
|
117
|
-
var otherData = other.
|
|
116
|
+
var localData = this.go_1;
|
|
117
|
+
var otherData = other.go_1;
|
|
118
118
|
var inductionVariable = 0;
|
|
119
119
|
var tmp0 = this.g1();
|
|
120
120
|
// Inline function 'kotlin.math.min' call
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
return compareTo(this.g1(), other.g1());
|
|
144
144
|
};
|
|
145
145
|
protoOf(ByteString).d = function (other) {
|
|
146
|
-
return this.
|
|
146
|
+
return this.ko(other instanceof ByteString ? other : THROW_CCE());
|
|
147
147
|
};
|
|
148
148
|
protoOf(ByteString).toString = function () {
|
|
149
149
|
if (isEmpty(this)) {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
$this$with.q('ByteString(size=');
|
|
157
157
|
$this$with.q(sizeStr);
|
|
158
158
|
$this$with.q(' hex=');
|
|
159
|
-
var localData = this.
|
|
159
|
+
var localData = this.go_1;
|
|
160
160
|
var inductionVariable = 0;
|
|
161
161
|
var last = this.g1();
|
|
162
162
|
if (inductionVariable < last)
|
|
@@ -164,35 +164,35 @@
|
|
|
164
164
|
var i = inductionVariable;
|
|
165
165
|
inductionVariable = inductionVariable + 1 | 0;
|
|
166
166
|
var b = localData[i];
|
|
167
|
-
$this$with.s(Companion_getInstance().
|
|
168
|
-
$this$with.s(Companion_getInstance().
|
|
167
|
+
$this$with.s(Companion_getInstance().eo_1[(b >>> 4 | 0) & 15]);
|
|
168
|
+
$this$with.s(Companion_getInstance().eo_1[b & 15]);
|
|
169
169
|
}
|
|
170
170
|
while (inductionVariable < last);
|
|
171
171
|
return $this$with.s(_Char___init__impl__6a9atx(41)).toString();
|
|
172
172
|
};
|
|
173
|
-
protoOf(ByteString).
|
|
174
|
-
return this.
|
|
173
|
+
protoOf(ByteString).lo = function () {
|
|
174
|
+
return this.go_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().do_1;
|
|
181
181
|
} else {
|
|
182
|
-
tmp = Companion_getInstance().
|
|
182
|
+
tmp = Companion_getInstance().fo(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.lo());
|
|
188
188
|
}
|
|
189
189
|
function isEmpty(_this__u8e3s4) {
|
|
190
190
|
return _this__u8e3s4.g1() === 0;
|
|
191
191
|
}
|
|
192
192
|
function UnsafeByteStringOperations() {
|
|
193
193
|
}
|
|
194
|
-
protoOf(UnsafeByteStringOperations).
|
|
195
|
-
return Companion_getInstance().
|
|
194
|
+
protoOf(UnsafeByteStringOperations).mo = function (array) {
|
|
195
|
+
return Companion_getInstance().fo(array);
|
|
196
196
|
};
|
|
197
197
|
var UnsafeByteStringOperations_instance;
|
|
198
198
|
function UnsafeByteStringOperations_getInstance() {
|