@solibo/home-api 1.1.41 → 1.1.42

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.
@@ -59,6 +59,12 @@ if (typeof Math.trunc === 'undefined') {
59
59
  return Math.ceil(x);
60
60
  };
61
61
  }
62
+ if (typeof String.prototype.startsWith === 'undefined') {
63
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
64
+ position = position || 0;
65
+ return this.lastIndexOf(searchString, position) === position;
66
+ }});
67
+ }
62
68
  if (typeof String.prototype.endsWith === 'undefined') {
63
69
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
64
70
  var subjectString = this.toString();
@@ -70,12 +76,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
70
76
  return lastIndex !== -1 && lastIndex === position;
71
77
  }});
72
78
  }
73
- if (typeof String.prototype.startsWith === 'undefined') {
74
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
75
- position = position || 0;
76
- return this.lastIndexOf(searchString, position) === position;
77
- }});
78
- }
79
79
  //endregion
80
80
  //region block: imports
81
81
  var imul_0 = Math.imul;
@@ -262,7 +262,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
262
262
  initMetadataForClass(Symbol, 'Symbol');
263
263
  initMetadataForInterface(SelectInstance, 'SelectInstance');
264
264
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
265
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
265
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
266
266
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
267
267
  initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [CoroutineDispatcher, Delay], [1]);
268
268
  initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.41",
3
+ "version": "1.1.42",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",