@dmarket/p2p-tracker-core 0.1.0-SNAPSHOT.194 → 0.1.0-SNAPSHOT.197

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/VERSION CHANGED
@@ -1,11 +1,11 @@
1
1
  # client-wasm artifact provenance. Shell-sourceable; all values quoted.
2
2
  # Correlate with a notary image by GIT_SHA, never by DOCKER_VERSION (its build
3
3
  # number belongs to the wasm job, which runs before build_images).
4
- DOCKER_VERSION="steam-provenance-client-deadlock-83d77b4-606"
5
- GIT_SHA="83d77b40b57ae3852f8c1b38e2ddfbf9fcc3937b"
6
- GIT_BRANCH="fix/DMA-248/client-deadlock"
7
- BUILD_NUM="606"
8
- BUILD_URL="https://circleci.com/gh/dmarket/steam-provenance/606"
4
+ DOCKER_VERSION="steam-provenance-main-99e090a-728"
5
+ GIT_SHA="99e090a347a235ccaa5d1bc790d69a55283cca44"
6
+ GIT_BRANCH="main"
7
+ BUILD_NUM="728"
8
+ BUILD_URL="https://circleci.com/gh/dmarket/steam-provenance/728"
9
9
  CLIENT_WASM_VERSION="0.1.0"
10
10
  TRANSPORT_VERSION="0.2.0"
11
11
  TLSN_SUBMODULE_SHA="unknown"
@@ -4133,7 +4133,7 @@ protoOf(TrackerTick).o2t = function (now, activeTracking, observed, reported) {
4133
4133
  // Inline function 'kotlin.collections.plusAssign' call
4134
4134
  var element = new TradeStatusReport(deal.o2o_1, TradeStatusSource_OFFER_getInstance(), tmp2_safe_receiver, now);
4135
4135
  reports.b1(element);
4136
- if (deal.r2o_1 && DecisiveTransitions_getInstance().r2p(TradeStatusSource_OFFER_getInstance(), tmp2_safe_receiver)) {
4136
+ if (deal.r2o_1 && mayProveOn(deal, TradeStatusSource_OFFER_getInstance()) && DecisiveTransitions_getInstance().r2p(TradeStatusSource_OFFER_getInstance(), tmp2_safe_receiver)) {
4137
4137
  // Inline function 'kotlin.collections.plusAssign' call
4138
4138
  var element_0 = new ProofIntent(deal.o2o_1, TradeStatusSource_OFFER_getInstance(), tmp2_safe_receiver);
4139
4139
  proofIntents.b1(element_0);
@@ -4155,7 +4155,7 @@ protoOf(TrackerTick).o2t = function (now, activeTracking, observed, reported) {
4155
4155
  // Inline function 'kotlin.collections.plusAssign' call
4156
4156
  var element_1 = new TradeStatusReport(deal.o2o_1, TradeStatusSource_HISTORY_getInstance(), tmp3_safe_receiver, now, ob.m2r_1, ob.n2r_1);
4157
4157
  reports.b1(element_1);
4158
- if (deal.r2o_1 && DecisiveTransitions_getInstance().r2p(TradeStatusSource_HISTORY_getInstance(), tmp3_safe_receiver)) {
4158
+ if (deal.r2o_1 && mayProveOn(deal, TradeStatusSource_HISTORY_getInstance()) && DecisiveTransitions_getInstance().r2p(TradeStatusSource_HISTORY_getInstance(), tmp3_safe_receiver)) {
4159
4159
  // Inline function 'kotlin.collections.plusAssign' call
4160
4160
  var element_2 = new ProofIntent(deal.o2o_1, TradeStatusSource_HISTORY_getInstance(), tmp3_safe_receiver);
4161
4161
  proofIntents.b1(element_2);
@@ -6972,6 +6972,21 @@ protoOf(TrackedDeal).equals = function (other) {
6972
6972
  return false;
6973
6973
  return true;
6974
6974
  };
6975
+ function watches(_this__u8e3s4, source) {
6976
+ var tmp;
6977
+ switch (source.a1_1) {
6978
+ case 0:
6979
+ tmp = _this__u8e3s4.q2o_1.d1(WatchTarget_GET_TRADE_OFFER_getInstance());
6980
+ break;
6981
+ case 1:
6982
+ tmp = _this__u8e3s4.q2o_1.d1(WatchTarget_GET_TRADE_HISTORY_getInstance()) || _this__u8e3s4.q2o_1.d1(WatchTarget_GET_TRADE_STATUS_getInstance());
6983
+ break;
6984
+ default:
6985
+ noWhenBranchMatchedException();
6986
+ break;
6987
+ }
6988
+ return tmp;
6989
+ }
6975
6990
  var WatchTarget_GET_TRADE_OFFER_instance;
6976
6991
  var WatchTarget_GET_TRADE_STATUS_instance;
6977
6992
  var WatchTarget_GET_TRADE_HISTORY_instance;
@@ -7089,6 +7104,39 @@ function DealRole(name, ordinal, wireName) {
7089
7104
  Enum.call(this, name, ordinal);
7090
7105
  this.j31_1 = wireName;
7091
7106
  }
7107
+ function mayProveOn(_this__u8e3s4, source) {
7108
+ var tmp;
7109
+ var tmp0 = _this__u8e3s4.q2o_1;
7110
+ var tmp$ret$0;
7111
+ $l$block_0: {
7112
+ // Inline function 'kotlin.collections.none' call
7113
+ var tmp_0;
7114
+ if (isInterface(tmp0, Collection)) {
7115
+ tmp_0 = tmp0.r();
7116
+ } else {
7117
+ tmp_0 = false;
7118
+ }
7119
+ if (tmp_0) {
7120
+ tmp$ret$0 = true;
7121
+ break $l$block_0;
7122
+ }
7123
+ var _iterator__ex2g4s = tmp0.t();
7124
+ while (_iterator__ex2g4s.u()) {
7125
+ var element = _iterator__ex2g4s.v();
7126
+ if (!element.equals(WatchTarget_UNKNOWN_getInstance())) {
7127
+ tmp$ret$0 = false;
7128
+ break $l$block_0;
7129
+ }
7130
+ }
7131
+ tmp$ret$0 = true;
7132
+ }
7133
+ if (tmp$ret$0) {
7134
+ tmp = true;
7135
+ } else {
7136
+ tmp = watches(_this__u8e3s4, source);
7137
+ }
7138
+ return tmp;
7139
+ }
7092
7140
  function WatchTarget_GET_TRADE_OFFER_getInstance() {
7093
7141
  WatchTarget_initEntries();
7094
7142
  return WatchTarget_GET_TRADE_OFFER_instance;
@@ -14511,6 +14559,7 @@ export {
14511
14559
  ProofSubmission as ProofSubmission1x7h4r6xwz7js,
14512
14560
  StoredMarketplaceTokens as StoredMarketplaceTokens19e7ee3wim24f,
14513
14561
  get_entries_5 as get_entriesmy4ly14514wj,
14562
+ watches as watchesu54lziukyczb,
14514
14563
  InventoryScan as InventoryScan39l60r38r4mh3,
14515
14564
  MalformedSteamTokenException as MalformedSteamTokenException1iq93i1p7ccg9,
14516
14565
  SteamCredential as SteamCredential239bfmp78bvf6,
@@ -14678,8 +14727,6 @@ export {
14678
14727
  DirectiveStatus_NEEDS_CONFIRMATION_getInstance as DirectiveStatus_NEEDS_CONFIRMATION_getInstance4z6ilxx2j3si,
14679
14728
  DirectiveStatus_SUCCESS_getInstance as DirectiveStatus_SUCCESS_getInstance2w3u9v9y4pqh7,
14680
14729
  TradeStatusSource_HISTORY_getInstance as TradeStatusSource_HISTORY_getInstance38zthi5g29k0s,
14681
- WatchTarget_GET_TRADE_HISTORY_getInstance as WatchTarget_GET_TRADE_HISTORY_getInstancewqr5stxub0oe,
14682
- WatchTarget_GET_TRADE_STATUS_getInstance as WatchTarget_GET_TRADE_STATUS_getInstance2gey7vcqzxsu0,
14683
14730
  ClaimPhase_COMPLETED_getInstance as ClaimPhase_COMPLETED_getInstance2ocs93gsf33k1,
14684
14731
  ClaimPhase_IN_FLIGHT_getInstance as ClaimPhase_IN_FLIGHT_getInstance1qxu60kukoo1a,
14685
14732
  ExchangeOrigin_MARKETPLACE_getInstance as ExchangeOrigin_MARKETPLACE_getInstance15akgh5efxeb6,