@solibo/solibo-sdk 1.6.8 → 1.6.9

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.
@@ -37,9 +37,15 @@ 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.log10 === 'undefined') {
41
- Math.log10 = function (x) {
42
- return Math.log(x) * Math.LOG10E;
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);
43
49
  };
44
50
  }
45
51
  if (typeof Math.clz32 === 'undefined') {
@@ -53,15 +59,9 @@ if (typeof Math.clz32 === 'undefined') {
53
59
  };
54
60
  }(Math.log, Math.LN2);
55
61
  }
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);
62
+ if (typeof Math.log10 === 'undefined') {
63
+ Math.log10 = function (x) {
64
+ return Math.log(x) * Math.LOG10E;
65
65
  };
66
66
  }
67
67
  if (typeof String.prototype.startsWith === 'undefined') {
@@ -127,8 +127,8 @@ initMetadataForInterface(MutableIterable, 'MutableIterable');
127
127
  function asJsArrayView() {
128
128
  return createJsArrayViewFrom(this);
129
129
  }
130
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
131
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
130
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
131
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
132
132
  initMetadataForCompanion(Companion_4);
133
133
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
134
134
  initMetadataForCompanion(Companion_5);
@@ -152,7 +152,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [RandomAccess]);
152
152
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
153
153
  initMetadataForInterface(Comparator, 'Comparator');
154
154
  initMetadataForObject(Unit, 'Unit');
155
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
155
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
156
156
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
157
157
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
158
158
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -164,7 +164,7 @@ initMetadataForCompanion(Companion_6);
164
164
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
165
165
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
166
166
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
167
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
167
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
168
168
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
169
169
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
170
170
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -10924,6 +10924,9 @@ function binarySearch(_this__u8e3s4, element, fromIndex, toIndex) {
10924
10924
  }
10925
10925
  return -(low + 1 | 0) | 0;
10926
10926
  }
10927
+ function listOfNotNull(element) {
10928
+ return !(element == null) ? listOf(element) : emptyList();
10929
+ }
10927
10930
  function optimizeReadOnlyList(_this__u8e3s4) {
10928
10931
  switch (_this__u8e3s4.g1()) {
10929
10932
  case 0:
@@ -19571,6 +19574,7 @@ export {
19571
19574
  lastOrNull as lastOrNull1aq5oz189qoe1,
19572
19575
  last_0 as last1vo29oleiqj36,
19573
19576
  last as last1x5hqf11b8kkw,
19577
+ listOfNotNull as listOfNotNull1v4ggfackvuny,
19574
19578
  listOf as listOfvhqybd2zx248,
19575
19579
  listOf_0 as listOf1jh22dvmctj1r,
19576
19580
  mapCapacity as mapCapacity1h45rc3eh9p2l,