@solibo/solibo-sdk 1.9.0 → 1.9.1

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.e1u(structure);
363
363
  }
364
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
364
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
365
365
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
366
366
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
367
367
  function set_fractionOfSecond(value) {
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @solibo/solibo-sdk
2
+
3
+ The JavaScript and TypeScript SDK for Solibo Home, including the API client, models, authentication, and raw Kotlin Multiplatform interop.
4
+
5
+ For installation, configuration, authentication, API usage, and examples, visit the [Solibo SDK documentation](https://sdk.solibo.no).
6
+
7
+ ## Installation
8
+
9
+ ```sh
10
+ npm install @solibo/solibo-sdk
11
+ ```
@@ -48,6 +48,11 @@ if (typeof Math.clz32 === 'undefined') {
48
48
  };
49
49
  }(Math.log, Math.LN2);
50
50
  }
51
+ if (typeof Math.log10 === 'undefined') {
52
+ Math.log10 = function (x) {
53
+ return Math.log(x) * Math.LOG10E;
54
+ };
55
+ }
51
56
  if (typeof Math.trunc === 'undefined') {
52
57
  Math.trunc = function (x) {
53
58
  if (isNaN(x)) {
@@ -59,11 +64,6 @@ if (typeof Math.trunc === 'undefined') {
59
64
  return Math.ceil(x);
60
65
  };
61
66
  }
62
- if (typeof Math.log10 === 'undefined') {
63
- Math.log10 = function (x) {
64
- return Math.log(x) * Math.LOG10E;
65
- };
66
- }
67
67
  if (typeof String.prototype.startsWith === 'undefined') {
68
68
  Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
69
  position = position || 0;