@solibo/solibo-sdk 1.1.76 → 1.1.77

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,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;
@@ -290,7 +290,7 @@ initMetadataForCoroutine($doSelectCOROUTINE$, CoroutineImpl);
290
290
  initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
291
291
  initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
292
292
  initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
293
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
293
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
294
294
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
295
295
  function tryLock$default(owner, $super) {
296
296
  owner = owner === VOID ? null : owner;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main": "index.mjs",
3
3
  "types": "index.d.ts",
4
- "version": "1.1.76",
4
+ "version": "1.1.77",
5
5
  "name": "@solibo/solibo-sdk",
6
6
  "dependencies": {
7
7
  "@js-joda/core": "5.6.3",