@solibo/solibo-sdk 1.1.9 → 1.1.10

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,17 +37,6 @@ 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.clz32 === 'undefined') {
41
- Math.clz32 = function (log, LN2) {
42
- return function (x) {
43
- var asUint = x >>> 0;
44
- if (asUint === 0) {
45
- return 32;
46
- }
47
- return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
48
- };
49
- }(Math.log, Math.LN2);
50
- }
51
40
  if (typeof Math.log10 === 'undefined') {
52
41
  Math.log10 = function (x) {
53
42
  return Math.log(x) * Math.LOG10E;
@@ -64,6 +53,23 @@ if (typeof Math.trunc === 'undefined') {
64
53
  return Math.ceil(x);
65
54
  };
66
55
  }
56
+ if (typeof Math.clz32 === 'undefined') {
57
+ Math.clz32 = function (log, LN2) {
58
+ return function (x) {
59
+ var asUint = x >>> 0;
60
+ if (asUint === 0) {
61
+ return 32;
62
+ }
63
+ return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
64
+ };
65
+ }(Math.log, Math.LN2);
66
+ }
67
+ if (typeof String.prototype.startsWith === 'undefined') {
68
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
+ position = position || 0;
70
+ return this.lastIndexOf(searchString, position) === position;
71
+ }});
72
+ }
67
73
  if (typeof String.prototype.endsWith === 'undefined') {
68
74
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
69
75
  var subjectString = this.toString();
@@ -75,12 +81,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
75
81
  return lastIndex !== -1 && lastIndex === position;
76
82
  }});
77
83
  }
78
- if (typeof String.prototype.startsWith === 'undefined') {
79
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
80
- position = position || 0;
81
- return this.lastIndexOf(searchString, position) === position;
82
- }});
83
- }
84
84
  //endregion
85
85
  //region block: imports
86
86
  var imul_0 = Math.imul;
@@ -128,8 +128,8 @@ initMetadataForInterface(MutableIterable, 'MutableIterable');
128
128
  function asJsArrayView() {
129
129
  return createJsArrayViewFrom(this);
130
130
  }
131
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
132
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
131
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
132
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
133
133
  initMetadataForCompanion(Companion_4);
134
134
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
135
135
  initMetadataForCompanion(Companion_5);
@@ -153,7 +153,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [AbstractList, RandomAc
153
153
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
154
154
  initMetadataForInterface(Comparator, 'Comparator');
155
155
  initMetadataForObject(Unit, 'Unit');
156
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
156
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
157
157
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
158
158
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
159
159
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -165,7 +165,7 @@ initMetadataForCompanion(Companion_6);
165
165
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
166
166
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
167
167
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
168
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
168
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
169
169
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
170
170
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
171
171
  initMetadataForClass(HashMapKeysDefault$iterator$1);