@flayerlabs/gamemode-cli 0.4.2 → 0.4.3
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.
|
@@ -117,6 +117,15 @@ The gate never sends market state, so waiting for it on the live socket waits fo
|
|
|
117
117
|
to `gameMode.market` for the chart and `marketCapUsd`; a page that pushes nothing leaves the
|
|
118
118
|
status at `unavailable`, which is the cue to draw an empty chart rather than a spinner.
|
|
119
119
|
|
|
120
|
+
Plot `prices[].marketCapUsd` rather than deriving market cap from price. Supply is the platform's
|
|
121
|
+
to know — a launch may carry an override, or count circulating against total — and a game that
|
|
122
|
+
assumes it shows a number contradicting the page around it. Fall back to a price axis when the
|
|
123
|
+
field is absent.
|
|
124
|
+
|
|
125
|
+
When a buy fails, log `result.refuse` and `result.detail` with `result.transactionHash`. `reason`
|
|
126
|
+
is the player's answer and collapses several situations into `try-again`; those three say which
|
|
127
|
+
one, and which side of the bridge it happened on.
|
|
128
|
+
|
|
120
129
|
## Wire the ticket handshake
|
|
121
130
|
|
|
122
131
|
Browser, after `joinEconomy()`:
|