@dmarket/p2p-tracker-headless 1.4.0-beta → 1.4.1-SNAPSHOT-development.271

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.
@@ -81,8 +81,8 @@ import {
81
81
  _ChannelResult___get_isClosed__impl__mg7kuu3a26on4apn4j4 as _ChannelResult___get_isClosed__impl__mg7kuu,
82
82
  close$defaultlxi0kykibhye as close$default,
83
83
  cancel$default2imfx8rp1ubvu as cancel$default,
84
- SendChannel38sllbxw662ws as SendChannel,
85
84
  ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
85
+ SendChannel38sllbxw662ws as SendChannel,
86
86
  } from './kotlinx-coroutines-core.mjs';
87
87
  import {
88
88
  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);
@@ -27515,11 +27515,10 @@ protoOf(TradeTrackerLoop$boundOffer$slambda).q9 = function () {
27515
27515
  continue $sm;
27516
27516
  case 4:
27517
27517
  var cutoff = this.abv_1;
27518
- var this_0 = this.rbu_1;
27519
27518
  this.j9_1 = 6;
27520
27519
  this.zbu_1 = Companion_instance;
27521
27520
  this.i9_1 = 5;
27522
- suspendResult = this_0.ka6_1.v6j(this.tbu_1, cutoff, this);
27521
+ suspendResult = this.rbu_1.ka6_1.v6j(this.tbu_1, cutoff, this);
27523
27522
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
27524
27523
  return suspendResult;
27525
27524
  }
@@ -27536,14 +27535,21 @@ protoOf(TradeTrackerLoop$boundOffer$slambda).q9 = function () {
27536
27535
  case 6:
27537
27536
  this.j9_1 = 12;
27538
27537
  var tmp_1 = this.l9_1;
27539
- if (tmp_1 instanceof Error) {
27538
+ if (tmp_1 instanceof CancellationException) {
27540
27539
  var e = this.l9_1;
27541
27540
  var tmp_2 = this;
27542
- tmp_2.ybu_1 = _Result___init__impl__xyqfz8(createFailure(e));
27543
- this.i9_1 = 7;
27544
- continue $sm;
27541
+ throw e;
27545
27542
  } else {
27546
- throw this.l9_1;
27543
+ var tmp_3 = this.l9_1;
27544
+ if (tmp_3 instanceof Error) {
27545
+ var e_0 = this.l9_1;
27546
+ var tmp_4 = this;
27547
+ tmp_4.ybu_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
27548
+ this.i9_1 = 7;
27549
+ continue $sm;
27550
+ } else {
27551
+ throw this.l9_1;
27552
+ }
27547
27553
  }
27548
27554
 
27549
27555
  case 7:
@@ -27581,8 +27587,8 @@ protoOf(TradeTrackerLoop$boundOffer$slambda).q9 = function () {
27581
27587
 
27582
27588
  continue $sm;
27583
27589
  case 10:
27584
- var tmp_3 = this;
27585
- tmp_3.wbu_1 = Unit_instance;
27590
+ var tmp_5 = this;
27591
+ tmp_5.wbu_1 = Unit_instance;
27586
27592
  this.i9_1 = 11;
27587
27593
  continue $sm;
27588
27594
  case 11:
@@ -27591,12 +27597,12 @@ protoOf(TradeTrackerLoop$boundOffer$slambda).q9 = function () {
27591
27597
  throw this.l9_1;
27592
27598
  }
27593
27599
  } catch ($p) {
27594
- var e_0 = $p;
27600
+ var e_1 = $p;
27595
27601
  if (this.j9_1 === 12) {
27596
- throw e_0;
27602
+ throw e_1;
27597
27603
  } else {
27598
27604
  this.i9_1 = this.j9_1;
27599
- this.l9_1 = e_0;
27605
+ this.l9_1 = e_1;
27600
27606
  }
27601
27607
  }
27602
27608
  while (true);
@@ -45637,7 +45643,7 @@ function buildLoop($this) {
45637
45643
  var creator = $this.ccl_1 ? HeaderSessionSteamOfferCreator_init_$Create$(steamHttp, sessionId, community, adapter) : RefusedOfferWrites_instance;
45638
45644
  var canceller = $this.ccl_1 ? HeaderSessionSteamOfferCanceller_init_$Create$(steamHttp, sessionId, community) : RefusedOfferWrites_instance;
45639
45645
  var tmp_0 = new TradeTrackerCore(Companion_instance_3.h60($this.bcl_1.game));
45640
- var tmp_1 = new LoopConfig('1.4.0-beta', RuntimeSurface_Headless_getInstance(), TrackerMode_Background_getInstance(), $this.bcl_1, true, Companion_getInstance_61().ncn_1, Companion_getInstance_61().ocn_1, true, $this.ccl_1, false, Companion_getInstance_61().scn_1, true, false);
45646
+ var tmp_1 = new LoopConfig('1.4.1-SNAPSHOT', RuntimeSurface_Headless_getInstance(), TrackerMode_Background_getInstance(), $this.bcl_1, true, Companion_getInstance_61().ncn_1, Companion_getInstance_61().ocn_1, true, $this.ccl_1, false, Companion_getInstance_61().scn_1, true, false);
45641
45647
  var tmp2_elvis_lhs = $this.bcl_1.http.maxReportBodyBytes;
45642
45648
  var tmp_2 = tmp2_elvis_lhs == null ? 7168 : tmp2_elvis_lhs;
45643
45649
  return tmp_0.bco(tmp_1, new AccountWatch($this, new KtorMarketplaceClient($this.mcl_1, $this.acl_1, $this.xcl_1, $this.bcl_1.marketplaceRetry, VOID, tmp_2, HeadlessTracker$heardServerDate$ref($this))), new KtorSteamReadClient(steamHttp, $this.bcl_1.steamEndpoints), $this.gcl_1.v8l_1, $this.hcl_1, $this.kcl_1, $this.gcl_1.w8l_1, $this.ecl_1, $this.ycl_1, creator, canceller, new KtorSteamInventoryReader(steamHttp, community, adapter, $this.bcl_1.steamEndpoints.inventoryPageCount, $this.bcl_1.steamEndpoints.inventoryMaxPages), NoOpSteamSessionRefresher_instance, VOID, new PersistedTrackerProgressStore($this.jcl_1), new PersistedDealWriteClaimStore($this.jcl_1), new PersistedUnprovenClaimStore($this.jcl_1), new PersistedOfferGuardStore($this.jcl_1), new PersistedSteamWriteThrottleStore($this.bcl_1.steamWrites, $this.jcl_1), new PersistedNotaryProofThrottleStore($this.bcl_1.notary.u5m_1, $this.jcl_1), new PersistedLoopStateStore($this.jcl_1), VOID, true, $this.vcl_1, new KtorSteamNotificationReader(steamHttp, $this.bcl_1.steamEndpoints), $this.dcl_1);
@@ -46233,7 +46239,7 @@ protoOf($checkKeyCOROUTINE$).q9 = function () {
46233
46239
  continue $sm;
46234
46240
  case 2:
46235
46241
  var ARGUMENT = suspendResult.w60_1;
46236
- var request = new HeartbeatRequest('1.4.0-beta', this.gcn_1, false, this.fcn_1, ARGUMENT);
46242
+ var request = new HeartbeatRequest('1.4.1-SNAPSHOT', this.gcn_1, false, this.fcn_1, ARGUMENT);
46237
46243
  var tmp_3 = new TradingApiAuthenticator(HeadlessTracker$checkKey$lambda(this.acn_1), this.zcm_1.ecl_1, this.zcm_1.yck_1.lcn_1);
46238
46244
  var client = new KtorMarketplaceClient(this.zcm_1.mcl_1, this.zcm_1.acl_1, tmp_3, VOID, VOID, VOID, HeadlessTracker$heardServerDate$ref(this.zcm_1));
46239
46245
  var tmp_4 = this;
@@ -46705,7 +46711,7 @@ protoOf(RateLimitBackoff).qcm = function () {
46705
46711
  this.ocm_1 = 0;
46706
46712
  };
46707
46713
  function Companion_50() {
46708
- this.fcs_1 = '1.4.0-beta';
46714
+ this.fcs_1 = '1.4.1-SNAPSHOT';
46709
46715
  }
46710
46716
  var Companion_instance_55;
46711
46717
  function Companion_getInstance_63() {
@@ -51127,7 +51133,7 @@ function toOutcomeJson(_this__u8e3s4) {
51127
51133
  return builder.u56().toString();
51128
51134
  }
51129
51135
  function trackerCoreVersion() {
51130
- return '1.4.0-beta';
51136
+ return '1.4.1-SNAPSHOT';
51131
51137
  }
51132
51138
  function enabledGameCount() {
51133
51139
  return (new TradeTrackerCore()).gcs();
@@ -51216,7 +51222,7 @@ function resolveClientVersion(hostVersion) {
51216
51222
  tmp_0 = tmp_1;
51217
51223
  }
51218
51224
  var tmp2_elvis_lhs = tmp_0;
51219
- return tmp2_elvis_lhs == null ? '1.4.0-beta' : tmp2_elvis_lhs;
51225
+ return tmp2_elvis_lhs == null ? '1.4.1-SNAPSHOT' : tmp2_elvis_lhs;
51220
51226
  }
51221
51227
  function createBrowserLoop$slambda($steamHttpClient, $config, resultContinuation) {
51222
51228
  this.tde_1 = $steamHttpClient;