@solibo/solibo-sdk 1.8.15 → 1.9.0

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.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  // Re-export everything from the ESM bundles
2
2
  export * from './solibo-sdk-sdk.mjs';
3
- export * from './solibo-sdk-sdk-home-api.mjs';
4
3
  // Augment bridge types with JS collection methods
5
4
  declare module './solibo-sdk-sdk.mjs' {
6
5
  interface KtList<E> {
@@ -88,3 +87,6 @@ declare module './solibo-sdk-sdk.mjs' {
88
87
  [Symbol.iterator](): IterableIterator<[K, V]>;
89
88
  }
90
89
  }
90
+ // <solibo-js-facade>
91
+ export * from './client.mjs';
92
+ // </solibo-js-facade>
package/index.mjs CHANGED
@@ -283,3 +283,6 @@ export {
283
283
  KtMutableMap,
284
284
  Instant_Internal as Instant,
285
285
  };
286
+ // <solibo-js-facade>
287
+ export * from './client.mjs';
288
+ // </solibo-js-facade>
package/interop.d.mts ADDED
@@ -0,0 +1,2 @@
1
+ // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
+ export * from './solibo-sdk-sdk.mjs';
package/interop.mjs ADDED
@@ -0,0 +1,4 @@
1
+ // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
+ export * from './solibo-sdk-sdk.mjs';
3
+ export * from './solibo-sdk-sdk-home-api.mjs';
4
+ export { KtList, KtMap, KtMutableList, KtMutableMap } from './kotlin-kotlin-stdlib.mjs';
@@ -37,17 +37,6 @@ 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);
49
- };
50
- }
51
40
  if (typeof Math.clz32 === 'undefined') {
52
41
  Math.clz32 = function (log, LN2) {
53
42
  return function (x) {
@@ -59,6 +48,17 @@ if (typeof Math.clz32 === 'undefined') {
59
48
  };
60
49
  }(Math.log, Math.LN2);
61
50
  }
51
+ if (typeof Math.trunc === 'undefined') {
52
+ Math.trunc = function (x) {
53
+ if (isNaN(x)) {
54
+ return NaN;
55
+ }
56
+ if (x > 0) {
57
+ return Math.floor(x);
58
+ }
59
+ return Math.ceil(x);
60
+ };
61
+ }
62
62
  if (typeof Math.log10 === 'undefined') {
63
63
  Math.log10 = function (x) {
64
64
  return Math.log(x) * Math.LOG10E;