@solibo/solibo-sdk 1.1.51 → 1.1.52

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.
@@ -361,7 +361,7 @@ function addFormatStructureForDate(structure) {
361
361
  function addFormatStructureForTime(structure) {
362
362
  this.e1u(structure);
363
363
  }
364
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
364
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
365
365
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
366
366
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
367
367
  function set_fractionOfSecond(value) {
@@ -37,6 +37,17 @@ 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);
49
+ };
50
+ }
40
51
  if (typeof Math.clz32 === 'undefined') {
41
52
  Math.clz32 = function (log, LN2) {
42
53
  return function (x) {
@@ -53,23 +64,6 @@ if (typeof Math.log10 === 'undefined') {
53
64
  return Math.log(x) * Math.LOG10E;
54
65
  };
55
66
  }
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
- };
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
- }
73
67
  if (typeof String.prototype.endsWith === 'undefined') {
74
68
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
75
69
  var subjectString = this.toString();
@@ -81,6 +75,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
81
75
  return lastIndex !== -1 && lastIndex === position;
82
76
  }});
83
77
  }
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;
@@ -224,6 +224,11 @@ 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]);
227
232
  function cancel$default_0(cause, $super) {
228
233
  cause = cause === VOID ? null : cause;
229
234
  var tmp;
@@ -236,12 +241,7 @@ function cancel$default_0(cause, $super) {
236
241
  return tmp;
237
242
  }
238
243
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
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]);
244
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [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, ReceiveChannel, SendChannel], [1, 0]);
254
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [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]);