@solibo/solibo-sdk 1.33.0 → 1.33.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.
@@ -184,7 +184,7 @@ function get_authProviders(_this__u8e3s4) {
184
184
  function AuthConfig$_init_$ref_ms3pb9() {
185
185
  return constructCallableReference(function () {
186
186
  return new AuthConfig();
187
- }, 0, 0, 104, '<init>');
187
+ }, 0, 0, 106, '<init>');
188
188
  }
189
189
  function Auth$lambda($this$createClientPlugin) {
190
190
  _init_properties_Auth_kt__9ob1dk();
@@ -369,7 +369,7 @@ function ReceiveStateHook_getInstance() {
369
369
  function ContentEncodingConfig$_init_$ref_5w7vdj() {
370
370
  return constructCallableReference(function () {
371
371
  return new ContentEncodingConfig();
372
- }, 0, 0, 103, '<init>');
372
+ }, 0, 0, 105, '<init>');
373
373
  }
374
374
  function ContentEncoding$lambda($this$createClientPlugin) {
375
375
  _init_properties_ContentEncoding_kt__4smi0q();
@@ -1042,7 +1042,7 @@ function ReceiveHook_getInstance() {
1042
1042
  function LoggingConfig$_init_$ref_f1nb0k() {
1043
1043
  return constructCallableReference(function () {
1044
1044
  return new LoggingConfig();
1045
- }, 0, 0, 105, '<init>');
1045
+ }, 0, 0, 107, '<init>');
1046
1046
  }
1047
1047
  function Logging$lambda($this$createClientPlugin) {
1048
1048
  _init_properties_Logging_kt__66pui5();
@@ -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
@@ -23,7 +23,7 @@
23
23
  "url": "git+https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.33.0",
26
+ "version": "1.33.1",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -4400,7 +4400,7 @@ initMetadataForCoroutine($body$suspendBridgeCOROUTINE$_1, CoroutineImpl);
4400
4400
  initMetadataForCoroutine($typedBody$suspendBridgeCOROUTINE$_1, CoroutineImpl);
4401
4401
  initMetadataForClass(MappedBodyProvider, 'MappedBodyProvider', VOID, VOID, [BodyProvider], [1, 2]);
4402
4402
  initMetadataForCoroutine($decodeBodyCOROUTINE$, CoroutineImpl);
4403
- initMetadataForCoroutine($base64ByteArrayBodyCOROUTINE$, CoroutineImpl);
4403
+ initMetadataForCoroutine($fileBodyCOROUTINE$, CoroutineImpl);
4404
4404
  initMetadataForCompanion(Companion_966, VOID, [KSerializer]);
4405
4405
  initMetadataForClass(OctetByteArray, 'OctetByteArray', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_969});
4406
4406
  initMetadataForClass(PartConfig, 'PartConfig', PartConfig);
@@ -330997,12 +330997,22 @@ function decodeBody(_this__u8e3s4, type, $completion) {
330997
330997
  tmp.exception_1 = null;
330998
330998
  return tmp.doResume_5yljmg_k$();
330999
330999
  }
331000
- function base64ByteArrayBody(_this__u8e3s4, $completion) {
331001
- var tmp = new $base64ByteArrayBodyCOROUTINE$(_this__u8e3s4, $completion);
331000
+ function fileBody(_this__u8e3s4, serializer, raw, $completion) {
331001
+ var tmp = new $fileBodyCOROUTINE$(_this__u8e3s4, serializer, raw, $completion);
331002
331002
  tmp.result_1 = Unit_instance;
331003
331003
  tmp.exception_1 = null;
331004
331004
  return tmp.doResume_5yljmg_k$();
331005
331005
  }
331006
+ function Base64ByteArray$_init_$ref_e13pdp() {
331007
+ return constructCallableReference(function (p0) {
331008
+ return new Base64ByteArray(p0);
331009
+ }, 1, 0, 103, '<init>');
331010
+ }
331011
+ function OctetByteArray$_init_$ref_xqpg5f() {
331012
+ return constructCallableReference(function (p0) {
331013
+ return new OctetByteArray(p0);
331014
+ }, 1, 0, 104, '<init>');
331015
+ }
331006
331016
  function $decodeBodyCOROUTINE$(_this__u8e3s4, type, resultContinuation) {
331007
331017
  CoroutineImpl.call(this, resultContinuation);
331008
331018
  this._this__u8e3s4__1 = _this__u8e3s4;
@@ -331015,39 +331025,55 @@ protoOf($decodeBodyCOROUTINE$).doResume_5yljmg_k$ = function () {
331015
331025
  var tmp = this.state_1;
331016
331026
  switch (tmp) {
331017
331027
  case 0:
331018
- this.exceptionState_1 = 4;
331019
- if (this.type_1.type_1.equals(getKClass(Base64ByteArray))) {
331020
- this.state_1 = 2;
331021
- suspendResult = base64ByteArrayBody(this._this__u8e3s4__1, this);
331028
+ this.exceptionState_1 = 5;
331029
+ var tmp0_subject = this.type_1.type_1;
331030
+ if (tmp0_subject.equals(getKClass(Base64ByteArray))) {
331031
+ this.state_1 = 3;
331032
+ var tmp_0 = Companion_getInstance_967().serializer_9w0wvi_k$();
331033
+ suspendResult = fileBody(this._this__u8e3s4__1, tmp_0, Base64ByteArray$_init_$ref_e13pdp(), this);
331022
331034
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
331023
331035
  return suspendResult;
331024
331036
  }
331025
331037
  continue $sm;
331026
331038
  } else {
331027
- this.state_1 = 1;
331028
- suspendResult = this._this__u8e3s4__1.get_call_wojxrb_k$().body_3ijhx3_k$(this.type_1, this);
331029
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
331030
- return suspendResult;
331039
+ if (tmp0_subject.equals(getKClass(OctetByteArray))) {
331040
+ this.state_1 = 2;
331041
+ var tmp_1 = Companion_getInstance_969().serializer_9w0wvi_k$();
331042
+ suspendResult = fileBody(this._this__u8e3s4__1, tmp_1, OctetByteArray$_init_$ref_xqpg5f(), this);
331043
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
331044
+ return suspendResult;
331045
+ }
331046
+ continue $sm;
331047
+ } else {
331048
+ this.state_1 = 1;
331049
+ suspendResult = this._this__u8e3s4__1.get_call_wojxrb_k$().body_3ijhx3_k$(this.type_1, this);
331050
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
331051
+ return suspendResult;
331052
+ }
331053
+ continue $sm;
331031
331054
  }
331032
- continue $sm;
331033
331055
  }
331034
331056
 
331035
331057
  case 1:
331036
331058
  this.WHEN_RESULT0__1 = suspendResult;
331037
- this.state_1 = 3;
331059
+ this.state_1 = 4;
331038
331060
  continue $sm;
331039
331061
  case 2:
331040
331062
  this.WHEN_RESULT0__1 = suspendResult;
331041
- this.state_1 = 3;
331063
+ this.state_1 = 4;
331042
331064
  continue $sm;
331043
331065
  case 3:
331044
- return this.WHEN_RESULT0__1;
331066
+ this.WHEN_RESULT0__1 = suspendResult;
331067
+ this.state_1 = 4;
331068
+ continue $sm;
331045
331069
  case 4:
331070
+ return this.WHEN_RESULT0__1;
331071
+ case 5:
331046
331072
  throw this.exception_1;
331047
331073
  }
331048
331074
  } catch ($p) {
331049
331075
  var e = $p;
331050
- if (this.exceptionState_1 === 4) {
331076
+ if (this.exceptionState_1 === 5) {
331051
331077
  throw e;
331052
331078
  } else {
331053
331079
  this.state_1 = this.exceptionState_1;
@@ -331056,11 +331082,13 @@ protoOf($decodeBodyCOROUTINE$).doResume_5yljmg_k$ = function () {
331056
331082
  }
331057
331083
  while (true);
331058
331084
  };
331059
- function $base64ByteArrayBodyCOROUTINE$(_this__u8e3s4, resultContinuation) {
331085
+ function $fileBodyCOROUTINE$(_this__u8e3s4, serializer, raw, resultContinuation) {
331060
331086
  CoroutineImpl.call(this, resultContinuation);
331061
331087
  this._this__u8e3s4__1 = _this__u8e3s4;
331088
+ this.serializer_1 = serializer;
331089
+ this.raw_1 = raw;
331062
331090
  }
331063
- protoOf($base64ByteArrayBodyCOROUTINE$).doResume_5yljmg_k$ = function () {
331091
+ protoOf($fileBodyCOROUTINE$).doResume_5yljmg_k$ = function () {
331064
331092
  var suspendResult = this.result_1;
331065
331093
  $sm: do
331066
331094
  try {
@@ -331081,7 +331109,7 @@ protoOf($base64ByteArrayBodyCOROUTINE$).doResume_5yljmg_k$ = function () {
331081
331109
  var json = !(contentType == null) && (contentType.match_syvve3_k$(Application_getInstance().Json_1) || endsWith(contentType.contentSubtype_1, '+json'));
331082
331110
  if (json) {
331083
331111
  try {
331084
- return Default_getInstance_0().decodeFromString_jwu9sq_k$(Companion_getInstance_967().serializer_9w0wvi_k$(), decodeToString(bytes));
331112
+ return Default_getInstance_0().decodeFromString_jwu9sq_k$(this.serializer_1, decodeToString(bytes));
331085
331113
  } catch ($p) {
331086
331114
  if ($p instanceof IllegalArgumentException) {
331087
331115
  var e = $p;
@@ -331091,7 +331119,7 @@ protoOf($base64ByteArrayBodyCOROUTINE$).doResume_5yljmg_k$ = function () {
331091
331119
  }
331092
331120
  }
331093
331121
 
331094
- return new Base64ByteArray(bytes);
331122
+ return this.raw_1(bytes);
331095
331123
  case 2:
331096
331124
  throw this.exception_1;
331097
331125
  }