@solibo/solibo-sdk 1.1.29 → 1.1.30-eec1ba3-1772824156199-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.
package/index.mjs CHANGED
@@ -7,4 +7,5 @@ export {
7
7
  KtMap,
8
8
  KtMutableList,
9
9
  KtMutableMap,
10
+ Instant2s2zyzgfc4947 as Instant,
10
11
  } from './kotlin-kotlin-stdlib.mjs';
@@ -37,15 +37,9 @@ 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.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);
40
+ if (typeof Math.log10 === 'undefined') {
41
+ Math.log10 = function (x) {
42
+ return Math.log(x) * Math.LOG10E;
49
43
  };
50
44
  }
51
45
  if (typeof Math.clz32 === 'undefined') {
@@ -59,11 +53,23 @@ if (typeof Math.clz32 === 'undefined') {
59
53
  };
60
54
  }(Math.log, Math.LN2);
61
55
  }
62
- if (typeof Math.log10 === 'undefined') {
63
- Math.log10 = function (x) {
64
- return Math.log(x) * Math.LOG10E;
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);
65
65
  };
66
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, MutableIterable, Collection]);
132
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
131
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
132
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
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, MutableIterable, Collection]);
156
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
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, [MutableIterable, Collection, AbstractMutableCollection]);
168
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
169
169
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
170
170
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
171
171
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -224,11 +224,6 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
224
224
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
225
225
  initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
226
226
  initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
227
- function close$default(cause, $super) {
228
- cause = cause === VOID ? null : cause;
229
- return $super === VOID ? this.y2p(cause) : $super.y2p.call(this, cause);
230
- }
231
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
232
227
  function cancel$default_0(cause, $super) {
233
228
  cause = cause === VOID ? null : cause;
234
229
  var tmp;
@@ -241,7 +236,12 @@ function cancel$default_0(cause, $super) {
241
236
  return tmp;
242
237
  }
243
238
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
244
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
239
+ function close$default(cause, $super) {
240
+ cause = cause === VOID ? null : cause;
241
+ return $super === VOID ? this.y2p(cause) : $super.y2p.call(this, cause);
242
+ }
243
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
244
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
245
245
  initMetadataForClass(WaiterEB, 'WaiterEB');
246
246
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
247
247
  initMetadataForObject(Factory, 'Factory');
@@ -251,7 +251,7 @@ initMetadataForCompanion(Companion);
251
251
  initMetadataForClass(ChannelResult, 'ChannelResult');
252
252
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
253
253
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
254
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
254
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
255
255
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
256
256
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
257
257
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
@@ -270,7 +270,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
270
270
  initMetadataForClass(Symbol, 'Symbol');
271
271
  initMetadataForInterface(SelectInstance, 'SelectInstance');
272
272
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
273
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
273
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
274
274
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
275
275
  function tryLock$default(owner, $super) {
276
276
  owner = owner === VOID ? null : owner;