@solibo/home-api 1.0.28 → 1.0.29

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.
@@ -68,6 +68,12 @@ if (typeof Math.clz32 === 'undefined') {
68
68
  };
69
69
  }(Math.log, Math.LN2);
70
70
  }
71
+ if (typeof String.prototype.startsWith === 'undefined') {
72
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
73
+ position = position || 0;
74
+ return this.lastIndexOf(searchString, position) === position;
75
+ }});
76
+ }
71
77
  if (typeof String.prototype.endsWith === 'undefined') {
72
78
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
73
79
  var subjectString = this.toString();
@@ -79,12 +85,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
79
85
  return lastIndex !== -1 && lastIndex === position;
80
86
  }});
81
87
  }
82
- if (typeof String.prototype.startsWith === 'undefined') {
83
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
84
- position = position || 0;
85
- return this.lastIndexOf(searchString, position) === position;
86
- }});
87
- }
88
88
  //endregion
89
89
  (function (factory) {
90
90
  if (typeof define === 'function' && define.amd)
@@ -162,19 +162,19 @@ if (typeof String.prototype.startsWith === 'undefined') {
162
162
  initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList, [AbstractMutableList, RandomAccess]);
163
163
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
164
164
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMutableMap]);
165
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
165
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
166
166
  initMetadataForCompanion(Companion_5);
167
167
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
168
168
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
169
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
169
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
170
170
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, AbstractMutableCollection]);
171
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
171
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
172
172
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
173
173
  initMetadataForClass(HashMapKeysDefault$iterator$1);
174
174
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
175
175
  initMetadataForClass(HashMapValuesDefault$iterator$1);
176
176
  initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
177
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet, Collection]);
177
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, Collection, KtSet]);
178
178
  initMetadataForCompanion(Companion_6);
179
179
  initMetadataForClass(Itr, 'Itr');
180
180
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -220,7 +220,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
220
220
  initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
221
221
  initMetadataForObject(EmptyHolder, 'EmptyHolder');
222
222
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMutableMap]);
223
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet, Collection]);
223
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, Collection, KtSet]);
224
224
  initMetadataForInterface(Continuation, 'Continuation');
225
225
  initMetadataForClass(InterceptedCoroutine, 'InterceptedCoroutine', VOID, VOID, [Continuation]);
226
226
  initMetadataForClass(CoroutineImpl, 'CoroutineImpl', VOID, InterceptedCoroutine, [InterceptedCoroutine, Continuation]);