@solibo/solibo-sdk 1.1.24 → 1.1.26

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.
@@ -42,6 +42,17 @@ if (typeof Math.log10 === 'undefined') {
42
42
  return Math.log(x) * Math.LOG10E;
43
43
  };
44
44
  }
45
+ if (typeof Math.clz32 === 'undefined') {
46
+ Math.clz32 = function (log, LN2) {
47
+ return function (x) {
48
+ var asUint = x >>> 0;
49
+ if (asUint === 0) {
50
+ return 32;
51
+ }
52
+ return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
53
+ };
54
+ }(Math.log, Math.LN2);
55
+ }
45
56
  if (typeof Math.trunc === 'undefined') {
46
57
  Math.trunc = function (x) {
47
58
  if (isNaN(x)) {
@@ -53,16 +64,11 @@ if (typeof Math.trunc === 'undefined') {
53
64
  return Math.ceil(x);
54
65
  };
55
66
  }
56
- if (typeof Math.clz32 === 'undefined') {
57
- Math.clz32 = function (log, LN2) {
58
- return function (x) {
59
- var asUint = x >>> 0;
60
- if (asUint === 0) {
61
- return 32;
62
- }
63
- return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
64
- };
65
- }(Math.log, Math.LN2);
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
+ }});
66
72
  }
67
73
  if (typeof String.prototype.endsWith === 'undefined') {
68
74
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -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;
@@ -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;
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.24",
4
+ "version": "1.1.26",
5
5
  "name": "@solibo/solibo-sdk",
6
6
  "dependencies": {
7
7
  "@js-joda/core": "5.6.3",