@solibo/solibo-sdk 1.1.29 → 1.1.30

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.
package/index.mjs CHANGED
@@ -7,4 +7,5 @@ export {
7
7
  KtMap,
8
8
  KtMutableList,
9
9
  KtMutableMap,
10
+ Instant2s2zyzgfc4947 as Instant,
10
11
  } from './kotlin-kotlin-stdlib.mjs';
@@ -64,6 +64,12 @@ if (typeof Math.log10 === 'undefined') {
64
64
  return Math.log(x) * Math.LOG10E;
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;
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.29",
4
+ "version": "1.1.30",
5
5
  "name": "@solibo/solibo-sdk",
6
6
  "dependencies": {
7
7
  "@js-joda/core": "5.6.3",