@solibo/solibo-sdk 1.1.15 → 1.1.16

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.p1i(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,11 +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.log10 === 'undefined') {
41
- Math.log10 = function (x) {
42
- return Math.log(x) * Math.LOG10E;
43
- };
44
- }
45
40
  if (typeof Math.trunc === 'undefined') {
46
41
  Math.trunc = function (x) {
47
42
  if (isNaN(x)) {
@@ -64,11 +59,10 @@ if (typeof Math.clz32 === 'undefined') {
64
59
  };
65
60
  }(Math.log, Math.LN2);
66
61
  }
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
- }});
62
+ if (typeof Math.log10 === 'undefined') {
63
+ Math.log10 = function (x) {
64
+ return Math.log(x) * Math.LOG10E;
65
+ };
72
66
  }
73
67
  if (typeof String.prototype.endsWith === 'undefined') {
74
68
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -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;