@solibo/solibo-sdk 1.17.1 → 1.18.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.
@@ -3256,7 +3256,7 @@ protoOf(PhaseContent).addInterceptor_jvll3j_k$ = function (interceptor) {
3256
3256
  }
3257
3257
  this.interceptors_1.add_utx5q5_k$(interceptor);
3258
3258
  };
3259
- protoOf(PhaseContent).addTo_219g88_k$ = function (destination) {
3259
+ protoOf(PhaseContent).addTo_h97ksk_k$ = function (destination) {
3260
3260
  var interceptors = this.interceptors_1;
3261
3261
  if (destination instanceof ArrayList) {
3262
3262
  destination.ensureCapacity_wr7980_k$(destination.get_size_woubt6_k$() + interceptors.get_size_woubt6_k$() | 0);
@@ -3429,7 +3429,7 @@ function cacheInterceptors($this) {
3429
3429
  tmp_2 = tmp1_elvis_lhs;
3430
3430
  }
3431
3431
  var phase = tmp_2;
3432
- phase.addTo_219g88_k$(destination);
3432
+ phase.addTo_h97ksk_k$(destination);
3433
3433
  }
3434
3434
  while (!(phaseIndex_0 === last_0));
3435
3435
  notSharedInterceptorsList($this, destination);
@@ -80,8 +80,8 @@ import {
80
80
  _ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
81
81
  close$default2suggcywjwe8g as close$default,
82
82
  cancel$default3v09jht7i082i as cancel$default,
83
- SendChannel38sllbxw662ws as SendChannel,
84
83
  ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
84
+ SendChannel38sllbxw662ws as SendChannel,
85
85
  } from './kotlinx-coroutines-core.mjs';
86
86
  import {
87
87
  get_isTraceEnabled82xibuu04nxp as get_isTraceEnabled,
@@ -146,7 +146,7 @@ initMetadataForCompanion(Companion_4);
146
146
  initMetadataForClass(ChannelConfig, 'ChannelConfig');
147
147
  initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
148
148
  initMetadataForCompanion(Companion_5);
149
- initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 0]);
149
+ initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 0]);
150
150
  initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
151
151
  initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
152
152
  initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "url": "git+https://github.com/Solibo-AS/solibo-sdk.git",
18
18
  "directory": "sdk"
19
19
  },
20
- "version": "1.17.1",
20
+ "version": "1.18.0",
21
21
  "name": "@solibo/solibo-sdk",
22
22
  "dependencies": {
23
23
  "@js-joda/core": "6.1.0",
@@ -27889,6 +27889,7 @@ export declare namespace FailureKind {
27889
27889
  const constructor: abstract new () => FailureKind;
27890
27890
  }
27891
27891
  }
27892
+ export declare function routeTemplate(encodedPath: string): string;
27892
27893
  export declare function client(fingerprinter: Fingerprinter, deviceManager: DeviceManager): HomeApi;
27893
27894
  export declare function authClient(userPoolName: string, api: HomeApi, fingerprinter: Fingerprinter): Auth;
27894
27895
  export declare abstract class SoliboSDKJs {
@@ -7824,8 +7824,8 @@ function HomeApi$clientConfigurator$lambda$lambda_11(this$0, $platformName) {
7824
7824
  }
7825
7825
  accept($this$defaultRequest, Application_getInstance().Json_1);
7826
7826
  header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
7827
- header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.17.1 (' + $platformName + ')');
7828
- header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.17.1');
7827
+ header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.18.0 (' + $platformName + ')');
7828
+ header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.18.0');
7829
7829
  return Unit_instance;
7830
7830
  };
7831
7831
  }
@@ -41553,6 +41553,11 @@ function valueOf_3(value) {
41553
41553
  function FailureKind(name, ordinal) {
41554
41554
  Enum.call(this, name, ordinal);
41555
41555
  }
41556
+ function routeTemplate(encodedPath) {
41557
+ _init_properties_FailureClassification_kt__8kunxa();
41558
+ var tmp = split_0(encodedPath, charArrayOf([_Char___init__impl__6a9atx(47)]));
41559
+ return joinToString(tmp, '/', VOID, VOID, VOID, VOID, routeTemplate$lambda);
41560
+ }
41556
41561
  function readFailureReason(raw) {
41557
41562
  _init_properties_FailureClassification_kt__8kunxa();
41558
41563
  var tmp;
@@ -41585,11 +41590,6 @@ function classifyFailure(rawPath, status, reason) {
41585
41590
  }
41586
41591
  return isAuthPath && (status === 401 || status === 403) ? FailureKind_USER_INPUT_getInstance() : isRefresh && status === 404 ? FailureKind_EXPECTED_AUTH_getInstance() : !isAuthPath && status === 401 ? FailureKind_EXPECTED_AUTH_getInstance() : FailureKind_DEFECT_getInstance();
41587
41592
  }
41588
- function routeTemplate(encodedPath) {
41589
- _init_properties_FailureClassification_kt__8kunxa();
41590
- var tmp = split_0(encodedPath, charArrayOf([_Char___init__impl__6a9atx(47)]));
41591
- return joinToString(tmp, '/', VOID, VOID, VOID, VOID, routeTemplate$lambda);
41592
- }
41593
41593
  function routeTemplate$lambda(segment) {
41594
41594
  _init_properties_FailureClassification_kt__8kunxa();
41595
41595
  return get_idPathSegment().matches_evli6i_k$(segment) ? '{id}' : segment;
@@ -41624,7 +41624,7 @@ function SoliboOpenTelemetry() {
41624
41624
  }
41625
41625
  protoOf(SoliboOpenTelemetry).tracer_4qhv4u_k$ = function () {
41626
41626
  var tmp0_elvis_lhs = this.installed_1;
41627
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.17.1');
41627
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.18.0');
41628
41628
  };
41629
41629
  var SoliboOpenTelemetry_instance;
41630
41630
  function SoliboOpenTelemetry_getInstance() {
@@ -42382,6 +42382,7 @@ export {
42382
42382
  Auth as Auth,
42383
42383
  DefaultDeviceManager as DefaultDeviceManager,
42384
42384
  FailureKind as FailureKind,
42385
+ routeTemplate as routeTemplate,
42385
42386
  client as client,
42386
42387
  authClient as authClient,
42387
42388
  SoliboSDKJs as SoliboSDKJs,