@solibo/solibo-sdk 1.0.28 → 1.0.29-SNAPSHOT

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.
@@ -46,6 +46,22 @@ if (typeof Array.prototype.fill === 'undefined') {
46
46
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
47
47
  }
48
48
  });
49
+ if (typeof Math.clz32 === 'undefined') {
50
+ Math.clz32 = function (log, LN2) {
51
+ return function (x) {
52
+ var asUint = x >>> 0;
53
+ if (asUint === 0) {
54
+ return 32;
55
+ }
56
+ return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
57
+ };
58
+ }(Math.log, Math.LN2);
59
+ }
60
+ if (typeof Math.log10 === 'undefined') {
61
+ Math.log10 = function (x) {
62
+ return Math.log(x) * Math.LOG10E;
63
+ };
64
+ }
49
65
  if (typeof Math.trunc === 'undefined') {
50
66
  Math.trunc = function (x) {
51
67
  if (isNaN(x)) {
@@ -57,21 +73,11 @@ if (typeof Math.trunc === 'undefined') {
57
73
  return Math.ceil(x);
58
74
  };
59
75
  }
60
- if (typeof Math.log10 === 'undefined') {
61
- Math.log10 = function (x) {
62
- return Math.log(x) * Math.LOG10E;
63
- };
64
- }
65
- if (typeof Math.clz32 === 'undefined') {
66
- Math.clz32 = function (log, LN2) {
67
- return function (x) {
68
- var asUint = x >>> 0;
69
- if (asUint === 0) {
70
- return 32;
71
- }
72
- return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
73
- };
74
- }(Math.log, Math.LN2);
76
+ if (typeof String.prototype.startsWith === 'undefined') {
77
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
78
+ position = position || 0;
79
+ return this.lastIndexOf(searchString, position) === position;
80
+ }});
75
81
  }
76
82
  if (typeof String.prototype.endsWith === 'undefined') {
77
83
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -84,12 +90,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
84
90
  return lastIndex !== -1 && lastIndex === position;
85
91
  }});
86
92
  }
87
- if (typeof String.prototype.startsWith === 'undefined') {
88
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
89
- position = position || 0;
90
- return this.lastIndexOf(searchString, position) === position;
91
- }});
92
- }
93
93
  //endregion
94
94
  (function (factory) {
95
95
  if (typeof define === 'function' && define.amd)
@@ -142,8 +142,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
142
142
  initMetadataForCompanion(Companion_2);
143
143
  initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
144
144
  initMetadataForInterface(MutableIterable, 'MutableIterable');
145
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
146
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
145
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
146
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
147
147
  initMetadataForCompanion(Companion_3);
148
148
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
149
149
  initMetadataForCompanion(Companion_4);
@@ -167,7 +167,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
167
167
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
168
168
  initMetadataForInterface(Comparator, 'Comparator');
169
169
  initMetadataForObject(Unit, 'Unit');
170
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
170
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
171
171
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
172
172
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
173
173
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -179,7 +179,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
179
179
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
180
180
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
181
181
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
182
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
182
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
183
183
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
184
184
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
185
185
  initMetadataForClass(HashMapKeysDefault$iterator$1);